RE: [PATCH v3 3/7] PCI: imx6: Fix the regulator dump when link never came up
From: Richard Zhu <hongxing.zhu@nxp.com>
Date: 2021-10-28 06:48:42
Also in:
linux-pci, lkml
-----Original Message----- From: Francesco Dolcini <redacted> Sent: Tuesday, October 26, 2021 5:49 PM To: Richard Zhu <hongxing.zhu@nxp.com> Cc: Francesco Dolcini <redacted>; Mark Brown [off-list ref]; l.stach@pengutronix.de; bhelgaas@google.com; lorenzo.pieralisi@arm.com; jingoohan1@gmail.com; linux-pci@vger.kernel.org; dl-linux-imx [off-list ref]; linux-arm-kernel@lists.infradead.org; linux-kernel@vger.kernel.org; kernel@pengutronix.de Subject: Re: [PATCH v3 3/7] PCI: imx6: Fix the regulator dump when link never came up On Tue, Oct 26, 2021 at 09:18:39AM +0000, Richard Zhu wrote:quoted
quoted
Isn't this something that depend on the actual board design? From the driver point of view you should not silently enforce such design requirement on the board. Am I missing something here? Would be glad to you if you can clarifyin case.quoted
quoted
[Richard Zhu] Yes, it is relied on the actual HW board design. This regulator is one optional, not mandatory required for all the boarddesigns.quoted
So, there is one _enabled or not check before manipulate this regulator.I think I was not clear in my question. I'm asking what's is going to happen if the vpci-e supply is used in the actual board design AND the same regulator is shared with another device (to my understanding this should be just fine from the regulator API point of view, correct me if I'm wrong).
[Richard Zhu] Yes, agree with you. It should be fine from the regulator API point of view. BR Richard
I'm not talking about board designed by NXP in which such use case might not exist. Francesco
_______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel