2023-03-15 12:33:53

by Sinthu Raja

[permalink] [raw]
Subject: [PATCH] arm64: dts: ti: k3-am68-sk-base-board: Update IO EXP GPIO lines for Rev E2

From: Sinthu Raja <[email protected]>

Rev E2 of the AM68 SK baseboard has updated the GPIO IO expander pins
functionality. To match the Rev E2 schematics, update existing IO expander
GPIO line names and the corresponding node which uses the expansion(exp1)
node.

Signed-off-by: Sinthu Raja <[email protected]>
---

Schematics Ref: https://www.ti.com/lit/zip/sprr463

arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
index 2091cd2431fb..27a43a8ecffd 100644
--- a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
+++ b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
@@ -60,7 +60,7 @@ vdd_mmc1: regulator-sd {
regulator-boot-on;
enable-active-high;
vin-supply = <&vsys_3v3>;
- gpio = <&exp1 10 GPIO_ACTIVE_HIGH>;
+ gpio = <&exp1 8 GPIO_ACTIVE_HIGH>;
};

vdd_sd_dv: regulator-tlv71033 {
@@ -264,12 +264,10 @@ exp1: gpio@21 {
reg = <0x21>;
gpio-controller;
#gpio-cells = <2>;
- gpio-line-names = "CSI_VIO_SEL", "CSI_SEL_FPC_EXPn", "HDMI_PDn",
- "HDMI_LS_OE", "DP0_3V3 _EN", "BOARDID_EEPROM_WP",
- "CAN_STB", " ", "GPIO_uSD_PWR_EN", "eDP_ENABLE",
- "IO_EXP_PCIe1_M.2_RTSz", "IO_EXP_MCU_RGMII_RSTz",
- "IO_EXP_CSI2_EXP_RSTz", " ", "CSI0_B_GPIO1",
- "CSI1_B_GPIO1";
+ gpio-line-names = " ", " ", " ", " ", " ",
+ "BOARDID_EEPROM_WP", "CAN_STB", " ",
+ "GPIO_uSD_PWR_EN", " ", "IO_EXP_PCIe1_M.2_RTSz",
+ "IO_EXP_MCU_RGMII_RST#", " ", " ", " ", " ";
};
};

--
2.36.1



2023-03-15 13:48:16

by Nishanth Menon

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: ti: k3-am68-sk-base-board: Update IO EXP GPIO lines for Rev E2

On 17:39-20230315, Sinthu Raja wrote:
> From: Sinthu Raja <[email protected]>
>
> Rev E2 of the AM68 SK baseboard has updated the GPIO IO expander pins
> functionality. To match the Rev E2 schematics, update existing IO expander
> GPIO line names and the corresponding node which uses the expansion(exp1)
> node.
>
> Signed-off-by: Sinthu Raja <[email protected]>
> ---
>
> Schematics Ref: https://www.ti.com/lit/zip/sprr463

Looking at https://www.ti.com/tool/SK-AM68 looks like E1 never hit
production, is that correct?

Does this need a "Fixes" tag?

>
> arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts | 12 +++++-------
> 1 file changed, 5 insertions(+), 7 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
> index 2091cd2431fb..27a43a8ecffd 100644
> --- a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
> @@ -60,7 +60,7 @@ vdd_mmc1: regulator-sd {
> regulator-boot-on;
> enable-active-high;
> vin-supply = <&vsys_3v3>;
> - gpio = <&exp1 10 GPIO_ACTIVE_HIGH>;
> + gpio = <&exp1 8 GPIO_ACTIVE_HIGH>;
> };
>
> vdd_sd_dv: regulator-tlv71033 {
> @@ -264,12 +264,10 @@ exp1: gpio@21 {
> reg = <0x21>;
> gpio-controller;
> #gpio-cells = <2>;
> - gpio-line-names = "CSI_VIO_SEL", "CSI_SEL_FPC_EXPn", "HDMI_PDn",
> - "HDMI_LS_OE", "DP0_3V3 _EN", "BOARDID_EEPROM_WP",
> - "CAN_STB", " ", "GPIO_uSD_PWR_EN", "eDP_ENABLE",
> - "IO_EXP_PCIe1_M.2_RTSz", "IO_EXP_MCU_RGMII_RSTz",
> - "IO_EXP_CSI2_EXP_RSTz", " ", "CSI0_B_GPIO1",
> - "CSI1_B_GPIO1";
> + gpio-line-names = " ", " ", " ", " ", " ",
> + "BOARDID_EEPROM_WP", "CAN_STB", " ",
> + "GPIO_uSD_PWR_EN", " ", "IO_EXP_PCIe1_M.2_RTSz",
> + "IO_EXP_MCU_RGMII_RST#", " ", " ", " ", " ";
> };
> };
>
> --
> 2.36.1
>

--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D

2023-03-15 14:18:16

by Sinthu Raja

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: ti: k3-am68-sk-base-board: Update IO EXP GPIO lines for Rev E2

On Wed, Mar 15, 2023 at 7:17 PM Nishanth Menon <[email protected]> wrote:
>
> On 17:39-20230315, Sinthu Raja wrote:
> > From: Sinthu Raja <[email protected]>
> >
> > Rev E2 of the AM68 SK baseboard has updated the GPIO IO expander pins
> > functionality. To match the Rev E2 schematics, update existing IO expander
> > GPIO line names and the corresponding node which uses the expansion(exp1)
> > node.
> >
> > Signed-off-by: Sinthu Raja <[email protected]>
> > ---
> >
> > Schematics Ref: https://www.ti.com/lit/zip/sprr463
>
> Looking at https://www.ti.com/tool/SK-AM68 looks like E1 never hit
> production, is that correct?
Yes, E1 didn't hit production.
>
> Does this need a "Fixes" tag?
It is a migration from E1 to E2 so I assume that a Fixes tag is not required.

Regards
Sinthu Raja
>
> >
> > arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts | 12 +++++-------
> > 1 file changed, 5 insertions(+), 7 deletions(-)
> >
> > diff --git a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
> > index 2091cd2431fb..27a43a8ecffd 100644
> > --- a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
> > +++ b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
> > @@ -60,7 +60,7 @@ vdd_mmc1: regulator-sd {
> > regulator-boot-on;
> > enable-active-high;
> > vin-supply = <&vsys_3v3>;
> > - gpio = <&exp1 10 GPIO_ACTIVE_HIGH>;
> > + gpio = <&exp1 8 GPIO_ACTIVE_HIGH>;
> > };
> >
> > vdd_sd_dv: regulator-tlv71033 {
> > @@ -264,12 +264,10 @@ exp1: gpio@21 {
> > reg = <0x21>;
> > gpio-controller;
> > #gpio-cells = <2>;
> > - gpio-line-names = "CSI_VIO_SEL", "CSI_SEL_FPC_EXPn", "HDMI_PDn",
> > - "HDMI_LS_OE", "DP0_3V3 _EN", "BOARDID_EEPROM_WP",
> > - "CAN_STB", " ", "GPIO_uSD_PWR_EN", "eDP_ENABLE",
> > - "IO_EXP_PCIe1_M.2_RTSz", "IO_EXP_MCU_RGMII_RSTz",
> > - "IO_EXP_CSI2_EXP_RSTz", " ", "CSI0_B_GPIO1",
> > - "CSI1_B_GPIO1";
> > + gpio-line-names = " ", " ", " ", " ", " ",
> > + "BOARDID_EEPROM_WP", "CAN_STB", " ",
> > + "GPIO_uSD_PWR_EN", " ", "IO_EXP_PCIe1_M.2_RTSz",
> > + "IO_EXP_MCU_RGMII_RST#", " ", " ", " ", " ";
> > };
> > };
> >
> > --
> > 2.36.1
> >
>
> --
> Regards,
> Nishanth Menon
> Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D



--
With Regards
Sinthu Raja

2023-03-28 12:17:32

by Nishanth Menon

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: ti: k3-am68-sk-base-board: Update IO EXP GPIO lines for Rev E2

Hi Sinthu Raja,

On Wed, 15 Mar 2023 17:39:34 +0530, Sinthu Raja wrote:
> Rev E2 of the AM68 SK baseboard has updated the GPIO IO expander pins
> functionality. To match the Rev E2 schematics, update existing IO expander
> GPIO line names and the corresponding node which uses the expansion(exp1)
> node.
>
>

I have applied the following to branch ti-k3-dts-next on [1].
Thank you!

[1/1] arm64: dts: ti: k3-am68-sk-base-board: Update IO EXP GPIO lines for Rev E2
commit: 276fa0066b03875f77dba67867d9902361e646fc

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

[1] git://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D