Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1176225rwi; Thu, 20 Oct 2022 09:27:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6Euaqj7tV0RZPxJhkPdjuZ61XTB7TKoCNlrYJHtdSHXlJNEYlzGyQ22q3n6tUgAKlsnf3t X-Received: by 2002:a17:906:794b:b0:790:2dc7:3115 with SMTP id l11-20020a170906794b00b007902dc73115mr11825790ejo.3.1666283279164; Thu, 20 Oct 2022 09:27:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666283279; cv=none; d=google.com; s=arc-20160816; b=x66doDvzgmN7mNSRkWWGy2t7VYf97G4wdkoZco5QzR83XRXxBy9yRFP09QXpbfu+NI t7hBNwdTC+q+jjR5mAjyH82hFDll7HLwy0Nm/gJ5NPIMsC6NhwSvNagmUW3tM4OxHVTY GtFJtpHPtB7Px1o9vbG1nt42BPX9GSXkfo2yg+dY7pCSwVZQz6wcSR7HUAo6xU78H424 5Zn0cLIbibjPvqUBm36u/6bMD0o8f9APWqzGDwG1sNpTQd7Adjeg3Tv3InPkAboc60ZY kkCaodDaTW2ayxu8m8BLgltLfq1NPCiFJm0Sk9DE4Q7p1y6fUoAo/w2tWAWuvKyjE5En Bm/w== 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:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=7HUxkh6qlwBPEzlvP9/xhAHaR3FqYhNfBKYj/tNf7PA=; b=NvzmxLGmKA+gTo7Od9KZQFP6oIomKgDKd0pM6ik8GuQm+WM6p+xnD6J76PIoxgw7eb Y3heZ4aZkRtlSwXGLNNhy9EDFM/Td2fO0LcI0EuUgnYlcozYV6f0c9i/iUNjmOEHW1gW 6yVcvTt9+++n0mUZSNeTGGHPk1H1sT3HQvGTFgC7NjwN17MQR/kW5jDyX84PRdTT8mRI FgiXa3Q6HspWXAcSQj9cT/0ZF/vNddT+KHYj/X5w1IO3UydGHhEfPcq5RTCZuOvMY49S XQTr29I5TaAJIyRs5UJoz4NzzbKrv9u9yaLG6FiI/6EDFOU+hHTf25o3ZnghalojqA/y LBew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HJklLCQL; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w16-20020a1709060a1000b0077d854aa10dsi14305254ejf.57.2022.10.20.09.27.12; Thu, 20 Oct 2022 09:27:59 -0700 (PDT) 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=@linaro.org header.s=google header.b=HJklLCQL; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230155AbiJTPd0 (ORCPT + 99 others); Thu, 20 Oct 2022 11:33:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230245AbiJTPdX (ORCPT ); Thu, 20 Oct 2022 11:33:23 -0400 Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 449D91B65EF for ; Thu, 20 Oct 2022 08:33:19 -0700 (PDT) Received: by mail-qk1-x734.google.com with SMTP id d13so124372qko.5 for ; Thu, 20 Oct 2022 08:33:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=7HUxkh6qlwBPEzlvP9/xhAHaR3FqYhNfBKYj/tNf7PA=; b=HJklLCQLdYFpnP5xyffmVbRdWBwhkQ/6rqkWdwlyJt7dry8F+hezpx/EXR0kue7fhH rrm/qTmP9B6OtQwcpdvWKvrBMM7GhX6PxRsl1xp5ewMVDHAEMXHzpCHWhLpNwESLfrV3 vFZDOpxbmhc7NjasI9J0rxeOoeg45VL929G7jak40RlJRBgkghMLheHa++PJn7ITC0tQ A/8WJKMghNEyvWpR8L0CCIb6Ai7CdNikMW09XhY5XapQyRAib/dZjbH7Qoi8tKQnA/CR CcFzX4RMKS+WJeWXllDnzRctiaeWaPWz9MFyrMf/+TcALg6ZTx6d4j7COimXzDjLvqs0 wqlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7HUxkh6qlwBPEzlvP9/xhAHaR3FqYhNfBKYj/tNf7PA=; b=U3qxCT+/ZxhvAXZt6GJ2um3lpQAI9uoRnXlor4y+NTjmO00a5uUQ7MVM/AsIrpDYJx cxzTYqUlxXAwUJEL0HwGKdJ8NzzY5co1AkHUeZvm4ndepyWRmzsZn1uo0px8UXFqnVt2 uoAt8Qoi++4GiopZAbnrD7dhq9IP0QHIvvAHlFf1kXEsLAz4w5LmLWcLe7VpkKX7gV7W dhhDjy1Inzs19qTuwMcJoF6W2iFtj7mdJ+rRizV1jc5GXQX7FlrPccpykyuM4FB1+I6t MkXANhXO3C1TOOF3tQjEHq+VkWq0ZVNknpLy+J8l52i9dIHXDkBr3jJKwBGQdF/Whzoo TKQQ== X-Gm-Message-State: ACrzQf28qa6TWJ82yRbUuejurtrlrhuwYVKKpGHCKu9IHn8WGIPRsr9o n998kz2aSK17/eOxbShMIELP1A== X-Received: by 2002:a37:5d2:0:b0:6ee:7931:825a with SMTP id 201-20020a3705d2000000b006ee7931825amr9581420qkf.591.1666279997876; Thu, 20 Oct 2022 08:33:17 -0700 (PDT) Received: from [192.168.10.124] (pool-72-83-177-149.washdc.east.verizon.net. [72.83.177.149]) by smtp.gmail.com with ESMTPSA id hh6-20020a05622a618600b00343057845f7sm6064722qtb.20.2022.10.20.08.33.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Oct 2022 08:33:17 -0700 (PDT) Message-ID: Date: Thu, 20 Oct 2022 11:33:10 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH 2/2] dt-bindings: rtc: add bindings for max313xx RTCs Content-Language: en-US To: Ibrahim Tilki , a.zummo@towertech.it, alexandre.belloni@bootlin.com, jdelvare@suse.com, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, Zeynep Arslanbenzer References: <20221019133910.282-1-Ibrahim.Tilki@analog.com> <20221019133910.282-2-Ibrahim.Tilki@analog.com> From: Krzysztof Kozlowski In-Reply-To: <20221019133910.282-2-Ibrahim.Tilki@analog.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 19/10/2022 09:39, Ibrahim Tilki wrote: > Devicetree binding documentation for Analog Devices MAX313XX RTCs > > Signed-off-by: Ibrahim Tilki > Signed-off-by: Zeynep Arslanbenzer > --- > .../devicetree/bindings/rtc/adi,max313xx.yaml | 163 ++++++++++++++++++ > 1 file changed, 163 insertions(+) > create mode 100644 Documentation/devicetree/bindings/rtc/adi,max313xx.yaml > Thank you for your patch. There is something to discuss/improve. > + > +examples: > + - | > + #include > + i2c { > + #address-cells = <1>; > + #size-cells = <0>; > + > + rtc@68 { > + reg = <0x68>; > + compatible = "adi,max31329"; > + clocks = <&clkin>; > + interrupt-parent = <&gpio>; > + interrupts = <26 IRQ_TYPE_EDGE_FALLING>; > + interrupt-names = "INTB"; > + }; > + }; > + - | > + #include > + i2c { > + #address-cells = <1>; > + #size-cells = <0>; > + > + rtc@68 { > + reg = <0x68>; > + compatible = "adi,max31331"; > + #clock-cells = <0>; > + interrupt-parent = <&gpio>; > + interrupts = <25 IRQ_TYPE_EDGE_FALLING>, <26 IRQ_TYPE_EDGE_FALLING>; > + interrupt-names = "INTA", "INTB"; > + }; > + }; > + - | > + i2c { > + #address-cells = <1>; > + #size-cells = <0>; > + > + rtc@69 { > + reg = <0x69>; > + compatible = "adi,max31341"; > + #clock-cells = <0>; > + clocks = <&clkin>; Drop the last example - it's basically the same as first, without interrupts. With that: Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof