[RFC PATCH] regulator: dt-bindings: qcom-labibb: Allow regulator-common properties

From: Konrad Dybcio
Date: Mon Jan 16 2023 - 04:25:15 EST


Allow regulator-common properties on lab/ibb regulators, such as
regulator-always-on, etc.

Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>
---
.../bindings/regulator/qcom-labibb-regulator.yaml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml
index f97b8083678f..c0be7d5a6d40 100644
--- a/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml
@@ -20,7 +20,8 @@ properties:

lab:
type: object
- additionalProperties: false
+ $ref: "regulator.yaml#"
+ unevaluatedProperties: false

properties:
qcom,soft-start-us:
@@ -46,7 +47,8 @@ properties:

ibb:
type: object
- additionalProperties: false
+ $ref: "regulator.yaml#"
+ unevaluatedProperties: false

properties:
qcom,discharge-resistor-kohms:
--
2.39.0