dt-bindings: Fix dtc warnings in examples
Fix all the warnings in the DT binding schema examples when built with 'W=1'. This is in preparation to make that the default for examples. Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Stephen Boyd <sboyd@kernel.org> Acked-by: Sam Ravnborg <sam@ravnborg.org> Acked-by: Vinod Koul <vkoul@kernel.org> Acked-by: Lee Jones <lee.jones@linaro.org> Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Acked-by: Mark Brown <broonie@kernel.org> Acked-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Cc: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: Kishon Vijay Abraham I <kishon@ti.com> Cc: Ulf Hansson <ulf.hansson@linaro.org> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: Krzysztof Kozlowski <krzk@kernel.org> Cc: Kukjin Kim <kgene@kernel.org> Cc: Jonathan Cameron <jic23@kernel.org> Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Chen-Yu Tsai <wens@csie.org> Cc: Maxime Ripard <mripard@kernel.org> Cc: Alexandre Torgue <alexandre.torgue@st.com> Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com> Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
		
							parent
							
								
									a40df28c56
								
							
						
					
					
						commit
						51a21e0e7b
					
				| @ -52,7 +52,7 @@ required: | ||||
| 
 | ||||
| examples: | ||||
|   - | | ||||
|     mlahb: ahb { | ||||
|     mlahb: ahb@38000000 { | ||||
|       compatible = "st,mlahb", "simple-bus"; | ||||
|       #address-cells = <1>; | ||||
|       #size-cells = <1>; | ||||
|  | ||||
| @ -40,7 +40,7 @@ additionalProperties: false | ||||
| 
 | ||||
| examples: | ||||
|   - | | ||||
|     osc24M: clk@01c20050 { | ||||
|     osc24M: clk@1c20050 { | ||||
|         #clock-cells = <0>; | ||||
|         compatible = "allwinner,sun4i-a10-osc-clk"; | ||||
|         reg = <0x01c20050 0x4>; | ||||
|  | ||||
| @ -41,7 +41,7 @@ additionalProperties: false | ||||
| 
 | ||||
| examples: | ||||
|   - | | ||||
|     clk@0600005c { | ||||
|     clk@600005c { | ||||
|         #clock-cells = <0>; | ||||
|         compatible = "allwinner,sun9i-a80-gt-clk"; | ||||
|         reg = <0x0600005c 0x4>; | ||||
|  | ||||
| @ -49,11 +49,7 @@ examples: | ||||
|         resets = <&tcon_ch0_clk 0>; | ||||
| 
 | ||||
|         port { | ||||
|             #address-cells = <1>; | ||||
|             #size-cells = <0>; | ||||
| 
 | ||||
|             tve0_in_tcon0: endpoint@0 { | ||||
|                 reg = <0>; | ||||
|             tve0_in_tcon0: endpoint { | ||||
|                 remote-endpoint = <&tcon0_out_tve0>; | ||||
|             }; | ||||
|         }; | ||||
|  | ||||
| @ -79,21 +79,15 @@ examples: | ||||
|           #size-cells = <0>; | ||||
| 
 | ||||
|           anx6345_in: port@0 { | ||||
|             #address-cells = <1>; | ||||
|             #size-cells = <0>; | ||||
|             reg = <0>; | ||||
|             anx6345_in_tcon0: endpoint@0 { | ||||
|               reg = <0>; | ||||
|             anx6345_in_tcon0: endpoint { | ||||
|               remote-endpoint = <&tcon0_out_anx6345>; | ||||
|             }; | ||||
|           }; | ||||
| 
 | ||||
|           anx6345_out: port@1 { | ||||
|             #address-cells = <1>; | ||||
|             #size-cells = <0>; | ||||
|             reg = <1>; | ||||
|             anx6345_out_panel: endpoint@0 { | ||||
|               reg = <0>; | ||||
|             anx6345_out_panel: endpoint { | ||||
|               remote-endpoint = <&panel_in_edp>; | ||||
|             }; | ||||
|           }; | ||||
|  | ||||
| @ -37,6 +37,8 @@ examples: | ||||
|     dsi@ff450000 { | ||||
|         #address-cells = <1>; | ||||
|         #size-cells = <0>; | ||||
|         reg = <0xff450000 0x1000>; | ||||
| 
 | ||||
|         panel@0 { | ||||
|             compatible = "leadtek,ltk500hd1829"; | ||||
|             reg = <0>; | ||||
|  | ||||
| @ -37,6 +37,8 @@ examples: | ||||
|     dsi@ff450000 { | ||||
|         #address-cells = <1>; | ||||
|         #size-cells = <0>; | ||||
|         reg = <0xff450000 0x1000>; | ||||
| 
 | ||||
|         panel@0 { | ||||
|             compatible = "xinpeng,xpp055c272"; | ||||
|             reg = <0>; | ||||
|  | ||||
| @ -174,10 +174,6 @@ examples: | ||||
|       }; | ||||
|     }; | ||||
| 
 | ||||
|     soc@1c00000 { | ||||
|       lcdc0: lcdc@1c0c000 { | ||||
|         compatible = "allwinner,sun4i-a10-lcdc"; | ||||
|       }; | ||||
|     }; | ||||
|     lcdc0: lcdc { }; | ||||
| 
 | ||||
| ... | ||||
|  | ||||
| @ -143,7 +143,7 @@ examples: | ||||
|             #size-cells = <2>; | ||||
|             dma-coherent; | ||||
|             dma-ranges; | ||||
|             ranges; | ||||
|             ranges = <0x0 0x30800000 0x0 0x30800000 0x0 0x05000000>; | ||||
| 
 | ||||
|             ti,sci-dev-id = <118>; | ||||
| 
 | ||||
| @ -169,16 +169,4 @@ examples: | ||||
|                 ti,sci-rm-range-rflow = <0x6>; /* GP RFLOW */ | ||||
|             }; | ||||
|         }; | ||||
| 
 | ||||
|         mcasp0: mcasp@02B00000 { | ||||
|             dmas = <&main_udmap 0xc400>, <&main_udmap 0x4400>; | ||||
|             dma-names = "tx", "rx"; | ||||
|         }; | ||||
| 
 | ||||
|         crypto: crypto@4E00000 { | ||||
|             compatible = "ti,sa2ul-crypto"; | ||||
| 
 | ||||
|             dmas = <&main_udmap 0xc000>, <&main_udmap 0x4000>, <&main_udmap 0x4001>; | ||||
|             dma-names = "tx", "rx1", "rx2"; | ||||
|         }; | ||||
|     }; | ||||
|  | ||||
| @ -84,31 +84,31 @@ examples: | ||||
|     gpu_opp_table: opp_table0 { | ||||
|       compatible = "operating-points-v2"; | ||||
| 
 | ||||
|       opp@533000000 { | ||||
|       opp-533000000 { | ||||
|         opp-hz = /bits/ 64 <533000000>; | ||||
|         opp-microvolt = <1250000>; | ||||
|       }; | ||||
|       opp@450000000 { | ||||
|       opp-450000000 { | ||||
|         opp-hz = /bits/ 64 <450000000>; | ||||
|         opp-microvolt = <1150000>; | ||||
|       }; | ||||
|       opp@400000000 { | ||||
|       opp-400000000 { | ||||
|         opp-hz = /bits/ 64 <400000000>; | ||||
|         opp-microvolt = <1125000>; | ||||
|       }; | ||||
|       opp@350000000 { | ||||
|       opp-350000000 { | ||||
|         opp-hz = /bits/ 64 <350000000>; | ||||
|         opp-microvolt = <1075000>; | ||||
|       }; | ||||
|       opp@266000000 { | ||||
|       opp-266000000 { | ||||
|         opp-hz = /bits/ 64 <266000000>; | ||||
|         opp-microvolt = <1025000>; | ||||
|       }; | ||||
|       opp@160000000 { | ||||
|       opp-160000000 { | ||||
|         opp-hz = /bits/ 64 <160000000>; | ||||
|         opp-microvolt = <925000>; | ||||
|       }; | ||||
|       opp@100000000 { | ||||
|       opp-100000000 { | ||||
|         opp-hz = /bits/ 64 <100000000>; | ||||
|         opp-microvolt = <912500>; | ||||
|       }; | ||||
|  | ||||
| @ -138,31 +138,31 @@ examples: | ||||
|     gpu_opp_table: opp_table0 { | ||||
|       compatible = "operating-points-v2"; | ||||
| 
 | ||||
|       opp@533000000 { | ||||
|       opp-533000000 { | ||||
|         opp-hz = /bits/ 64 <533000000>; | ||||
|         opp-microvolt = <1250000>; | ||||
|       }; | ||||
|       opp@450000000 { | ||||
|       opp-450000000 { | ||||
|         opp-hz = /bits/ 64 <450000000>; | ||||
|         opp-microvolt = <1150000>; | ||||
|       }; | ||||
|       opp@400000000 { | ||||
|       opp-400000000 { | ||||
|         opp-hz = /bits/ 64 <400000000>; | ||||
|         opp-microvolt = <1125000>; | ||||
|       }; | ||||
|       opp@350000000 { | ||||
|       opp-350000000 { | ||||
|         opp-hz = /bits/ 64 <350000000>; | ||||
|         opp-microvolt = <1075000>; | ||||
|       }; | ||||
|       opp@266000000 { | ||||
|       opp-266000000 { | ||||
|         opp-hz = /bits/ 64 <266000000>; | ||||
|         opp-microvolt = <1025000>; | ||||
|       }; | ||||
|       opp@160000000 { | ||||
|       opp-160000000 { | ||||
|         opp-hz = /bits/ 64 <160000000>; | ||||
|         opp-microvolt = <925000>; | ||||
|       }; | ||||
|       opp@100000000 { | ||||
|       opp-100000000 { | ||||
|         opp-hz = /bits/ 64 <100000000>; | ||||
|         opp-microvolt = <912500>; | ||||
|       }; | ||||
|  | ||||
| @ -123,7 +123,7 @@ examples: | ||||
|         samsung,syscon-phandle = <&pmu_system_controller>; | ||||
| 
 | ||||
|         /* NTC thermistor is a hwmon device */ | ||||
|         ncp15wb473@0 { | ||||
|         ncp15wb473 { | ||||
|             compatible = "murata,ncp15wb473"; | ||||
|             pullup-uv = <1800000>; | ||||
|             pullup-ohm = <47000>; | ||||
|  | ||||
| @ -62,7 +62,7 @@ required: | ||||
| 
 | ||||
| examples: | ||||
| - | | ||||
|     i2c@00000000 { | ||||
|     i2c { | ||||
|       #address-cells = <1>; | ||||
|       #size-cells = <0>; | ||||
|       gt928@5d { | ||||
|  | ||||
| @ -177,7 +177,7 @@ examples: | ||||
|         }; | ||||
|     }; | ||||
| 
 | ||||
|     i2c5: i2c@4807c000 { | ||||
|     i2c { | ||||
|         clock-frequency = <400000>; | ||||
|         #address-cells = <1>; | ||||
|         #size-cells = <0>; | ||||
|  | ||||
| @ -97,14 +97,14 @@ examples: | ||||
|             regulators { | ||||
|                 compatible = "maxim,max77650-regulator"; | ||||
| 
 | ||||
|                 max77650_ldo: regulator@0 { | ||||
|                 max77650_ldo: regulator-ldo { | ||||
|                     regulator-compatible = "ldo"; | ||||
|                     regulator-name = "max77650-ldo"; | ||||
|                     regulator-min-microvolt = <1350000>; | ||||
|                     regulator-max-microvolt = <2937500>; | ||||
|                 }; | ||||
| 
 | ||||
|                 max77650_sbb0: regulator@1 { | ||||
|                 max77650_sbb0: regulator-sbb0 { | ||||
|                     regulator-compatible = "sbb0"; | ||||
|                     regulator-name = "max77650-sbb0"; | ||||
|                     regulator-min-microvolt = <800000>; | ||||
|  | ||||
| @ -370,6 +370,7 @@ examples: | ||||
|     mmc3: mmc@1c12000 { | ||||
|         #address-cells = <1>; | ||||
|         #size-cells = <0>; | ||||
|         reg = <0x1c12000 0x200>; | ||||
|         pinctrl-names = "default"; | ||||
|         pinctrl-0 = <&mmc3_pins_a>; | ||||
|         vmmc-supply = <®_vmmc3>; | ||||
|  | ||||
| @ -76,6 +76,8 @@ examples: | ||||
|       qfprom: eeprom@700000 { | ||||
|           #address-cells = <1>; | ||||
|           #size-cells = <1>; | ||||
|           reg = <0x00700000 0x100000>; | ||||
| 
 | ||||
|           wp-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>; | ||||
| 
 | ||||
|           /* ... */ | ||||
|  | ||||
| @ -86,7 +86,7 @@ examples: | ||||
|     #include <dt-bindings/clock/sun4i-a10-ccu.h> | ||||
|     #include <dt-bindings/reset/sun4i-a10-ccu.h> | ||||
| 
 | ||||
|     usbphy: phy@01c13400 { | ||||
|     usbphy: phy@1c13400 { | ||||
|         #phy-cells = <1>; | ||||
|         compatible = "allwinner,sun4i-a10-usb-phy"; | ||||
|         reg = <0x01c13400 0x10>, <0x01c14800 0x4>, <0x01c1c800 0x4>; | ||||
|  | ||||
| @ -248,7 +248,7 @@ examples: | ||||
|       }; | ||||
| 
 | ||||
|     //Example 3 pin groups | ||||
|       pinctrl@60020000 { | ||||
|       pinctrl { | ||||
|         usart1_pins_a: usart1-0 { | ||||
|                 pins1 { | ||||
|                         pinmux = <STM32_PINMUX('A', 9, AF7)>; | ||||
|  | ||||
| @ -191,7 +191,7 @@ patternProperties: | ||||
| 
 | ||||
| examples: | ||||
|   - | | ||||
|     xyzreg: regulator@0 { | ||||
|     xyzreg: regulator { | ||||
|       regulator-min-microvolt = <1000000>; | ||||
|       regulator-max-microvolt = <2500000>; | ||||
|       regulator-always-on; | ||||
|  | ||||
| @ -125,7 +125,7 @@ examples: | ||||
|       #size-cells = <1>; | ||||
|       ranges; | ||||
| 
 | ||||
|       sram_a: sram@00000000 { | ||||
|       sram_a: sram@0 { | ||||
|         compatible = "mmio-sram"; | ||||
|         reg = <0x00000000 0xc000>; | ||||
|         #address-cells = <1>; | ||||
|  | ||||
| @ -87,7 +87,7 @@ additionalProperties: false | ||||
| 
 | ||||
| examples: | ||||
|   - | | ||||
|     timer { | ||||
|     timer@1c20c00 { | ||||
|         compatible = "allwinner,sun4i-a10-timer"; | ||||
|         reg = <0x01c20c00 0x400>; | ||||
|         interrupts = <22>, | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user