Commit Graph

19 Commits

Author SHA1 Message Date
SaschaNes
f91aec16a0 replace stuff from samsung source 2025-08-13 08:42:30 +02:00
Ashok Kadavul
10f6f3c714 dt-bindings: qpnp-lcdb-regulator: Support for some LCDB DT properties
Add support for the following LCDB devicee tree properties:
"qcom,ncp-symmetry" to make NCP voltage follow LDO voltage directly.
"qcom,high-p2-blank-time-ns" to control the higher clamp threshold for
p2 minimum on time.
"qcom,low-p2-blank-time-ns" to control the lower clamp threshold for
p2 minimum on time.
"qcom,mpc-current-thr-ma" to control the mpc threshold for inductor
current after start up is done.

Change-Id: I873d177fd71da7a98aa043f1b30db7c42a6cd803
Signed-off-by: Ashok Kadavul <quic_asholnu@quicinc.com>
2024-10-24 08:34:11 +05:30
Varshitha H N
5b85a5f243 dt-bindings: regulator: Add bindings for qpnp-lcdb-regulator device
Add bindings for qpnp-lcdb-regulator devices.

Change-Id: Ie707a7b048c4b259e909b20364ae182ac95673d3
Signed-off-by: Varshitha H N <quic_vhn@quicinc.com>
2024-09-18 10:13:46 +05:30
qctecmdr
11d5db43ee Merge "dt-bindings: rpm-smd-regulator: Add bindings for rpm-smd regulator" 2024-05-30 09:58:31 -07:00
Ayyagari Ushasreevalli
ae5340a388 dt-bindings: rpm-smd-regulator: Add bindings for rpm-smd regulator
Add DT Bindings for rpm-smd regulator driver.

Change-Id: I304c932cbf69799bd056ad3adaf00f4576d299f4
Signed-off-by: Ayyagari Ushasreevalli <quic_aushasre@quicinc.com>
Signed-off-by: Umang Chheda <quic_uchheda@quicinc.com>
2024-05-28 11:14:52 +05:30
Jishnu Prakash
bb1bd0a9ff dt-bindings: regulator: Add bindings for PM8008 device
Add bindings for PM8008 devices.

This snapshot is taken from qclinux.1.0 branch commit 93af7f1c6008a
("QCLINUX: arm64: dts: qcom: Add bindings for qcom-i2c-pmic and PM8008
devices").

Change-Id: I8b1e88426bfe7f77c276922df8756be450237f77
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
Signed-off-by: Varshitha H N <quic_vhn@quicinc.com>
2024-05-27 09:53:43 +05:30
Shilpa Suresh
d172ce54ac dt-bindings: rpmh-regulator: Add support for PBS RPMh resources
PBS RPMh resources are used to trigger PBS sequences, which
may be used to toggle the enable state of regulators which are
required to be controlled by HW enable option.

Add support for them.

Change-Id: I620793269cf9962f692fad8277a280bb05a98cd6
Signed-off-by: Shilpa Suresh <quic_c_sbsure@quicinc.com>
2024-04-05 18:14:21 +05:30
Anjelique Melendez
50c5b79dbe dt-bindings: regulator: Add QCOM AMOLED regulator bindings
Add bindings for QCOM AMOLED regulator which is used to configure
triple power supply for amoled displays.

This is a snapshot of the bindings taken as of qcom-6.1
commit 6f13701949ee ("dt-bindings: qpnp-amoled: Fix the IBB Spur mitigation example code")
and converted from .txt to .yaml file.

Change-Id: I51f6029f2a140e5a6d2a53d3b1a2d468a8721bfa
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-12-21 09:47:20 -08:00
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