linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jacky Bai <ping.bai@nxp.com>
To: lee@kernel.org, robh+dt@kernel.org,
	krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org,
	s.hauer@pengutronix.de, dmitry.torokhov@gmail.com,
	a.zummo@towertech.it, alexandre.belloni@bootlin.com
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-input@vger.kernel.org, linux-rtc@vger.kernel.org,
	kernel@pengutronix.de, linux-imx@nxp.com, festevam@gmail.com
Subject: [PATCH 4/4] arm64: dts: imx93: Add the bbnsm dts node
Date: Mon, 21 Nov 2022 14:51:44 +0800	[thread overview]
Message-ID: <20221121065144.3667658-5-ping.bai@nxp.com> (raw)
In-Reply-To: <20221121065144.3667658-1-ping.bai@nxp.com>

Add the bbnsm node for RTC & ON/OFF button support

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx93.dtsi | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
index 5d79663b3b84..ffc4f46c4820 100644
--- a/arch/arm64/boot/dts/freescale/imx93.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
@@ -229,6 +229,24 @@ iomuxc: pinctrl@443c0000 {
 				status = "okay";
 			};
 
+			bbnsm: bbnsm@44440000 {
+				compatible = "nxp,bbnsm", "syscon", "simple-mfd";
+				reg = <0x44440000 0x10000>;
+
+				bbnsm_rtc: rtc {
+					compatible = "nxp,bbnsm-rtc";
+					regmap = <&bbnsm>;
+					interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
+				};
+
+				bbnsm_pwrkey: pwrkey {
+					compatible = "nxp,bbnsm-pwrkey";
+					regmap = <&bbnsm>;
+					interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
+					linux,code = <KEY_POWER>;
+				};
+			};
+
 			clk: clock-controller@44450000 {
 				compatible = "fsl,imx93-ccm";
 				reg = <0x44450000 0x10000>;
-- 
2.37.1


      parent reply	other threads:[~2022-11-21  6:50 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-21  6:51 [PATCH 0/4] Add nxp bbnsm module support Jacky Bai
2022-11-21  6:51 ` [PATCH 1/4] dt-bindings: mfd: nxp,bbnsm: Add binding for nxp bbnsm Jacky Bai
2022-11-21  9:09   ` Krzysztof Kozlowski
2022-11-21  9:27     ` Alexandre Belloni
2022-11-21 10:33       ` Jacky Bai
2022-11-21 11:10         ` Alexandre Belloni
2022-11-21 13:45           ` Jacky Bai
2022-11-22 13:16             ` Alexandre Belloni
2022-11-23  7:50               ` Jacky Bai
2022-11-21 10:26     ` Jacky Bai
2022-11-21 12:28       ` Lee Jones
2022-11-22  7:59       ` Krzysztof Kozlowski
2022-11-23  7:43         ` Jacky Bai
2022-11-23  7:58           ` Krzysztof Kozlowski
2022-11-21  9:18   ` Krzysztof Kozlowski
2022-11-21 10:30     ` Jacky Bai
2022-11-22  7:59       ` Krzysztof Kozlowski
2022-11-22 20:28   ` Rob Herring
2022-11-23  7:54     ` Jacky Bai
2022-11-23  9:31       ` Krzysztof Kozlowski
2022-11-23  9:35         ` Jacky Bai
2022-11-21  6:51 ` [PATCH 2/4] input: bbnsm_pwrkey: Add bbnsm power key support Jacky Bai
2022-11-22 23:32   ` Dmitry Torokhov
2022-11-23  9:39     ` Jacky Bai
2022-11-21  6:51 ` [PATCH 3/4] rtc: bbnsm: Add the bbnsm rtc support Jacky Bai
2022-11-22 18:18   ` Alexandre Belloni
2022-11-23  9:25     ` Jacky Bai
2022-11-21  6:51 ` Jacky Bai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221121065144.3667658-5-ping.bai@nxp.com \
    --to=ping.bai@nxp.com \
    --cc=a.zummo@towertech.it \
    --cc=alexandre.belloni@bootlin.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=festevam@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=lee@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-rtc@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).