All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/3] dt-bindings: mfd: qcom,spmi-pmic: support more types
@ 2022-10-31 17:39 Luca Weiss
  2022-10-31 17:39 ` [PATCH v2 2/3] regulator: dt-bindings: qcom,usb-vbus-regulator: change node name Luca Weiss
                   ` (5 more replies)
  0 siblings, 6 replies; 18+ messages in thread
From: Luca Weiss @ 2022-10-31 17:39 UTC (permalink / raw)
  To: linux-arm-msm
  Cc: ~postmarketos/upstreaming, phone-devel, afd, Luca Weiss,
	Andy Gross, Bjorn Andersson, Konrad Dybcio, Lee Jones,
	Rob Herring, Krzysztof Kozlowski, Stephen Boyd, devicetree,
	linux-kernel

* '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>
---
Changes since v1:
* Change dcdc@ to usb-vbus-regulator@
* Link to pm8xxx-vib.yaml

 .../devicetree/bindings/mfd/qcom,spmi-pmic.yaml  | 16 ++++++++++++++--
 1 file 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 777f2da52f1e..cf10d62ace54 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
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2022-12-29 19:12 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-31 17:39 [PATCH v2 1/3] dt-bindings: mfd: qcom,spmi-pmic: support more types Luca Weiss
2022-10-31 17:39 ` [PATCH v2 2/3] regulator: dt-bindings: qcom,usb-vbus-regulator: change node name Luca Weiss
2022-10-31 17:45   ` Mark Brown
2022-11-02 10:38   ` Neil Armstrong
2022-11-02 15:41     ` Luca Weiss
2022-11-02 19:12     ` Krzysztof Kozlowski
2022-11-02 16:27   ` Rob Herring
2022-12-28 21:30   ` Luca Weiss
2022-12-29 17:57     ` Mark Brown
2022-12-29 18:11       ` Luca Weiss
2022-12-29 18:43         ` Mark Brown
2022-12-29 19:12           ` Luca Weiss
2022-10-31 17:39 ` [PATCH v2 3/3] arm64: dts: qcom: pm8150b: change vbus-regulator " Luca Weiss
2022-11-02 10:38   ` Neil Armstrong
2022-11-02 16:26 ` [PATCH v2 1/3] dt-bindings: mfd: qcom,spmi-pmic: support more types Rob Herring
2022-11-07  9:07 ` Lee Jones
2022-11-08  1:27 ` (subset) " Bjorn Andersson
2022-11-16 14:06 ` Lee Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.