ARM: dts: r8a7742-iwg21d-q7-dbcm-ca: Add missing camera regulators

make dtbs_check:

    arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ca.dt.yaml: ov5640@3c: 'AVDD-supply' is a required property
	    From schema: Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml
    arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ca.dt.yaml: ov5640@3c: 'DVDD-supply' is a required property
	    From schema: Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml
    arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ca.dt.yaml: ov5640@3c: 'DOVDD-supply' is a required property
	    From schema: Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml

Fix this by describing the missing regulators.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Link: https://lore.kernel.org/r/300149c730931914b77e17df6bcce89b67c3005f.1634222546.git.geert+renesas@glider.be
This commit is contained in:
Geert Uytterhoeven 2021-10-14 16:44:12 +02:00
parent fa55b7dcdc
commit 1ab0a62f28
2 changed files with 19 additions and 0 deletions

View File

@ -44,6 +44,22 @@ mclk_cam4: mclk-cam4 {
#clock-cells = <0>;
clock-frequency = <26000000>;
};
reg_1p8v: 1p8v {
compatible = "regulator-fixed";
regulator-name = "1P8V";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};
reg_2p8v: 2p8v {
compatible = "regulator-fixed";
regulator-name = "2P8V";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
regulator-always-on;
};
};
&avb {

View File

@ -17,6 +17,9 @@ ov5640@3c {
reg = <0x3c>;
clocks = <&MCLK_CAM>;
clock-names = "xclk";
AVDD-supply = <&reg_2p8v>;
DOVDD-supply = <&reg_2p8v>;
DVDD-supply = <&reg_1p8v>;
status = "okay";
port {