diff mbox series

[1/3] arm64: dts: imx93-11x11-evk: add io-expander adi,adp5585-00

Message ID 20240826205334.975272-1-Frank.Li@nxp.com (mailing list archive)
State Superseded
Headers show
Series [1/3] arm64: dts: imx93-11x11-evk: add io-expander adi,adp5585-00 | expand

Commit Message

Frank Li Aug. 26, 2024, 8:53 p.m. UTC
Add io-expander adi,adp5585 under lpi2c2 and lpi2c3.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 .../boot/dts/freescale/imx93-11x11-evk.dts     | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

Comments

Frank Li Aug. 26, 2024, 8:59 p.m. UTC | #1
On Mon, Aug 26, 2024 at 04:53:32PM -0400, Frank Li wrote:
> Add io-expander adi,adp5585 under lpi2c2 and lpi2c3.
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---

I forget mentions adi,adp5585 binding and driver already in linux-next
tree.

Frank

>  .../boot/dts/freescale/imx93-11x11-evk.dts     | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
> index 60eb64761392e..7629b6b44aa43 100644
> --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
> +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
> @@ -302,6 +302,16 @@ ldo5: LDO5 {
>  			};
>  		};
>  	};
> +
> +	adp5585gpio: io-expander@34 {
> +		compatible = "adi,adp5585-00", "adi,adp5585";
> +		reg = <0x34>;
> +		gpio-controller;
> +		#gpio-cells = <2>;
> +		gpio-reserved-ranges = <5 1>;
> +		#pwm-cells = <3>;
> +	};
> +
>  };
>
>  &lpi2c3 {
> @@ -310,6 +320,14 @@ &lpi2c3 {
>  	pinctrl-0 = <&pinctrl_lpi2c3>;
>  	status = "okay";
>
> +	adp5585_isp: io-expander@34 {
> +		compatible = "adi,adp5585-01", "adi,adp5585";
> +		reg = <0x34>;
> +		gpio-controller;
> +		#gpio-cells = <2>;
> +		#pwm-cells = <3>;
> +	};
> +
>  	ptn5110: tcpc@50 {
>  		compatible = "nxp,ptn5110", "tcpci";
>  		reg = <0x50>;
> --
> 2.34.1
>
Rob Herring Aug. 27, 2024, 12:31 p.m. UTC | #2
On Mon, 26 Aug 2024 16:53:32 -0400, Frank Li wrote:
> Add io-expander adi,adp5585 under lpi2c2 and lpi2c3.
> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
>  .../boot/dts/freescale/imx93-11x11-evk.dts     | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
> 


My bot found new DTB warnings on the .dts files added or changed in this
series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:

  pip3 install dtschema --upgrade


New warnings running 'make CHECK_DTBS=y freescale/imx93-11x11-evk.dtb' for 20240826205334.975272-1-Frank.Li@nxp.com:

arch/arm64/boot/dts/freescale/imx93-11x11-evk.dtb: pinctrl@443c0000: 'sai3grpsleep' does not match any of the regexes: 'grp$', 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/pinctrl/fsl,imx9-pinctrl.yaml#
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
index 60eb64761392e..7629b6b44aa43 100644
--- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
@@ -302,6 +302,16 @@  ldo5: LDO5 {
 			};
 		};
 	};
+
+	adp5585gpio: io-expander@34 {
+		compatible = "adi,adp5585-00", "adi,adp5585";
+		reg = <0x34>;
+		gpio-controller;
+		#gpio-cells = <2>;
+		gpio-reserved-ranges = <5 1>;
+		#pwm-cells = <3>;
+	};
+
 };
 
 &lpi2c3 {
@@ -310,6 +320,14 @@  &lpi2c3 {
 	pinctrl-0 = <&pinctrl_lpi2c3>;
 	status = "okay";
 
+	adp5585_isp: io-expander@34 {
+		compatible = "adi,adp5585-01", "adi,adp5585";
+		reg = <0x34>;
+		gpio-controller;
+		#gpio-cells = <2>;
+		#pwm-cells = <3>;
+	};
+
 	ptn5110: tcpc@50 {
 		compatible = "nxp,ptn5110", "tcpci";
 		reg = <0x50>;