Commit 9bfaf9c7 authored by Rob Herring's avatar Rob Herring
Browse files

dt-bindings: Drop unnecessary *-supply schemas properties



*-supply properties are always a single phandle, so binding schemas
don't need a type $ref nor 'maxItems'.

A meta-schema check for this is pending once these existing cases are
fixed.

Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-iio@vger.kernel.org
Cc: linux-input@vger.kernel.org
Cc: linux-media@vger.kernel.org
Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: default avatarLee Jones <lee.jones@linaro.org>
Acked-by: default avatarMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20201221234659.824881-1-robh@kernel.org


Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 21df8683
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -26,11 +26,9 @@ properties:
    description: GPIO connected to active low reset

  dvdd12-supply:
    maxItems: 1
    description: Regulator for 1.2V digital core power.

  dvdd25-supply:
    maxItems: 1
    description: Regulator for 2.5V digital core power.

  ports:
+0 −2
Original line number Diff line number Diff line
@@ -35,11 +35,9 @@ properties:
    maxItems: 1

  ovdd-supply:
    maxItems: 1
    description: I/O voltage

  pwr18-supply:
    maxItems: 1
    description: core voltage

  interrupts:
+1 −2
Original line number Diff line number Diff line
@@ -79,8 +79,7 @@ properties:
      The GPIO used to control the power down line of this device.
    maxItems: 1

  power-supply:
    maxItems: 1
  power-supply: true

required:
  - compatible
+0 −2
Original line number Diff line number Diff line
@@ -35,11 +35,9 @@ properties:
    description: GPIO connected to active low reset.

  vdd12-supply:
    maxItems: 1
    description: Regulator for 1.2V digital core power.

  vdd33-supply:
    maxItems: 1
    description: Regulator for 3.3V digital core power.

  ports:
+0 −1
Original line number Diff line number Diff line
@@ -60,7 +60,6 @@ properties:
    description: GPIO controlling bridge enable

  vdd-supply:
    maxItems: 1
    description: Power supply for the bridge

required:
Loading