Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2215642pxm; Fri, 4 Mar 2022 11:34:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJwZhBMTNCf9Vf1ZdqRfZ/gOfPUDJjLXLDpcMZ+N2rv/xgMqmPGbovnsrXaWjM3+AE2LHrxy X-Received: by 2002:a05:6a00:b52:b0:4f0:ff67:413 with SMTP id p18-20020a056a000b5200b004f0ff670413mr239186pfo.61.1646422443024; Fri, 04 Mar 2022 11:34:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646422443; cv=none; d=google.com; s=arc-20160816; b=BCuQbLEYP1LVzTq12NLMD9wKxfc4DdJKbN/jYSjRCmLZXx8tmibW4AxhZUG75m6zjk rPQxeQZmBKbcsGLdiGoZ0LeLMIAmjrH4gXZS/b14miNG7qDuKzBDYi0pY4pmgMT+nS+H 1igpySzZkNawjkHnASSilS17iXGWR4QRdX1uhJu1RENM1GSY7qjESS7FBXI925OomxtO df2uAexfQm7XOp+mgC3s4T6uLcdfU4pNuzS9FdX027sCZgznbqStW8sVZMlxYfg0e+xp 9dtTd11s2++N1gYpOcJx8Py7o+GTVfePs45vjnqVFKn9tAG0PEPjf1RlqYHSykpdAfFb h5BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=ziDoTWrhgvxfoiTtoB+eoixvqTIbKaiUmLJOIQUx+fo=; b=xky40DbA2mOfF1QI28b4jOSY3V3SaYooxplIrFsviRtrttiRwWUc5vUuuJ0fxxKRrz X4Od/oL0VR0p1sqncetbnN0rTjWFlLEoUTGT+zVmwsSlpYVX6PNB0HIZYJOQxs+0Gxrg 4eVAjfWU/X8GHiBoKaU+Fz9fzcwQgZGEczIQl9aG7QrqwOPQRamnvSgs9eaiqA6MdM63 Sfk4IRmY7l8kPJaSDxd+UT35Dyx9iQJ8S6mfemWQ22QHg73tjFBGPs6bthvqKWvAaKgP RsIy7DM/DI8jW7fL6eYFD3E45K8AVBHvrv5gVgrHY7W/N8Q/hiy9UEQudgsbHhJJz+i2 i40w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=I+3RZGrT; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id j186-20020a638bc3000000b0037c97ad19d7si2238268pge.737.2022.03.04.11.34.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Mar 2022 11:34:03 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=I+3RZGrT; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D45594AE10; Fri, 4 Mar 2022 11:12:52 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239653AbiCDMDq (ORCPT + 99 others); Fri, 4 Mar 2022 07:03:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239622AbiCDMDn (ORCPT ); Fri, 4 Mar 2022 07:03:43 -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 3836F70905 for ; Fri, 4 Mar 2022 04:02:56 -0800 (PST) Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.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 16DA83F5F9 for ; Fri, 4 Mar 2022 12:02:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1646395375; bh=ziDoTWrhgvxfoiTtoB+eoixvqTIbKaiUmLJOIQUx+fo=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=I+3RZGrTULSPwtuCy4UEElWweXvvSMpzlkzX0WzJFmvOdjcNy/1w3mw6noE7GREvG pvvcDZBAhrR89fOyx8/plg/7YPmoweWznNtIItaILHATxFRUisYVl2/DOiBFsnRsCP FaRr4g1zf0XEX5P2LEsgjyVkmUDlaIBAd7RA7QrvHzulKNoP44Vr2c3/LapsgXY0/8 66wSr/Wd9lJMbFdMgMmjdBm3RQcii3MzuctMdJ3CtcxAFj1RTf7ThmuUFQbBOcZ6KI wNi6y9BTW41yYhSy+Rs/xYqsBtilpEfkjzOsPOnWiXHU5vKlbDOnTp//nuv650AjRO 9Tq5SOkeGnedg== Received: by mail-ej1-f70.google.com with SMTP id l24-20020a170906a41800b006da873d66b6so3036145ejz.3 for ; Fri, 04 Mar 2022 04:02:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=ziDoTWrhgvxfoiTtoB+eoixvqTIbKaiUmLJOIQUx+fo=; b=mHUYNcSA6TLYHoFXpRER612sjQyY+CgL2RJHw/jT+PA/uMzddqwqRe7JVAz3HYtYdQ ikjW1w3ytJsfKpOBEWBJiue9Y+R+J4oVdDNTvx2Q0m7efjJ5aviqDmIfOSdXdvQ0MXXX oUjxR3FglEd8E7Ha5yOHSxr/DGdwUrUAKiJXqFEpPmH3gGusnIJ+Tu8ha3Zz34qZZq4C KuEsXsDoqjxv1lW+0P8kb/ehvIwOG1bvsKlPejCirnOyJljo2iteZN3J0xmckfdOMon7 +sgaJswGsSA/IjJX+cnad99o+VMYTyZrouXt2f8olO2EE2DZqngRjeILDYunYJ9yjdgO 2xGA== X-Gm-Message-State: AOAM530HFpmWFWvYnk7Vde8EKpMD2hW1nxfk0Rig0WzHhEroKz+6ymBd Mn9vWmqIIFUIIlnR2rhH+eZHX10HDPxlxF4/ke3iu1JhkV0dCKTf7REGbd1j8sCprpvc6UYK8jM KdYdtkICOclRKjgHhwPFG/06Uj5Lqz5R6IE1k9bzeHw== X-Received: by 2002:a17:907:97c7:b0:6da:b3ba:6d9f with SMTP id js7-20020a17090797c700b006dab3ba6d9fmr2930517ejc.256.1646395374218; Fri, 04 Mar 2022 04:02:54 -0800 (PST) X-Received: by 2002:a17:907:97c7:b0:6da:b3ba:6d9f with SMTP id js7-20020a17090797c700b006dab3ba6d9fmr2930492ejc.256.1646395373957; Fri, 04 Mar 2022 04:02:53 -0800 (PST) Received: from [192.168.0.138] (xdsl-188-155-181-108.adslplus.ch. [188.155.181.108]) by smtp.gmail.com with ESMTPSA id c14-20020a170906340e00b006ce98f2581asm1651796ejb.205.2022.03.04.04.02.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Mar 2022 04:02:53 -0800 (PST) Message-ID: <3c71e9af-b1f1-4954-b09f-9dc4d68844f3@canonical.com> Date: Fri, 4 Mar 2022 13:02:52 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 1/3] dt-bindings: timer: exynos4210-mct: describe known hardware and its interrupts Content-Language: en-US To: Alim Akhtar , 'Daniel Lezcano' , 'Thomas Gleixner' , 'Rob Herring' , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org References: <20220225153650.289923-1-krzysztof.kozlowski@canonical.com> <000001d82fb5$e1c43d30$a54cb790$@samsung.com> From: Krzysztof Kozlowski In-Reply-To: <000001d82fb5$e1c43d30$a54cb790$@samsung.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, 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 On 04/03/2022 11:52, Alim Akhtar wrote: > 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) Right. Best regards, Krzysztof