Rename CKLED2001 driver to SNLED27351 (#22071)
This commit is contained in:
		
							parent
							
								
									24a795d7a9
								
							
						
					
					
						commit
						c0f16be50f
					
				
					 259 changed files with 1726 additions and 1720 deletions
				
			
		| 
						 | 
				
			
			@ -20,8 +20,8 @@
 | 
			
		|||
 | 
			
		||||
// clang-format off
 | 
			
		||||
 | 
			
		||||
const ckled2001_led PROGMEM g_ckled2001_leds[RGB_MATRIX_LED_COUNT] = {
 | 
			
		||||
/* Refer to IS31 manual for these locations
 | 
			
		||||
const snled27351_led_t PROGMEM g_snled27351_leds[RGB_MATRIX_LED_COUNT] = {
 | 
			
		||||
/* Refer to SNLED27351 manual for these locations
 | 
			
		||||
 *   driver
 | 
			
		||||
 *   |  R location
 | 
			
		||||
 *   |  |       G location
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,7 +9,7 @@
 | 
			
		|||
        "device_version": "1.0.0"
 | 
			
		||||
    },
 | 
			
		||||
    "rgb_matrix": {
 | 
			
		||||
        "driver": "ckled2001"
 | 
			
		||||
        "driver": "snled27351"
 | 
			
		||||
    },
 | 
			
		||||
    "processor": "STM32L432",
 | 
			
		||||
    "bootloader": "stm32-dfu",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,8 +20,8 @@
 | 
			
		|||
 | 
			
		||||
// clang-format off
 | 
			
		||||
 | 
			
		||||
const ckled2001_led PROGMEM g_ckled2001_leds[RGB_MATRIX_LED_COUNT] = {
 | 
			
		||||
/* Refer to IS31 manual for these locations
 | 
			
		||||
const snled27351_led_t PROGMEM g_snled27351_leds[RGB_MATRIX_LED_COUNT] = {
 | 
			
		||||
/* Refer to SNLED27351 manual for these locations
 | 
			
		||||
 *   driver
 | 
			
		||||
 *   |  R location
 | 
			
		||||
 *   |  |       G location
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,7 +9,7 @@
 | 
			
		|||
        "device_version": "1.0.0"
 | 
			
		||||
    },
 | 
			
		||||
    "rgb_matrix": {
 | 
			
		||||
        "driver": "ckled2001"
 | 
			
		||||
        "driver": "snled27351"
 | 
			
		||||
    },
 | 
			
		||||
    "encoder": {
 | 
			
		||||
        "rotary": [
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -26,9 +26,9 @@
 | 
			
		|||
#define DIODE_DIRECTION ROW2COL
 | 
			
		||||
 | 
			
		||||
/* RGB Matrix Driver Configuration */
 | 
			
		||||
#define CKLED2001_DRIVER_COUNT 2
 | 
			
		||||
#define DRIVER_ADDR_1 CKLED2001_I2C_ADDRESS_VDDIO
 | 
			
		||||
#define DRIVER_ADDR_2 CKLED2001_I2C_ADDRESS_GND
 | 
			
		||||
#define SNLED27351_DRIVER_COUNT 2
 | 
			
		||||
#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_VDDIO
 | 
			
		||||
#define DRIVER_ADDR_2 SNLED27351_I2C_ADDRESS_GND
 | 
			
		||||
 | 
			
		||||
/* Increase I2C speed to 1000 KHz */
 | 
			
		||||
#define I2C1_TIMINGR_PRESC 0U
 | 
			
		||||
| 
						 | 
				
			
			@ -37,7 +37,7 @@
 | 
			
		|||
#define I2C1_TIMINGR_SCLH 15U
 | 
			
		||||
#define I2C1_TIMINGR_SCLL 51U
 | 
			
		||||
 | 
			
		||||
#define CKLED2001_CURRENT_TUNE \
 | 
			
		||||
#define SNLED27351_CURRENT_TUNE \
 | 
			
		||||
    { 0xB6, 0xB6, 0x56, 0xB6, 0xB6, 0x56, 0xB6, 0xB6, 0x56, 0xB6, 0xB6, 0x56 }
 | 
			
		||||
 | 
			
		||||
/* DIP switch */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,7 +9,7 @@
 | 
			
		|||
        "device_version": "1.0.0"
 | 
			
		||||
    },
 | 
			
		||||
    "rgb_matrix": {
 | 
			
		||||
        "driver": "ckled2001"
 | 
			
		||||
        "driver": "snled27351"
 | 
			
		||||
    },
 | 
			
		||||
    "processor": "STM32L432",
 | 
			
		||||
    "bootloader": "stm32-dfu",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,8 +20,8 @@
 | 
			
		|||
 | 
			
		||||
// clang-format off
 | 
			
		||||
 | 
			
		||||
const ckled2001_led PROGMEM g_ckled2001_leds[RGB_MATRIX_LED_COUNT] = {
 | 
			
		||||
/* Refer to IS31 manual for these locations
 | 
			
		||||
const snled27351_led_t PROGMEM g_snled27351_leds[RGB_MATRIX_LED_COUNT] = {
 | 
			
		||||
/* Refer to SNLED27351 manual for these locations
 | 
			
		||||
 *   driver
 | 
			
		||||
 *   |  R location
 | 
			
		||||
 *   |  |       G location
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,7 +9,7 @@
 | 
			
		|||
        "device_version": "1.0.0"
 | 
			
		||||
    },
 | 
			
		||||
    "rgb_matrix": {
 | 
			
		||||
        "driver": "ckled2001"
 | 
			
		||||
        "driver": "snled27351"
 | 
			
		||||
    },
 | 
			
		||||
    "encoder": {
 | 
			
		||||
        "rotary": [
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,8 +20,8 @@
 | 
			
		|||
 | 
			
		||||
// clang-format off
 | 
			
		||||
 | 
			
		||||
const ckled2001_led PROGMEM g_ckled2001_leds[RGB_MATRIX_LED_COUNT] = {
 | 
			
		||||
/* Refer to IS31 manual for these locations
 | 
			
		||||
const snled27351_led_t PROGMEM g_snled27351_leds[RGB_MATRIX_LED_COUNT] = {
 | 
			
		||||
/* Refer to SNLED27351 manual for these locations
 | 
			
		||||
 *   driver
 | 
			
		||||
 *   |  R location
 | 
			
		||||
 *   |  |       G location
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue