Commit a74978f3 authored by Alexander Dahl's avatar Alexander Dahl Committed by Kevin Hilman

arm64: dts: meson: Fix schema warnings for pwm-leds

The node names for devices using the pwm-leds driver follow a certain
naming scheme (now).  Parent node name is not enforced, but recommended
by DT project.
Signed-off-by: default avatarAlexander Dahl <post@lespocky.de>
Reviewed-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/20201228163217.32520-5-post@lespocky.de
parent b6e3ff41
......@@ -42,10 +42,10 @@ power-button {
};
};
pwmleds {
led-controller {
compatible = "pwm-leds";
power {
led-1 {
label = "vim:red:power";
pwms = <&pwm_AO_ab 1 7812500 0>;
max-brightness = <255>;
......
......@@ -81,10 +81,10 @@ hdmi_connector_in: endpoint {
};
};
pwmleds {
led-controller {
compatible = "pwm-leds";
power {
led-1 {
label = "vim:red:power";
pwms = <&pwm_AO_ab 1 7812500 0>;
max-brightness = <255>;
......
......@@ -101,20 +101,20 @@ hdmi_connector_in: endpoint {
};
};
leds {
led-controller-1 {
compatible = "gpio-leds";
led-bluetooth {
led-1 {
label = "sei610:blue:bt";
gpios = <&gpio GPIOC_7 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
default-state = "off";
};
};
pwmleds {
led-controller-2 {
compatible = "pwm-leds";
power {
led-2 {
label = "sei610:red:power";
pwms = <&pwm_AO_ab 0 30518 0>;
max-brightness = <255>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment