Skip to contentSkip to conversation

device tree binding for poly-phased regulators

DISCUSSION Torsten Duwe 2 participants 2 messages Feb 22, 2019 – Mar 6, 2019

lore
Share & tools
lore
#0 lore raw

Hi!

Documentation/devicetree/bindings/mfd/axp20x.txt nicely describes the capabilities of the X-powers PMICs; however, it seems polyphasing is left to comments only.

May I suggest to add a property "poly-phased", just to get the discussion started? It could be a simple property in the current case for the axp803 and axp806 ("poly-phased with you-know-which") or a phandle in the future.

BTW the axp803 datasheet is quite terse in that respect: is there one "master" reulator whose settings are copied or does a driver have to keep them in sync.

Anyway, comments welcome!

Torsten

#1 lore raw
Quoted 10 lines · Torsten Duwe

Hi!

Documentation/devicetree/bindings/mfd/axp20x.txt nicely describes the capabilities of the X-powers PMICs; however, it seems polyphasing is left to comments only.

May I suggest to add a property "poly-phased", just to get the discussion started? It could be a simple property in the current case for the axp803 and axp806 ("poly-phased with you-know-which") or a phandle in the future.

These PMICs are customized in a way that the outputs are poly-phased by default. They are customized to match a specific SoC, and that is about the only use for them. As such, there's really no way to test whether a poly-phase property and implementation works or not. If you get it wrong you risk frying your device.

A poly-phase property in genernal would be nice, however I don't think this is the right device to start with.

Quoted 3 lines

BTW the axp803 datasheet is quite terse in that respect: is there one "master" reulator whose settings are copied or does a driver have to keep them in sync.

The datasheet says, when outputs are poly-phased, only the settings of the first phase applies, i.e. the other settings are ignored, not even copied.

ChenYu