mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH V2 0/2] dt-bindings: arm: cpus: Extend Qualcomm Oryon compatibles
@ 2026-03-13 10:34 Sibi Sankar
  2026-03-13 10:34 ` [PATCH V2 1/2] " Sibi Sankar
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Sibi Sankar @ 2026-03-13 10:34 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, andersson, konradybcio
  Cc: sudeep.holla, angelogioacchino.delregno, viresh.kumar,
	neil.armstrong, festevam, Frank.Li, danila, lpieralisi,
	dmitry.baryshkov, tengfei.fan, jingyi.wang, linux-arm-msm,
	devicetree, linux-kernel

From: Sibi Sankar <quic_sibis@quicinc.com>

The generic Qualcomm Oryon CPU compatible documented in the binding
doesn't account for differences between core types and has been
deprecated. Introduce core-specific compatibles, based on MIDR part and
variant numbers as listed below.

qcom,oryon-MIDR_EL1[PART_NUM]-MIDR_EL1[VARIANT]

Glymur:
MIDR_EL1[PART_NUM] - 0x2
MIDR_EL1[VARIANT] - 0x1/0x2

Changes in v2:
- Update commit message to explain qcom,oryon-x-y  [Krzysztof] 
- Drop the Kaanapali dts fix [Krzysztof]
- Link to v1: https://lore.kernel.org/lkml/20260310040751.3132523-1-sibi.sankar@oss.qualcomm.com/

Sibi Sankar (2):
  dt-bindings: arm: cpus: Extend Qualcomm Oryon compatibles
  arm64: dts: qcom: glymur: Fix deprecated cpu compatibles

 .../devicetree/bindings/arm/cpus.yaml         |  7 ++++
 arch/arm64/boot/dts/qcom/glymur.dtsi          | 36 +++++++++----------
 2 files changed, 25 insertions(+), 18 deletions(-)


base-commit: 5c9e55fecf9365890c64f14761a80f9413a3b1d1
-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH V2 1/2] dt-bindings: arm: cpus: Extend Qualcomm Oryon compatibles
  2026-03-13 10:34 [PATCH V2 0/2] dt-bindings: arm: cpus: Extend Qualcomm Oryon compatibles Sibi Sankar
@ 2026-03-13 10:34 ` Sibi Sankar
  2026-03-14  9:58   ` Krzysztof Kozlowski
  2026-03-13 10:34 ` [PATCH V2 2/2] arm64: dts: qcom: glymur: Fix deprecated cpu compatibles Sibi Sankar
  2026-03-18 13:50 ` [PATCH V2 0/2] dt-bindings: arm: cpus: Extend Qualcomm Oryon compatibles Bjorn Andersson
  2 siblings, 1 reply; 7+ messages in thread
From: Sibi Sankar @ 2026-03-13 10:34 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, andersson, konradybcio
  Cc: sudeep.holla, angelogioacchino.delregno, viresh.kumar,
	neil.armstrong, festevam, Frank.Li, danila, lpieralisi,
	dmitry.baryshkov, tengfei.fan, jingyi.wang, linux-arm-msm,
	devicetree, linux-kernel

The generic Qualcomm Oryon CPU compatible documented in the binding
doesn't account for differences between core types and has been
deprecated. Introduce core-specific compatibles, by appending the
compatible with MIDR part and variant numbers as listed below.

qcom,oryon-MIDR_EL1[PART_NUM]-MIDR_EL1[VARIANT]

Signed-off-by: Sibi Sankar <sibi.sankar@oss.qualcomm.com>
---
 Documentation/devicetree/bindings/arm/cpus.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml
index 700255e9a002..fb6e5871b625 100644
--- a/Documentation/devicetree/bindings/arm/cpus.yaml
+++ b/Documentation/devicetree/bindings/arm/cpus.yaml
@@ -218,6 +218,13 @@ properties:
           - qcom,kryo685
           - qcom,kryo780
           - qcom,scorpion
+          - qcom,oryon-1-1
+          - qcom,oryon-1-2
+          - qcom,oryon-1-3
+          - qcom,oryon-1-4
+          - qcom,oryon-2-1
+          - qcom,oryon-2-2
+          - qcom,oryon-2-3
           - samsung,mongoose-m2
           - samsung,mongoose-m3
           - samsung,mongoose-m5
-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH V2 2/2] arm64: dts: qcom: glymur: Fix deprecated cpu compatibles
  2026-03-13 10:34 [PATCH V2 0/2] dt-bindings: arm: cpus: Extend Qualcomm Oryon compatibles Sibi Sankar
  2026-03-13 10:34 ` [PATCH V2 1/2] " Sibi Sankar
@ 2026-03-13 10:34 ` Sibi Sankar
  2026-03-14  9:59   ` Krzysztof Kozlowski
  2026-03-24 16:30   ` Abel Vesa
  2026-03-18 13:50 ` [PATCH V2 0/2] dt-bindings: arm: cpus: Extend Qualcomm Oryon compatibles Bjorn Andersson
  2 siblings, 2 replies; 7+ messages in thread
From: Sibi Sankar @ 2026-03-13 10:34 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, andersson, konradybcio
  Cc: sudeep.holla, angelogioacchino.delregno, viresh.kumar,
	neil.armstrong, festevam, Frank.Li, danila, lpieralisi,
	dmitry.baryshkov, tengfei.fan, jingyi.wang, linux-arm-msm,
	devicetree, linux-kernel, Konrad Dybcio

The generic Qualcomm Oryon CPU compatible used by the Glymur
SoC is deprecated and incorrect since it uses a single compatible
to describe two different core variants. It is now replaced with
two different core-specific compatibles based on MIDR part and
variant number.

CPUS 0-5:
MIDR_EL1[PART_NUM] - 0x2
MIDR_EL1[VARIANT] - 0x2

CPUS 6-17:
MIDR_EL1[PART_NUM] - 0x2
MIDR_EL1[VARIANT] - 0x1

Fixes: 41b6e8db400c ("arm64: dts: qcom: Introduce Glymur base dtsi")
Signed-off-by: Sibi Sankar <sibi.sankar@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/glymur.dtsi | 36 ++++++++++++++--------------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/glymur.dtsi b/arch/arm64/boot/dts/qcom/glymur.dtsi
index e269cec7942c..5de4b2801321 100644
--- a/arch/arm64/boot/dts/qcom/glymur.dtsi
+++ b/arch/arm64/boot/dts/qcom/glymur.dtsi
@@ -33,7 +33,7 @@ cpus {
 
 		cpu0: cpu@0 {
 			device_type = "cpu";
-			compatible = "qcom,oryon";
+			compatible = "qcom,oryon-2-2";
 			reg = <0x0 0x0>;
 			enable-method = "psci";
 			power-domains = <&cpu_pd0>, <&scmi_perf 0>;
@@ -49,7 +49,7 @@ l2_0: l2-cache {
 
 		cpu1: cpu@100 {
 			device_type = "cpu";
-			compatible = "qcom,oryon";
+			compatible = "qcom,oryon-2-2";
 			reg = <0x0 0x100>;
 			enable-method = "psci";
 			power-domains = <&cpu_pd1>, <&scmi_perf 0>;
@@ -59,7 +59,7 @@ cpu1: cpu@100 {
 
 		cpu2: cpu@200 {
 			device_type = "cpu";
-			compatible = "qcom,oryon";
+			compatible = "qcom,oryon-2-2";
 			reg = <0x0 0x200>;
 			enable-method = "psci";
 			power-domains = <&cpu_pd2>, <&scmi_perf 0>;
@@ -69,7 +69,7 @@ cpu2: cpu@200 {
 
 		cpu3: cpu@300 {
 			device_type = "cpu";
-			compatible = "qcom,oryon";
+			compatible = "qcom,oryon-2-2";
 			reg = <0x0 0x300>;
 			enable-method = "psci";
 			power-domains = <&cpu_pd3>, <&scmi_perf 0>;
@@ -79,7 +79,7 @@ cpu3: cpu@300 {
 
 		cpu4: cpu@400 {
 			device_type = "cpu";
-			compatible = "qcom,oryon";
+			compatible = "qcom,oryon-2-2";
 			reg = <0x0 0x400>;
 			enable-method = "psci";
 			power-domains = <&cpu_pd4>, <&scmi_perf 0>;
@@ -89,7 +89,7 @@ cpu4: cpu@400 {
 
 		cpu5: cpu@500 {
 			device_type = "cpu";
-			compatible = "qcom,oryon";
+			compatible = "qcom,oryon-2-2";
 			reg = <0x0 0x500>;
 			enable-method = "psci";
 			power-domains = <&cpu_pd5>, <&scmi_perf 0>;
@@ -99,7 +99,7 @@ cpu5: cpu@500 {
 
 		cpu6: cpu@10000 {
 			device_type = "cpu";
-			compatible = "qcom,oryon";
+			compatible = "qcom,oryon-2-1";
 			reg = <0x0 0x10000>;
 			enable-method = "psci";
 			power-domains = <&cpu_pd6>, <&scmi_perf 1>;
@@ -115,7 +115,7 @@ l2_1: l2-cache {
 
 		cpu7: cpu@10100 {
 			device_type = "cpu";
-			compatible = "qcom,oryon";
+			compatible = "qcom,oryon-2-1";
 			reg = <0x0 0x10100>;
 			enable-method = "psci";
 			power-domains = <&cpu_pd7>, <&scmi_perf 1>;
@@ -125,7 +125,7 @@ cpu7: cpu@10100 {
 
 		cpu8: cpu@10200 {
 			device_type = "cpu";
-			compatible = "qcom,oryon";
+			compatible = "qcom,oryon-2-1";
 			reg = <0x0 0x10200>;
 			enable-method = "psci";
 			power-domains = <&cpu_pd8>, <&scmi_perf 1>;
@@ -135,7 +135,7 @@ cpu8: cpu@10200 {
 
 		cpu9: cpu@10300 {
 			device_type = "cpu";
-			compatible = "qcom,oryon";
+			compatible = "qcom,oryon-2-1";
 			reg = <0x0 0x10300>;
 			enable-method = "psci";
 			power-domains = <&cpu_pd9>, <&scmi_perf 1>;
@@ -145,7 +145,7 @@ cpu9: cpu@10300 {
 
 		cpu10: cpu@10400 {
 			device_type = "cpu";
-			compatible = "qcom,oryon";
+			compatible = "qcom,oryon-2-1";
 			reg = <0x0 0x10400>;
 			enable-method = "psci";
 			power-domains = <&cpu_pd10>, <&scmi_perf 1>;
@@ -155,7 +155,7 @@ cpu10: cpu@10400 {
 
 		cpu11: cpu@10500 {
 			device_type = "cpu";
-			compatible = "qcom,oryon";
+			compatible = "qcom,oryon-2-1";
 			reg = <0x0 0x10500>;
 			enable-method = "psci";
 			power-domains = <&cpu_pd11>, <&scmi_perf 1>;
@@ -165,7 +165,7 @@ cpu11: cpu@10500 {
 
 		cpu12: cpu@20000 {
 			device_type = "cpu";
-			compatible = "qcom,oryon";
+			compatible = "qcom,oryon-2-1";
 			reg = <0x0 0x20000>;
 			enable-method = "psci";
 			power-domains = <&cpu_pd12>, <&scmi_perf 2>;
@@ -181,7 +181,7 @@ l2_2: l2-cache {
 
 		cpu13: cpu@20100 {
 			device_type = "cpu";
-			compatible = "qcom,oryon";
+			compatible = "qcom,oryon-2-1";
 			reg = <0x0 0x20100>;
 			enable-method = "psci";
 			power-domains = <&cpu_pd13>, <&scmi_perf 2>;
@@ -191,7 +191,7 @@ cpu13: cpu@20100 {
 
 		cpu14: cpu@20200 {
 			device_type = "cpu";
-			compatible = "qcom,oryon";
+			compatible = "qcom,oryon-2-1";
 			reg = <0x0 0x20200>;
 			enable-method = "psci";
 			power-domains = <&cpu_pd14>, <&scmi_perf 2>;
@@ -201,7 +201,7 @@ cpu14: cpu@20200 {
 
 		cpu15: cpu@20300 {
 			device_type = "cpu";
-			compatible = "qcom,oryon";
+			compatible = "qcom,oryon-2-1";
 			reg = <0x0 0x20300>;
 			enable-method = "psci";
 			power-domains = <&cpu_pd15>, <&scmi_perf 2>;
@@ -211,7 +211,7 @@ cpu15: cpu@20300 {
 
 		cpu16: cpu@20400 {
 			device_type = "cpu";
-			compatible = "qcom,oryon";
+			compatible = "qcom,oryon-2-1";
 			reg = <0x0 0x20400>;
 			enable-method = "psci";
 			power-domains = <&cpu_pd16>, <&scmi_perf 2>;
@@ -221,7 +221,7 @@ cpu16: cpu@20400 {
 
 		cpu17: cpu@20500 {
 			device_type = "cpu";
-			compatible = "qcom,oryon";
+			compatible = "qcom,oryon-2-1";
 			reg = <0x0 0x20500>;
 			enable-method = "psci";
 			power-domains = <&cpu_pd17>, <&scmi_perf 2>;
-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH V2 1/2] dt-bindings: arm: cpus: Extend Qualcomm Oryon compatibles
  2026-03-13 10:34 ` [PATCH V2 1/2] " Sibi Sankar
@ 2026-03-14  9:58   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-14  9:58 UTC (permalink / raw)
  To: Sibi Sankar
  Cc: robh, krzk+dt, conor+dt, andersson, konradybcio, sudeep.holla,
	angelogioacchino.delregno, viresh.kumar, neil.armstrong,
	festevam, Frank.Li, danila, lpieralisi, dmitry.baryshkov,
	tengfei.fan, jingyi.wang, linux-arm-msm, devicetree,
	linux-kernel

On Fri, Mar 13, 2026 at 04:04:38PM +0530, Sibi Sankar wrote:
> The generic Qualcomm Oryon CPU compatible documented in the binding
> doesn't account for differences between core types and has been
> deprecated. Introduce core-specific compatibles, by appending the
> compatible with MIDR part and variant numbers as listed below.
> 
> qcom,oryon-MIDR_EL1[PART_NUM]-MIDR_EL1[VARIANT]
> 
> Signed-off-by: Sibi Sankar <sibi.sankar@oss.qualcomm.com>
> ---
>  Documentation/devicetree/bindings/arm/cpus.yaml | 7 +++++++
>  1 file changed, 7 insertions(+)

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH V2 2/2] arm64: dts: qcom: glymur: Fix deprecated cpu compatibles
  2026-03-13 10:34 ` [PATCH V2 2/2] arm64: dts: qcom: glymur: Fix deprecated cpu compatibles Sibi Sankar
@ 2026-03-14  9:59   ` Krzysztof Kozlowski
  2026-03-24 16:30   ` Abel Vesa
  1 sibling, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-14  9:59 UTC (permalink / raw)
  To: Sibi Sankar
  Cc: robh, krzk+dt, conor+dt, andersson, konradybcio, sudeep.holla,
	angelogioacchino.delregno, viresh.kumar, neil.armstrong,
	festevam, Frank.Li, danila, lpieralisi, dmitry.baryshkov,
	tengfei.fan, jingyi.wang, linux-arm-msm, devicetree,
	linux-kernel, Konrad Dybcio

On Fri, Mar 13, 2026 at 04:04:39PM +0530, Sibi Sankar wrote:
> The generic Qualcomm Oryon CPU compatible used by the Glymur
> SoC is deprecated and incorrect since it uses a single compatible
> to describe two different core variants. It is now replaced with
> two different core-specific compatibles based on MIDR part and
> variant number.
> 
> CPUS 0-5:
> MIDR_EL1[PART_NUM] - 0x2
> MIDR_EL1[VARIANT] - 0x2
> 
> CPUS 6-17:
> MIDR_EL1[PART_NUM] - 0x2
> MIDR_EL1[VARIANT] - 0x1
> 
> Fixes: 41b6e8db400c ("arm64: dts: qcom: Introduce Glymur base dtsi")
> Signed-off-by: Sibi Sankar <sibi.sankar@oss.qualcomm.com>
> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> ---
>  arch/arm64/boot/dts/qcom/glymur.dtsi | 36 ++++++++++++++--------------
>  1 file changed, 18 insertions(+), 18 deletions(-)

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH V2 0/2] dt-bindings: arm: cpus: Extend Qualcomm Oryon compatibles
  2026-03-13 10:34 [PATCH V2 0/2] dt-bindings: arm: cpus: Extend Qualcomm Oryon compatibles Sibi Sankar
  2026-03-13 10:34 ` [PATCH V2 1/2] " Sibi Sankar
  2026-03-13 10:34 ` [PATCH V2 2/2] arm64: dts: qcom: glymur: Fix deprecated cpu compatibles Sibi Sankar
@ 2026-03-18 13:50 ` Bjorn Andersson
  2 siblings, 0 replies; 7+ messages in thread
From: Bjorn Andersson @ 2026-03-18 13:50 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, konradybcio, Sibi Sankar
  Cc: sudeep.holla, angelogioacchino.delregno, viresh.kumar,
	neil.armstrong, festevam, Frank.Li, danila, lpieralisi,
	dmitry.baryshkov, tengfei.fan, jingyi.wang, linux-arm-msm,
	devicetree, linux-kernel


On Fri, 13 Mar 2026 16:04:37 +0530, Sibi Sankar wrote:
> From: Sibi Sankar <quic_sibis@quicinc.com>
> 
> The generic Qualcomm Oryon CPU compatible documented in the binding
> doesn't account for differences between core types and has been
> deprecated. Introduce core-specific compatibles, based on MIDR part and
> variant numbers as listed below.
> 
> [...]

Applied, thanks!

[1/2] dt-bindings: arm: cpus: Extend Qualcomm Oryon compatibles
      commit: 96e71f817b02caedbbaeffc916010ba68802612f
[2/2] arm64: dts: qcom: glymur: Fix deprecated cpu compatibles
      commit: 5044a0b0307a3377dabbb0a2a653a30e388d16cc

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH V2 2/2] arm64: dts: qcom: glymur: Fix deprecated cpu compatibles
  2026-03-13 10:34 ` [PATCH V2 2/2] arm64: dts: qcom: glymur: Fix deprecated cpu compatibles Sibi Sankar
  2026-03-14  9:59   ` Krzysztof Kozlowski
@ 2026-03-24 16:30   ` Abel Vesa
  1 sibling, 0 replies; 7+ messages in thread
From: Abel Vesa @ 2026-03-24 16:30 UTC (permalink / raw)
  To: Sibi Sankar
  Cc: robh, krzk+dt, conor+dt, andersson, konradybcio, sudeep.holla,
	angelogioacchino.delregno, viresh.kumar, neil.armstrong,
	festevam, Frank.Li, danila, lpieralisi, dmitry.baryshkov,
	tengfei.fan, jingyi.wang, linux-arm-msm, devicetree,
	linux-kernel, Konrad Dybcio

On 26-03-13 16:04:39, Sibi Sankar wrote:
> The generic Qualcomm Oryon CPU compatible used by the Glymur
> SoC is deprecated and incorrect since it uses a single compatible
> to describe two different core variants. It is now replaced with
> two different core-specific compatibles based on MIDR part and
> variant number.
> 
> CPUS 0-5:
> MIDR_EL1[PART_NUM] - 0x2
> MIDR_EL1[VARIANT] - 0x2
> 
> CPUS 6-17:
> MIDR_EL1[PART_NUM] - 0x2
> MIDR_EL1[VARIANT] - 0x1
> 
> Fixes: 41b6e8db400c ("arm64: dts: qcom: Introduce Glymur base dtsi")
> Signed-off-by: Sibi Sankar <sibi.sankar@oss.qualcomm.com>
> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-03-24 16:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-13 10:34 [PATCH V2 0/2] dt-bindings: arm: cpus: Extend Qualcomm Oryon compatibles Sibi Sankar
2026-03-13 10:34 ` [PATCH V2 1/2] " Sibi Sankar
2026-03-14  9:58   ` Krzysztof Kozlowski
2026-03-13 10:34 ` [PATCH V2 2/2] arm64: dts: qcom: glymur: Fix deprecated cpu compatibles Sibi Sankar
2026-03-14  9:59   ` Krzysztof Kozlowski
2026-03-24 16:30   ` Abel Vesa
2026-03-18 13:50 ` [PATCH V2 0/2] dt-bindings: arm: cpus: Extend Qualcomm Oryon compatibles Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®