Linux kernel and device drivers for NXP i.MX platforms
 help / color / mirror / Atom feed
From: Frank Li <Frank.li@oss.nxp.com>
To: Dinesh kumar v <dineshkumarv85@gmail.com>
Cc: Frank Li <Frank.Li@nxp.com>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Conor Dooley <conor.dooley@microchip.com>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	imx@lists.linux.dev, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de,
	festevam@gmail.com
Subject: Re: [PATCH v4 3/3] arm64: dts: imx95: Add ADLINK LEC-iMX95 board support
Date: Wed, 25 Nov 2026 10:32:18 -0600	[thread overview]
Message-ID: <awcNkgqB2YsIOusn@SMW015318> (raw)
In-Reply-To: <20261125113845.297658-4-dineshkumarv85@gmail.com>

On Wed, Nov 25, 2026 at 05:08:45PM +0530, Dinesh kumar v wrote:
> Add device tree support for the ADLINK LEC-iMX95 module
> with the I-Pi SMARC Plus carrier board.
>
> Signed-off-by: Dinesh kumar v <dineshkumarv85@gmail.com>
> ---
...
> +
> +&lpi2c8 {
> +	status = "okay";
> +
> +	/* SX1509(2) U1001@IPi SMARC Plus */
> +	i2c8_gpio_expander_3e: pinctrl@3e {
> +		/*
> +		 * GPIO Expander 2 Mapping:
> +		 * - 0: E_GPIO1_0	<=>	IPi SMARC Plus CN101_PIN29: E_GPIO1_0
> +		 * - 1: E_GPIO1_1	<=>	IPi SMARC Plus CN101_PIN31: E_GPIO1_1
> +		 * - 2: E_GPIO1_2	<=>	IPi SMARC Plus CN101_PIN32: E_GPIO1_2
> +		 * - 3: E_GPIO1_3	<=>	IPi SMARC Plus CN101_PIN33: E_GPIO1_3
> +		 * - 4: E_GPIO1_4	<=>	IPi SMARC Plus CN101_PIN35: E_GPIO1_4
> +		 * - 5: E_GPIO1_5	<=>	IPi SMARC Plus CN101_PIN36: E_GPIO1_5
> +		 * - 6: E_GPIO1_6	<=>	IPi SMARC Plus CN101_PIN37: E_GPIO1_6
> +		 * - 7: E_GPIO1_7	<=>	IPi SMARC Plus CN101_PIN38: E_GPIO1_7
> +		 * - 8: E_GPIO2_8	<=>	IPi SMARC Plus CN101_PIN40: E_GPIO2_8
> +		 * - 9: TP1002		<=>	IPi SMARC Plus TP1002
> +		 * - 10: TP1003		<=>	IPi SMARC Plus TP1003
> +		 * - 11: TP1004		<=>	IPi SMARC Plus TP1004
> +		 * - 12: TP1005		<=>	IPi SMARC Plus TP1005
> +		 * - 13: TP1006		<=>	IPi SMARC Plus TP1006
> +		 * - 14: TP1007		<=>	IPi SMARC Plus TP1007
> +		 * - 15: TP1008		<=>	IPi SMARC Plus TP1008
> +		 * - 16: OSCIO		<=>	IPi SMARC Plus TP1001
> +		 */

The below gpio-line-names already include the same informaiton, needn't
duplicate it here.

> +		compatible = "semtech,sx1509q";
> +		reg = <0x3e>;
> +		#gpio-cells = <2>;
> +		#interrupt-cells = <2>;
> +		gpio-controller;
> +		interrupt-controller;
> +		/* GPIO2_IO22 (module FAN_PWM_1V8) is the expander IRQ on this carrier */
> +		interrupt-parent = <&gpio2>;
> +		interrupts = <22 IRQ_TYPE_LEVEL_LOW>;
> +		pinctrl-0 = <&pinctrl_gpio_exp_3e>;
> +		pinctrl-names = "default";
> +		gpio-line-names =
> +			"E_GPIO1_0",		/* 0 - CN101 Pin 29 */
> +			"E_GPIO1_1",		/* 1 - CN101 Pin 31 */
> +			"E_GPIO1_2",		/* 2 - CN101 Pin 32 */
> +			"E_GPIO1_3",		/* 3 - CN101 Pin 33 */
> +			"E_GPIO1_4",		/* 4 - CN101 Pin 35 */
> +			"E_GPIO1_5",		/* 5 - CN101 Pin 36 */
> +			"E_GPIO1_6",		/* 6 - CN101 Pin 37 */
> +			"E_GPIO1_7",		/* 7 - CN101 Pin 38 */
> +			"E_GPIO2_8",		/* 8 - CN101 Pin 40 */
> +			"",			/* 9 - TP1002 */
> +			"",			/* 10 - TP1003 */
> +			"",			/* 11 - TP1004 */
> +			"",			/* 12 - TP1005 */
> +			"",			/* 13 - TP1006 */
> +			"",			/* 14 - TP1007 */
> +			"",			/* 15 - TP1008 */
> +			"";			/* 16 - OSCIO / TP1001 */
> +		semtech,probe-reset;
> +	};
> +};

...
> +
> +	/* U1000 SX1509BIULTRT_SEMTECH on module */
> +	i2c2_gpio_expander_71: pinctrl@71 {
> +		/*
> +		 * GPIO Expander Mapping:
> +		 * - 0: ENET1_RST_B_3V		=>		U2001
> +		 * - 1: ENET2_RST_B_3V		=>		U2101
> +		 * - 2: SERDES_RST#_3V		=>		SMARC S77 PCIE_C_RST
> +		 * - 3: RC210_EN_3V		=>		U1300, RC21008B001GND
> +		 * - 4: LT9611_RSTN_3V		=>		U1500
> +		 * - 5: HDMI_INT_3V		<=		U1500
> +		 * - 6: PCIEA_RST#_3V		=>		SMARC P75
> +		 * - 7: PCIEB_RST#_3V		=>		SMARC S76
> +		 * - 8: TPM_RST_N_1V8		=>		U2400
> +		 * - 9: LID#_1V8		<=	R1005	SMARC S148
> +		 * - 10: SLEEP#_1V8		<=	R1010	SMARC S149
> +		 * - 11: CHARGING#_1V8		<=	R1007	SMARC S151
> +		 * - 12: CHARGER_PRSNT#_1V8	<=	R1011	SMARC S152
> +		 * - 13: BATLOW#_1V8		<=	R1014	SMARC S156
> +		 * - 14: TEST#_1V8		<=	R1015	SMARC S157
> +		 * - 15: DSI0_TE_1V8		<=	R1087	SMARC S144
> +		 */

merge to comment of gpio-line-names

Frank
> +		compatible = "semtech,sx1509q";
> +		reg = <0x71>;
> +		#gpio-cells = <2>;
> +		#interrupt-cells = <2>;
> +		gpio-controller;
> +		interrupt-controller;
> +		interrupt-parent = <&gpio4>;
> +		interrupts = <15 IRQ_TYPE_LEVEL_LOW>;
> +		pinctrl-0 = <&pinctrl_sx1509q>;
> +		pinctrl-names = "default";
> +		gpio-line-names =
> +			"ENET1_RST_B_3V",	/* 0 */
> +			"ENET2_RST_B_3V",	/* 1 */
> +			"SERDES_RST#_3V",	/* 2 */
> +			"RC210_EN_3V",		/* 3 */
> +			"LT9611_RSTN_3V",	/* 4 */
> +			"HDMI_INT_3V",		/* 5 */
> +			"PCIEA_RST#_3V",	/* 6 */
> +			"PCIEB_RST#_3V",	/* 7 */
> +			"TPM_RST_N_1V8",	/* 8 */
> +			"SMARC_LID#",		/* 9 */
> +			"SMARC_SLEEP#",		/* 10 */
> +			"SMARC_CHARGING#",	/* 11 */
> +			"SMARC_CHARGER_PRSNT#",	/* 12 */
> +			"SMARC_BATLOW#",	/* 13 */
> +			"SMARC_TEST#",		/* 14 */
> +			"DSI0_TE_1V8",		/* 15 */
> +			"";			/* 16 - OSCIO */
> +		semtech,probe-reset;
> +	};
> +};


      reply	other threads:[~2026-11-25 16:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 11:38 [PATCH v4 0/3] arm64: dts: imx95: Add ADLINK LEC-iMX95 support Dinesh kumar v
2026-11-25 11:38 ` [PATCH v4 1/3] dt-bindings: vendor-prefixes: Add ADLINK Dinesh kumar v
2026-11-25 13:32   ` Daniel Baluta
2026-11-25 11:38 ` [PATCH v4 2/3] dt-bindings: arm: fsl: Add ADLINK LEC-iMX95 Dinesh kumar v
2026-11-25 11:38 ` [PATCH v4 3/3] arm64: dts: imx95: Add ADLINK LEC-iMX95 board support Dinesh kumar v
2026-11-25 16:32   ` Frank Li [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=awcNkgqB2YsIOusn@SMW015318 \
    --to=frank.li@oss.nxp.com \
    --cc=Frank.Li@nxp.com \
    --cc=conor.dooley@microchip.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dineshkumarv85@gmail.com \
    --cc=festevam@gmail.com \
    --cc=imx@lists.linux.dev \
    --cc=kernel@pengutronix.de \
    --cc=krzk@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=robh@kernel.org \
    --cc=s.hauer@pengutronix.de \
    /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