From nobody Tue Jun 23 13:22:35 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 04370C433F5 for ; Fri, 4 Mar 2022 12:25:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238727AbiCDMZ4 (ORCPT ); Fri, 4 Mar 2022 07:25:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236434AbiCDMZw (ORCPT ); Fri, 4 Mar 2022 07:25:52 -0500 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D14B1B01B4 for ; Fri, 4 Mar 2022 04:25:04 -0800 (PST) Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id AFEAE3F623 for ; Fri, 4 Mar 2022 12:25:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1646396702; bh=kgcW8NoeEKgqEQpiOeMGrdb/y3sIE8kBcUfOjO129hk=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Uz7AWpXdNx4Yn35whPB6Z1abHFQh4mC18Q6whzBi1mN+hcSoGhJJ8oc3XI6TJg5E0 bm3lYF4llEAb7FVgJgPpXUuHBPrjFWXSXktZLam5He59JH+UXRsHwht4zwL6ciRSNO 11sWe5ahjLl+LR44A49UKjD08ddsItCgrw5wUhPt/i1d+m2NMV5wV099WnuZZ7soJ8 hmPYF4hUICafvD69gK0dyWaIewNW9NE1QALyNVSkcWMj0Vl+ZNHlbecPvWFd8+WYAr ZHMf+E4V7/sDv66A8n5aUaWYwnXUumvq/rjayYPccqZsYDsWEAg3NUYU//fTg+YM3w 9Qrtnyuovz+9Q== Received: by mail-ej1-f69.google.com with SMTP id d7-20020a1709061f4700b006bbf73a7becso4313615ejk.17 for ; Fri, 04 Mar 2022 04:25:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kgcW8NoeEKgqEQpiOeMGrdb/y3sIE8kBcUfOjO129hk=; b=fxiYqE1joC2DIs5hjzogXmuzBbSeFEHFc8zagz5LDjgNN/LugGS04UbQy4AZoegbd9 GlkGw5NX4akOi/2zqkP2naXjWK4RUnmF4rG2yy9suAEXQd/TAt34gQHmT0YIKXPBZZ0v wcUbXeYFMtr/oJo9kBBkoNHt0UvQPSsbwefxARTDvSa4CbRAIPgHCZEm2P8lmyvLwz+v p8uX+d+bR28HACjvfeE0hMPzTfrM4In2Ufn/3TJgnFjYRFz1PSvdyKfn4OtuAl5DnL8q qr7x/Fagvg9h3nNJ8oFbXbzlokF7+nXzp3fSy5QDMfBkNAJcKcm3FULg20XMBXG64sKg gEpw== X-Gm-Message-State: AOAM530oxRg878fm3WfNFVQzdYPXrvsIiiRkRE6gTjswpAmEovXLXCtH MS4AWytfTNNlkfdYl/z0okEOZ5ZS5wP2QSYxtZLWoEr3GGYwwtLUrkTuMRAal4wQYG5qIXku1TX KVtKLIM9uWMNurcZf9Ng1xTWP51DTgQ9c6SGqtwYlUQ== X-Received: by 2002:a17:907:70c1:b0:6ce:78ff:bad4 with SMTP id yk1-20020a17090770c100b006ce78ffbad4mr31164820ejb.68.1646396701950; Fri, 04 Mar 2022 04:25:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJy6Wvt1ALjXyOY5O7427bhp34XMAl6I3Ap8zIOpaKncvQpm4/ZUjYymTNh6SzZvWw89ZXr/bw== X-Received: by 2002:a17:907:70c1:b0:6ce:78ff:bad4 with SMTP id yk1-20020a17090770c100b006ce78ffbad4mr31164791ejb.68.1646396701612; Fri, 04 Mar 2022 04:25:01 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-181-108.adslplus.ch. [188.155.181.108]) by smtp.gmail.com with ESMTPSA id r23-20020aa7da17000000b00415a1431488sm2047368eds.4.2022.03.04.04.25.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Mar 2022 04:25:00 -0800 (PST) From: Krzysztof Kozlowski To: Daniel Lezcano , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH v2 1/4] dt-bindings: timer: exynos4210-mct: describe known hardware and its interrupts Date: Fri, 4 Mar 2022 13:24:21 +0100 Message-Id: <20220304122424.307885-2-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220304122424.307885-1-krzysztof.kozlowski@canonical.com> References: <20220304122424.307885-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Most of the Samsung Exynos SoCs use almost the same Multi-Core Timer block, so only two compatibles were used so far (for Exynos4210 and Exynos4412 flavors) with Exynos4210-one being used in most of the SoCs. However the Exynos4210 flavor actually differs by number of interrupts. Add new compatibles, maintaining backward compatibility with Exynos4210, and constraints for number of interrupts. This allows to exactly match the Exynos MCT hardware. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Alim Akhtar Reviewed-by: Rob Herring --- .../timer/samsung,exynos4210-mct.yaml | 67 ++++++++++++++++++- 1 file changed, 64 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct= .yaml b/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml index f11cbc7ccc14..1584944c7ac4 100644 --- a/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml +++ b/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml @@ -19,9 +19,20 @@ description: |+ =20 properties: compatible: - enum: - - samsung,exynos4210-mct - - samsung,exynos4412-mct + oneOf: + - enum: + - samsung,exynos4210-mct + - samsung,exynos4412-mct + - items: + - enum: + - samsung,exynos3250-mct + - samsung,exynos5250-mct + - samsung,exynos5260-mct + - samsung,exynos5420-mct + - samsung,exynos5433-mct + - samsung,exynos850-mct + - tesla,fsd-mct + - const: samsung,exynos4210-mct =20 clocks: minItems: 2 @@ -63,6 +74,56 @@ required: - interrupts - reg =20 +allOf: + - if: + properties: + compatible: + contains: + const: samsung,exynos3250-mct + then: + properties: + interrupts: + minItems: 8 + maxItems: 8 + + - if: + properties: + compatible: + contains: + const: samsung,exynos5250-mct + then: + properties: + interrupts: + minItems: 6 + maxItems: 6 + + - if: + properties: + compatible: + contains: + enum: + - samsung,exynos5260-mct + - samsung,exynos5420-mct + - samsung,exynos5433-mct + - samsung,exynos850-mct + then: + properties: + interrupts: + minItems: 12 + maxItems: 12 + + - if: + properties: + compatible: + contains: + enum: + - tesla,fsd-mct + then: + properties: + interrupts: + minItems: 16 + maxItems: 16 + additionalProperties: false =20 examples: --=20 2.32.0 From nobody Tue Jun 23 13:22:35 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 364B9C433EF for ; Fri, 4 Mar 2022 12:25:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239203AbiCDM0A (ORCPT ); Fri, 4 Mar 2022 07:26:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237994AbiCDMZx (ORCPT ); Fri, 4 Mar 2022 07:25:53 -0500 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC5611B01B1 for ; Fri, 4 Mar 2022 04:25:05 -0800 (PST) Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id DCCAC3F60D for ; Fri, 4 Mar 2022 12:25:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1646396703; bh=8rZ/otR1F7WKrTMiyMk5wOYz0m0MXO9OQ24s6TpVerE=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=DwHhy6+MPsP1aNRmjIxp8rPI560OReEVAFxq1bdoGMdK5si1DrRboKxrzF9Pw/wln gEQZWkAY/jL8KlQXqc/qxl3l3mv9aM+x79lCT5kRoloz6xKKTHO0mftbIOZpQaLiCZ qKmlffLcSglclaIOIRr1fG4CVDAHMhXLPbdE8dUpYii0vegg+GSGmpfJxgFBZUnqO+ rmmzdyv7hg/Z0gc6EZSxSAF6cM8Q7BXPRTJ9kbXYb/usMO4QF1HKk1FZC7gkYJftxn uP0jNT79K/VFzY23PlLsjps0EqQtOb4h5YggsIV/cw41faNJUAZAcJ2mi7Dvp2GBuC HItU9pUtdYmnA== Received: by mail-ej1-f72.google.com with SMTP id d7-20020a1709061f4700b006bbf73a7becso4313651ejk.17 for ; Fri, 04 Mar 2022 04:25:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8rZ/otR1F7WKrTMiyMk5wOYz0m0MXO9OQ24s6TpVerE=; b=MgcTS0xMIHrjEW8ZOI/XWe8W9OmcEkeNODmFkJtCuTkDG9TLRiZoFwYdHnFM2pn7Xw AS8aBZAuOQrtxMs6+jXBbt4KpgEugSYHBw8e1Vl5GG9pO8EW3PGXbEFLZg4O35PFSXe1 UH5WZBBXRvif81Y8rR3tZNOFvvTIZsB6rXzWEw6hn1BC3E6TicYZ1HcEm/CAB/RA8RTd B6iy5tZbgW619fPLgE1aiEU/L7zZX5n2Z9uiXI+MslVDrvEDirAqcidA8D6EvoE5y3M5 qRAqoLmISOSoHKPne/4Ik+UYuxsTHVkFwPoYR18RzQshRp28uWixCIRsv0ICcxKaa0KD Yk8A== X-Gm-Message-State: AOAM531dJD6uqpCIHfG8JZTBnZYm2xvEJhp9J8LobGcn6NryVxqprYNN onQydRTdCx3TRo2kJmnvEKEAyh2fhnSyl0sCHYdGXuAfXALqq47FVTA+Q042Vt2REa3pY5WabF1 8wCHnDDCJQnDoqvJBwPPMQMmAB0s3BRym9Sq+1Lm2tw== X-Received: by 2002:a17:907:168a:b0:6da:9167:47dc with SMTP id hc10-20020a170907168a00b006da916747dcmr6181641ejc.126.1646396703280; Fri, 04 Mar 2022 04:25:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJxYnlrU15FhMF0oUQPKf5WnMr8bWPH6aPXJDLlecWPFgjllSaff6YzTPQ5Q1kJHCpa0MndoPQ== X-Received: by 2002:a17:907:168a:b0:6da:9167:47dc with SMTP id hc10-20020a170907168a00b006da916747dcmr6181627ejc.126.1646396703104; Fri, 04 Mar 2022 04:25:03 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-181-108.adslplus.ch. [188.155.181.108]) by smtp.gmail.com with ESMTPSA id r23-20020aa7da17000000b00415a1431488sm2047368eds.4.2022.03.04.04.25.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Mar 2022 04:25:02 -0800 (PST) From: Krzysztof Kozlowski To: Daniel Lezcano , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH v2 2/4] ARM: dts: exynos: add a specific compatible to MCT Date: Fri, 4 Mar 2022 13:24:22 +0100 Message-Id: <20220304122424.307885-3-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220304122424.307885-1-krzysztof.kozlowski@canonical.com> References: <20220304122424.307885-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" One compatible is used for the Multi-Core Timer on most of the Samsung Exynos SoCs, which is correct but not specific enough. These MCT blocks have different number of interrupts, so add a second specific compatible to Exynos3250 and all Exynos5 SoCs. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Alim Akhtar --- arch/arm/boot/dts/exynos3250.dtsi | 3 ++- arch/arm/boot/dts/exynos5250.dtsi | 3 ++- arch/arm/boot/dts/exynos5260.dtsi | 3 ++- arch/arm/boot/dts/exynos54xx.dtsi | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos32= 50.dtsi index ae644315855d..41bb421e67c2 100644 --- a/arch/arm/boot/dts/exynos3250.dtsi +++ b/arch/arm/boot/dts/exynos3250.dtsi @@ -269,7 +269,8 @@ gic: interrupt-controller@10481000 { }; =20 timer@10050000 { - compatible =3D "samsung,exynos4210-mct"; + compatible =3D "samsung,exynos3250-mct", + "samsung,exynos4210-mct"; reg =3D <0x10050000 0x800>; interrupts =3D , , diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos52= 50.dtsi index 5baaa7eb71a4..63d1dcf2c55c 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -245,7 +245,8 @@ clock_audss: audss-clock-controller@3810000 { }; =20 timer@101c0000 { - compatible =3D "samsung,exynos4210-mct"; + compatible =3D "samsung,exynos5250-mct", + "samsung,exynos4210-mct"; reg =3D <0x101C0000 0x800>; clocks =3D <&clock CLK_FIN_PLL>, <&clock CLK_MCT>; clock-names =3D "fin_pll", "mct"; diff --git a/arch/arm/boot/dts/exynos5260.dtsi b/arch/arm/boot/dts/exynos52= 60.dtsi index 56271e7c4587..ff1ee409eff3 100644 --- a/arch/arm/boot/dts/exynos5260.dtsi +++ b/arch/arm/boot/dts/exynos5260.dtsi @@ -333,7 +333,8 @@ chipid: chipid@10000000 { }; =20 mct: timer@100b0000 { - compatible =3D "samsung,exynos4210-mct"; + compatible =3D "samsung,exynos5260-mct", + "samsung,exynos4210-mct"; reg =3D <0x100B0000 0x1000>; clocks =3D <&fin_pll>, <&clock_peri PERI_CLK_MCT>; clock-names =3D "fin_pll", "mct"; diff --git a/arch/arm/boot/dts/exynos54xx.dtsi b/arch/arm/boot/dts/exynos54= xx.dtsi index 2ddb7a5f12b3..3ec43761d8b9 100644 --- a/arch/arm/boot/dts/exynos54xx.dtsi +++ b/arch/arm/boot/dts/exynos54xx.dtsi @@ -74,7 +74,8 @@ smp-sram@53000 { }; =20 mct: timer@101c0000 { - compatible =3D "samsung,exynos4210-mct"; + compatible =3D "samsung,exynos5420-mct", + "samsung,exynos4210-mct"; reg =3D <0x101c0000 0xb00>; interrupts-extended =3D <&combiner 23 3>, <&combiner 23 4>, --=20 2.32.0 From nobody Tue Jun 23 13:22:35 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A0540C433EF for ; Fri, 4 Mar 2022 12:25:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239715AbiCDM0H (ORCPT ); Fri, 4 Mar 2022 07:26:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239706AbiCDM0A (ORCPT ); Fri, 4 Mar 2022 07:26:00 -0500 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 523C81B3713 for ; Fri, 4 Mar 2022 04:25:11 -0800 (PST) Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 916A13F611 for ; Fri, 4 Mar 2022 12:25:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1646396708; bh=ro6EmjNQtTARcIDRl9rR+ZuulwNuQEnHoOGAjteVwBA=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=tkZIlbXZg3AfUdEZtIuBd8PiMTEcJxQmVEo5ixFm94YsFxPkmaMssnItc949WUsto 3bO4zFGP3Yowe+G6uJh/hByFCxT34JBf4rxgE8M5r7AX/67Ht56unTmST9ZsdA63lG uK503qyvbJUStw4J21kX9NVQtZnO9c5Onytf49sT/tSoidvHq9AI1ubgoVIOusuHKx bpnAB8odVjPshdeKRBf0fYb0BytEGEzTzzl+UtFqwsTwSRPvVIFTc6fSjZNXrEZEEg F8ewc3ydKR0/eGTYXDMV+KfubmRKRjOUv53g6sebgXRwY95ayahCSr5OU6FwpJqmXC ayxT8k/ocYvqw== Received: by mail-ed1-f70.google.com with SMTP id x22-20020a05640226d600b0041380e16645so4521562edd.8 for ; Fri, 04 Mar 2022 04:25:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ro6EmjNQtTARcIDRl9rR+ZuulwNuQEnHoOGAjteVwBA=; b=T0YohBnYEnv6DN/ku83J6+4uiHdjQsfwq2arh9k+Zot0wJBNikkiZ5p/vmnmjkGvIH lh2QRTHqLOaiUiSdHHIl5ppZDJpYe464ZpFRGUs2R5/4qqb4FvcBjI/SJHhhQHFcgP+u O1jtAIEPYlHljp2UnxmIs0kp5Syjss4MUM0ELmTbQTz5bPyvlATSJEfsY/hChRMz/TAN G48OnlrALSWJLBihCJkCXfmM7kZTDrNyTYrs8sPyZxqUXMWZkI7qBbzbhaNuqD/9sMGy qESLUqouYa/UJKKWfYDvVi2zqjOAByg6rzRTFdKij31FNtnlenAaFIR4Le21F6HSnr0F s5cg== X-Gm-Message-State: AOAM531A9iqCtAH4CaiqMxjuSuA/suaGI7FlpHELLTj2CKYOxfeBSwkL A2PL/pRT3rgGozpBKADvRvsi9Z7VEq7yLOL4QjoZAHeywGWubnMUjUIE7q9kiYL43y+jYnP1rVt X0gTyFwTcKu7RijI+JAWrEdrQ7bNuIT4txUyLuN1R+w== X-Received: by 2002:a17:907:da6:b0:6d6:f8ce:e03 with SMTP id go38-20020a1709070da600b006d6f8ce0e03mr13707466ejc.516.1646396704530; Fri, 04 Mar 2022 04:25:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJx9E5PWp+lrl3OL2lDlQRole/yVnG6bMeI2HXzqoiizpGaQQxWBjhH2J8aOcejstMV3oomogg== X-Received: by 2002:a17:907:da6:b0:6d6:f8ce:e03 with SMTP id go38-20020a1709070da600b006d6f8ce0e03mr13707446ejc.516.1646396704377; Fri, 04 Mar 2022 04:25:04 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-181-108.adslplus.ch. [188.155.181.108]) by smtp.gmail.com with ESMTPSA id r23-20020aa7da17000000b00415a1431488sm2047368eds.4.2022.03.04.04.25.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Mar 2022 04:25:03 -0800 (PST) From: Krzysztof Kozlowski To: Daniel Lezcano , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH v2 3/4] arm64: dts: exynos: add a specific compatible to MCT Date: Fri, 4 Mar 2022 13:24:23 +0100 Message-Id: <20220304122424.307885-4-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220304122424.307885-1-krzysztof.kozlowski@canonical.com> References: <20220304122424.307885-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" One compatible is used for the Multi-Core Timer on most of the Samsung Exynos SoCs, which is correct but not specific enough. These MCT blocks have different number of interrupts, so add a second specific compatible to Exynos5433 and Exynos850. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Alim Akhtar --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 3 ++- arch/arm64/boot/dts/exynos/exynos850.dtsi | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/d= ts/exynos/exynos5433.dtsi index 661567d2dd7a..017ccc2f4650 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -806,7 +806,8 @@ tmu_isp: tmu@1007c000 { }; =20 timer@101c0000 { - compatible =3D "samsung,exynos4210-mct"; + compatible =3D "samsung,exynos5433-mct", + "samsung,exynos4210-mct"; reg =3D <0x101c0000 0x800>; interrupts =3D , , diff --git a/arch/arm64/boot/dts/exynos/exynos850.dtsi b/arch/arm64/boot/dt= s/exynos/exynos850.dtsi index d1700e96fee2..12f7ddc6fd0a 100644 --- a/arch/arm64/boot/dts/exynos/exynos850.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos850.dtsi @@ -181,7 +181,8 @@ chipid@10000000 { }; =20 timer@10040000 { - compatible =3D "samsung,exynos4210-mct"; + compatible =3D "samsung,exynos850-mct", + "samsung,exynos4210-mct"; reg =3D <0x10040000 0x800>; interrupts =3D , , --=20 2.32.0 From nobody Tue Jun 23 13:22:35 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7DFC2C43219 for ; Fri, 4 Mar 2022 12:25:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234479AbiCDM0D (ORCPT ); Fri, 4 Mar 2022 07:26:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233420AbiCDMZy (ORCPT ); Fri, 4 Mar 2022 07:25:54 -0500 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 632301B0BCF for ; Fri, 4 Mar 2022 04:25:07 -0800 (PST) Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 355B23F1C5 for ; Fri, 4 Mar 2022 12:25:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1646396706; bh=sMfVOQVh3QDv09HKuf77ip6IaDuNbDVh/tnxPccjD3M=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=OSiNLVksYhv5BFZYyWz7Z0kz/NKn/mboV6ONJF/avttnv/LglB34ywPTh/xlOuCA1 zXQNGtB6dlkV7ovP8rmL+8ono9GJ4sQTfrbtGZne7WpZEGYcsjcGNMn2+TxXi4JlHK 8rA61suFkKRiZkgewlCQ+8ORtdatiVZ0TLdxBfsRNSOVz73kOSPSqqlr+gd+mpwcVh IhaEXsgJ34l5Ms5YxxZkdzw4YY47w/rHqLwpN7+OsYZVO0NzDql0ZZzwLm6YzfhVCE en3IY63jKPoGsr8U3JkycQmDWNMWW5KrYmQ0PvtULLHt57ibEwKxFmfrKcvrGZw+x2 q+j83C6TgpSYQ== Received: by mail-ed1-f69.google.com with SMTP id o20-20020aa7dd54000000b00413bc19ad08so4508300edw.7 for ; Fri, 04 Mar 2022 04:25:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=sMfVOQVh3QDv09HKuf77ip6IaDuNbDVh/tnxPccjD3M=; b=483kRIHYyv41b5xF74up2ZV6IOeAsoFbrC2FAtMpmZdsSLJpOP4KibzUWlNZTMcKmo 0nl+h7BQwgHYW4yGb4T+MAwNUidHb75Nthqy8RxrYsXH6ixp6PoYgiubybPiKjycxHwE tRTjv/r48hL6HET25IN/86roQzYzvcILmbuZxNPrE8op/euPnUUEpkw6H5mjcHNLsdo0 3fA8l+HzPs+02tYkVIROACCpSqylZBDgn04kqswxGjkXieSsUh4cEoJb9ohqjrgpiMFt 5rK/Pyoy4ASclit50Y50ISBayJHXdC2Hvk9ZA0BzTDrzVYEj8LsVumIqgJvleMfeOap7 gOAA== X-Gm-Message-State: AOAM532lT5k2VSSHTwcduYQbzOJYz+V+noT9DWgEvDVxJ+4C5NhD3k7F Lx3LSAgEO2R+jDh9od4imqs/9iGaQkV1Sy42YY16kbwCxYpm4WfEtuYddOgaS1HF9BlElc0jWqr hBA9ZuvoZT1fTo+CLzkhKC+oOuT5V1Pz1bskUyNGQCw== X-Received: by 2002:aa7:d14f:0:b0:415:cf37:324b with SMTP id r15-20020aa7d14f000000b00415cf37324bmr9098552edo.263.1646396705938; Fri, 04 Mar 2022 04:25:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJzKMSVDmEk/neqIWD4dYZYTA7KTOdHcqfRP178ukkaNKBBjSxa1rHQ9JAwE06E9Efaict8Eiw== X-Received: by 2002:aa7:d14f:0:b0:415:cf37:324b with SMTP id r15-20020aa7d14f000000b00415cf37324bmr9098533edo.263.1646396705766; Fri, 04 Mar 2022 04:25:05 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-181-108.adslplus.ch. [188.155.181.108]) by smtp.gmail.com with ESMTPSA id r23-20020aa7da17000000b00415a1431488sm2047368eds.4.2022.03.04.04.25.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Mar 2022 04:25:05 -0800 (PST) From: Krzysztof Kozlowski To: Daniel Lezcano , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH v2 4/4] arm64: dts: tesla: add a specific compatible to MCT on FSD Date: Fri, 4 Mar 2022 13:24:24 +0100 Message-Id: <20220304122424.307885-5-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220304122424.307885-1-krzysztof.kozlowski@canonical.com> References: <20220304122424.307885-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" One compatible is used for the Multi-Core Timer on Tesla FSD SoC, which is correct but not specific enough. The MCT blocks have different number of interrupts, so add a second specific compatible to Tesla FSD. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Alim Akhtar --- arch/arm64/boot/dts/tesla/fsd.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/tesla/fsd.dtsi b/arch/arm64/boot/dts/tesla= /fsd.dtsi index 9a652abcbcac..10c217a57a7d 100644 --- a/arch/arm64/boot/dts/tesla/fsd.dtsi +++ b/arch/arm64/boot/dts/tesla/fsd.dtsi @@ -727,7 +727,7 @@ spi_2: spi@14160000 { }; =20 timer@10040000 { - compatible =3D "samsung,exynos4210-mct"; + compatible =3D "tesla,fsd-mct", "samsung,exynos4210-mct"; reg =3D <0x0 0x10040000 0x0 0x800>; interrupts =3D , , --=20 2.32.0