From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 056DDC433EF for ; Tue, 12 Apr 2022 09:02:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=rmkcH/Rdl2gdwye3ZL/3poI97pjLcVYs6oQGwmdOSEA=; b=HSw+tT5c9LRwJt NKD2p1tm4f6+MhH45EogEPjOvbTY321GVJ6RPVkPwlHXd8S8rc/MhUG2QS6ytRd+l4T2U3/pC80Vq vdhtYE+KINcNGTXmECsShAhAFqz4Mf+uuKfh2eAXgtN9lvETabQqJOOBKCU0XQFL8XyrzCXSLxJSq uv7bOjWyMggB4JRtz0dM3HpVwqfVSHMmqBRbCh8KgCfY/F5SNzjDw9shSnNrO51n/xVgHDS8N6Hst pxiVtDbX+sf9w0dtjiJli4cWKwei4HW87q1+eMKypkjo1VLqCQ+PPBzeJpesolVJi5xyPFSabK6zp VVVuCAEyHVaLEZVwwGBA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1neCOZ-00CkuZ-8e; Tue, 12 Apr 2022 09:01:07 +0000 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1neCOR-00Ckq7-VV for linux-arm-kernel@lists.infradead.org; Tue, 12 Apr 2022 09:01:05 +0000 Received: by mail-ej1-x634.google.com with SMTP id s18so13510454ejr.0 for ; Tue, 12 Apr 2022 02:00:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=+RIKl9qWM3M6+J1iZ1YqrZZKm7+7GiKis/oEh6MmLLI=; b=iFcddDhU04FA9QotxDH04NLwV+JoUSATF1jdNc6z/JCmb8CxuYAN/5JrdhXmt2pSnP iscYA4JVVoP57d5x9Oc0fhNxO4HSIyhMt5VZsP01D7V7qWZhKA4czrWExVUm4AyCSmBc fo91qKBj5KbwzfkTA+v2ZVUCMV2FxZOEjaXYvkHVdAxsV1W8x9CmFV+foBcNsrbo/taB tuQsDHoVRlrlrm7RqWJE14PmSxHIaV46jZS86Q38v9M8KPzdDgEI6m3dhv+7quoOR+Kf /y4nalFFpowbmvtO13KqE+3XritUnU9G7JajxW98uxeD9d+DLbFfZF6C4B4L1rSv2FdX cqyQ== 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:cc:references:from:in-reply-to :content-transfer-encoding; bh=+RIKl9qWM3M6+J1iZ1YqrZZKm7+7GiKis/oEh6MmLLI=; b=6i+22rK162ISyvRNTer4m2WS86yKmc7nz9dJxXRV+OYC7lbeiIJp28hobndEISLwkg fe1XOgcw9/n00dbXAY/PmVFgtborCOs5jVBdL5LKjHlkEKdrLh9CuiEZycPpyarJhruW KgYpHizMY32lxOae0NYrwA3XA4PJxXlVvSOrtjjywEYLtZBEptQsEJBLR3+w3c+tlC37 B0EGvZM8pQ8J97cDCb6RP5CEUILVjdpmkdBjwB7CmW2XOUB+alKQQ0xhJpp4CywqVPjj tVx+KcPb+t7LwYXw5/JdZod0uXDQIrVpU7zMoeTzrEMi72XDbA7QYdbqIZSPaj1tp5ff RyVg== X-Gm-Message-State: AOAM532QJ7hAWSdoroVqpGMj0R4kpR+Yc2hsACbdHzceTGkbiGJSfgJu 9VkBhSCqX1I8UObeU6nH2JR11gvVBBzB0XA+ X-Google-Smtp-Source: ABdhPJw6i3XMkUE2++p+HzcLbPrBel/BYSuUENRohHrLz2IzEC89n5KJaIN+OM8MX1+1ss8Rf20a0Q== X-Received: by 2002:a17:907:724b:b0:6e8:a44:4691 with SMTP id ds11-20020a170907724b00b006e80a444691mr33583698ejc.453.1649754051940; Tue, 12 Apr 2022 02:00:51 -0700 (PDT) Received: from [192.168.0.194] (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id h7-20020a50cf87000000b0041b7bd52e1fsm16798837edk.78.2022.04.12.02.00.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 Apr 2022 02:00:51 -0700 (PDT) Message-ID: <3f3ec103-a7d8-b56d-afff-94a0379dffec@linaro.org> Date: Tue, 12 Apr 2022 11:00:50 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH 1/2] dt-bindings: timer: Update TI timer to yaml Content-Language: en-US To: Tony Lindgren , Rob Herring , Krzysztof Kozlowski Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, Daniel Lezcano , Keerthy , Nishanth Menon , Vignesh Raghavendra References: <20220411111858.16814-1-tony@atomide.com> From: Krzysztof Kozlowski In-Reply-To: <20220411111858.16814-1-tony@atomide.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220412_020100_084576_CE91B602 X-CRM114-Status: GOOD ( 16.78 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 11/04/2022 13:18, Tony Lindgren wrote: > Let's update the TI timer binding to use yaml. As this binding is specific > to the TI dual-mode timers also known as dm-timers, let's use file name > ti,timer-dm.yaml to avoid confusion with other timers. > > We also correct the issue with the old binding that was out of date for > several properties. > > The am43 related timers are undocumented, but compatible with the am3 > timers. Let's add the am43 timers too. > > The dm814 and dm816 timers are missing, let's add them. > > Some timers on some SoCs are dual mapped, like the ABE timers on omap4 > and 5. The reg property maxItems must be updated to 2. (...) > + reg: > + minItems: 1 > + maxItems: 2 > + description: Timer IO register range > + Apart from what Grygorii said, it would be useful if you add "if:then:" case constraining it per implementation (as I understood from commit msg only some use double mapping). This looks like: https://elixir.bootlin.com/linux/v5.18-rc2/source/Documentation/devicetree/bindings/clock/samsung,exynos7885-clock.yaml#L53 Similarly should be done for clocks, unless it's impossible (same compatible uses different setups of clocks). BTW, it's a bit confusing it is not a v2... Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel