dt-bindings: cpufreq: cpufreq-qcom-hw: Document SM8350 CPUfreq compatible
PATCH 1/1 dt-bindings: cpufreq: cpufreq-qcom-hw: Document SM8350 CPUfreq compatible
Add the CPUfreq compatible for SM8350 SoC along with note for using the specific compatible for SoCs
--- Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt +3 -1
@@ -8,7 +8,9 @@ Properties: - compatible Usage: required Value type: <string> - Definition: must be "qcom,cpufreq-hw" or "qcom,cpufreq-epss". + Definition: must be "qcom,cpufreq-hw" or "qcom,cpufreq-epss" + along with SoC specific compatible: + "qcom,sm8350-cpufreq-epss", "qcom,cpufreq-epss" - clocks Usage: required
Signature · 1 line
2.26.2
Viresh Kumar
maintainerQuoted 13 lines · Vinod Koul
Add the CPUfreq compatible for SM8350 SoC along with note for using the specific compatible for SoCs
Signed-off-by Vinod Koul <[email protected]>--- Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt +0
-0
Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt Properties: · line 13
Quoted 7 lines
Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt +3
-1@@ -8,7 +8,9 @@ Properties: - compatible Usage: required Value type: <string> - Definition: must be "qcom,cpufreq-hw" or "qcom,cpufreq-epss". + Definition: must be "qcom,cpufreq-hw" or "qcom,cpufreq-epss" + along with SoC specific compatible: + "qcom,sm8350-cpufreq-epss", "qcom,cpufreq-epss"
And why is SoC specific compatible required here ? Is the implementation on sm8350 any different than the ones using "qcom,cpufreq-epss" compatible ?
FWIW, the same compatible string must be reused until the time there is difference in the hardware. The compatible string must be considered as a marker for a particular version of the hardware.
Signature · 1 line
viresh
Quoted 25 lines · Viresh Kumar
Quoted 13 lines · Vinod Koul
Add the CPUfreq compatible for SM8350 SoC along with note for using the specific compatible for SoCs
Signed-off-by Vinod Koul <[email protected]>--- Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt +0
-0Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt Properties: · line 13
Quoted 7 lines
Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt +3
-1@@ -8,7 +8,9 @@ Properties: - compatible Usage: required Value type: <string> - Definition: must be "qcom,cpufreq-hw" or "qcom,cpufreq-epss". + Definition: must be "qcom,cpufreq-hw" or "qcom,cpufreq-epss" + along with SoC specific compatible: + "qcom,sm8350-cpufreq-epss", "qcom,cpufreq-epss"And why is SoC specific compatible required here ? Is the implementation on sm8350 any different than the ones using "qcom,cpufreq-epss" compatible ?
Quoted 3 lines
FWIW, the same compatible string must be reused until the time there is difference in the hardware. The compatible string must be considered as a marker for a particular version of the hardware.
Rob has indicated that we should use a SoC specific compatible and I agree with that. We are using both soc and generic one here and driver will be loaded for generic one.
Thanks
Signature · 1 line
~Vinod
Viresh Kumar
maintainerQuoted 26 lines · Vinod Koul
Quoted 25 lines · Viresh Kumar
Quoted 13 lines · Vinod Koul
Add the CPUfreq compatible for SM8350 SoC along with note for using the specific compatible for SoCs
Signed-off-by Vinod Koul <[email protected]>--- Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt +0
-0Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt Properties: · line 13
Quoted 7 lines
Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt +3
-1@@ -8,7 +8,9 @@ Properties: - compatible Usage: required Value type: <string> - Definition: must be "qcom,cpufreq-hw" or "qcom,cpufreq-epss". + Definition: must be "qcom,cpufreq-hw" or "qcom,cpufreq-epss" + along with SoC specific compatible: + "qcom,sm8350-cpufreq-epss", "qcom,cpufreq-epss"And why is SoC specific compatible required here ? Is the implementation on sm8350 any different than the ones using "qcom,cpufreq-epss" compatible ?
Quoted 7 lines
Quoted 3 lines
FWIW, the same compatible string must be reused until the time there is difference in the hardware. The compatible string must be considered as a marker for a particular version of the hardware.
Rob has indicated that we should use a SoC specific compatible and I agree with that. We are using both soc and generic one here and driver will be loaded for generic one.
I am not sure of the context, lets see what Rob has to say on this. I believe we only need 1 compatible string here (whatever it is), as this is just one version of the hardware we are talking about. We already have 2 somehow and you are trying to add one more and I don't fell good about it. :(
Signature · 1 line
viresh
Rob Herring
maintainerQuoted 35 lines · Viresh Kumar
Quoted 26 lines · Vinod Koul
Quoted 25 lines · Viresh Kumar
Quoted 13 lines · Vinod Koul
Add the CPUfreq compatible for SM8350 SoC along with note for using the specific compatible for SoCs
Signed-off-by Vinod Koul <[email protected]>--- Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt +0
-0Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt Properties: · line 13
Quoted 7 lines
Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt +3
-1@@ -8,7 +8,9 @@ Properties: - compatible Usage: required Value type: <string> - Definition: must be "qcom,cpufreq-hw" or "qcom,cpufreq-epss". + Definition: must be "qcom,cpufreq-hw" or "qcom,cpufreq-epss" + along with SoC specific compatible: + "qcom,sm8350-cpufreq-epss", "qcom,cpufreq-epss"And why is SoC specific compatible required here ? Is the implementation on sm8350 any different than the ones using "qcom,cpufreq-epss" compatible ?
Quoted 7 lines
Quoted 3 lines
FWIW, the same compatible string must be reused until the time there is difference in the hardware. The compatible string must be considered as a marker for a particular version of the hardware.
Rob has indicated that we should use a SoC specific compatible and I agree with that. We are using both soc and generic one here and driver will be loaded for generic one.
Quoted 5 lines
I am not sure of the context, lets see what Rob has to say on this. I believe we only need 1 compatible string here (whatever it is), as this is just one version of the hardware we are talking about. We already have 2 somehow and you are trying to add one more and I don't fell good about it. :(
The h/w block is the same features and bugs in every single implementation? If not sure, better be safe.
I don't know that I'd go back and add SoC ones for everything though.
Rob
Quoted 42 lines · Rob Herring
Quoted 35 lines · Viresh Kumar
Quoted 26 lines · Vinod Koul
Quoted 25 lines · Viresh Kumar
Quoted 13 lines · Vinod Koul
Add the CPUfreq compatible for SM8350 SoC along with note for using the specific compatible for SoCs
Signed-off-by Vinod Koul <[email protected]>--- Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt +0
-0Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt Properties: · line 13
Quoted 7 lines
Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt +3
-1@@ -8,7 +8,9 @@ Properties: - compatible Usage: required Value type: <string> - Definition: must be "qcom,cpufreq-hw" or "qcom,cpufreq-epss". + Definition: must be "qcom,cpufreq-hw" or "qcom,cpufreq-epss" + along with SoC specific compatible: + "qcom,sm8350-cpufreq-epss", "qcom,cpufreq-epss"And why is SoC specific compatible required here ? Is the implementation on sm8350 any different than the ones using "qcom,cpufreq-epss" compatible ?
Quoted 7 lines
Quoted 3 lines
FWIW, the same compatible string must be reused until the time there is difference in the hardware. The compatible string must be considered as a marker for a particular version of the hardware.
Rob has indicated that we should use a SoC specific compatible and I agree with that. We are using both soc and generic one here and driver will be loaded for generic one.
Quoted 5 lines
I am not sure of the context, lets see what Rob has to say on this. I believe we only need 1 compatible string here (whatever it is), as this is just one version of the hardware we are talking about. We already have 2 somehow and you are trying to add one more and I don't fell good about it. :(
Quoted 4 lines
The h/w block is the same features and bugs in every single implementation? If not sure, better be safe.
I don't know that I'd go back and add SoC ones for everything though.
I would prefer we have SoC ones to be future proof..
Signature · 1 line
~Vinod
Quoted 13 lines · Vinod Koul
Add the CPUfreq compatible for SM8350 SoC along with note for using the specific compatible for SoCs
Signed-off-by Vinod Koul <[email protected]>--- Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt +0
-0
Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt Properties: · line 13
Quoted 7 lines
Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt +3
-1@@ -8,7 +8,9 @@ Properties: - compatible Usage: required Value type: <string> - Definition: must be "qcom,cpufreq-hw" or "qcom,cpufreq-epss". + Definition: must be "qcom,cpufreq-hw" or "qcom,cpufreq-epss" + along with SoC specific compatible: + "qcom,sm8350-cpufreq-epss", "qcom,cpufreq-epss"
Can you please extend this to add all the platforms that we currently support?
PS. Didn't we have someone working on converting this to yaml?
Regards,
Bjorn
Quoted 6 lines
Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt +0
-0- clocks Usage: requiredSignature · 1 line
2.26.2
Quoted 26 lines · Bjorn Andersson
Quoted 13 lines · Vinod Koul
Add the CPUfreq compatible for SM8350 SoC along with note for using the specific compatible for SoCs
Signed-off-by Vinod Koul <[email protected]>--- Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt +0
-0Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt Properties: · line 13
Quoted 7 lines
Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt +3
-1@@ -8,7 +8,9 @@ Properties: - compatible Usage: required Value type: <string> - Definition: must be "qcom,cpufreq-hw" or "qcom,cpufreq-epss". + Definition: must be "qcom,cpufreq-hw" or "qcom,cpufreq-epss" + along with SoC specific compatible: + "qcom,sm8350-cpufreq-epss", "qcom,cpufreq-epss"Can you please extend this to add all the platforms that we currently support?
Quoted 1 line
PS. Didn't we have someone working on converting this to yaml?
Yep, Mani seems to have done that, I will wait for that to get merged and update this.. Thanks
Signature · 1 line
~Vinod