backlight: split AVR PWM and timer drivers (#21540)

This commit is contained in:
Ryan
2023-07-21 09:27:55 +10:00
committed by GitHub
parent b090354143
commit 4137685f8e
43 changed files with 570 additions and 317 deletions

File diff suppressed because it is too large Load Diff

View File

@ -9,6 +9,7 @@
"device_version": "0.0.1"
},
"backlight": {
"driver": "timer",
"pins": ["F6", "F7"]
},
"processor": "atmega32u4",

View File

@ -9,6 +9,7 @@
"device_version": "10.0.1"
},
"backlight": {
"driver": "timer",
"pins": ["F4", "F5"],
"levels": 6,
"breathing": true

View File

@ -8,6 +8,7 @@
"pid": "0x2171"
},
"backlight": {
"driver": "timer",
"pins": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"],
"levels": 8
},

View File

@ -5,6 +5,7 @@
},
"diode_direction": "COL2ROW",
"backlight": {
"driver": "timer",
"pin": "D1",
"levels": 5,
"breathing": true

View File

@ -14,6 +14,7 @@
},
"diode_direction": "COL2ROW",
"backlight": {
"driver": "timer",
"pin": "D4",
"breathing": true
},

View File

@ -9,6 +9,7 @@
"device_version": "0.0.1"
},
"backlight": {
"driver": "timer",
"pin": "D7",
"breathing": true
},

View File

@ -15,6 +15,7 @@
},
"diode_direction": "COL2ROW",
"backlight": {
"driver": "timer",
"pin": "F7"
},
"processor": "atmega32u4",

View File

@ -14,6 +14,7 @@
},
"diode_direction": "COL2ROW",
"backlight": {
"driver": "timer",
"pin": "D0",
"levels": 5,
"breathing": true

View File

@ -15,6 +15,7 @@
},
"diode_direction": "COL2ROW",
"backlight": {
"driver": "timer",
"pin": "E6"
},
"indicators": {

View File

@ -14,6 +14,7 @@
},
"diode_direction": "COL2ROW",
"backlight": {
"driver": "timer",
"pin": "D1",
"levels": 6,
"breathing": true

View File

@ -31,6 +31,7 @@
]
},
"backlight": {
"driver": "timer",
"pin": "C4",
"levels": 6,
"breathing": true

View File

@ -19,6 +19,7 @@
]
},
"backlight": {
"driver": "timer",
"pin": "D1",
"levels": 6,
"breathing": true

View File

@ -14,6 +14,7 @@
},
"diode_direction": "COL2ROW",
"backlight": {
"driver": "timer",
"pin": "D0",
"breathing": true
},

View File

@ -23,6 +23,7 @@
},
"diode_direction": "COL2ROW",
"backlight": {
"driver": "timer",
"pin": "D4",
"on_state": 0
},

View File

@ -9,6 +9,7 @@
"device_version": "1.0.0"
},
"backlight": {
"driver": "timer",
"pin": "F6",
"levels": 5
},

View File

@ -14,6 +14,7 @@
},
"diode_direction": "COL2ROW",
"backlight": {
"driver": "timer",
"pin": "F5",
"levels": 6
},

View File

@ -10,6 +10,7 @@
},
"diode_direction": "COL2ROW",
"backlight": {
"driver": "timer",
"pin": "D2",
"levels": 5
},

View File

@ -14,6 +14,7 @@
},
"diode_direction": "COL2ROW",
"backlight": {
"driver": "timer",
"pin": "B1",
"levels": 5
},

View File

@ -14,6 +14,7 @@
},
"diode_direction": "COL2ROW",
"backlight": {
"driver": "timer",
"pin": "F7",
"on_state": 0
},

View File

@ -14,6 +14,7 @@
},
"diode_direction": "COL2ROW",
"backlight": {
"driver": "timer",
"pin": "D0",
"levels": 6
},

View File

@ -9,6 +9,7 @@
"device_version": "2.0.5"
},
"backlight": {
"driver": "timer",
"pins": ["C2", "C7", "D5", "D6", "B0"],
"levels": 10
},

View File

@ -13,6 +13,7 @@
},
"diode_direction": "COL2ROW",
"backlight": {
"driver": "timer",
"pin": "D2"
},
"processor": "atmega32u4",

View File

@ -14,6 +14,7 @@
},
"diode_direction": "COL2ROW",
"backlight": {
"driver": "timer",
"pin": "D2"
},
"processor": "atmega32u4",

View File

@ -14,6 +14,7 @@
},
"diode_direction": "COL2ROW",
"backlight": {
"driver": "timer",
"pin": "D0"
},
"processor": "atmega32u4",

View File

@ -5,7 +5,6 @@
},
"diode_direction": "COL2ROW",
"backlight": {
"driver": "software",
"pin": "B7",
"levels": 10
},

View File

@ -3,7 +3,7 @@
#pragma once
#define BACKLIGHT_CUSTOM_RESOLUTION 0x400
#define BACKLIGHT_RESOLUTION 0x400
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE

View File

@ -14,6 +14,7 @@
},
"diode_direction": "COL2ROW",
"backlight": {
"driver": "timer",
"pin": "D2"
},
"rgblight": {

View File

@ -14,8 +14,8 @@
},
"diode_direction": "COL2ROW",
"backlight": {
"driver": "software",
"pins": ["D6"],
"driver": "timer",
"pin": "D6",
"levels": 6
},
"indicators": {

View File

@ -14,6 +14,7 @@
},
"diode_direction": "COL2ROW",
"backlight": {
"driver": "timer",
"pin": "F5",
"levels": 6
},

Some files were not shown because too many files have changed in this diff Show More