Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3602481pxv; Mon, 26 Jul 2021 07:42:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7xYncekAovwQ/kkl8sAWLaXdT6yPZFk8mu9HE1W4G41EDUYQo1sG7lHc6bp0L9na18l2p X-Received: by 2002:a02:774a:: with SMTP id g71mr16651227jac.137.1627310575504; Mon, 26 Jul 2021 07:42:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627310575; cv=none; d=google.com; s=arc-20160816; b=Kw/SoQOjiMDDXHep6YX56WMWISl03sZA9LGjOf0GfY5gxtYj9lsjGrU12P4Aeoc23b mY8/dO+RIkxdluQf0pptvw7kO3W2vlw1p/o/Agvr5NqYLfpcODbexawOHE+f0NJL5D+x lTiCLZePQApcYLbkYOlVZshOus16lUiGwAr+JriGivwqrhmLr+fv8wnQkybdtyMvoyuX NXReV8tQ2eJK/MIf+xcIvX9Nlc1jRc8P70ARB/OxUKHTjG2VhjR0fOzExflvRSmpJnWw mLbgjOpAERNb27srAow/B26/0YYytFcKKuTx+TVORIa/LXwpN3Do6gjAR+bSmqQ7/OkV RsrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=iVDLFnFaqPyU6ygsCm/rZzf8cgwXDYGnNuYlC3C9qO0=; b=Cicd70NDMd0r/mTla//k3e4lEZyvNQ1rhYFgWbW6BvtfTCNYF3hz1p+VvfO8Ckt6CG mIwj6Ta5clrBmI9mXy0PIkiX5UsyKn7bDOT3PyfNgnkSAEJ6ibhxdWq0Fxc9HzHEvLfQ Be5wmmyfS2gjCha+BbRyHmfEbCV8ONZ3gGxe2BfRvqVzVEUqEFHC4lO6y4952Jf87xB+ yLN4qUGlkNuyz6QFa7aSnvrnIsrUpbb98Z3m3uwjDWTteW8WVkZbrDHJGuHd9WWfJvRW mTf9ruhS9PGFU3s+vohkPyaSD6HfUKZ50fcoAwhxMPSi+deruDUFe08WpbB0K9OLNhAr aa0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=sOoPnrKg; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=tUljJ4oh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i1si92946ils.142.2021.07.26.07.42.41; Mon, 26 Jul 2021 07:42:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=sOoPnrKg; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=tUljJ4oh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234422AbhGZOBP (ORCPT + 99 others); Mon, 26 Jul 2021 10:01:15 -0400 Received: from new4-smtp.messagingengine.com ([66.111.4.230]:57863 "EHLO new4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233206AbhGZOBO (ORCPT ); Mon, 26 Jul 2021 10:01:14 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.nyi.internal (Postfix) with ESMTP id CAB13580422; Mon, 26 Jul 2021 10:41:42 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 26 Jul 2021 10:41:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=iVDLFnFaqPyU6ygsCm/rZzf8cgw XDYGnNuYlC3C9qO0=; b=sOoPnrKgIZqPxVRFVnrEQkdMvp9sIF7l9+Gh3ImJ+oL HnxOZ8U7AELAZr7TMzUKgZUQlx/8s620xdLtKMmbzwmcolHoSbN5i9O2ORmxF71n qpacyTLPe+y1cCVkupKXM5+hSE2SVhQNvwEZ82kLjCY5hDP9XmngRW7E6GoAGkRS 0ahanFceojZL0F7yCuc5aEzXBYLMdyr9yU1tcyXs9H9t5/YZSGMnYW44Mq14LZJz TNr3m13GISNpu6ER12aJ3+vRU4C1eeZ9poji0w2z7YZ3l3Ov1JIvsjU8V/1HBuPu 3ixEHshTRZ2KuHGDTx1ajqzZHWsnY/5GXfMklQcFllg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=iVDLFn FaqPyU6ygsCm/rZzf8cgwXDYGnNuYlC3C9qO0=; b=tUljJ4ohL5+EutNVYmCfXP 3iC/W2KNVYjxtnU1dZJ1EWAkPJhHhabD1ksogY75/6HbOit7FmbczxjMNE7uc7pu ycJWCqhvaBJuXlts2CiIi682qb7zefK8lInpdnuW4LykCQX2BGB1YdfeUxVKADpZ JQayHsAHGdJ7dX68NGeXFf7EZEbouQmCD4R86l0U8I8xmcyp+Jm2kTqJZPsVzGV+ iJ70x6M/tZhAy7jZHbdl6LL6SgQIAo59p+5FJ4ylJW4eXe6jL8UbtCdXSnIt9ZzM o073eSY1iEPh7X6tKs2v/JjnDfDJ1S3FkMsv7lbnh7BceCXLwFFkT3eLrLcuhoJA == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrgeehgdejlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeelkeeghefhuddtleejgfeljeffheffgfeijefhgfeufefhtdevteegheeiheeg udenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrg igihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 26 Jul 2021 10:41:39 -0400 (EDT) Date: Mon, 26 Jul 2021 16:41:37 +0200 From: Maxime Ripard To: Andre Przywara Cc: Chen-Yu Tsai , Jernej Skrabec , Rob Herring , Icenowy Zheng , Samuel Holland , linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Ondrej Jirman , devicetree@vger.kernel.org, Alessandro Zummo , Alexandre Belloni , linux-rtc@vger.kernel.org Subject: Re: [PATCH v8 02/11] dt-bindings: rtc: sun6i: Add H616 compatible string Message-ID: <20210726144137.6dauuxdssu7yszox@gilmour> References: <20210723153838.6785-1-andre.przywara@arm.com> <20210723153838.6785-3-andre.przywara@arm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="aiq5ywgupr4t6rom" Content-Disposition: inline In-Reply-To: <20210723153838.6785-3-andre.przywara@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --aiq5ywgupr4t6rom Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Fri, Jul 23, 2021 at 04:38:29PM +0100, Andre Przywara wrote: > Add the obvious compatible name to the existing RTC binding. > The actual RTC part of the device uses a different day/month/year > storage scheme, so it's not compatible with the previous devices. > Also the clock part is quite different, as there is no external 32K LOSC > oscillator input. >=20 > Signed-off-by: Andre Przywara > > --- > .../bindings/rtc/allwinner,sun6i-a31-rtc.yaml | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rt= c.yaml b/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml > index beeb90e55727..d8a6500e5840 100644 > --- a/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml > +++ b/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml > @@ -26,6 +26,7 @@ properties: > - const: allwinner,sun50i-a64-rtc > - const: allwinner,sun8i-h3-rtc > - const: allwinner,sun50i-h6-rtc > + - const: allwinner,sun50i-h616-rtc > =20 > reg: > maxItems: 1 > @@ -104,6 +105,19 @@ allOf: > minItems: 3 > maxItems: 3 > =20 > + - if: > + properties: > + compatible: > + contains: > + const: allwinner,sun50i-h616-rtc > + > + then: > + properties: > + clock-output-names: > + minItems: 3 > + maxItems: 3 You don't need both of them when they are equal > + clocks: false > + It's not entirely clear to me what those clocks are about though. If we look at the clock output in the user manual, it looks like there's only two clocks that are actually being output: the 32k "fanout" clock and the losc. What are the 3 you're talking about? Also, it looks like the 32k fanout clock needs at least the hosc or pll-periph in input, so we probably don't want to ask for no parent clock? Maxime --aiq5ywgupr4t6rom Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCYP7JoQAKCRDj7w1vZxhR xQRLAQDVnReS1EyY1LoZj+IrPcI0+iNFJA6ywfgcCyvxILsY1wEAwKCt/M3I7GRN ZcZzGWYP2AxXqE9As3rd3HZaWUE/3Qw= =irLn -----END PGP SIGNATURE----- --aiq5ywgupr4t6rom--