Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

regulator: dt-bindings: pca9450: Add nxp,pf9453 compatible string

Add the compatible string "nxp,pf9453" for the PF9453 regulator. The PF9453
is similar to the PCA9460 but supports only LDO1, LDO2, LDO_SVNS, and
BUCK[1-4].

Restrict LDO and BUCK numbers for nxp,pf9453 and keep the same restriction
for other compatible strings.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20250314-pf9453-v5-1-ab0cf1f871b0@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Frank Li and committed by
Mark Brown
276c2fe1 248bc011

+23 -1
+23 -1
Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml
··· 17 17 Datasheet is available at 18 18 https://www.nxp.com/docs/en/data-sheet/PCA9450DS.pdf 19 19 20 + Support PF9453, Datasheet is available at 21 + https://www.nxp.com/docs/en/data-sheet/PF9453_SDS.pdf 22 + 20 23 # The valid names for PCA9450 regulator nodes are: 21 24 # BUCK1, BUCK2, BUCK3, BUCK4, BUCK5, BUCK6, 22 25 # LDO1, LDO2, LDO3, LDO4, LDO5 ··· 33 30 - nxp,pca9450c 34 31 - nxp,pca9451a 35 32 - nxp,pca9452 33 + - nxp,pf9453 36 34 37 35 reg: 38 36 maxItems: 1 ··· 69 65 unevaluatedProperties: false 70 66 71 67 patternProperties: 72 - "^LDO[1-4]$": 68 + "^LDO([1-4]|-SNVS)$": 73 69 type: object 74 70 $ref: regulator.yaml# 75 71 description: ··· 121 117 - regulators 122 118 123 119 additionalProperties: false 120 + 121 + allOf: 122 + - if: 123 + properties: 124 + compatible: 125 + contains: 126 + const: nxp,pf9453 127 + then: 128 + properties: 129 + regulators: 130 + patternProperties: 131 + "^LDO[3-4]$": false 132 + "^BUCK[5-6]$": false 133 + else: 134 + properties: 135 + regulators: 136 + properties: 137 + LDO-SNVS: false 124 138 125 139 examples: 126 140 - |