Skip to content

Commit c3b0068

Browse files
committed
dt-bindings: Fix 'enum' lists with duplicate entries
There's no reason to list the same value twice in an 'enum'. Fix all the occurrences in the tree. A meta-schema change will catch future ones. Cc: Krzysztof Kozlowski <krzk+dt@kernel.org> Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Jonathan Hunter <jonathanh@nvidia.com> Cc: Mauro Carvalho Chehab <mchehab@kernel.org> Cc: Charles Keepax <ckeepax@opensource.cirrus.com> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Sebastian Reichel <sre@kernel.org> Cc: Tony Lindgren <tony@atomide.com> Cc: Yunfei Dong <yunfei.dong@mediatek.com> Cc: - <patches@opensource.cirrus.com> Cc: linux-media@vger.kernel.org Cc: alsa-devel@alsa-project.org Cc: linux-gpio@vger.kernel.org Cc: linux-pm@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com> Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20220401141247.2993925-1-robh@kernel.org
1 parent 866f404 commit c3b0068

File tree

5 files changed

+5
-10
lines changed

5 files changed

+5
-10
lines changed

Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ maintainers:
1313
properties:
1414
compatible:
1515
enum:
16-
- nvidia,tegra20-pmc
1716
- nvidia,tegra20-pmc
1817
- nvidia,tegra30-pmc
1918
- nvidia,tegra114-pmc

Documentation/devicetree/bindings/bus/ti-sysc.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ properties:
3434
oneOf:
3535
- items:
3636
- enum:
37-
- ti,sysc-omap2
3837
- ti,sysc-omap2
3938
- ti,sysc-omap4
4039
- ti,sysc-omap4-simple

Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ allOf:
106106
enum:
107107
- mediatek,mt8173-vcodec-enc
108108
- mediatek,mt8192-vcodec-enc
109-
- mediatek,mt8173-vcodec-enc
110109

111110
then:
112111
properties:

Documentation/devicetree/bindings/pinctrl/cirrus,madera.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,12 @@ properties:
4848
Name of one pin group to configure.
4949
enum: [ aif1, aif2, aif3, aif4, mif1, mif2, mif3, pdmspk1,
5050
pdmspk2, dmic4, dmic5, dmic6, gpio1, gpio2, gpio3,
51-
gpio4, gpio5, gpio6, gpio7, gpio7, gpio8, gpio9,
51+
gpio4, gpio5, gpio6, gpio7, gpio8, gpio9,
5252
gpio10, gpio11, gpio12, gpio13, gpio14, gpio15,
53-
gpio16, gpio17, gpio17, gpio18, gpio19, gpio20,
54-
gpio21, gpio22, gpio23, gpio24, gpio25, gpio26,
55-
gpio27, gpio27, gpio28, gpio29, gpio30, gpio31,
56-
gpio32, gpio33, gpio34, gpio35, gpio36, gpio37,
57-
gpio37, gpio38, gpio39 ]
53+
gpio16, gpio17, gpio18, gpio19, gpio20, gpio21,
54+
gpio22, gpio23, gpio24, gpio25, gpio26, gpio27,
55+
gpio28, gpio29, gpio30, gpio31, gpio32, gpio33,
56+
gpio34, gpio35, gpio36, gpio37, gpio38, gpio39 ]
5857

5958
function:
6059
description:

Documentation/devicetree/bindings/power/supply/bq2415x.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ allOf:
1616
properties:
1717
compatible:
1818
enum:
19-
- ti,bq24150
2019
- ti,bq24150
2120
- ti,bq24150a
2221
- ti,bq24151

0 commit comments

Comments
 (0)