Skip to content

Commit c176115

Browse files
committed
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 <[email protected]> Cc: Olivier Moysan <[email protected]> Cc: Arnaud Pouliquen <[email protected]> Cc: Lars-Peter Clausen <[email protected]> Cc: Dmitry Torokhov <[email protected]> Cc: Bjorn Andersson <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: Orson Zhai <[email protected]> Cc: Baolin Wang <[email protected]> Cc: Chunyan Zhang <[email protected]> Cc: Liam Girdwood <[email protected]> Cc: Fabrice Gasnier <[email protected]> Cc: Odelu Kukatla <[email protected]> Cc: Alex Elder <[email protected]> Cc: Shengjiu Wang <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Rob Herring <[email protected]> Acked-by: Mark Brown <[email protected]> Acked-by: Georgi Djakov <[email protected]> Reviewed-by: Luca Ceresoli <[email protected]> Acked-by: Jonathan Cameron <[email protected]> Acked-by: Sebastian Reichel <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 4710ccc commit c176115

File tree

7 files changed

+2
-8
lines changed

7 files changed

+2
-8
lines changed

Documentation/devicetree/bindings/clock/idt,versaclock5.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ properties:
6060
maxItems: 2
6161

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

9088
required:

Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ patternProperties:
102102

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

107106
st,filter-order:
108107
description: |

Documentation/devicetree/bindings/input/input.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,5 @@ properties:
3838
Duration in seconds which the key should be kept pressed for device to
3939
reset automatically. Device with key pressed reset feature can specify
4040
this property.
41-
$ref: /schemas/types.yaml#/definitions/uint32
4241

4342
additionalProperties: true

Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ properties:
9292
this interconnect to send RPMh commands.
9393
9494
qcom,bcm-voter-names:
95-
$ref: /schemas/types.yaml#/definitions/string-array
9695
description: |
9796
Names for each of the qcom,bcm-voters specified.
9897

Documentation/devicetree/bindings/net/qcom,ipa.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ properties:
105105
- description: Whether the IPA clock is enabled (if valid)
106106

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

Documentation/devicetree/bindings/power/supply/sc2731-charger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ properties:
2020
maxItems: 1
2121

2222
phys:
23-
$ref: /schemas/types.yaml#/definitions/phandle
23+
maxItems: 1
2424
description: phandle to the USB phy
2525

2626
monitored-battery:

Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ properties:
4949
maxItems: 1
5050

5151
memory-region:
52-
$ref: /schemas/types.yaml#/definitions/phandle
52+
maxItems: 1
5353
description:
5454
phandle to a node describing reserved memory (System RAM memory)
5555
The M core can't access all the DDR memory space on some platform,

0 commit comments

Comments
 (0)