* [PATCH v2 1/2] dt-bindings: clock: qcom-rpmhcc: Add RPMHCC bindings for QCS9100
2024-07-09 14:35 [PATCH v2 0/2] clk: qcom: rpmh: Add QCS9100 rpmh compatible Tengfei Fan
@ 2024-07-09 14:35 ` Tengfei Fan
2024-07-09 14:35 ` [PATCH v2 2/2] clk: qcom: rpmh: Add support for QCS9100 rpmh clocks Tengfei Fan
2024-07-29 10:11 ` [PATCH v2 0/2] clk: qcom: rpmh: Add QCS9100 rpmh compatible Tengfei Fan
2 siblings, 0 replies; 4+ messages in thread
From: Tengfei Fan @ 2024-07-09 14:35 UTC (permalink / raw)
To: Bjorn Andersson, Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Taniya Das
Cc: kernel, linux-arm-msm, linux-clk, devicetree, linux-kernel,
Tengfei Fan
Add bindings and update documentation for clock rpmh driver on QCS9100
SoC.
QCS9100 is drived from SA8775p. Currently, both the QCS9100 and SA8775p
platform use non-SCMI resource. In the future, the SA8775p platform will
move to use SCMI resources and it will have new sa8775p-related device
tree. Consequently, introduce "qcom,qcs9100-rpmh-clk" to describe
non-SCMI based rpmhcc.
Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
---
Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml b/Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml
index ca857942ed6c..63e4b8f8e571 100644
--- a/Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml
@@ -17,6 +17,7 @@ description: |
properties:
compatible:
enum:
+ - qcom,qcs9100-rpmh-clk
- qcom,qdu1000-rpmh-clk
- qcom,sa8775p-rpmh-clk
- qcom,sc7180-rpmh-clk
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH v2 2/2] clk: qcom: rpmh: Add support for QCS9100 rpmh clocks
2024-07-09 14:35 [PATCH v2 0/2] clk: qcom: rpmh: Add QCS9100 rpmh compatible Tengfei Fan
2024-07-09 14:35 ` [PATCH v2 1/2] dt-bindings: clock: qcom-rpmhcc: Add RPMHCC bindings for QCS9100 Tengfei Fan
@ 2024-07-09 14:35 ` Tengfei Fan
2024-07-29 10:11 ` [PATCH v2 0/2] clk: qcom: rpmh: Add QCS9100 rpmh compatible Tengfei Fan
2 siblings, 0 replies; 4+ messages in thread
From: Tengfei Fan @ 2024-07-09 14:35 UTC (permalink / raw)
To: Bjorn Andersson, Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Taniya Das
Cc: kernel, linux-arm-msm, linux-clk, devicetree, linux-kernel,
Tengfei Fan
Adds the RPMH clocks present in QCS9100 SoC.
QCS9100 is drived from SA8775p. Currently, both the QCS9100 and SA8775p
platform use non-SCMI resource. In the future, the SA8775p platform will
move to use SCMI resources and it will have new sa8775p-related device
tree. Consequently, introduce "qcom,qcs9100-rpmh-clk" to the rpmh clock
device match table.
Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
---
drivers/clk/qcom/clk-rpmh.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/clk-rpmh.c b/drivers/clk/qcom/clk-rpmh.c
index bb82abeed88f..8131afba85d6 100644
--- a/drivers/clk/qcom/clk-rpmh.c
+++ b/drivers/clk/qcom/clk-rpmh.c
@@ -876,6 +876,7 @@ static int clk_rpmh_probe(struct platform_device *pdev)
}
static const struct of_device_id clk_rpmh_match_table[] = {
+ { .compatible = "qcom,qcs9100-rpmh-clk", .data = &clk_rpmh_sa8775p},
{ .compatible = "qcom,qdu1000-rpmh-clk", .data = &clk_rpmh_qdu1000},
{ .compatible = "qcom,sa8775p-rpmh-clk", .data = &clk_rpmh_sa8775p},
{ .compatible = "qcom,sc7180-rpmh-clk", .data = &clk_rpmh_sc7180},
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH v2 0/2] clk: qcom: rpmh: Add QCS9100 rpmh compatible
2024-07-09 14:35 [PATCH v2 0/2] clk: qcom: rpmh: Add QCS9100 rpmh compatible Tengfei Fan
2024-07-09 14:35 ` [PATCH v2 1/2] dt-bindings: clock: qcom-rpmhcc: Add RPMHCC bindings for QCS9100 Tengfei Fan
2024-07-09 14:35 ` [PATCH v2 2/2] clk: qcom: rpmh: Add support for QCS9100 rpmh clocks Tengfei Fan
@ 2024-07-29 10:11 ` Tengfei Fan
2 siblings, 0 replies; 4+ messages in thread
From: Tengfei Fan @ 2024-07-29 10:11 UTC (permalink / raw)
To: Bjorn Andersson, Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Taniya Das
Cc: kernel, linux-arm-msm, linux-clk, devicetree, linux-kernel
On 7/9/2024 10:35 PM, Tengfei Fan wrote:
> Introduce support for the QCS9100 SoC device tree (DTSI) and the
> QCS9100 RIDE board DTS. The QCS9100 is a variant of the SA8775p.
> While the QCS9100 platform is still in the early design stage, the
> QCS9100 RIDE board is identical to the SA8775p RIDE board, except it
> mounts the QCS9100 SoC instead of the SA8775p SoC.
>
> The QCS9100 SoC DTSI is directly renamed from the SA8775p SoC DTSI, and
> all the compatible strings will be updated from "SA8775p" to "QCS9100".
> The QCS9100 device tree patches will be pushed after all the device tree
> bindings and device driver patches are reviewed.
>
> The final dtsi will like:
> https://lore.kernel.org/linux-arm-msm/20240703025850.2172008-3-quic_tengfan@quicinc.com/
>
> The detailed cover letter reference:
> https://lore.kernel.org/linux-arm-msm/20240703025850.2172008-1-quic_tengfan@quicinc.com/
>
> Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
> ---
> Changes in v2:
> - Split huge patch series into different patch series according to
> subsytems
> - Update patch commit message
>
> prevous disscussion here:
> [1] v1: https://lore.kernel.org/linux-arm-msm/20240703025850.2172008-1-quic_tengfan@quicinc.com/
>
> ---
> Tengfei Fan (2):
> dt-bindings: clock: qcom-rpmhcc: Add RPMHCC bindings for QCS9100
> clk: qcom: rpmh: Add support for QCS9100 rpmh clocks
>
> Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml | 1 +
> drivers/clk/qcom/clk-rpmh.c | 1 +
> 2 files changed, 2 insertions(+)
> ---
> base-commit: 0b58e108042b0ed28a71cd7edf5175999955b233
> change-id: 20240709-add_qcs9100_rpmh_clk_compatible-e57368401164
>
> Best regards,
After considering the feedback provided on the subject, We have decided
to keep current SA8775p compatible and ABI compatibility in drivers.
Let's close this session and ignore all the current patches here.
Thank you for your input.
--
Thx and BRs,
Tengfei Fan
^ permalink raw reply [flat|nested] 4+ messages in thread