]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
arm64: dts: ti: k3-j721e-main: Fix "max-virtual-functions" in PCIe EP nodes
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 15 Sep 2021 05:53:53 +0000 (11:23 +0530)
committerAndrea Righi <andrea.righi@canonical.com>
Tue, 4 Jan 2022 08:48:28 +0000 (09:48 +0100)
BugLink: https://bugs.launchpad.net/bugs/1951822
[ Upstream commit 9af3ef954975c383eeb667aee207d9ce6fbef8c4 ]

commit 4e5833884f66 ("arm64: dts: ti: k3-j721e-main: Add PCIe device
tree nodes") added "max-virtual-functions" to have 16 bit values.
Fix "max-virtual-functions" in PCIe endpoint (EP) nodes to have 8 bit
values instead of 16.

Fixes: 4e5833884f66 ("arm64: dts: ti: k3-j721e-main: Add PCIe device tree nodes")
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Aswath Govindraju <a-govindraju@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/20210915055358.19997-2-kishon@ti.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
arch/arm64/boot/dts/ti/k3-j721e-main.dtsi

index cf3482376c1e619f42a837c3169f4becbbb17176..43be5d23130b4da397fe29cc18593cb3db8a8eaf 100644 (file)
                clocks = <&k3_clks 239 1>;
                clock-names = "fck";
                max-functions = /bits/ 8 <6>;
-               max-virtual-functions = /bits/ 16 <4 4 4 4 0 0>;
+               max-virtual-functions = /bits/ 8 <4 4 4 4 0 0>;
                dma-coherent;
        };
 
                clocks = <&k3_clks 240 1>;
                clock-names = "fck";
                max-functions = /bits/ 8 <6>;
-               max-virtual-functions = /bits/ 16 <4 4 4 4 0 0>;
+               max-virtual-functions = /bits/ 8 <4 4 4 4 0 0>;
                dma-coherent;
        };
 
                clocks = <&k3_clks 241 1>;
                clock-names = "fck";
                max-functions = /bits/ 8 <6>;
-               max-virtual-functions = /bits/ 16 <4 4 4 4 0 0>;
+               max-virtual-functions = /bits/ 8 <4 4 4 4 0 0>;
                dma-coherent;
        };
 
                clocks = <&k3_clks 242 1>;
                clock-names = "fck";
                max-functions = /bits/ 8 <6>;
-               max-virtual-functions = /bits/ 16 <4 4 4 4 0 0>;
+               max-virtual-functions = /bits/ 8 <4 4 4 4 0 0>;
                dma-coherent;
                #address-cells = <2>;
                #size-cells = <2>;