All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 1/2] MIPS: ath79: ar9331_dpt_module: update led nodes
@ 2020-05-10  6:03 Oleksij Rempel
  2020-05-10  6:03 ` [PATCH v1 2/2] MIPS: ath79: ar9331: rename uart to serial node Oleksij Rempel
  2020-05-15  8:10 ` [PATCH v1 1/2] MIPS: ath79: ar9331_dpt_module: update led nodes Thomas Bogendoerfer
  0 siblings, 2 replies; 3+ messages in thread
From: Oleksij Rempel @ 2020-05-10  6:03 UTC (permalink / raw)
  To: Rob Herring, Thomas Bogendoerfer
  Cc: Oleksij Rempel, devicetree, linux-kernel, linux-mips,
	Pengutronix Kernel Team

Fit led nodes to the latest naming schema.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 arch/mips/boot/dts/qca/ar9331_dpt_module.dts | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/mips/boot/dts/qca/ar9331_dpt_module.dts b/arch/mips/boot/dts/qca/ar9331_dpt_module.dts
index 969d3384b0dd0..8be54465207a7 100644
--- a/arch/mips/boot/dts/qca/ar9331_dpt_module.dts
+++ b/arch/mips/boot/dts/qca/ar9331_dpt_module.dts
@@ -3,6 +3,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 #include "ar9331.dtsi"
 
@@ -22,8 +23,9 @@ memory@0 {
 	leds {
 		compatible = "gpio-leds";
 
-		system {
-			label = "dpt-module:green:system";
+		led-0 {
+			function = LED_FUNCTION_STATUS;
+			color = <LED_COLOR_ID_GREEN>;
 			gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
 			default-state = "off";
 		};
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH v1 2/2] MIPS: ath79: ar9331: rename uart to serial node
  2020-05-10  6:03 [PATCH v1 1/2] MIPS: ath79: ar9331_dpt_module: update led nodes Oleksij Rempel
@ 2020-05-10  6:03 ` Oleksij Rempel
  2020-05-15  8:10 ` [PATCH v1 1/2] MIPS: ath79: ar9331_dpt_module: update led nodes Thomas Bogendoerfer
  1 sibling, 0 replies; 3+ messages in thread
From: Oleksij Rempel @ 2020-05-10  6:03 UTC (permalink / raw)
  To: Rob Herring, Thomas Bogendoerfer
  Cc: Oleksij Rempel, devicetree, linux-kernel, linux-mips,
	Pengutronix Kernel Team

schema violation was detected by the dtbs_check

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 arch/mips/boot/dts/qca/ar9331.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/boot/dts/qca/ar9331.dtsi b/arch/mips/boot/dts/qca/ar9331.dtsi
index 6e1e17cbc1ee0..9267bc9e4cc09 100644
--- a/arch/mips/boot/dts/qca/ar9331.dtsi
+++ b/arch/mips/boot/dts/qca/ar9331.dtsi
@@ -59,7 +59,7 @@ ddr_ctrl: memory-controller@18000000 {
 				#qca,ddr-wb-channel-cells = <1>;
 			};
 
-			uart: uart@18020000 {
+			uart: serial@18020000 {
 				compatible = "qca,ar9330-uart";
 				reg = <0x18020000 0x14>;
 
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v1 1/2] MIPS: ath79: ar9331_dpt_module: update led nodes
  2020-05-10  6:03 [PATCH v1 1/2] MIPS: ath79: ar9331_dpt_module: update led nodes Oleksij Rempel
  2020-05-10  6:03 ` [PATCH v1 2/2] MIPS: ath79: ar9331: rename uart to serial node Oleksij Rempel
@ 2020-05-15  8:10 ` Thomas Bogendoerfer
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Bogendoerfer @ 2020-05-15  8:10 UTC (permalink / raw)
  To: Oleksij Rempel
  Cc: Rob Herring, devicetree, linux-kernel, linux-mips,
	Pengutronix Kernel Team

On Sun, May 10, 2020 at 08:03:23AM +0200, Oleksij Rempel wrote:
> Fit led nodes to the latest naming schema.
> 
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
>  arch/mips/boot/dts/qca/ar9331_dpt_module.dts | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)

both patches applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-15  8:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-10  6:03 [PATCH v1 1/2] MIPS: ath79: ar9331_dpt_module: update led nodes Oleksij Rempel
2020-05-10  6:03 ` [PATCH v1 2/2] MIPS: ath79: ar9331: rename uart to serial node Oleksij Rempel
2020-05-15  8:10 ` [PATCH v1 1/2] MIPS: ath79: ar9331_dpt_module: update led nodes Thomas Bogendoerfer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.