Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2067733pxm; Fri, 4 Mar 2022 08:49:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJw5E5yOu577ZmMBRcJ4Se2rkkh1yn2Pika2MY+thwl44kV1BdrYcuG5EuSz0i9zh0xFfbk7 X-Received: by 2002:aa7:d708:0:b0:416:67d:5e07 with SMTP id t8-20020aa7d708000000b00416067d5e07mr2691898edq.166.1646412568422; Fri, 04 Mar 2022 08:49:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646412568; cv=none; d=google.com; s=arc-20160816; b=bgmkhCKKGA+3aQToqPpZV46R9vUQwlrHa1QOQZIlBXJYnTwbraA6kLNBLTXG8+8mUq 6Cd0c/SLrv7748FfxrN8FoEb8MIpKsMXuHk2M9rmcb8kjXVuaT2BqAsb8lJX4lAid6vJ VHC/DcsJQfR1EOY0MkdzqTnf3Igr5it1DDk07pWrr5TvjcAtNjwtfJDUPcDfiLyhrs2k M7M9QTmJEqAi7KE/X8CgnxIcIDfE1fdm2WovUmjpNyUZewVL4jTSfF6+ZJIZKAIwdIgb dOyK1yq7HEB28+IOQcWUUWaqGlPXz4ub9nG67tVVvF453XdHuPaYuZjASZQEBHqES5fY Ej4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type:content-language :thread-index:content-transfer-encoding:mime-version:message-id:date :subject:in-reply-to:to:from:dkim-signature:dkim-filter; bh=IqjGG5gTAEe8MAFYqpzVbmWNZh7XqdnqmK39BGPv7iA=; b=KrRf6fDNprLAujIcHRdlEUbG3newQ661e6sV5EFUZbD7nTu+7DL+r7f1yAnA9wpg0m DYDEouGofFHjHvGv9cKzHrJtz0r/MedxfWvDraQvt1KAPZq1tobrpL0uyJhgjBenbC1q Zqww6dLFbQ116k8sGYX4wzQwfONGLLzoJtCHyzZ208x9mNduoW7X4AkHkAnkWJesQZDn YxmsIk52gXBP+vOaGv2XIF7bg+fJcFWgPzT/femWa0BmkQ3LsOMbIj/4rgB4dhOh6snc fjVDf4e0mFd75SdPNC+ghIsoh3mbjgmKt7Vdy5UWdnXzCxWzvc4mGy5ZXtoi6bK6v5cp iJsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=jsVVDBc1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f26-20020a50d55a000000b00415a5eb81e3si3476919edj.164.2022.03.04.08.49.04; Fri, 04 Mar 2022 08:49:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=jsVVDBc1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238025AbiCDKxW (ORCPT + 99 others); Fri, 4 Mar 2022 05:53:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232778AbiCDKxU (ORCPT ); Fri, 4 Mar 2022 05:53:20 -0500 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BB182C120 for ; Fri, 4 Mar 2022 02:52:30 -0800 (PST) Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20220304105224epoutp0385d13cd7f56cc0ce3cae010c95f4f3e6~ZKAXpQl_Q2658626586epoutp03f for ; Fri, 4 Mar 2022 10:52:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20220304105224epoutp0385d13cd7f56cc0ce3cae010c95f4f3e6~ZKAXpQl_Q2658626586epoutp03f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1646391144; bh=IqjGG5gTAEe8MAFYqpzVbmWNZh7XqdnqmK39BGPv7iA=; h=From:To:In-Reply-To:Subject:Date:References:From; b=jsVVDBc1Ghqu1wwiAToFsc34ZtbZpcrGf0I0uMHwp0TLjeHjnPcTbcHp5C4j/giAU PJRtMp2ma4VMilBStBpTCoQfDdN8VqDtlnia1YSfKBSgvIy/wbASKjaPGU3uCMCvl0 DZ1cPusFz2BuQ8lQ6TstGJ4ma+pNBQTj8OjRKDek= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20220304105224epcas5p27f971c1f2927d860aa1ac26eb706b93f~ZKAXNZENN2471624716epcas5p2j; Fri, 4 Mar 2022 10:52:24 +0000 (GMT) Received: from epsmges5p2new.samsung.com (unknown [182.195.38.178]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4K94S16Dl7z4x9QP; Fri, 4 Mar 2022 10:52:17 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 25.A5.46822.13DE1226; Fri, 4 Mar 2022 19:42:57 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPA id 20220304105203epcas5p4bad72af5c65a394c985594d27d43aa22~ZKADziS8w2870828708epcas5p4R; Fri, 4 Mar 2022 10:52:03 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20220304105203epsmtrp247d5aa702c85b46d3bc702d30562b9d4~ZKADyzdtg1618816188epsmtrp2V; Fri, 4 Mar 2022 10:52:03 +0000 (GMT) X-AuditID: b6c32a4a-dfbff7000000b6e6-64-6221ed31969a Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 96.06.29871.35FE1226; Fri, 4 Mar 2022 19:52:03 +0900 (KST) Received: from alimakhtar03 (unknown [107.122.12.5]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20220304105201epsmtip2362eb481517d156b079bb5fce9e31ab3~ZKACi83JK2530825308epsmtip2y; Fri, 4 Mar 2022 10:52:01 +0000 (GMT) From: "Alim Akhtar" To: "'Krzysztof Kozlowski'" , "'Daniel Lezcano'" , "'Thomas Gleixner'" , "'Rob Herring'" , , , , In-Reply-To: <20220225153650.289923-1-krzysztof.kozlowski@canonical.com> Subject: RE: [PATCH 1/3] dt-bindings: timer: exynos4210-mct: describe known hardware and its interrupts Date: Fri, 4 Mar 2022 16:22:00 +0530 Message-ID: <000001d82fb5$e1c43d30$a54cb790$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQAsgU4oHbexaMbuAER6VWMFWIAhCQJxTl5cr/LdYGA= Content-Language: en-us X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrMJsWRmVeSWpSXmKPExsWy7bCmhq7hW8Ukg4snNCzmfZa1mH/kHKvF xrc/mCw2Pb7GanF51xw2ixnn9zFZtO49wm6xedNUZgcOj1kNvWwem1Z1snncubaHzePduXPs HpuX1Ht83iQXwBaVbZORmpiSWqSQmpecn5KZl26r5B0c7xxvamZgqGtoaWGupJCXmJtqq+Ti E6DrlpkDdI6SQlliTilQKCCxuFhJ386mKL+0JFUhI7+4xFYptSAlp8CkQK84Mbe4NC9dLy+1 x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azD9yjtVi 49sfTBabHl9jtbi8aw6bxYzz+5gsWvceYbfYvGkqswOHx6yGXjaPTas62TzuXNvD5vHu3Dl2 j81L6j0+b5ILYIvisklJzcksSy3St0vgyujZfYGt4IlUxfuHVg2Mr4W7GDk5JARMJHrn7mPt YuTiEBLYzSjxeeFmNoiEtMT1jRPYIWxhiZX/nrNDFD1nlNi0qJERJMEmoCuxY3EbG0hCROAG k8T0AzeZIKpmMkp07v4NNopTwEPi9Lo2MFtYIF3i4s1/YN0sAioS65+sBLN5BSwlLrQtYYOw BSVOznzC0sXIwcEsoCfRthGshFlAXmL72znMEBcpSPx8uowVxBYRsJJYeuQpO0SNuMTLo0fY JzAKzUIyaRbCpFlIJs1C0rGAkWUVo2RqQXFuem6xYYFhXmq5XnFibnFpXrpecn7uJkZwFGlp 7mDcvuqD3iFGJg7GQ4wSHMxKIryWmgpJQrwpiZVVqUX58UWlOanFhxilOViUxHkvdJ2MFxJI TyxJzU5NLUgtgskycXBKNTDVOasGL3BfoyPfobLxQInAHp57haYXbtiZLBQODfNS0J8dd/3r 7DXMisd5toackhY4e9Z7qcoU9h4Bs801u97cDFjceHfZXa/v73q3vBW6IJDOwPrar3aeVn3S 18P+TSX9Ww9+2Hg94/2MrVXhVoEng84uZFF4c6rSmXvxJN78uRYXXLerZB+Q9O5IveTkt8Fa 5cCff5P8c5fercv/Y8a2bBHzn+dX/rSGGO+rcIh+3uS7ozbSx8B649RW+//X81lVjb3qXz/8 tiStJLNdW/PUlaJ6txPv1PJDDrrN3rD4fOq9txeez5iy+HF5V/NDOX1t1+kTtxrt0/r+vaN8 9ssLgaz7fe8nLVgo8lZm7n5uJZbijERDLeai4kQAxhTn8hEDAAA= X-CMS-MailID: 20220304105203epcas5p4bad72af5c65a394c985594d27d43aa22 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220225180401epcas5p35d6c09ca6da36289d66d1bb0dcdeffa1 References: <20220225153650.289923-1-krzysztof.kozlowski@canonical.com> X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Krzysztof >-----Original Message----- >From: Krzysztof Kozlowski [mailto:krzysztof.kozlowski@canonical.com] >Sent: Friday, February 25, 2022 9:07 PM >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 1/3] dt-bindings: timer: exynos4210-mct: describe known >hardware and its interrupts > >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 >--- > .../timer/samsung,exynos4210-mct.yaml | 55 ++++++++++++++++++- > 1 file changed, 52 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..d4e23fd7a1da 100644 >--- a/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml >+++ b/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yam >+++ l >@@ -19,9 +19,20 @@ description: |+ > > 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 > > clocks: > minItems: 2 >@@ -63,6 +74,44 @@ required: > - interrupts > - reg > >+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 >+ Probably you can update the list for tesla,fsd-mct as well in this patch (as the support was added recently) > additionalProperties: false > > examples: >-- >2.32.0