]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: rockchip: Drop unnecessary #{address,size}-cells from rk3588-jaguar
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Mon, 27 Apr 2026 21:57:28 +0000 (00:57 +0300)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 5 May 2026 18:28:41 +0000 (20:28 +0200)
Remove the unnecessary #address-cells and #size-cells properties from
the usb_host0_xhci and usb_host1_xhci port nodes, as they each contain
a single endpoint child with no reg property.

This fixes the following dtc warnings:

rk3588-jaguar.dts: Warning (avoid_unnecessary_addr_size):
 /usb@fc000000/port: unnecessary #address-cells/#size-cells [...]
 /usb@fc400000/port: unnecessary #address-cells/#size-cells [...]

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://patch.msgid.link/20260428-dts-rk-frl-enable-gpios-v2-10-924df9db884a@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts

index 05b524f682cf6d6cbe2a852ee9ed39148ee41a85..033db78aff676ef7f29df992101e23d9f2a5a248 100644 (file)
        status = "okay";
 
        port {
-               #address-cells = <1>;
-               #size-cells = <0>;
-
                usb_host0_xhci_drd_sw: endpoint {
                        remote-endpoint = <&usbc0_hs>;
                };
        status = "okay";
 
        port {
-               #address-cells = <1>;
-               #size-cells = <0>;
-
                usb_host1_xhci_drd_sw: endpoint {
                        remote-endpoint = <&usbc1_hs>;
                };