Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3164455pxb; Sun, 31 Jan 2021 06:27:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJyldY77YlBMM8oOz5dsxF6fdJkIQhO3uMRYiO/7viCT2UNjhpHZVKOhc4P1tKfTv40WLlQC X-Received: by 2002:a17:906:780c:: with SMTP id u12mr13193941ejm.125.1612103241292; Sun, 31 Jan 2021 06:27:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612103241; cv=none; d=google.com; s=arc-20160816; b=isiljAet3/R4JqzKbVgJlc0hTsXMsQ+l8hz+qJ/89sBPSJATCHG8rBSeiHlRVfjtP4 B79q7UoZkEuXFaTB3ra3KulXYCBUuNOGBvaOgZTlEFEOe+R8BpM/gcBIOwjXIeYnjWGL bC1CGlbFFzE4MArT54+1c2j3BogOipkR6od4dBxrrDyiCM9XHen8YP2odKB2T/IratCr J8S0bEs7dPGUVZ2OqHoZQpE1Gt48L86CMMP+RkLJpaYlGVCjvFLxhapio463A4dwjru/ kgFkdKbcD3g7WU0MUL+ig8qs/Ypy0usfQmwpj7zZUkjJrYbcAAHGNUAe8R96/9+j/4JL IDsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=TRKKgUdL2a3KkjWhtNcBBdfiDNNsJ5J5lL5QxIXTU+c=; b=fHfBHIQocotNQuKFCr7jkujc7KpNFCl+Feoyymp6/ZQGHqaQEbRxzt7NdEGY6Nd3Sh csu4Ri0RYTvQHaI7Z1aE54DY78ECE8za35sgCNWKLHfim6u3+9fDQ0UWscBBicgz3j4u HAyiG2xpFMc8j8I1FhJE603+N2NrCy7SuR0RYaI2P1O033e1QbA0wlzAudpfNSSpWsWn NlEV6m8sgCGPTH0+ieY6absDwOzv+0zSoPASGNBgT3RgHesRYFkdJclDQvl24EM1JDho P9RDqktmjZmfNa3gH4LHxt0NcdB1B9oVZ38qeKZyh2+NUnE27uWAidssrqcUB+w7FE3I TYSw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=siol.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b8si1162251eds.433.2021.01.31.06.26.57; Sun, 31 Jan 2021 06:27:21 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=siol.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232437AbhAaOYo (ORCPT + 99 others); Sun, 31 Jan 2021 09:24:44 -0500 Received: from mailoutvs33.siol.net ([185.57.226.224]:37289 "EHLO mail.siol.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231476AbhAaNqY (ORCPT ); Sun, 31 Jan 2021 08:46:24 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTP id 0427552187D; Sun, 31 Jan 2021 14:44:43 +0100 (CET) X-Virus-Scanned: amavisd-new at psrvmta10.zcs-production.pri Received: from mail.siol.net ([127.0.0.1]) by localhost (psrvmta10.zcs-production.pri [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 2UVdYFwNwfuR; Sun, 31 Jan 2021 14:44:42 +0100 (CET) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTPS id A8106521892; Sun, 31 Jan 2021 14:44:42 +0100 (CET) Received: from kista.localnet (cpe-86-58-58-53.static.triera.net [86.58.58.53]) (Authenticated sender: jernej.skrabec@siol.net) by mail.siol.net (Postfix) with ESMTPA id D547952187D; Sun, 31 Jan 2021 14:44:40 +0100 (CET) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: Maxime Ripard , Chen-Yu Tsai , Andre Przywara Cc: Samuel Holland , Icenowy Zheng , Rob Herring , =?ISO-8859-1?Q?Cl=E9ment_P=E9ron?= , Shuosheng Huang , Yangtao Li , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Alessandro Zummo , Alexandre Belloni , devicetree@vger.kernel.org, linux-rtc@vger.kernel.org Subject: Re: [PATCH v5 12/20] dt-bindings: rtc: sun6i: Add H616 compatible string Date: Sun, 31 Jan 2021 14:44:40 +0100 Message-ID: <1675074.8rG671tKPg@kista> In-Reply-To: <20210127172500.13356-13-andre.przywara@arm.com> References: <20210127172500.13356-1-andre.przywara@arm.com> <20210127172500.13356-13-andre.przywara@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! Dne sreda, 27. januar 2021 ob 18:24:52 CET je Andre Przywara napisal(a): > Add the obvious compatible name to the existing RTC binding, and pair > it with the existing H6 fallback compatible string, as the devices are > compatible. After close lookup I would disagree with this observation. Major difference is that H616 doesn't support usage of external 32768 Hz oscillator. It uses 24 MHz oscillator with divider for that case. Due to that change, whole logic for external oscillator should go out. Additionally, this logic overwrites default value in LOSC_CTRL register, which is not nice (there is no documentation for those bits). Best regards, Jernej > > Signed-off-by: Andre Przywara > Acked-by: Rob Herring > --- > .../devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31- rtc.yaml b/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml > index b1b0ee769b71..4193e5813344 100644 > --- a/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml > +++ b/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml > @@ -26,6 +26,9 @@ properties: > - const: allwinner,sun50i-a64-rtc > - const: allwinner,sun8i-h3-rtc > - const: allwinner,sun50i-h6-rtc > + - items: > + - const: allwinner,sun50i-h616-rtc > + - const: allwinner,sun50i-h6-rtc > > reg: > maxItems: 1 > -- > 2.17.5 > >