Skip to content

usb: phy: samsung: Introducing usb phy driver for samsung SoCs

Arnd Bergmann linux-arm-kernel linux-devicetree linux-samsung-soc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 5 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] usb: phy: samsung: Introducing usb phy driver for samsung SoCs
Quoted 8 lines · Praveen Paneri

Yes! I understand this problem and this is the reason these patches were sitting in my system for couple of weeks. In a discussion with Thomas an idea of using the existing regulator framework to enable/disable numerous PHYs came up. For example the PMU unit of Exynos4210 has a register set dedicated just to control USBD_PHY, HDMI_PHY, MIPI_PHY, DAC_PHY and more. If a regulator with each phy control register as LDO is written, the phy driver becomes a static consumer and will modify as below.

This is roughly what I had in mind, yes. The part I'm not sure about is the subsystem to use. One could obviously express the same logic using the clock or gpio framework, which would work but be conceptually wrong.

Some other parts of the PMU functionality are provided through pm-domains rather than regulators and I guess in theory it could all be controlled through pm-domains. Maybe someone else has a better understanding than me what the tradeoffs are here and which subsystem should be used for the PMU.

Arnd