Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3576289pxj; Tue, 15 Jun 2021 04:08:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnkP8Z1vHbjgIVWXBCjZfBbcHqMmPXU3dnYA30GI85Li47Fowv3H96k00oPKR9C3a3mAx3 X-Received: by 2002:a02:c9d5:: with SMTP id c21mr21518229jap.38.1623755308719; Tue, 15 Jun 2021 04:08:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623755308; cv=none; d=google.com; s=arc-20160816; b=GZQEg1VbDHqVAAyT6uLn4rqjmeXlwc3Z1WMsaSLu57mR4l6FW0jXMhxk0RJocN0xi8 BDE87BcVaLUXD9rp1lOyKPOdqQP6hGr15913TxQiYaJDBTuOIKQXEKNWeb3ajSzU7EXX emHR6kX2VhhjB92REd/nYRQP1Rv1yiZn64Nyka0iUqBbuidTobSVNiYnaaoP1fM2uw/k TZyQtMy2BId25LqgQFqvDBt4FKDAkb4gBBQ21Bo6RgZLx0hwKm/OmaHX4tn5pbHySr2Q z2OQdkFe2OLT+jvBhgAP0e+0ewo9mqp4bjT9B2IKz4nKjXMFz50sqPpWGNczhO2/LbUF fWXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=Tt0c5YtZJZaL9mWY4wSH7uAzq0grpISiKjPCFE0IXCo=; b=WKbXREme/Eycw6/sZ0xhalSNTh32GGo5eNEdmO0e/Gzo2/d7mdn0u769XbSDYu4Rod URaoaNyZOt51zEAYXP5a7WpRI6tZxnc3i9UOI9dvs62cbEyMVbuBuGVHYU5SJDtiyj1x xQuSZ2j6r0KLyYEQQAX+874KLD7uVBWmcCP+YCviFazZYgXx5IHzKITpjEcEHqVWu0Wr uQhs0sk9/EQVpU2yiIHjpnNCrEoRlcAslRjBEWGLinYklbD3zDYxkhP7vefgAa7y7X2Q b9I8WXVBlAbGJrD98L7Hn1BW3d8sofT0bLgJE9GVNQLhXoFLVsdD9PMqijuHj10YmMds oqpw== 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=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g12si20200184iok.10.2021.06.15.04.08.15; Tue, 15 Jun 2021 04:08:28 -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; 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=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229659AbhFOLJN (ORCPT + 99 others); Tue, 15 Jun 2021 07:09:13 -0400 Received: from foss.arm.com ([217.140.110.172]:60414 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230288AbhFOLJL (ORCPT ); Tue, 15 Jun 2021 07:09:11 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9DDC9113E; Tue, 15 Jun 2021 04:07:06 -0700 (PDT) Received: from localhost.localdomain (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6769B3F719; Tue, 15 Jun 2021 04:07:04 -0700 (PDT) From: Andre Przywara To: Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec Cc: 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: [PATCH v7 03/19] dt-bindings: rtc: sun6i: Add H616 compatible string Date: Tue, 15 Jun 2021 12:06:20 +0100 Message-Id: <20210615110636.23403-4-andre.przywara@arm.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20210615110636.23403-1-andre.przywara@arm.com> References: <20210615110636.23403-1-andre.przywara@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Signed-off-by: Andre Przywara --- .../bindings/rtc/allwinner,sun6i-a31-rtc.yaml | 15 +++++++++++++++ 1 file changed, 15 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..2c3fd72e17ee 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 reg: maxItems: 1 @@ -105,6 +106,20 @@ allOf: minItems: 3 maxItems: 3 + - if: + properties: + compatible: + contains: + const: allwinner,sun50i-h616-rtc + + then: + properties: + clock-output-names: + minItems: 3 + maxItems: 3 + clocks: + maxItems: 0 + - if: properties: compatible: -- 2.17.5