[v1,1/2] ARM: dts: rockchip: fix adc-keys sub node names

Message ID 7a0013b1-3a55-a344-e9ea-eacb4b49433c@gmail.com
State New
Headers
Series [v1,1/2] ARM: dts: rockchip: fix adc-keys sub node names |

Commit Message

Johan Jonker Oct. 27, 2022, 8:37 a.m. UTC
  Fix adc-keys sub node names on Rockchip boards,
so that they match with regex: '^button-'

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
 arch/arm/boot/dts/rk3066a-mk808.dts | 2 +-
 arch/arm/boot/dts/rk3288-evb.dtsi   | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

--
2.20.1
  

Comments

Heiko Stübner Oct. 30, 2022, 8:29 p.m. UTC | #1
On Thu, 27 Oct 2022 10:37:32 +0200, Johan Jonker wrote:
> Fix adc-keys sub node names on Rockchip boards,
> so that they match with regex: '^button-'
> 
> 

Applied, thanks!

[1/2] ARM: dts: rockchip: fix adc-keys sub node names
      commit: 942b35de22efeb4f9ded83f1ea7747f3fe5a3bb2
[2/2] arm64: dts: rockchip: fix adc-keys sub node names
      commit: f2bd2e76d6ea13e12849975adae46145375532a4

Best regards,
  

Patch

diff --git a/arch/arm/boot/dts/rk3066a-mk808.dts b/arch/arm/boot/dts/rk3066a-mk808.dts
index cfa318a50..2db5ba706 100644
--- a/arch/arm/boot/dts/rk3066a-mk808.dts
+++ b/arch/arm/boot/dts/rk3066a-mk808.dts
@@ -32,7 +32,7 @@ 
 		keyup-threshold-microvolt = <2500000>;
 		poll-interval = <100>;

-		recovery {
+		button-recovery {
 			label = "recovery";
 			linux,code = <KEY_VENDOR>;
 			press-threshold-microvolt = <0>;
diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm/boot/dts/rk3288-evb.dtsi
index 399d6b9c5..382d2839c 100644
--- a/arch/arm/boot/dts/rk3288-evb.dtsi
+++ b/arch/arm/boot/dts/rk3288-evb.dtsi
@@ -28,19 +28,19 @@ 
 			press-threshold-microvolt = <300000>;
 		};

-		menu {
+		button-menu {
 			label = "Menu";
 			linux,code = <KEY_MENU>;
 			press-threshold-microvolt = <640000>;
 		};

-		esc {
+		button-esc {
 			label = "Esc";
 			linux,code = <KEY_ESC>;
 			press-threshold-microvolt = <1000000>;
 		};

-		home  {
+		button-home  {
 			label = "Home";
 			linux,code = <KEY_HOME>;
 			press-threshold-microvolt = <1300000>;