Commit 3ebeed30 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Bjorn Andersson
Browse files

ARM: dts: qcom: align LED node names with dtschema



The node names should be generic and DT schema expects certain pattern:

  qcom-ipq4018-ap120c-ac.dtb: leds: 'wlan2g', 'wlan5g' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221125144209.477328-2-krzysztof.kozlowski@linaro.org
parent b3de8527
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ / {
	leds {
		compatible = "gpio-leds";

		power {
		led-power {
			label = "ap120c-ac:green:power";
			function = LED_FUNCTION_POWER;
			color = <LED_COLOR_ID_GREEN>;
@@ -17,14 +17,14 @@ power {
			default-state = "on";
		};

		wlan {
		led-wlan {
			label = "ap120c-ac:green:wlan";
			function = LED_FUNCTION_WLAN;
			color = <LED_COLOR_ID_GREEN>;
			gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
		};

		support {
		led-support {
			label = "ap120c-ac:green:support";
			color = <LED_COLOR_ID_GREEN>;
			gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
+3 −3
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ / {
	leds {
		compatible = "gpio-leds";

		status: status {
		status: led-status {
			label = "ap120c-ac:blue:status";
			function = LED_FUNCTION_STATUS;
			color = <LED_COLOR_ID_BLUE>;
@@ -15,7 +15,7 @@ status: status {
			default-state = "keep";
		};

		wlan2g {
		led-wlan2g {
			label = "ap120c-ac:green:wlan2g";
			function = LED_FUNCTION_WLAN;
			color = <LED_COLOR_ID_GREEN>;
@@ -23,7 +23,7 @@ wlan2g {
			linux,default-trigger = "phy0tpt";
		};

		wlan5g {
		led-wlan5g {
			label = "ap120c-ac:red:wlan5g";
			function = LED_FUNCTION_WLAN;
			color = <LED_COLOR_ID_RED>;