Commit Graph

11 Commits

Author SHA1 Message Date
qctecmdr
342af7cf1c Merge "dt-bindings: regulator: stub-regulator: fix dt_binding_check warning" 2023-08-14 11:33:54 -07:00
qctecmdr
781e8f0fbc Merge "dt-bindings: regulator: fixed: add qti-regulator-fixed compatible string" 2023-08-14 11:33:54 -07:00
qctecmdr
ecb945cd53 Merge "dt-bindings: regulator: add QTI OCP notifier bindings documentation" 2023-08-14 11:33:54 -07:00
David Collins
33623ba803 dt-bindings: regulator: stub-regulator: fix dt_binding_check warning
make dt_binding_check outputs the following warning for the file
qcom,stub-regulator.yaml:

Documentation/devicetree/bindings/regulator/
qcom,stub-regulator.example.dtb:
  regulator-l1: 'regulator-max-microvolt', 'regulator-min-microvolt',
  'regulator-name' do not match any of the regexes: 'pinctrl-[0-9]+'

This occurs because both of these are specified:
 * allOf:
     - $ref: "regulator.yaml#"

 * additionalProperties: false

Fix this warning by switching the latter to:

  unevaluatedProperties: false

Change-Id: I5e0c9eb9e6a0638464db5d084bd008df357505d6
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-08-03 16:42:25 -07:00
David Collins
fa679d428f dt-bindings: regulator: add proxy consumer bindings
Add bindings for regulator proxy consumers which can be used to
enforce minimum voltage, current, and enable state of regulators
when a board is booting up.

Change-Id: I045faf871af168e5ace707f434e0317a176a16fc
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-08-03 16:18:36 -07:00
David Collins
789f4b0eb3 dt-bindings: regulator: add QTI OCP notifier bindings documentation
Add a bindings documentation file for QTI regulator over-current
(OCP) notifier devices.  These devices can be used to monitor and
notifier consumers of regulator OCP and alarm events on certain
Qualcomm Technologies, Inc. PMICs.

A regulator alarm event occurs when the output voltage droops due
to excessive current consumption which is lower than the over-
current protection threshold.

Change-Id: Id86cf62144c6e9f970cd09b7fe7a93ab40ef6cd8
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-08-03 16:17:38 -07:00
David Collins
d11bf83b2d dt-bindings: regulator: fixed: add qti-regulator-fixed compatible string
Modify the fixed-regulator binding to include the compatible
string "qti-regulator-fixed".  This is helpful in situations
where proxy consumer voting or debug control features are
needed.

Change-Id: Icf4e6012a0994ff2467ee8a7af036bb97c352fce
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-08-02 16:06:23 -07:00
Jishnu Prakash
b524392a8d dt-bindings: regulator: add rpmh-regulator bindings
Add rpmh-regulator device bindings for PMIC regulator management
via the RPMh hardware block on Qualcomm Technologies, Inc. SoCs.

Change-Id: Ic31ca6eae36c51a4bff9fa740913e425e64d08b1
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
2023-06-27 21:21:13 +05:30
Xubin Bai
39b2a96970 dt-bindings: regulator: add gdsc-regulator bindings
Add bindings for gdsc-regulator on Sun Soc.

Change-Id: I50eda2575b97580696ae5d91ce155c2ce21353cf
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2023-05-09 22:13:05 -07:00
Xubin Bai
c2a921677d dt-bindings: regulator: add stub regulator bindings
Add stub-regulator device bindings.  These devices can be used to
simulate any particular voltage regulator.

Change-Id: I5d15f825944747b6a0c95508219967bdd9590610
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2023-05-03 07:27:28 -07:00
Melody Olvera
6f18ce8026 dt-bindings: Add devicetree bindings
Add snapshot of device tree bindings from keystone common kernel, branch
"android-mainline-keystone-qcom-release" at c4c12103f9c0 ("Snap for 9228065
from e32903b9a63bb558df8b803b076619c53c16baad to
android-mainline-keystone-qcom-release").

Change-Id: I7682079615cbd9f29340a5c1f2a1d84ec441a1f1
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-04-03 15:40:37 -07:00