* [PATCH V4 0/2] Drop required-opps from required list on SM8650 videocc, camcc
@ 2024-08-01 6:44 Jagadeesh Kona
2024-08-01 6:44 ` [PATCH V4 1/2] dt-bindings: clock: qcom: Drop required-opps in required on sm8650 videocc Jagadeesh Kona
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Jagadeesh Kona @ 2024-08-01 6:44 UTC (permalink / raw)
To: Bjorn Andersson, Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: Vladimir Zapolskiy, Bryan O'Donoghue, Dmitry Baryshkov,
linux-arm-msm, linux-clk, devicetree, linux-kernel, Taniya Das,
Jagadeesh Kona, Satya Priya Kakitapalli, Imran Shaik, Ajit Pandey
On SM8650, the minimum voltage corner supported on MMCX from cmd-db is
sufficient for clock controllers to operate and there is no need to specify
the required-opps. Hence remove the required-opps property from the list of
required properties for SM8650 camcc and videocc bindings.
Changes in V4:
- Dropped change to disallow required-opps on variants that don't need it
- Split the change into separate commits for videocc and camcc
- Link to V3: https://lore.kernel.org/all/20240730034552.31271-1-quic_jkona@quicinc.com/
Changes in V3:
- Made only required-opps property conditional and added it based on the variant
- Link to V2: https://lore.kernel.org/all/20240720052818.26441-1-quic_jkona@quicinc.com/
Changes in V2:
- Made required: conditional and dropped required-opps from it only for SM8650 platform
- Dropped Krzysztof Acked-by tag due to above changes
- Link to V1: https://lore.kernel.org/all/20240708130836.19273-1-quic_jkona@quicinc.com/
Jagadeesh Kona (2):
dt-bindings: clock: qcom: Drop required-opps in required on sm8650
videocc
dt-bindings: clock: qcom: Drop required-opps in required on SM8650
camcc
.../bindings/clock/qcom,sm8450-camcc.yaml | 19 +++++++++++++++----
.../bindings/clock/qcom,sm8450-videocc.yaml | 11 ++++++++++-
2 files changed, 25 insertions(+), 5 deletions(-)
--
2.45.2
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH V4 1/2] dt-bindings: clock: qcom: Drop required-opps in required on sm8650 videocc
2024-08-01 6:44 [PATCH V4 0/2] Drop required-opps from required list on SM8650 videocc, camcc Jagadeesh Kona
@ 2024-08-01 6:44 ` Jagadeesh Kona
2024-08-04 14:54 ` Krzysztof Kozlowski
2024-08-04 21:41 ` Vladimir Zapolskiy
2024-08-01 6:44 ` [PATCH V4 2/2] dt-bindings: clock: qcom: Drop required-opps in required on SM8650 camcc Jagadeesh Kona
2024-08-15 20:40 ` [PATCH V4 0/2] Drop required-opps from required list on SM8650 videocc, camcc Bjorn Andersson
2 siblings, 2 replies; 8+ messages in thread
From: Jagadeesh Kona @ 2024-08-01 6:44 UTC (permalink / raw)
To: Bjorn Andersson, Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: Vladimir Zapolskiy, Bryan O'Donoghue, Dmitry Baryshkov,
linux-arm-msm, linux-clk, devicetree, linux-kernel, Taniya Das,
Jagadeesh Kona, Satya Priya Kakitapalli, Imran Shaik, Ajit Pandey,
kernel test robot
On SM8650, the minimum voltage corner supported on MMCX from cmd-db is
sufficient for clock controllers to operate and there is no need to specify
the required-opps. Hence remove the required-opps property from the list of
required properties for SM8650 videocc bindings.
This fixes:
arch/arm64/boot/dts/qcom/sm8650-hdk.dtb: clock-controller@aaf0000:
'required-opps' is a required property
arch/arm64/boot/dts/qcom/sm8650-mtp.dtb: clock-controller@aaf0000:
'required-opps' is a required property
arch/arm64/boot/dts/qcom/sm8650-qrd.dtb: clock-controller@aaf0000:
'required-opps' is a required property
Fixes: a6a61b9701d1 ("dt-bindings: clock: qcom: Add SM8650 video clock controller")
Reported-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Closes: https://lore.kernel.org/all/0f13ab6b-dff1-4b26-9707-704ae2e2b535@linaro.org/
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202407070147.C9c3oTqS-lkp@intel.com/
Signed-off-by: Jagadeesh Kona <quic_jkona@quicinc.com>
---
.../bindings/clock/qcom,sm8450-videocc.yaml | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml
index b2792b4bb554..9829ba28fe0e 100644
--- a/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml
@@ -44,11 +44,20 @@ required:
- compatible
- clocks
- power-domains
- - required-opps
- '#power-domain-cells'
allOf:
- $ref: qcom,gcc.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - qcom,sm8450-videocc
+ - qcom,sm8550-videocc
+ then:
+ required:
+ - required-opps
unevaluatedProperties: false
--
2.45.2
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH V4 2/2] dt-bindings: clock: qcom: Drop required-opps in required on SM8650 camcc
2024-08-01 6:44 [PATCH V4 0/2] Drop required-opps from required list on SM8650 videocc, camcc Jagadeesh Kona
2024-08-01 6:44 ` [PATCH V4 1/2] dt-bindings: clock: qcom: Drop required-opps in required on sm8650 videocc Jagadeesh Kona
@ 2024-08-01 6:44 ` Jagadeesh Kona
2024-08-04 14:56 ` Krzysztof Kozlowski
2024-08-04 21:39 ` Vladimir Zapolskiy
2024-08-15 20:40 ` [PATCH V4 0/2] Drop required-opps from required list on SM8650 videocc, camcc Bjorn Andersson
2 siblings, 2 replies; 8+ messages in thread
From: Jagadeesh Kona @ 2024-08-01 6:44 UTC (permalink / raw)
To: Bjorn Andersson, Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: Vladimir Zapolskiy, Bryan O'Donoghue, Dmitry Baryshkov,
linux-arm-msm, linux-clk, devicetree, linux-kernel, Taniya Das,
Jagadeesh Kona, Satya Priya Kakitapalli, Imran Shaik, Ajit Pandey,
kernel test robot
On SM8650, the minimum voltage corner supported on MMCX from cmd-db is
sufficient for clock controllers to operate and there is no need to specify
the required-opps. Hence remove the required-opps property from the list of
required properties for SM8650 camcc bindings.
This fixes:
arch/arm64/boot/dts/qcom/sm8650-hdk.dtb: clock-controller@ade0000:
'required-opps' is a required property
arch/arm64/boot/dts/qcom/sm8650-mtp.dtb: clock-controller@ade0000:
'required-opps' is a required property
arch/arm64/boot/dts/qcom/sm8650-qrd.dtb: clock-controller@ade0000:
'required-opps' is a required property
Fixes: 1ae3f0578e0e ("dt-bindings: clock: qcom: Add SM8650 camera clock controller")
Reported-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Closes: https://lore.kernel.org/all/0f13ab6b-dff1-4b26-9707-704ae2e2b535@linaro.org/
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202407070147.C9c3oTqS-lkp@intel.com/
Signed-off-by: Jagadeesh Kona <quic_jkona@quicinc.com>
---
.../bindings/clock/qcom,sm8450-camcc.yaml | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/clock/qcom,sm8450-camcc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm8450-camcc.yaml
index f58edfc10f4c..26afbbe65511 100644
--- a/Documentation/devicetree/bindings/clock/qcom,sm8450-camcc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,sm8450-camcc.yaml
@@ -21,9 +21,6 @@ description: |
include/dt-bindings/clock/qcom,sm8650-camcc.h
include/dt-bindings/clock/qcom,x1e80100-camcc.h
-allOf:
- - $ref: qcom,gcc.yaml#
-
properties:
compatible:
enum:
@@ -57,7 +54,21 @@ required:
- compatible
- clocks
- power-domains
- - required-opps
+
+allOf:
+ - $ref: qcom,gcc.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - qcom,sc8280xp-camcc
+ - qcom,sm8450-camcc
+ - qcom,sm8550-camcc
+ - qcom,x1e80100-camcc
+ then:
+ required:
+ - required-opps
unevaluatedProperties: false
--
2.45.2
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH V4 1/2] dt-bindings: clock: qcom: Drop required-opps in required on sm8650 videocc
2024-08-01 6:44 ` [PATCH V4 1/2] dt-bindings: clock: qcom: Drop required-opps in required on sm8650 videocc Jagadeesh Kona
@ 2024-08-04 14:54 ` Krzysztof Kozlowski
2024-08-04 21:41 ` Vladimir Zapolskiy
1 sibling, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-04 14:54 UTC (permalink / raw)
To: Jagadeesh Kona, Bjorn Andersson, Michael Turquette, Stephen Boyd,
Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: Vladimir Zapolskiy, Bryan O'Donoghue, Dmitry Baryshkov,
linux-arm-msm, linux-clk, devicetree, linux-kernel, Taniya Das,
Satya Priya Kakitapalli, Imran Shaik, Ajit Pandey,
kernel test robot
On 01/08/2024 08:44, Jagadeesh Kona wrote:
> On SM8650, the minimum voltage corner supported on MMCX from cmd-db is
> sufficient for clock controllers to operate and there is no need to specify
> the required-opps. Hence remove the required-opps property from the list of
> required properties for SM8650 videocc bindings.
>
> This fixes:
>
> arch/arm64/boot/dts/qcom/sm8650-hdk.dtb: clock-controller@aaf0000:
> 'required-opps' is a required property
>
> arch/arm64/boot/dts/qcom/sm8650-mtp.dtb: clock-controller@aaf0000:
> 'required-opps' is a required property
>
> arch/arm64/boot/dts/qcom/sm8650-qrd.dtb: clock-controller@aaf0000:
> 'required-opps' is a required property
Considering that there is no bug being fixed, you really do not have to
stuff so many error messages. One error msg is enough. They are all the
same. Last time you had two, but now it grew to three... Write concise
yet informative commit messages.
>
> Fixes: a6a61b9701d1 ("dt-bindings: clock: qcom: Add SM8650 video clock controller")
> Reported-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
> Closes: https://lore.kernel.org/all/0f13ab6b-dff1-4b26-9707-704ae2e2b535@linaro.org/
Does not look right, Vladimir did not report videocc.
v4 for such simple fix is already too many, so I give up.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH V4 2/2] dt-bindings: clock: qcom: Drop required-opps in required on SM8650 camcc
2024-08-01 6:44 ` [PATCH V4 2/2] dt-bindings: clock: qcom: Drop required-opps in required on SM8650 camcc Jagadeesh Kona
@ 2024-08-04 14:56 ` Krzysztof Kozlowski
2024-08-04 21:39 ` Vladimir Zapolskiy
1 sibling, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-04 14:56 UTC (permalink / raw)
To: Jagadeesh Kona, Bjorn Andersson, Michael Turquette, Stephen Boyd,
Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: Vladimir Zapolskiy, Bryan O'Donoghue, Dmitry Baryshkov,
linux-arm-msm, linux-clk, devicetree, linux-kernel, Taniya Das,
Satya Priya Kakitapalli, Imran Shaik, Ajit Pandey,
kernel test robot
On 01/08/2024 08:44, Jagadeesh Kona wrote:
> On SM8650, the minimum voltage corner supported on MMCX from cmd-db is
> sufficient for clock controllers to operate and there is no need to specify
> the required-opps. Hence remove the required-opps property from the list of
> required properties for SM8650 camcc bindings.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH V4 2/2] dt-bindings: clock: qcom: Drop required-opps in required on SM8650 camcc
2024-08-01 6:44 ` [PATCH V4 2/2] dt-bindings: clock: qcom: Drop required-opps in required on SM8650 camcc Jagadeesh Kona
2024-08-04 14:56 ` Krzysztof Kozlowski
@ 2024-08-04 21:39 ` Vladimir Zapolskiy
1 sibling, 0 replies; 8+ messages in thread
From: Vladimir Zapolskiy @ 2024-08-04 21:39 UTC (permalink / raw)
To: Jagadeesh Kona, Bjorn Andersson, Michael Turquette, Stephen Boyd,
Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: Bryan O'Donoghue, Dmitry Baryshkov, linux-arm-msm, linux-clk,
devicetree, linux-kernel, Taniya Das, Satya Priya Kakitapalli,
Imran Shaik, Ajit Pandey, kernel test robot
On 8/1/24 09:44, Jagadeesh Kona wrote:
> On SM8650, the minimum voltage corner supported on MMCX from cmd-db is
> sufficient for clock controllers to operate and there is no need to specify
> the required-opps. Hence remove the required-opps property from the list of
> required properties for SM8650 camcc bindings.
>
> This fixes:
>
> arch/arm64/boot/dts/qcom/sm8650-hdk.dtb: clock-controller@ade0000:
> 'required-opps' is a required property
>
> arch/arm64/boot/dts/qcom/sm8650-mtp.dtb: clock-controller@ade0000:
> 'required-opps' is a required property
>
> arch/arm64/boot/dts/qcom/sm8650-qrd.dtb: clock-controller@ade0000:
> 'required-opps' is a required property
>
> Fixes: 1ae3f0578e0e ("dt-bindings: clock: qcom: Add SM8650 camera clock controller")
> Reported-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
> Closes: https://lore.kernel.org/all/0f13ab6b-dff1-4b26-9707-704ae2e2b535@linaro.org/
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202407070147.C9c3oTqS-lkp@intel.com/
> Signed-off-by: Jagadeesh Kona <quic_jkona@quicinc.com>
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
--
Best wishes,
Vladimir
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH V4 1/2] dt-bindings: clock: qcom: Drop required-opps in required on sm8650 videocc
2024-08-01 6:44 ` [PATCH V4 1/2] dt-bindings: clock: qcom: Drop required-opps in required on sm8650 videocc Jagadeesh Kona
2024-08-04 14:54 ` Krzysztof Kozlowski
@ 2024-08-04 21:41 ` Vladimir Zapolskiy
1 sibling, 0 replies; 8+ messages in thread
From: Vladimir Zapolskiy @ 2024-08-04 21:41 UTC (permalink / raw)
To: Jagadeesh Kona, Bjorn Andersson, Michael Turquette, Stephen Boyd,
Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: Bryan O'Donoghue, Dmitry Baryshkov, linux-arm-msm, linux-clk,
devicetree, linux-kernel, Taniya Das, Satya Priya Kakitapalli,
Imran Shaik, Ajit Pandey, kernel test robot
On 8/1/24 09:44, Jagadeesh Kona wrote:
> On SM8650, the minimum voltage corner supported on MMCX from cmd-db is
> sufficient for clock controllers to operate and there is no need to specify
> the required-opps. Hence remove the required-opps property from the list of
> required properties for SM8650 videocc bindings.
>
> This fixes:
>
> arch/arm64/boot/dts/qcom/sm8650-hdk.dtb: clock-controller@aaf0000:
> 'required-opps' is a required property
>
> arch/arm64/boot/dts/qcom/sm8650-mtp.dtb: clock-controller@aaf0000:
> 'required-opps' is a required property
>
> arch/arm64/boot/dts/qcom/sm8650-qrd.dtb: clock-controller@aaf0000:
> 'required-opps' is a required property
>
> Fixes: a6a61b9701d1 ("dt-bindings: clock: qcom: Add SM8650 video clock controller")
> Reported-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
> Closes: https://lore.kernel.org/all/0f13ab6b-dff1-4b26-9707-704ae2e2b535@linaro.org/
As Krzysztof said absolutely fairly, this one warning was not reported by me.
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202407070147.C9c3oTqS-lkp@intel.com/
> Signed-off-by: Jagadeesh Kona <quic_jkona@quicinc.com>
But I'm happy to review the change.
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
--
Best wishes,
Vladimir
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH V4 0/2] Drop required-opps from required list on SM8650 videocc, camcc
2024-08-01 6:44 [PATCH V4 0/2] Drop required-opps from required list on SM8650 videocc, camcc Jagadeesh Kona
2024-08-01 6:44 ` [PATCH V4 1/2] dt-bindings: clock: qcom: Drop required-opps in required on sm8650 videocc Jagadeesh Kona
2024-08-01 6:44 ` [PATCH V4 2/2] dt-bindings: clock: qcom: Drop required-opps in required on SM8650 camcc Jagadeesh Kona
@ 2024-08-15 20:40 ` Bjorn Andersson
2 siblings, 0 replies; 8+ messages in thread
From: Bjorn Andersson @ 2024-08-15 20:40 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Jagadeesh Kona
Cc: Vladimir Zapolskiy, Bryan O'Donoghue, Dmitry Baryshkov,
linux-arm-msm, linux-clk, devicetree, linux-kernel, Taniya Das,
Satya Priya Kakitapalli, Imran Shaik, Ajit Pandey
On Thu, 01 Aug 2024 12:14:46 +0530, Jagadeesh Kona wrote:
> On SM8650, the minimum voltage corner supported on MMCX from cmd-db is
> sufficient for clock controllers to operate and there is no need to specify
> the required-opps. Hence remove the required-opps property from the list of
> required properties for SM8650 camcc and videocc bindings.
>
> Changes in V4:
> - Dropped change to disallow required-opps on variants that don't need it
> - Split the change into separate commits for videocc and camcc
> - Link to V3: https://lore.kernel.org/all/20240730034552.31271-1-quic_jkona@quicinc.com/
> Changes in V3:
> - Made only required-opps property conditional and added it based on the variant
> - Link to V2: https://lore.kernel.org/all/20240720052818.26441-1-quic_jkona@quicinc.com/
> Changes in V2:
> - Made required: conditional and dropped required-opps from it only for SM8650 platform
> - Dropped Krzysztof Acked-by tag due to above changes
> - Link to V1: https://lore.kernel.org/all/20240708130836.19273-1-quic_jkona@quicinc.com/
>
> [...]
Applied, thanks!
[1/2] dt-bindings: clock: qcom: Drop required-opps in required on sm8650 videocc
commit: 6720e8dbcb1b6b3b43e38998b522088814ae1268
[2/2] dt-bindings: clock: qcom: Drop required-opps in required on SM8650 camcc
commit: db30c1160ca5f115476cd8c8008f67572acb2c08
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-08-15 20:41 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-01 6:44 [PATCH V4 0/2] Drop required-opps from required list on SM8650 videocc, camcc Jagadeesh Kona
2024-08-01 6:44 ` [PATCH V4 1/2] dt-bindings: clock: qcom: Drop required-opps in required on sm8650 videocc Jagadeesh Kona
2024-08-04 14:54 ` Krzysztof Kozlowski
2024-08-04 21:41 ` Vladimir Zapolskiy
2024-08-01 6:44 ` [PATCH V4 2/2] dt-bindings: clock: qcom: Drop required-opps in required on SM8650 camcc Jagadeesh Kona
2024-08-04 14:56 ` Krzysztof Kozlowski
2024-08-04 21:39 ` Vladimir Zapolskiy
2024-08-15 20:40 ` [PATCH V4 0/2] Drop required-opps from required list on SM8650 videocc, camcc Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).