031-v6.5-0009-ARM-dts-BCM5301X-Drop-invalid-usb-cells.patch 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. From c3acdd4901192bc69dc577012663d5abae21661e Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <[email protected]>
  3. Date: Fri, 2 Jun 2023 15:34:54 +0200
  4. Subject: [PATCH] ARM: dts: BCM5301X: Drop invalid #usb-cells
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. Such property simply doesn't exist (is not documented or used anywhere).
  9. This fixes:
  10. arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dtb: usb@21000: Unevaluated properties are not allowed ('#usb-cells' was unexpected)
  11. From schema: Documentation/devicetree/bindings/usb/generic-ehci.yaml
  12. arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dtb: usb@22000: Unevaluated properties are not allowed ('#usb-cells' was unexpected)
  13. From schema: Documentation/devicetree/bindings/usb/generic-ohci.yaml
  14. arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dtb: usb@23000: Unevaluated properties are not allowed ('#usb-cells' was unexpected)
  15. From schema: Documentation/devicetree/bindings/usb/generic-xhci.yaml
  16. Signed-off-by: Rafał Miłecki <[email protected]>
  17. Link: https://lore.kernel.org/r/[email protected]
  18. Signed-off-by: Florian Fainelli <[email protected]>
  19. ---
  20. arch/arm/boot/dts/bcm-ns.dtsi | 6 ------
  21. 1 file changed, 6 deletions(-)
  22. --- a/arch/arm/boot/dts/bcm-ns.dtsi
  23. +++ b/arch/arm/boot/dts/bcm-ns.dtsi
  24. @@ -192,8 +192,6 @@
  25. interrupt-parent = <&gic>;
  26. ehci: usb@21000 {
  27. - #usb-cells = <0>;
  28. -
  29. compatible = "generic-ehci";
  30. reg = <0x00021000 0x1000>;
  31. interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
  32. @@ -214,8 +212,6 @@
  33. };
  34. ohci: usb@22000 {
  35. - #usb-cells = <0>;
  36. -
  37. compatible = "generic-ohci";
  38. reg = <0x00022000 0x1000>;
  39. interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
  40. @@ -245,8 +241,6 @@
  41. interrupt-parent = <&gic>;
  42. xhci: usb@23000 {
  43. - #usb-cells = <0>;
  44. -
  45. compatible = "generic-xhci";
  46. reg = <0x00023000 0x1000>;
  47. interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;