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

regulator: dt-bindings: add documentation for s2mpu05-pmic regulators

S2MPU05 is a PMIC found in Exynos7870 devices, which controls voltage
regulators (21 LDOs and 5 BUCKs). Provide documentation for devicetree
definitions, regulator naming patterns, etc.

Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250301-exynos7870-pmic-regulators-v3-1-808d0b47a564@disroot.org
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Kaustabh Chakraborty and committed by
Lee Jones
07ef6dc9 2014c95a

+47
+47
Documentation/devicetree/bindings/regulator/samsung,s2mpu05.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/regulator/samsung,s2mpu05.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Samsung S2MPU05 Power Management IC regulators 8 + 9 + maintainers: 10 + - Kaustabh Chakraborty <kauschluss@disroot.org> 11 + 12 + description: | 13 + This is a part of device tree bindings for S2M and S5M family of Power 14 + Management IC (PMIC). 15 + 16 + The S2MPU05 provides buck and LDO regulators. 17 + 18 + See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for 19 + additional information and example. 20 + 21 + patternProperties: 22 + # 21 LDOs 23 + "^ldo([1-9]|10|2[5-9]|3[0-5])$": 24 + type: object 25 + $ref: regulator.yaml# 26 + unevaluatedProperties: false 27 + description: 28 + Properties for single LDO regulator. 29 + 30 + LDOs 11-24 are used for CP, and they're left unimplemented due to lack 31 + of documentation on these regulators. 32 + 33 + required: 34 + - regulator-name 35 + 36 + # 5 bucks 37 + "^buck[1-5]$": 38 + type: object 39 + $ref: regulator.yaml# 40 + unevaluatedProperties: false 41 + description: 42 + Properties for single buck regulator. 43 + 44 + required: 45 + - regulator-name 46 + 47 + additionalProperties: false