Commit c1761159 authored by Rob Herring's avatar Rob Herring
Browse files

dt-bindings: More removals of type references on common properties



Users of common properties shouldn't have a type definition as the
common schemas already have one. A few new ones slipped in and
*-names was missed in the last clean-up pass. Drop all the unnecessary
type references in the tree.

A meta-schema update to catch these is pending.

Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Olivier Moysan <olivier.moysan@foss.st.com>
Cc: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Orson Zhai <orsonzhai@gmail.com>
Cc: Baolin Wang <baolin.wang7@gmail.com>
Cc: Chunyan Zhang <zhang.lyra@gmail.com>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Fabrice Gasnier <fabrice.gasnier@st.com>
Cc: Odelu Kukatla <okukatla@codeaurora.org>
Cc: Alex Elder <elder@kernel.org>
Cc: Shengjiu Wang <shengjiu.wang@nxp.com>
Cc: linux-clk@vger.kernel.org
Cc: alsa-devel@alsa-project.org
Cc: linux-iio@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-input@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarMark Brown <broonie@kernel.org>
Acked-by: default avatarGeorgi Djakov <djakov@kernel.org>
Reviewed-by: default avatarLuca Ceresoli <luca@lucaceresoli.net>
Acked-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20210510204524.617390-1-robh@kernel.org
parent 4710ccc5
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -60,7 +60,6 @@ properties:
    maxItems: 2
    maxItems: 2


  idt,xtal-load-femtofarads:
  idt,xtal-load-femtofarads:
    $ref: /schemas/types.yaml#/definitions/uint32
    minimum: 9000
    minimum: 9000
    maximum: 22760
    maximum: 22760
    description: Optional load capacitor for XTAL1 and XTAL2
    description: Optional load capacitor for XTAL1 and XTAL2
@@ -84,7 +83,6 @@ patternProperties:
        enum: [ 1800000, 2500000, 3300000 ]
        enum: [ 1800000, 2500000, 3300000 ]
      idt,slew-percent:
      idt,slew-percent:
        description: The Slew rate control for CMOS single-ended.
        description: The Slew rate control for CMOS single-ended.
        $ref: /schemas/types.yaml#/definitions/uint32
        enum: [ 80, 85, 90, 100 ]
        enum: [ 80, 85, 90, 100 ]


required:
required:
+0 −1
Original line number Original line Diff line number Diff line
@@ -102,7 +102,6 @@ patternProperties:


      st,adc-channel-names:
      st,adc-channel-names:
        description: List of single-ended channel names.
        description: List of single-ended channel names.
        $ref: /schemas/types.yaml#/definitions/string-array


      st,filter-order:
      st,filter-order:
        description: |
        description: |
+0 −1
Original line number Original line Diff line number Diff line
@@ -38,6 +38,5 @@ properties:
      Duration in seconds which the key should be kept pressed for device to
      Duration in seconds which the key should be kept pressed for device to
      reset automatically. Device with key pressed reset feature can specify
      reset automatically. Device with key pressed reset feature can specify
      this property.
      this property.
    $ref: /schemas/types.yaml#/definitions/uint32


additionalProperties: true
additionalProperties: true
+0 −1
Original line number Original line Diff line number Diff line
@@ -92,7 +92,6 @@ properties:
      this interconnect to send RPMh commands.
      this interconnect to send RPMh commands.


  qcom,bcm-voter-names:
  qcom,bcm-voter-names:
    $ref: /schemas/types.yaml#/definitions/string-array
    description: |
    description: |
      Names for each of the qcom,bcm-voters specified.
      Names for each of the qcom,bcm-voters specified.


+0 −1
Original line number Original line Diff line number Diff line
@@ -105,7 +105,6 @@ properties:
      - description: Whether the IPA clock is enabled (if valid)
      - description: Whether the IPA clock is enabled (if valid)


  qcom,smem-state-names:
  qcom,smem-state-names:
    $ref: /schemas/types.yaml#/definitions/string-array
    description: The names of the state bits used for SMP2P output
    description: The names of the state bits used for SMP2P output
    items:
    items:
      - const: ipa-clock-enabled-valid
      - const: ipa-clock-enabled-valid
Loading