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

dt-bindings: usb: samsung,exynos-dwc3: allow unit address in DTS

The Samsung Exynos SoC USB 3.0 DWC3 Controller is a simple wrapper of
actual DWC3 Controller device node. It handles necessary Samsung
Exynos-specific resources (regulators, clocks), but does not have its
own MMIO address space.

However neither simple-bus bindings nor dtc W=1 accept device nodes in
soc@ node which do not have unit address.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230127211748.260718-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Krzysztof Kozlowski and committed by
Greg Kroah-Hartman
d4f6b987 21ef9c91

+4 -4
+4 -4
Documentation/devicetree/bindings/usb/samsung,exynos-dwc3.yaml
··· 108 108 #include <dt-bindings/clock/exynos5420.h> 109 109 #include <dt-bindings/interrupt-controller/arm-gic.h> 110 110 111 - usb { 111 + usb@12000000 { 112 112 compatible = "samsung,exynos5250-dwusb3"; 113 113 #address-cells = <1>; 114 114 #size-cells = <1>; 115 - ranges; 115 + ranges = <0x0 0x12000000 0x10000>; 116 116 clocks = <&clock CLK_USBD300>; 117 117 clock-names = "usbdrd30"; 118 118 vdd33-supply = <&ldo9_reg>; 119 119 vdd10-supply = <&ldo11_reg>; 120 120 121 - usb@12000000 { 121 + usb@0 { 122 122 compatible = "snps,dwc3"; 123 - reg = <0x12000000 0x10000>; 123 + reg = <0x0 0x10000>; 124 124 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>; 125 125 phys = <&usbdrd_phy0 0>, <&usbdrd_phy0 1>; 126 126 phy-names = "usb2-phy", "usb3-phy";