summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
diff options
context:
space:
mode:
authorLuca Weiss <luca@z3ntu.xyz>2022-10-31 20:39:31 +0300
committerLee Jones <lee@kernel.org>2022-12-07 16:28:13 +0300
commitba215dd650c50fee321bb47af94fb689cb3cf776 (patch)
tree0ecb691f2384b3761b1ab2c1c23a4f9c12163b6f /Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
parent2d51f03536c6fc19ed8489f65fabefeae1546a09 (diff)
downloadlinux-ba215dd650c50fee321bb47af94fb689cb3cf776.tar.xz
dt-bindings: mfd: qcom,spmi-pmic: Support more types
* 'adc@' is either spmi-iadc or spmi-vadc * 'charger@' is either pm8941-charger or pm8941-coincell * 'usb-vbus-regulator@' is usb-vbus-regulator * 'vibrator@' is now in yaml format, so add it Signed-off-by: Luca Weiss <luca@z3ntu.xyz> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/r/20221031173933.936147-1-luca@z3ntu.xyz
Diffstat (limited to 'Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml')
-rw-r--r--Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml16
1 files changed, 14 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
index c8362efd4345..8d9fbc278918 100644
--- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
+++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
@@ -105,7 +105,9 @@ properties:
patternProperties:
"^adc@[0-9a-f]+$":
type: object
- $ref: /schemas/iio/adc/qcom,spmi-vadc.yaml#
+ oneOf:
+ - $ref: /schemas/iio/adc/qcom,spmi-iadc.yaml#
+ - $ref: /schemas/iio/adc/qcom,spmi-vadc.yaml#
"^adc-tm@[0-9a-f]+$":
type: object
@@ -115,6 +117,12 @@ patternProperties:
type: object
additionalProperties: true # FIXME qcom,pm8916-wcd-analog-codec binding not converted yet
+ "^charger@[0-9a-f]+$":
+ type: object
+ oneOf:
+ - $ref: /schemas/power/supply/qcom,pm8941-charger.yaml#
+ - $ref: /schemas/power/supply/qcom,pm8941-coincell.yaml#
+
"extcon@[0-9a-f]+$":
type: object
$ref: /schemas/extcon/qcom,pm8941-misc.yaml#
@@ -135,9 +143,13 @@ patternProperties:
type: object
$ref: /schemas/thermal/qcom,spmi-temp-alarm.yaml#
+ "^usb-vbus-regulator@[0-9a-f]+$":
+ type: object
+ $ref: /schemas/regulator/qcom,usb-vbus-regulator.yaml#
+
"^vibrator@[0-9a-f]+$":
type: object
- additionalProperties: true # FIXME qcom,pm8916-vib binding not converted yet
+ $ref: /schemas/input/qcom,pm8xxx-vib.yaml#
"^mpps@[0-9a-f]+$":
type: object