mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
88bf652525
Reorganize dtsi patches with upstream version and drop dtsi in 5.15 files. Also add an additional upstream patch for hwspinlock support. Refresh all the dts with needed changes. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
37 lines
1.2 KiB
Diff
37 lines
1.2 KiB
Diff
From 5a8aa766cedac0ceaa4beabc30e9fa62dd9f1ac1 Mon Sep 17 00:00:00 2001
|
|
From: Ansuel Smith <ansuelsmth@gmail.com>
|
|
Date: Fri, 29 Apr 2022 14:23:16 +0200
|
|
Subject: [PATCH v2 1/2] ARM: dts: qcom: replace gcc PXO with pxo_board fixed
|
|
clock
|
|
|
|
Replace gcc PXO phandle to pxo_board fixed clock declared in the dts.
|
|
gcc driver doesn't provide PXO_SRC as it's a fixed-clock. This cause a
|
|
kernel panic if any driver actually try to use it.
|
|
|
|
Fixes: 40cf5c884a96 ("ARM: dts: qcom: add L2CC and RPM for IPQ8064")
|
|
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
|
|
---
|
|
arch/arm/boot/dts/qcom-ipq8064.dtsi | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
--- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
|
|
+++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
|
|
@@ -304,7 +304,7 @@
|
|
clock-frequency = <25000000>;
|
|
};
|
|
|
|
- pxo_board {
|
|
+ pxo_board: pxo_board {
|
|
compatible = "fixed-clock";
|
|
#clock-cells = <0>;
|
|
clock-frequency = <25000000>;
|
|
@@ -782,7 +782,7 @@
|
|
l2cc: clock-controller@2011000 {
|
|
compatible = "qcom,kpss-gcc", "syscon";
|
|
reg = <0x2011000 0x1000>;
|
|
- clocks = <&gcc PLL8_VOTE>, <&gcc PXO_SRC>;
|
|
+ clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
|
|
clock-names = "pll8_vote", "pxo";
|
|
clock-output-names = "acpu_l2_aux";
|
|
};
|