Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: mt7621-dts: fix cpuintc and fixedregulator dtc warnings, fix xhci

Fix the cpuintc and fixedregulator dtc warnings:

Warning (unit_address_vs_reg): /cpuintc@0: node has a unit name, but no reg property
Warning (unit_address_vs_reg): /fixedregulator@0: node has a unit name, but no reg property
Warning (unit_address_vs_reg): /fixedregulator@1: node has a unit name, but no reg property
Warning (unique_unit_address): /cpuintc@0: duplicate unit-address (also used in node /fixedregulator@0)

Remove the unnecessary status = "okay" property from the xhci node.

Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Link: https://lore.kernel.org/r/20220312091832.6269-1-arinc.unal@arinc9.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Arınç ÜNAL and committed by
Greg Kroah-Hartman
dcd520af 5bc14864

+3 -5
+3 -5
drivers/staging/mt7621-dts/mt7621.dtsi
··· 26 26 }; 27 27 }; 28 28 29 - cpuintc: cpuintc@0 { 29 + cpuintc: cpuintc { 30 30 #address-cells = <0>; 31 31 #interrupt-cells = <1>; 32 32 interrupt-controller; ··· 38 38 }; 39 39 40 40 41 - mmc_fixed_3v3: fixedregulator@0 { 41 + mmc_fixed_3v3: regulator-3v3 { 42 42 compatible = "regulator-fixed"; 43 43 regulator-name = "mmc_power"; 44 44 regulator-min-microvolt = <3300000>; ··· 47 47 regulator-always-on; 48 48 }; 49 49 50 - mmc_fixed_1v8_io: fixedregulator@1 { 50 + mmc_fixed_1v8_io: regulator-1v8 { 51 51 compatible = "regulator-fixed"; 52 52 regulator-name = "mmc_io"; 53 53 regulator-min-microvolt = <1800000>; ··· 263 263 }; 264 264 265 265 xhci: xhci@1e1c0000 { 266 - status = "okay"; 267 - 268 266 compatible = "mediatek,mt8173-xhci"; 269 267 reg = <0x1e1c0000 0x1000 270 268 0x1e1d0700 0x0100>;