Re: [PATCH 4/4] ARM: dts: qcom: msm8660: add pxo/cxo clocks to the GCC node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 14/07/2022 00:29, Bjorn Andersson wrote:
On Mon 20 Jun 06:07 CDT 2022, Dmitry Baryshkov wrote:

Add pxo/cxo clocks to the GCC device tree node.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
---
  arch/arm/boot/dts/qcom-msm8660.dtsi | 6 ++++--
  1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/qcom-msm8660.dtsi b/arch/arm/boot/dts/qcom-msm8660.dtsi
index 47b97daecef1..61e3ab0ebfd3 100644
--- a/arch/arm/boot/dts/qcom-msm8660.dtsi
+++ b/arch/arm/boot/dts/qcom-msm8660.dtsi
@@ -50,13 +50,13 @@ cpu-pmu {
  	};
clocks {
-		cxo_board {
+		cxo_board: cxo_board {

As requested by Krzysztof, please use clock-output-names to specify the
name of the clock, and rename the node "cxo-board-clk".

Actually I believe Krzysztof agreed (and acked) this change, as it follows the example of existing boards.


Thanks,
Bjorn

  			compatible = "fixed-clock";
  			#clock-cells = <0>;
  			clock-frequency = <19200000>;
  		};
- pxo_board {
+		pxo_board: pxo_board {
  			compatible = "fixed-clock";
  			#clock-cells = <0>;
  			clock-frequency = <27000000>;
@@ -129,6 +129,8 @@ gcc: clock-controller@900000 {
  			#power-domain-cells = <1>;
  			#reset-cells = <1>;
  			reg = <0x900000 0x4000>;
+			clocks = <&pxo_board>, <&cxo_board>;
+			clock-names = "pxo", "cxo";
  		};
gsbi6: gsbi@16500000 {
--
2.35.1



--
With best wishes
Dmitry



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux