2023-03-30 11:08:58

by Vignesh Raghavendra

[permalink] [raw]
Subject: [PATCH -next 0/2] arm64: dts: ti: Fixes for Beagleplay SD

Couple of fixups on top of ti-next branch:

The SD supply on Beagle is really coming from PMIC LDO1 even though its
controllable via GPIO, hence fix the DT accordingly, this also means
PMIC regulator drivers need to be built-in to allow SD card rootfs

Nishanth,
Better to squash into respetive commits if possible

Vignesh Raghavendra (2):
arm64: configs: defconfig: Make TPS65219 regulator built-in
arm64: dts: ti: k3-am625-beagleplay: Fixup SD card supply regulator

arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts | 2 +-
arch/arm64/configs/defconfig | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)

--
2.40.0


2023-03-30 11:09:03

by Vignesh Raghavendra

[permalink] [raw]
Subject: [PATCH 2/2] arm64: dts: ti: k3-am625-beagleplay: Fixup SD card supply regulator

The SD card supply is really coming from PMIC LDO1 even though its
controllable via GPIO.

Signed-off-by: Vignesh Raghavendra <[email protected]>
---
arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts b/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts
index f75e79e54dfc..abf997de4279 100644
--- a/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts
+++ b/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts
@@ -139,7 +139,7 @@ vdd_sd_dv: regulator-5 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
- vin-supply = <&vdd_3v3>;
+ vin-supply = <&ldo1_reg>;
gpios = <&main_gpio1 49 GPIO_ACTIVE_HIGH>;
states = <1800000 0x0>,
<3300000 0x1>;
--
2.40.0

2023-03-30 15:02:23

by Nishanth Menon

[permalink] [raw]
Subject: Re: [PATCH -next 0/2] arm64: dts: ti: Fixes for Beagleplay SD

On 16:29-20230330, Vignesh Raghavendra wrote:
> Couple of fixups on top of ti-next branch:
>
> The SD supply on Beagle is really coming from PMIC LDO1 even though its
> controllable via GPIO, hence fix the DT accordingly, this also means
> PMIC regulator drivers need to be built-in to allow SD card rootfs
>
> Nishanth,
> Better to squash into respetive commits if possible
>
> Vignesh Raghavendra (2):
> arm64: configs: defconfig: Make TPS65219 regulator built-in
> arm64: dts: ti: k3-am625-beagleplay: Fixup SD card supply regulator
>
> arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts | 2 +-
> arch/arm64/configs/defconfig | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> --
> 2.40.0
>
Thanks Vignesh, I will do the fixup.

Chatting with Roger offline, also realized that the board circuitry will
need the following change as it is using a 1/3 voltage divider on SoC's
USB1 as well: I will add this fixup while at it.

diff --git a/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts b/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts
index f75e79e54dfc..a4eb54722743 100644
--- a/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts
+++ b/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts
@@ -484,6 +484,7 @@ &usb0 {
};

&usbss1 {
+ ti,vbus-divider;
status = "okay";
};


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

2023-03-30 22:09:06

by Nishanth Menon

[permalink] [raw]
Subject: Re: [PATCH -next 0/2] arm64: dts: ti: Fixes for Beagleplay SD

Hi Vignesh Raghavendra,

On Thu, 30 Mar 2023 16:29:19 +0530, Vignesh Raghavendra wrote:
> Couple of fixups on top of ti-next branch:
>
> The SD supply on Beagle is really coming from PMIC LDO1 even though its
> controllable via GPIO, hence fix the DT accordingly, this also means
> PMIC regulator drivers need to be built-in to allow SD card rootfs
>
> Nishanth,
> Better to squash into respetive commits if possible
>
> [...]

I have fixed the following to branch ti-k3-dts-next and ti-k3-config-next on [1].
I had to rewrite history a bit here, but anyways..

Thank you!

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