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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0CA48C433EF for ; Thu, 26 May 2022 12:55:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239159AbiEZMzY (ORCPT ); Thu, 26 May 2022 08:55:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232788AbiEZMzX (ORCPT ); Thu, 26 May 2022 08:55:23 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E121BC5E7F for ; Thu, 26 May 2022 05:55:21 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id m20so2766738ejj.10 for ; Thu, 26 May 2022 05:55:21 -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=Q24sEXXOlHbNwb2JNgFc94OvkMDGhXGTzSABCENwbRQ=; b=OXThtNLNIBn6bqIOPkWrBFUPCmgl2W83DORjDnLgq3KHw7gSI72C2UhrE1nme7MWIH A0QfkPoAA+pKiTi8kIVLlusyvYGsmeeht4+yTaXLw0zKXu+WwXoIJwr7Q+DlwNhdsLtk DMAcdNCNADZZbsnmek+A3k5wB7Lmt2GVUSLx9JKRS370gTCxg7WSMfKa3SUf7IuM3F1s qq/DdX4YPRq7u90/eyqFpPWRWmq8BHGUi238qx34/pzoM+yvVNK7ScKU4EvjMNDevF+y akJW+6oCQI3QUu18Pd4d9IQbMCrb3Z+5jAdaMy7Lhd8VZMGPymUxCdkbxN/1se/u432l gPoA== 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=Q24sEXXOlHbNwb2JNgFc94OvkMDGhXGTzSABCENwbRQ=; b=g4zCiHVVDVi4f18Pco5JWtahF66xQAps2IUIqW0AteM2d3OIUyl6tbFD3vr9xKy/I0 FBwvPqbJoetkyQXHi4lrj6fcHEnrLrEPZma0zR9kFJ401AhYxKqWR7z/V2oqJvIy1jOk nF3S06drDEjHsLgVHBJf7YS4nrAxonOP2nfRqfmJuOBHZGFmf5tAZiNizAmyWD5Gt+Ch SObcY3DQeNjd0GDmYtxEAopXC8CPRFKXhy/iaB94kq9p3yl4sSLdhRq5Dw86QaDRg2Uv Y+jW70NhQWb0sT7dl10XX4nc5v9DhZ25TYJkcb+ZQyviertyn4Sd07QEOG1CyPK/spqf Un8Q== X-Gm-Message-State: AOAM532NGfhSJcquRizDEmpp9c21FynucW88XTjUy216gJ8dfl/RKnwq PpTETWFbo2T/Hl7avZro11vMeQ== X-Google-Smtp-Source: ABdhPJygxjL9fVe78CtWE/3ytXhy8QpDt01K9rkkV5khnoGcT0zyPwzllMINpqilDHnDXQy10Z+UAQ== X-Received: by 2002:a17:906:ca4c:b0:6fe:a6eb:bd0e with SMTP id jx12-20020a170906ca4c00b006fea6ebbd0emr27378170ejb.530.1653569720446; Thu, 26 May 2022 05:55:20 -0700 (PDT) Received: from [192.168.0.177] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id ja10-20020a170907988a00b006f3ef214e28sm503041ejc.142.2022.05.26.05.55.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 May 2022 05:55:20 -0700 (PDT) Message-ID: Date: Thu, 26 May 2022 14:55:19 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH V4 1/2] dt-bindings: rtc: zynqmp: Add clock information Content-Language: en-US To: Srinivas Neeli , a.zummo@towertech.it, alexandre.belloni@bootlin.com, robh+dt@kernel.org, michal.simek@xilinx.com, sgoud@xilinx.com, shubhraj@xilinx.com Cc: krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, linux-rtc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, git@xilinx.com References: <20220524122050.48553-1-srinivas.neeli@xilinx.com> From: Krzysztof Kozlowski In-Reply-To: <20220524122050.48553-1-srinivas.neeli@xilinx.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-rtc@vger.kernel.org On 24/05/2022 14:20, Srinivas Neeli wrote: > Added clock information and deprecated calibration support. > > Signed-off-by: Srinivas Neeli > --- > Changes in V4: > - Deprecated calibrtion support > Changes in V3: > - New patch > --- > .../devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml b/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml > index bdb72d3ddf2a..de617707854e 100644 > --- a/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml > +++ b/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml > @@ -23,6 +23,14 @@ properties: > reg: > maxItems: 1 > > + clocks: > + items: > + - description: rtc_clk is the operating frequency of crystal. > + > + clock-names: > + items: > + - const: "rtc_clk" No quotes, no "clk" suffix. Actually entire entry is not needed, so just "clocks" is enough. > + > interrupts: > minItems: 2 > > @@ -39,6 +47,7 @@ properties: > minimum: 0x1 > maximum: 0x1FFFFF > default: 0x198233 > + deprecated: true > > required: > - compatible > @@ -61,5 +70,7 @@ examples: > interrupts = <0 26 4>, <0 27 4>; > interrupt-names = "alarm", "sec"; > calibration = <0x198233>; > + clock-names = "rtc_clk"; > + clocks = <&rtc_clk>; > }; > }; Best regards, Krzysztof