diff mbox series

[V6,3/5] arm64: dts: imx8qxp: Add scu key node

Message ID 1570412509-7893-3-git-send-email-Anson.Huang@nxp.com
State New, archived
Headers show
Series [V6,1/5] dt-bindings: fsl: scu: add scu key binding | expand

Commit Message

Anson Huang Oct. 7, 2019, 1:41 a.m. UTC
Add scu key node for i.MX8QXP, disabled by default as it
depends on board design.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
Changes since V5:
	- use "linux,keycodes" instead of "linux,keycode".
---
 arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Anson Huang Oct. 18, 2019, 1:40 a.m. UTC | #1
Hi, Shawn
	Dmitry has picked up the #1 and #2 patch, would you please pick up #3 ~ #5, thanks.

Anson

> Subject: [PATCH V6 3/5] arm64: dts: imx8qxp: Add scu key node
> 
> Add scu key node for i.MX8QXP, disabled by default as it depends on board
> design.
> 
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
> ---
> Changes since V5:
> 	- use "linux,keycodes" instead of "linux,keycode".
> ---
>  arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> index 1133b41..2d69f1a 100644
> --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> @@ -8,6 +8,7 @@
>  #include <dt-bindings/clock/imx8-clock.h>  #include <dt-
> bindings/firmware/imx/rsrc.h>  #include <dt-bindings/gpio/gpio.h>
> +#include <dt-bindings/input/input.h>
>  #include <dt-bindings/interrupt-controller/arm-gic.h>
>  #include <dt-bindings/pinctrl/pads-imx8qxp.h>
> 
> @@ -174,6 +175,12 @@
>  			#power-domain-cells = <1>;
>  		};
> 
> +		scu_key: scu-key {
> +			compatible = "fsl,imx8qxp-sc-key", "fsl,imx-sc-key";
> +			linux,keycodes = <KEY_POWER>;
> +			status = "disabled";
> +		};
> +
>  		rtc: rtc {
>  			compatible = "fsl,imx8qxp-sc-rtc";
>  		};
> --
> 2.7.4
Shawn Guo Oct. 25, 2019, 2:57 a.m. UTC | #2
On Fri, Oct 18, 2019 at 01:40:10AM +0000, Anson Huang wrote:
> Hi, Shawn
> 	Dmitry has picked up the #1 and #2 patch, would you please pick up #3 ~ #5, thanks.
> 

Applied #3 ~ #5, thanks.

Shawn
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
index 1133b41..2d69f1a 100644
--- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
@@ -8,6 +8,7 @@ 
 #include <dt-bindings/clock/imx8-clock.h>
 #include <dt-bindings/firmware/imx/rsrc.h>
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/pinctrl/pads-imx8qxp.h>
 
@@ -174,6 +175,12 @@ 
 			#power-domain-cells = <1>;
 		};
 
+		scu_key: scu-key {
+			compatible = "fsl,imx8qxp-sc-key", "fsl,imx-sc-key";
+			linux,keycodes = <KEY_POWER>;
+			status = "disabled";
+		};
+
 		rtc: rtc {
 			compatible = "fsl,imx8qxp-sc-rtc";
 		};