Commit 187980e0 authored by Stefan Riedmueller's avatar Stefan Riedmueller Committed by Mauro Carvalho Chehab
Browse files

media: dt-bindings: mt9p031: Add missing required properties



Add missing required clocks and supply regulator properties for the
sensor input clock and vdd, vdd_io and vaa supply regulators.

Signed-off-by: default avatarStefan Riedmueller <s.riedmueller@phytec.de>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent e5879baf
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -24,6 +24,18 @@ properties:
    description: I2C device address
    maxItems: 1

  clocks:
    maxItems: 1

  vdd-supply:
    description: Digital supply voltage, 1.8 V

  vdd_io-supply:
    description: I/O supply voltage, 1.8 or 2.8 V

  vaa-supply:
    description: Analog supply voltage, 2.8 V

  reset-gpios:
    maxItems: 1
    description: Chip reset GPIO
@@ -59,6 +71,10 @@ properties:
required:
  - compatible
  - reg
  - clocks
  - vdd-supply
  - vdd_io-supply
  - vaa-supply
  - port

additionalProperties: false
@@ -74,6 +90,12 @@ examples:
            reg = <0x5d>;
            reset-gpios = <&gpio_sensor 0 0>;

            clocks = <&sensor_clk>;

            vdd-supply = <&reg_vdd>;
            vdd_io-supply = <&reg_vdd_io>;
            vaa-supply = <&reg_vaa>;

            port {
                mt9p031_1: endpoint {
                    input-clock-frequency = <6000000>;