[PATCH v6 2/5] dt-bindings: iio: light: adps9300: Add property vdd-supply
From: Subhajit Ghosh
Date: Tue Feb 06 2024 - 08:01:36 EST
Add vdd-supply property which is valid and useful for all the
devices in this schema.
this patch depends on patch:
"dt-bindings: iio: light: Merge APDS9300 and APDS9960 schemas"
Signed-off-by: Subhajit Ghosh <subhajit.ghosh@xxxxxxxxxxxxxx>
---
v5 -> v6:
- Separate commit for individual change as per below review:
Link: https://lore.kernel.org/all/20240121153655.5f734180@jic23-huawei/
---
.../devicetree/bindings/iio/light/avago,apds9300.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml b/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml
index c610780346e8..a328c8a1daef 100644
--- a/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml
+++ b/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml
@@ -25,6 +25,8 @@ properties:
interrupts:
maxItems: 1
+ vdd-supply: true
+
additionalProperties: false
required:
@@ -42,6 +44,7 @@ examples:
reg = <0x39>;
interrupt-parent = <&gpio2>;
interrupts = <29 8>;
+ vdd-supply = <®ulator_3v3>;
};
};
...
--
2.34.1