On Fri, Dec 27, 2019 at 4:12 AM Matti Vaittinen <matti.vaittinen@xxxxxxxxxxxxxxxxx> wrote: > > Convert ROHM bd71837 and bd71847 PMIC binding text docs to yaml. Split > the binding document to two separate documents (own documents for BD71837 > and BD71847) as they have different amount of regulators. This way we can > better enforce the node name check for regulators. ROHM is also providing > BD71850 - which is almost identical to BD71847 - main difference is some > initial regulator states. The BD71850 can be driven by same driver and it > has same buck/LDO setup as BD71847 - add it to BD71847 binding document and > introduce compatible for it. > > Signed-off-by: Matti Vaittinen <matti.vaittinen@xxxxxxxxxxxxxxxxx> > --- > > changes since v1: > - constrains to short and long presses. > - reworded commit message to shorten a line exceeding 75 chars > - added 'additionalProperties: false' > - removed 'clock-names' from example node > > .../bindings/mfd/rohm,bd71837-pmic.txt | 90 ------- > .../bindings/mfd/rohm,bd71837-pmic.yaml | 236 ++++++++++++++++++ > .../bindings/mfd/rohm,bd71847-pmic.yaml | 222 ++++++++++++++++ > .../regulator/rohm,bd71837-regulator.txt | 162 ------------ > .../regulator/rohm,bd71837-regulator.yaml | 103 ++++++++ > .../regulator/rohm,bd71847-regulator.yaml | 97 +++++++ > 6 files changed, 658 insertions(+), 252 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.txt > create mode 100644 Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.yaml > create mode 100644 Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml > delete mode 100644 Documentation/devicetree/bindings/regulator/rohm,bd71837-regulator.txt > create mode 100644 Documentation/devicetree/bindings/regulator/rohm,bd71837-regulator.yaml > create mode 100644 Documentation/devicetree/bindings/regulator/rohm,bd71847-regulator.yaml Reviewed-by: Rob Herring <robh@xxxxxxxxxx>