Move backlight config to data driven, part 1 (#19887)
This commit is contained in:
parent
4b69225c22
commit
9c0ce80d7e
128 changed files with 110 additions and 131 deletions
|
@ -2,11 +2,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#pragma once
|
||||
|
||||
// Limit the backlight brightness
|
||||
#ifndef BACKLIGHT_LIMIT_VAL
|
||||
# define BACKLIGHT_LIMIT_VAL 144
|
||||
#endif // BACKLIGHT_LIMIT_VAL
|
||||
|
||||
// Split configuration
|
||||
#define SPLIT_HAND_PIN B11
|
||||
#ifdef USE_PLUG_DETECT_PIN
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
"usb": {
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"backlight": {
|
||||
"max_brightness": 144
|
||||
},
|
||||
"split": {
|
||||
"soft_serial_pin": "B9",
|
||||
"usb_detect": {
|
||||
|
|
|
@ -2,11 +2,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#pragma once
|
||||
|
||||
// Limit the backlight brightness
|
||||
#ifndef BACKLIGHT_LIMIT_VAL
|
||||
# define BACKLIGHT_LIMIT_VAL 144
|
||||
#endif // BACKLIGHT_LIMIT_VAL
|
||||
|
||||
// Split configuration
|
||||
#define SPLIT_HAND_PIN B9
|
||||
#define USB_VBUS_PIN B12
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
"usb": {
|
||||
"device_version": "2.0.0"
|
||||
},
|
||||
"backlight": {
|
||||
"max_brightness": 144
|
||||
},
|
||||
"split": {
|
||||
"usb_detect": {
|
||||
"enabled": false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue