From: Lucas Stach Subject: Re: [PATCH] arm64: dts: fsl: imx8mq: enable the svns power key Date: Tue, 28 May 2019 14:51:45 +0200 Message-ID: <1559047905.4039.15.camel@pengutronix.de> References: <20190528124406.29730-1-angus@akkea.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <20190528124406.29730-1-angus@akkea.ca> Sender: linux-kernel-owner@vger.kernel.org To: "Angus Ainslie (Purism)" , angus.ainslie@puri.sm Cc: Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Abel Vesa , Andrey Smirnov , Carlo Caione , Guido =?ISO-8859-1?Q?G=FCnther?= , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org List-Id: devicetree@vger.kernel.org Hi Angus, Am Dienstag, den 28.05.2019, 05:44 -0700 schrieb Angus Ainslie (Purism): > Add the snvs power key. > > > Signed-off-by: Angus Ainslie (Purism) > --- >  arch/arm64/boot/dts/freescale/imx8mq.dtsi | 9 +++++++++ >  1 file changed, 9 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi > index 45d10d8efd14..5f93fd9662ae 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi > @@ -8,6 +8,7 @@ >  #include >  #include >  #include > +#include "dt-bindings/input/input.h" >  #include >  #include >  #include "imx8mq-pinfunc.h" > @@ -463,6 +464,14 @@ > >   interrupts = , > >   ; > >   }; > + > > + snvs_pwrkey: snvs-powerkey { > > + compatible = "fsl,sec-v4.0-pwrkey"; > > + regmap = <&snvs>; > > + interrupts = ; > > + linux,keycode = ; > + wakeup-source; Not all i.MX8MQ systems will have this functionality wired up at the board level, so this node needs to be disabled by default. The existing i.MX6 and i.MX7 DTs seem to get this wrong. Regards, Lucas > + }; > >   }; >   > > >   clk: clock-controller@30380000 {