Message ID | 7c8ceab2aa66bf221981f689025d0bd29df8d596.1747409892.git.samuel.kayode@savoirfairelinux.com |
---|---|
State | New |
Headers | show |
Series | add support for pf1550 PMIC MFD-based drivers | expand |
On 16/05/2025 20:50, Samuel Kayode wrote: > Add the DT binding document for pf1550 regulators. > > Signed-off-by: Samuel Kayode <samuel.kayode@savoirfairelinux.com> > --- > .../devicetree/bindings/regulator/pf1550.yaml | 35 +++++++++++++++++++ > 1 file changed, 35 insertions(+) > create mode 100644 Documentation/devicetree/bindings/regulator/pf1550.yaml > > diff --git a/Documentation/devicetree/bindings/regulator/pf1550.yaml b/Documentation/devicetree/bindings/regulator/pf1550.yaml > new file mode 100644 > index 000000000000..a684ab974496 > --- /dev/null > +++ b/Documentation/devicetree/bindings/regulator/pf1550.yaml > @@ -0,0 +1,35 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/regulator/pf1550.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Regulators for PF1550 PMIC from NXP. Same comments as for other patch. > + > +maintainers: > + - Samuel Kayode <samuel.kayode@savoirfairelinux.com> > + > +description: | > + This module is part of the PF1550 MFD device. For more details > + see Documentation/devicetree/bindings/mfd/pf1550.yaml. > + > + The regulator controller is represented as a sub-node of the PMIC node > + on the device tree. > + > + The device has three LDO regulators, three buck converters and a DDR > + termination reference voltage. > + > +properties: > + compatible: > + const: fsl,pf1550-regulator This looks not needed. > + > +patternProperties: > + "^(LDO[1-3]|SW[1-3]|VREFADDR)$": Node names are lowercase. > + $ref: regulator.yaml# > + unevaluatedProperties: false > + > +required: > + - compatible Missing blank line > +additionalProperties: false > + > +... <form letter> Please use scripts/get_maintainers.pl to get a list of necessary people and lists to CC. It might happen, that command when run on an older kernel, gives you outdated entries. Therefore please be sure you base your patches on recent Linux kernel. Tools like b4 or scripts/get_maintainer.pl provide you proper list of people, so fix your workflow. Tools might also fail if you work on some ancient tree (don't, instead use mainline) or work on fork of kernel (don't, instead use mainline). Just use b4 and everything should be fine, although remember about `b4 prep --auto-to-cc` if you added new patches to the patchset. You missed at least devicetree list (maybe more), so this won't be tested by automated tooling. Performing review on untested code might be a waste of time. Please kindly resend and include all necessary To/Cc entries. </form letter> Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/regulator/pf1550.yaml b/Documentation/devicetree/bindings/regulator/pf1550.yaml new file mode 100644 index 000000000000..a684ab974496 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/pf1550.yaml @@ -0,0 +1,35 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/pf1550.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Regulators for PF1550 PMIC from NXP. + +maintainers: + - Samuel Kayode <samuel.kayode@savoirfairelinux.com> + +description: | + This module is part of the PF1550 MFD device. For more details + see Documentation/devicetree/bindings/mfd/pf1550.yaml. + + The regulator controller is represented as a sub-node of the PMIC node + on the device tree. + + The device has three LDO regulators, three buck converters and a DDR + termination reference voltage. + +properties: + compatible: + const: fsl,pf1550-regulator + +patternProperties: + "^(LDO[1-3]|SW[1-3]|VREFADDR)$": + $ref: regulator.yaml# + unevaluatedProperties: false + +required: + - compatible +additionalProperties: false + +...
Add the DT binding document for pf1550 regulators. Signed-off-by: Samuel Kayode <samuel.kayode@savoirfairelinux.com> --- .../devicetree/bindings/regulator/pf1550.yaml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/pf1550.yaml