[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4778cc0a-77ad-b28f-bbf5-6247d26f81b4@gmail.com>
Date: Tue, 21 Feb 2023 01:40:40 -0500
From: Rudraksha Gupta <guptarud@...il.com>
To: Bjorn Andersson <andersson@...nel.org>
Cc: Bjorn Andersson <bjorn.andersson@...aro.org>, agross@...nel.org,
david@...t.cz, devicetree@...r.kernel.org,
krzysztof.kozlowski+dt@...aro.org, linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org, robh+dt@...nel.org
Subject: Re: [PATCH v2 1/2] ARM: msm8960: Rename cxo_board to cxo-board and
add alias
Hello,
So I'm trying to add a cxo-board node to my dts, however the current
implementation seems like it wants cxo_board. It was recommended a while
ago that I refactor gcc-msm8960.c to be more like
https://github.com/torvalds/linux/blob/master/drivers/clk/qcom/gcc-msm8996.c#L36
. However, I have a couple of questions:
- The xo struct that I listed above is listed in another struct
https://github.com/torvalds/linux/blob/master/drivers/clk/qcom/gcc-msm8996.c#L3408
which is listed in the SoC desc struct
https://github.com/torvalds/linux/blob/master/drivers/clk/qcom/gcc-msm8996.c#L3818
. My question is that even though gcc-msm8960.c has an msm8960/apq8064
desc struct, it doesn't have anything like gcc_msm8996_hws. How would I
know what goes in a hypothetical gcc_(msm8960/apq8064)_hws struct? I'm
assuming that all I need in the hw struct is the pxo and cxo listed here
https://github.com/torvalds/linux/blob/master/drivers/clk/qcom/gcc-msm8960.c#L3727
however I'm not 100% sure how to verify this. Would anything else go
into a hypothetical gcc_(msm8960/apq8064)_hws struct?
- Is there documentation on how the gcc-<soc> files work? I'm still
quite new to contributing to the Linux kernel and would like to learn
more about the modern way to format these files and to learn more about
how they work in general
Thanks,
Rudraksha
Powered by blists - more mailing lists