refactor(ext_power): Remove label property
Changed the label property on zmk,ext-power-generic to be optional and removed it from existing uses. Renamed the nodes for all non-development boards to "EXT_POWER" to preserve user settings. rgb_underglow.c now finds the correct device by finding the first instance of zmk,ext-power-generic instead of looking for a node named "EXT_POWER".
This commit is contained in:
parent
179bdbc41a
commit
05925c72d7
17 changed files with 34 additions and 36 deletions
|
|
@ -49,15 +49,12 @@ nice_view_spi: &arduino_spi {
|
|||
// Commented out until we add more powerful power domain support
|
||||
// external_power {
|
||||
// compatible = "zmk,ext-power-generic";
|
||||
// label = "EXT_POWER";
|
||||
// init-delay-ms = <200>;
|
||||
// control-gpios = <&arduino_header 1 GPIO_ACTIVE_LOW>;
|
||||
// };
|
||||
|
||||
rgb_power {
|
||||
compatible = "zmk,ext-power-generic";
|
||||
label = "EXT_POWER";
|
||||
// label = "RGB_POWER";
|
||||
init-delay-ms = <200>;
|
||||
control-gpios = <&arduino_header 1 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue