Re: MVEBU A38x Regulator

2022-07-26 Thread Pali Rohár
Hello! On Monday 25 July 2022 17:04:33 Tony Dinh wrote: > Hi Pali, > > Great work! I applied the patch and removed the DM Regulator configs, > rebuilt, and kwboot it. > > Using the improved GPIO command, I discovered my problem was the pins > were misconfigured in the DTS include chain, or in

Re: MVEBU A38x Regulator

2022-07-25 Thread Tony Dinh
Hi Pali, Great work! I applied the patch and removed the DM Regulator configs, rebuilt, and kwboot it. Using the improved GPIO command, I discovered my problem was the pins were misconfigured in the DTS include chain, or in the MPP configs somewhere. So the improved GPIO command did the trick :)

Re: MVEBU A38x Regulator

2022-07-25 Thread Tony Dinh
Hi Pali, I'll get the patch and give it a try. Thanks, Tony On Mon, Jul 25, 2022 at 12:13 PM Pali Rohár wrote: > > On Sunday 24 July 2022 11:27:00 Pali Rohár wrote: > > On Wednesday 20 July 2022 15:47:55 Tony Dinh wrote: > > > Hi Pali/Marek, > > > > > > I'm writing u-boot for the Synology

Re: MVEBU A38x Regulator

2022-07-25 Thread Pali Rohár
On Sunday 24 July 2022 11:27:00 Pali Rohár wrote: > On Wednesday 20 July 2022 15:47:55 Tony Dinh wrote: > > Hi Pali/Marek, > > > > I'm writing u-boot for the Synology DS116 (Armada 385, dual core, 1.8 > > Ghz). I could not seem to get the DM Regulator to power up the SATA > > port on this board.

Re: MVEBU A38x Regulator

2022-07-25 Thread Pali Rohár
Hello! I think that those dmesg lines are printed when regulator is not specified in device tree file in sata/ahci node (which is read by sata/ahci driver). On Sunday 24 July 2022 17:36:06 Tony Dinh wrote: > Hi Pali Hi Stefan, > > I find it odd that the Linux kernel regulator does not attempt

Re: MVEBU A38x Regulator

2022-07-24 Thread Tony Dinh
Hi Pali Hi Stefan, I find it odd that the Linux kernel regulator does not attempt to enable power to the HDD. Is the purpose of the SATA regulator to power up the port with GPIO (GPIO 15 in this case). The Supply AHCI is not found because there is no power to the port, isn't it? [2.415108]

Re: MVEBU A38x Regulator

2022-07-24 Thread Pali Rohár
On Wednesday 20 July 2022 15:47:55 Tony Dinh wrote: > Hi Pali/Marek, > > I'm writing u-boot for the Synology DS116 (Armada 385, dual core, 1.8 > Ghz). I could not seem to get the DM Regulator to power up the SATA > port on this board. I'm using Stefan ./board/Marvell/db-88f6820-gp as > the

MVEBU A38x Regulator

2022-07-20 Thread Tony Dinh
Hi Pali/Marek, I'm writing u-boot for the Synology DS116 (Armada 385, dual core, 1.8 Ghz). I could not seem to get the DM Regulator to power up the SATA port on this board. I'm using Stefan ./board/Marvell/db-88f6820-gp as the starting point, and using the latest DTS