aw20216: driver naming cleanups (#21891)
This commit is contained in:
parent
b9f2121d10
commit
a0aebe5cd5
34 changed files with 292 additions and 262 deletions
|
@ -18,7 +18,7 @@
|
|||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
|
||||
const aw_led g_aw_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
const aw20216s_led g_aw20216s_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
/* Refer to IS31 manual for these locations
|
||||
* driver
|
||||
* | R location
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"tap_keycode_delay": 10
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "aw20216"
|
||||
"driver": "aw20216s"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"],
|
||||
|
|
|
@ -29,12 +29,12 @@
|
|||
#define SPI_MOSI_PIN B15
|
||||
#define SPI_MISO_PIN B14
|
||||
|
||||
#define DRIVER_1_CS A15
|
||||
#define DRIVER_2_CS B9
|
||||
#define DRIVER_1_EN C13
|
||||
#define DRIVER_2_EN C13
|
||||
#define AW20216S_DRIVER_1_CS A15
|
||||
#define AW20216S_DRIVER_2_CS B9
|
||||
#define AW20216S_DRIVER_1_EN C13
|
||||
#define AW20216S_DRIVER_2_EN C13
|
||||
|
||||
#define DRIVER_COUNT 2
|
||||
#define AW20216S_DRIVER_COUNT 2
|
||||
#define DRIVER_1_LED_TOTAL 54
|
||||
#define DRIVER_2_LED_TOTAL 34
|
||||
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"tap_keycode_delay": 10
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "aw20216"
|
||||
"driver": "aw20216s"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"],
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
|
||||
const aw_led g_aw_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
const aw20216s_led g_aw20216s_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
/* Refer to IS31 manual for these locations
|
||||
* driver
|
||||
* | R location
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
|
||||
const aw_led g_aw_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
const aw20216s_led g_aw20216s_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
/* Refer to IS31 manual for these locations
|
||||
* driver
|
||||
* | R location
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"tap_keycode_delay": 10
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "aw20216"
|
||||
"driver": "aw20216s"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"],
|
||||
|
|
|
@ -33,12 +33,12 @@
|
|||
#define SPI_MOSI_PIN A7
|
||||
#define SPI_MISO_PIN A6
|
||||
|
||||
#define DRIVER_1_CS A15
|
||||
#define DRIVER_2_CS B15
|
||||
#define DRIVER_1_EN C13
|
||||
#define DRIVER_2_EN C13
|
||||
#define AW20216S_DRIVER_1_CS A15
|
||||
#define AW20216S_DRIVER_2_CS B15
|
||||
#define AW20216S_DRIVER_1_EN C13
|
||||
#define AW20216S_DRIVER_2_EN C13
|
||||
|
||||
#define DRIVER_COUNT 2
|
||||
#define AW20216S_DRIVER_COUNT 2
|
||||
#define DRIVER_1_LED_TOTAL 66
|
||||
#define DRIVER_2_LED_TOTAL 54
|
||||
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"tap_keycode_delay": 10
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "aw20216"
|
||||
"driver": "aw20216s"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"],
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
|
||||
const aw_led g_aw_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
const aw20216s_led g_aw20216s_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
/* Refer to IS31 manual for these locations
|
||||
* driver
|
||||
* | R location
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue