Message ID | 20240616105402.45211-1-biju.das.jz@bp.renesas.com |
---|---|
Headers | show |
Series | Add USB VBUS regulator for RZ/G2L | expand |
On 16-06-24, 11:53, Biju Das wrote: > As per RZ/G2L HW manual, VBUS enable can be controlled by the VBOUT bit of > the VBUS Control Register(VBENCTL) register in the USBPHY Control. But > this IP is in the Reset block. > > Reset driver exposes this register as regmap and instantiate the USB VBUS > regulator device. Consumers(phy device) can use regulator APIs to control > VBUS as controlling is done in the atomic context. > > We need to have merge strategy which subsytem will apply this patches > as it involves multiple subsystems Reset, Regulator, PHY, DT and Renesas > SoC?? Why is there a dependency.. why cant they go thru respective trees?
Hi Vinod, Thanks for the feedback. > -----Original Message----- > From: Vinod Koul <vkoul@kernel.org> > Sent: Thursday, June 20, 2024 5:38 PM > Subject: Re: [PATCH v4 0/6] Add USB VBUS regulator for RZ/G2L > > On 16-06-24, 11:53, Biju Das wrote: > > As per RZ/G2L HW manual, VBUS enable can be controlled by the VBOUT > > bit of the VBUS Control Register(VBENCTL) register in the USBPHY > > Control. But this IP is in the Reset block. > > > > Reset driver exposes this register as regmap and instantiate the USB > > VBUS regulator device. Consumers(phy device) can use regulator APIs to > > control VBUS as controlling is done in the atomic context. > > > > We need to have merge strategy which subsytem will apply this patches > > as it involves multiple subsystems Reset, Regulator, PHY, DT and > > Renesas SoC?? > > Why is there a dependency.. why cant they go thru respective trees? In this series, only regulator driver changes has no dependency. PHY driver (phy-rcar-gen3-usb2.c) has a dependency on new regulator consumer API regulator_hardware_enable(), Without this it will lead to compilation error. USB PHY ctrl driver(reset-rzg2l-usbphy-ctrl.c) instantiate and bind regulator driver(renesas-usb-vbus-regulator.c). If regulator driver is not there means, USB PHY ctrl driver probe() fails, that will break existing USB functionality. Cheers, Biju
On Sun, 16 Jun 2024 11:53:52 +0100, Biju Das wrote: > As per RZ/G2L HW manual, VBUS enable can be controlled by the VBOUT bit of > the VBUS Control Register(VBENCTL) register in the USBPHY Control. But > this IP is in the Reset block. > > Reset driver exposes this register as regmap and instantiate the USB VBUS > regulator device. Consumers(phy device) can use regulator APIs to control > VBUS as controlling is done in the atomic context. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [3/6] regulator: core: Add helper for allow HW access to enable/disable regulator commit: 1cb7d29157603561af4c38535e936850ceb99f0f [4/6] regulator: Add Renesas RZ/G2L USB VBUS regulator driver commit: 84fbd6198766336f627ba08f073fd9970729074e All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a 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. Thanks, Mark