linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: arm: cpus: Add kryo468 compatible
@ 2020-03-18  9:08 Amit Kucheria
  2020-03-18  9:08 ` [PATCH 2/2] arm64: dts: qcom: sc7180: Fix cpu compatible Amit Kucheria
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Amit Kucheria @ 2020-03-18  9:08 UTC (permalink / raw)
  To: linux-kernel, linux-arm-msm, bjorn.andersson, sibis, swboyd, dianders
  Cc: devicetree

Kryo468 is found in sc7180, so add it to the list of cpu compatibles

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
---
 Documentation/devicetree/bindings/arm/cpus.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml
index 7a9c3ce2dbef..57408c773b4d 100644
--- a/Documentation/devicetree/bindings/arm/cpus.yaml
+++ b/Documentation/devicetree/bindings/arm/cpus.yaml
@@ -156,6 +156,7 @@ properties:
       - qcom,krait
       - qcom,kryo
       - qcom,kryo385
+      - qcom,kryo468
       - qcom,kryo485
       - qcom,scorpion
 
-- 
2.20.1


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

* [PATCH 2/2] arm64: dts: qcom: sc7180: Fix cpu compatible
  2020-03-18  9:08 [PATCH 1/2] dt-bindings: arm: cpus: Add kryo468 compatible Amit Kucheria
@ 2020-03-18  9:08 ` Amit Kucheria
  2020-03-18 17:24   ` Stephen Boyd
  2020-03-19  8:33   ` Rajendra Nayak
  2020-03-18 17:24 ` [PATCH 1/2] dt-bindings: arm: cpus: Add kryo468 compatible Stephen Boyd
                   ` (2 subsequent siblings)
  3 siblings, 2 replies; 7+ messages in thread
From: Amit Kucheria @ 2020-03-18  9:08 UTC (permalink / raw)
  To: linux-kernel, linux-arm-msm, bjorn.andersson, sibis, swboyd,
	dianders, Andy Gross
  Cc: devicetree

"arm,armv8" compatible should only be used for software models. Replace
it with the real cpu type.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
---
 arch/arm64/boot/dts/qcom/sc7180.dtsi | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi
index 8011c5fe2a31..a01dfefd90be 100644
--- a/arch/arm64/boot/dts/qcom/sc7180.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi
@@ -83,7 +83,7 @@
 
 		CPU0: cpu@0 {
 			device_type = "cpu";
-			compatible = "arm,armv8";
+			compatible = "qcom,kryo468";
 			reg = <0x0 0x0>;
 			enable-method = "psci";
 			next-level-cache = <&L2_0>;
@@ -100,7 +100,7 @@
 
 		CPU1: cpu@100 {
 			device_type = "cpu";
-			compatible = "arm,armv8";
+			compatible = "qcom,kryo468";
 			reg = <0x0 0x100>;
 			enable-method = "psci";
 			next-level-cache = <&L2_100>;
@@ -114,7 +114,7 @@
 
 		CPU2: cpu@200 {
 			device_type = "cpu";
-			compatible = "arm,armv8";
+			compatible = "qcom,kryo468";
 			reg = <0x0 0x200>;
 			enable-method = "psci";
 			next-level-cache = <&L2_200>;
@@ -128,7 +128,7 @@
 
 		CPU3: cpu@300 {
 			device_type = "cpu";
-			compatible = "arm,armv8";
+			compatible = "qcom,kryo468";
 			reg = <0x0 0x300>;
 			enable-method = "psci";
 			next-level-cache = <&L2_300>;
@@ -142,7 +142,7 @@
 
 		CPU4: cpu@400 {
 			device_type = "cpu";
-			compatible = "arm,armv8";
+			compatible = "qcom,kryo468";
 			reg = <0x0 0x400>;
 			enable-method = "psci";
 			next-level-cache = <&L2_400>;
@@ -156,7 +156,7 @@
 
 		CPU5: cpu@500 {
 			device_type = "cpu";
-			compatible = "arm,armv8";
+			compatible = "qcom,kryo468";
 			reg = <0x0 0x500>;
 			enable-method = "psci";
 			next-level-cache = <&L2_500>;
@@ -170,7 +170,7 @@
 
 		CPU6: cpu@600 {
 			device_type = "cpu";
-			compatible = "arm,armv8";
+			compatible = "qcom,kryo468";
 			reg = <0x0 0x600>;
 			enable-method = "psci";
 			next-level-cache = <&L2_600>;
@@ -184,7 +184,7 @@
 
 		CPU7: cpu@700 {
 			device_type = "cpu";
-			compatible = "arm,armv8";
+			compatible = "qcom,kryo468";
 			reg = <0x0 0x700>;
 			enable-method = "psci";
 			next-level-cache = <&L2_700>;
-- 
2.20.1


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

* Re: [PATCH 1/2] dt-bindings: arm: cpus: Add kryo468 compatible
  2020-03-18  9:08 [PATCH 1/2] dt-bindings: arm: cpus: Add kryo468 compatible Amit Kucheria
  2020-03-18  9:08 ` [PATCH 2/2] arm64: dts: qcom: sc7180: Fix cpu compatible Amit Kucheria
@ 2020-03-18 17:24 ` Stephen Boyd
  2020-03-19  8:32 ` Rajendra Nayak
  2020-03-30 23:05 ` Rob Herring
  3 siblings, 0 replies; 7+ messages in thread
From: Stephen Boyd @ 2020-03-18 17:24 UTC (permalink / raw)
  To: Amit Kucheria, bjorn.andersson, dianders, linux-arm-msm,
	linux-kernel, sibis
  Cc: devicetree

Quoting Amit Kucheria (2020-03-18 02:08:16)
> Kryo468 is found in sc7180, so add it to the list of cpu compatibles
> 
> Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
> ---

Reviewed-by: Stephen Boyd <swboyd@chromium.org>

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

* Re: [PATCH 2/2] arm64: dts: qcom: sc7180: Fix cpu compatible
  2020-03-18  9:08 ` [PATCH 2/2] arm64: dts: qcom: sc7180: Fix cpu compatible Amit Kucheria
@ 2020-03-18 17:24   ` Stephen Boyd
  2020-03-19  8:33   ` Rajendra Nayak
  1 sibling, 0 replies; 7+ messages in thread
From: Stephen Boyd @ 2020-03-18 17:24 UTC (permalink / raw)
  To: Amit Kucheria, Andy Gross, bjorn.andersson, dianders,
	linux-arm-msm, linux-kernel, sibis
  Cc: devicetree

Quoting Amit Kucheria (2020-03-18 02:08:17)
> "arm,armv8" compatible should only be used for software models. Replace
> it with the real cpu type.
> 
> Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
> ---

Maybe add a fixes tag too?

Reviewed-by: Stephen Boyd <swboyd@chromium.org>

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

* Re: [PATCH 1/2] dt-bindings: arm: cpus: Add kryo468 compatible
  2020-03-18  9:08 [PATCH 1/2] dt-bindings: arm: cpus: Add kryo468 compatible Amit Kucheria
  2020-03-18  9:08 ` [PATCH 2/2] arm64: dts: qcom: sc7180: Fix cpu compatible Amit Kucheria
  2020-03-18 17:24 ` [PATCH 1/2] dt-bindings: arm: cpus: Add kryo468 compatible Stephen Boyd
@ 2020-03-19  8:32 ` Rajendra Nayak
  2020-03-30 23:05 ` Rob Herring
  3 siblings, 0 replies; 7+ messages in thread
From: Rajendra Nayak @ 2020-03-19  8:32 UTC (permalink / raw)
  To: Amit Kucheria, linux-kernel, linux-arm-msm, bjorn.andersson,
	sibis, swboyd, dianders
  Cc: devicetree



On 3/18/2020 2:38 PM, Amit Kucheria wrote:
> Kryo468 is found in sc7180, so add it to the list of cpu compatibles
> 
> Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
> ---

Reviewed-by: Rajendra Nayak <rnayak@codeaurora.org>

>   Documentation/devicetree/bindings/arm/cpus.yaml | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml
> index 7a9c3ce2dbef..57408c773b4d 100644
> --- a/Documentation/devicetree/bindings/arm/cpus.yaml
> +++ b/Documentation/devicetree/bindings/arm/cpus.yaml
> @@ -156,6 +156,7 @@ properties:
>         - qcom,krait
>         - qcom,kryo
>         - qcom,kryo385
> +      - qcom,kryo468
>         - qcom,kryo485
>         - qcom,scorpion
>   
> 

-- 
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation

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

* Re: [PATCH 2/2] arm64: dts: qcom: sc7180: Fix cpu compatible
  2020-03-18  9:08 ` [PATCH 2/2] arm64: dts: qcom: sc7180: Fix cpu compatible Amit Kucheria
  2020-03-18 17:24   ` Stephen Boyd
@ 2020-03-19  8:33   ` Rajendra Nayak
  1 sibling, 0 replies; 7+ messages in thread
From: Rajendra Nayak @ 2020-03-19  8:33 UTC (permalink / raw)
  To: Amit Kucheria, linux-kernel, linux-arm-msm, bjorn.andersson,
	sibis, swboyd, dianders, Andy Gross
  Cc: devicetree



On 3/18/2020 2:38 PM, Amit Kucheria wrote:
> "arm,armv8" compatible should only be used for software models. Replace
> it with the real cpu type.
> 
> Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
> ---

Reviewed-by: Rajendra Nayak <rnayak@codeaurora.org>

>   arch/arm64/boot/dts/qcom/sc7180.dtsi | 16 ++++++++--------
>   1 file changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi
> index 8011c5fe2a31..a01dfefd90be 100644
> --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi
> @@ -83,7 +83,7 @@
>   
>   		CPU0: cpu@0 {
>   			device_type = "cpu";
> -			compatible = "arm,armv8";
> +			compatible = "qcom,kryo468";
>   			reg = <0x0 0x0>;
>   			enable-method = "psci";
>   			next-level-cache = <&L2_0>;
> @@ -100,7 +100,7 @@
>   
>   		CPU1: cpu@100 {
>   			device_type = "cpu";
> -			compatible = "arm,armv8";
> +			compatible = "qcom,kryo468";
>   			reg = <0x0 0x100>;
>   			enable-method = "psci";
>   			next-level-cache = <&L2_100>;
> @@ -114,7 +114,7 @@
>   
>   		CPU2: cpu@200 {
>   			device_type = "cpu";
> -			compatible = "arm,armv8";
> +			compatible = "qcom,kryo468";
>   			reg = <0x0 0x200>;
>   			enable-method = "psci";
>   			next-level-cache = <&L2_200>;
> @@ -128,7 +128,7 @@
>   
>   		CPU3: cpu@300 {
>   			device_type = "cpu";
> -			compatible = "arm,armv8";
> +			compatible = "qcom,kryo468";
>   			reg = <0x0 0x300>;
>   			enable-method = "psci";
>   			next-level-cache = <&L2_300>;
> @@ -142,7 +142,7 @@
>   
>   		CPU4: cpu@400 {
>   			device_type = "cpu";
> -			compatible = "arm,armv8";
> +			compatible = "qcom,kryo468";
>   			reg = <0x0 0x400>;
>   			enable-method = "psci";
>   			next-level-cache = <&L2_400>;
> @@ -156,7 +156,7 @@
>   
>   		CPU5: cpu@500 {
>   			device_type = "cpu";
> -			compatible = "arm,armv8";
> +			compatible = "qcom,kryo468";
>   			reg = <0x0 0x500>;
>   			enable-method = "psci";
>   			next-level-cache = <&L2_500>;
> @@ -170,7 +170,7 @@
>   
>   		CPU6: cpu@600 {
>   			device_type = "cpu";
> -			compatible = "arm,armv8";
> +			compatible = "qcom,kryo468";
>   			reg = <0x0 0x600>;
>   			enable-method = "psci";
>   			next-level-cache = <&L2_600>;
> @@ -184,7 +184,7 @@
>   
>   		CPU7: cpu@700 {
>   			device_type = "cpu";
> -			compatible = "arm,armv8";
> +			compatible = "qcom,kryo468";
>   			reg = <0x0 0x700>;
>   			enable-method = "psci";
>   			next-level-cache = <&L2_700>;
> 

-- 
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation

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

* Re: [PATCH 1/2] dt-bindings: arm: cpus: Add kryo468 compatible
  2020-03-18  9:08 [PATCH 1/2] dt-bindings: arm: cpus: Add kryo468 compatible Amit Kucheria
                   ` (2 preceding siblings ...)
  2020-03-19  8:32 ` Rajendra Nayak
@ 2020-03-30 23:05 ` Rob Herring
  3 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2020-03-30 23:05 UTC (permalink / raw)
  To: Amit Kucheria
  Cc: linux-kernel, linux-arm-msm, bjorn.andersson, sibis, swboyd,
	dianders, devicetree

On Wed, 18 Mar 2020 14:38:16 +0530, Amit Kucheria wrote:
> Kryo468 is found in sc7180, so add it to the list of cpu compatibles
> 
> Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
> ---
>  Documentation/devicetree/bindings/arm/cpus.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

Acked-by: Rob Herring <robh@kernel.org>

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

end of thread, other threads:[~2020-03-30 23:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-18  9:08 [PATCH 1/2] dt-bindings: arm: cpus: Add kryo468 compatible Amit Kucheria
2020-03-18  9:08 ` [PATCH 2/2] arm64: dts: qcom: sc7180: Fix cpu compatible Amit Kucheria
2020-03-18 17:24   ` Stephen Boyd
2020-03-19  8:33   ` Rajendra Nayak
2020-03-18 17:24 ` [PATCH 1/2] dt-bindings: arm: cpus: Add kryo468 compatible Stephen Boyd
2020-03-19  8:32 ` Rajendra Nayak
2020-03-30 23:05 ` Rob Herring

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).