diff mbox series

[v5,3/3] arm64: dts: imx93: Add the bbnsm dts node

Message ID 20230215024117.3357341-4-ping.bai@nxp.com (mailing list archive)
State New, archived
Headers show
Series Add nxp bbnsm module support | expand

Commit Message

Jacky Bai Feb. 15, 2023, 2:41 a.m. UTC
Add the bbnsm node for RTC & ON/OFF button support

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
---
  - v5 changes: no

  - v4 changes:
    - update the compatible string to align with binding file

  - v3 changes:
    - remove 'nxp,bbnsm-regmap' property to align with binding doc

  - v2 changes:
    - update the regmap property to align with binding doc
---
 arch/arm64/boot/dts/freescale/imx93.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

Comments

Jacky Bai March 8, 2023, 9:58 a.m. UTC | #1
Hi Shawn,

Can you help pick this patch?

BR
> Subject: [PATCH v5 3/3] arm64: dts: imx93: Add the bbnsm dts node
> 
> Add the bbnsm node for RTC & ON/OFF button support
> 
> Signed-off-by: Jacky Bai <ping.bai@nxp.com>
> ---
>   - v5 changes: no
> 
>   - v4 changes:
>     - update the compatible string to align with binding file
> 
>   - v3 changes:
>     - remove 'nxp,bbnsm-regmap' property to align with binding doc
> 
>   - v2 changes:
>     - update the regmap property to align with binding doc
> ---
>  arch/arm64/boot/dts/freescale/imx93.dtsi | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi
> b/arch/arm64/boot/dts/freescale/imx93.dtsi
> index 2076f9c9983a..e772c136e895 100644
> --- a/arch/arm64/boot/dts/freescale/imx93.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
> @@ -243,6 +243,22 @@ iomuxc: pinctrl@443c0000 {
>  				status = "okay";
>  			};
> 
> +			bbnsm: bbnsm@44440000 {
> +				compatible = "nxp,imx93-bbnsm", "syscon", "simple-mfd";
> +				reg = <0x44440000 0x10000>;
> +
> +				bbnsm_rtc: rtc {
> +					compatible = "nxp,imx93-bbnsm-rtc";
> +					interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
> +				};
> +
> +				bbnsm_pwrkey: pwrkey {
> +					compatible = "nxp,imx93-bbnsm-pwrkey";
> +					interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
> +					linux,code = <KEY_POWER>;
> +				};
> +			};
> +
>  			clk: clock-controller@44450000 {
>  				compatible = "fsl,imx93-ccm";
>  				reg = <0x44450000 0x10000>;
> --
> 2.34.1
Alexander Stein March 8, 2023, 10:32 a.m. UTC | #2
Hi,

Am Mittwoch, 8. März 2023, 10:58:00 CET schrieb Jacky Bai:
> Hi Shawn,
> 
> Can you help pick this patch?

Just for completeness:
Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com>
on TQMa93xx

Best regards,
Alexander

> BR
> 
> > Subject: [PATCH v5 3/3] arm64: dts: imx93: Add the bbnsm dts node
> > 
> > Add the bbnsm node for RTC & ON/OFF button support
> > 
> > Signed-off-by: Jacky Bai <ping.bai@nxp.com>
> > ---
> > 
> >   - v5 changes: no
> >   
> >   - v4 changes:
> >     - update the compatible string to align with binding file
> >   
> >   - v3 changes:
> >     - remove 'nxp,bbnsm-regmap' property to align with binding doc
> >   
> >   - v2 changes:
> >     - update the regmap property to align with binding doc
> > 
> > ---
> > 
> >  arch/arm64/boot/dts/freescale/imx93.dtsi | 16 ++++++++++++++++
> >  1 file changed, 16 insertions(+)
> > 
> > diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi
> > b/arch/arm64/boot/dts/freescale/imx93.dtsi
> > index 2076f9c9983a..e772c136e895 100644
> > --- a/arch/arm64/boot/dts/freescale/imx93.dtsi
> > +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
> > @@ -243,6 +243,22 @@ iomuxc: pinctrl@443c0000 {
> > 
> >  				status = "okay";
> >  			
> >  			};
> > 
> > +			bbnsm: bbnsm@44440000 {
> > +				compatible = "nxp,imx93-bbnsm", 
"syscon", "simple-mfd";
> > +				reg = <0x44440000 0x10000>;
> > +
> > +				bbnsm_rtc: rtc {
> > +					compatible = "nxp,imx93-
bbnsm-rtc";
> > +					interrupts = <GIC_SPI 73 
IRQ_TYPE_LEVEL_HIGH>;
> > +				};
> > +
> > +				bbnsm_pwrkey: pwrkey {
> > +					compatible = "nxp,imx93-
bbnsm-pwrkey";
> > +					interrupts = <GIC_SPI 73 
IRQ_TYPE_LEVEL_HIGH>;
> > +					linux,code = <KEY_POWER>;
> > +				};
> > +			};
> > +
> > 
> >  			clk: clock-controller@44450000 {
> >  			
> >  				compatible = "fsl,imx93-ccm";
> >  				reg = <0x44450000 0x10000>;
> > 
> > --
> > 2.34.1
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Shawn Guo March 14, 2023, 1:01 a.m. UTC | #3
On Wed, Feb 15, 2023 at 10:41:17AM +0800, Jacky Bai wrote:
> Add the bbnsm node for RTC & ON/OFF button support
> 
> Signed-off-by: Jacky Bai <ping.bai@nxp.com>

Applied, thanks!
diff mbox series

Patch

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