diff mbox series

ARM: dts: exynos: fix MCT compatible in Universal C210

Message ID 20230221161653.56574-1-krzysztof.kozlowski@linaro.org (mailing list archive)
State Accepted
Headers show
Series ARM: dts: exynos: fix MCT compatible in Universal C210 | expand

Commit Message

Krzysztof Kozlowski Feb. 21, 2023, 4:16 p.m. UTC
When desired, nodes should be disabled instead of changing their
compatible to a fake one:

  exynos4210-universal_c210.dtb: /soc/timer@10050000: failed to match any schema with compatible: ['none']

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/arm/boot/dts/exynos4210-universal_c210.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alim Akhtar Feb. 21, 2023, 5:21 p.m. UTC | #1
> -----Original Message-----
> From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Sent: Tuesday, February 21, 2023 9:47 PM
> To: Rob Herring <robh+dt@kernel.org>; Krzysztof Kozlowski
> <krzysztof.kozlowski+dt@linaro.org>; Alim Akhtar
> <alim.akhtar@samsung.com>; devicetree@vger.kernel.org; linux-arm-
> kernel@lists.infradead.org; linux-samsung-soc@vger.kernel.org; linux-
> kernel@vger.kernel.org
> Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Subject: [PATCH] ARM: dts: exynos: fix MCT compatible in Universal C210
> 
> When desired, nodes should be disabled instead of changing their
> compatible to a fake one:
> 
>   exynos4210-universal_c210.dtb: /soc/timer@10050000: failed to match any
> schema with compatible: ['none']
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
Thanks!
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>

>  arch/arm/boot/dts/exynos4210-universal_c210.dts | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/exynos4210-universal_c210.dts
> b/arch/arm/boot/dts/exynos4210-universal_c210.dts
> index 20840bd0d062..1acaa6dced99 100644
> --- a/arch/arm/boot/dts/exynos4210-universal_c210.dts
> +++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts
> @@ -513,7 +513,7 @@ &i2c_8 {
>  };
> 
>  &mct {
> -	compatible = "none";
> +	status = "disabled";
>  };
> 
>  &mdma1 {
> --
> 2.34.1
Marek Szyprowski Feb. 21, 2023, 10:43 p.m. UTC | #2
On 21.02.2023 17:16, Krzysztof Kozlowski wrote:
> When desired, nodes should be disabled instead of changing their
> compatible to a fake one:
>
>    exynos4210-universal_c210.dtb: /soc/timer@10050000: failed to match any schema with compatible: ['none']
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
> ---
>   arch/arm/boot/dts/exynos4210-universal_c210.dts | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/exynos4210-universal_c210.dts b/arch/arm/boot/dts/exynos4210-universal_c210.dts
> index 20840bd0d062..1acaa6dced99 100644
> --- a/arch/arm/boot/dts/exynos4210-universal_c210.dts
> +++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts
> @@ -513,7 +513,7 @@ &i2c_8 {
>   };
>   
>   &mct {
> -	compatible = "none";
> +	status = "disabled";
>   };
>   
>   &mdma1 {

Best regards
Krzysztof Kozlowski March 12, 2023, 5:05 p.m. UTC | #3
On Tue, 21 Feb 2023 17:16:53 +0100, Krzysztof Kozlowski wrote:
> When desired, nodes should be disabled instead of changing their
> compatible to a fake one:
> 
>   exynos4210-universal_c210.dtb: /soc/timer@10050000: failed to match any schema with compatible: ['none']
> 
> 

Applied, thanks!

[1/1] ARM: dts: exynos: fix MCT compatible in Universal C210
      https://git.kernel.org/krzk/linux/c/0e84f3493a37d50f2f629dbea670135b8a8ee391

Best regards,
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/exynos4210-universal_c210.dts b/arch/arm/boot/dts/exynos4210-universal_c210.dts
index 20840bd0d062..1acaa6dced99 100644
--- a/arch/arm/boot/dts/exynos4210-universal_c210.dts
+++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts
@@ -513,7 +513,7 @@  &i2c_8 {
 };
 
 &mct {
-	compatible = "none";
+	status = "disabled";
 };
 
 &mdma1 {