From patchwork Wed Nov 13 08:53:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 13873317 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BF719D41C19 for ; Wed, 13 Nov 2024 09:03:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=STV6CqOXXZNNZe/nL0MUAhT5ytK/BRF8/Sa3+ubldCI=; b=OJxNgJsvw7yGuM uzp3808y4fTISsnT3pbjszXmoVjhL2bX/+kndi/XSgkn3lPWpei9IkaO6d3iDFEtYQ/wkQ4iEWC3N JVioyDZCu7hKG5rJU8xEMxOd2P9QM6sUxMqtFQiOCqljENtk1bHvZeTCwc1fONutCiMbt6xtjNvqX VZfMCkXBsoXHYsXIMCReZrf1IhO40EarY2urcdYnn7XtsV0+oRtw4fVRt3sIlJMSmCvHYt1RoFHCc 57gTvrXJFZ97/WiOu27QJ+cSkl/LSkk2wCPAxdXtkvF5DAxQZje/8dqLCutvltYXtpzBDsYGrTSqh BnbL4OkxWSxitbxN6T+w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tB9Hh-00000006BEZ-0KS1; Wed, 13 Nov 2024 09:03:33 +0000 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tB98z-000000069rz-1lMA for linux-amlogic@lists.infradead.org; Wed, 13 Nov 2024 08:54:35 +0000 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-20c9978a221so74470915ad.1 for ; Wed, 13 Nov 2024 00:54:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nigauri-org.20230601.gappssmtp.com; s=20230601; t=1731488072; x=1732092872; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RE8fjpX1Eb1RavtBPTEOqHq6IlPTdZrinGpmm0IJQSk=; b=2N+FDha8NdwM7T09IXhZNhJg/LFyZAuYALlQZG8wVYE3yYoASxZRVWCmamrfsFjCV1 qPkG+F0C3Kf+hBI2MhLfRVPQFjwXUG7p4ItFTu5apGR4k2VMUU/XgwqsXed6LQr8YOvA zVrnE8zTz8TeAehXXR0vaUInD+uMBYYBZxGiYZfR4fyaE7PdPrhi8qTgunfWQH3j6Yyt qINwHe2vcMIyOFCMs/0Q8KUDCiE7tJuZOGBaIGRqw9uLUNCaxLzsLe6wuMtNLP22sYd5 WuUG5CtvUt5NOlvdQf182wT1e8lzWgSOMOIJ4SL5vBN3ZD9CoP9ssv+9W4/fr9Io57G/ ugng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731488072; x=1732092872; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RE8fjpX1Eb1RavtBPTEOqHq6IlPTdZrinGpmm0IJQSk=; b=o3QU0yHX71i0pjmGNU6clDSACePueXFrldV+mFXbzeZA/KIV+32v/jWQjGlXMJ0Z+6 o2+8/w/WMX4nG7Prj8ThuYaJ7Pi296WU8i3eGZTTv5fT+Pd/qmteJHXhYxuONg5PO9Kj v6AaJqYTGV5ehDQ3/i3+jbvNIVMKY7L/PxEGASQcRHkUERSJqLZc6IXNzJqVNXo9mnKe SKuAqOmzE7s2/wx58UWqeoec6xAUTJjcGyxE4Oc5iRgtE2hwqxxv1g05vNFiIIBthH1o a8fzSyA0FTTVAJeplxR+CKh6py8qUuM0NJGgkqnscVV7d8l9CbpguJp9893ebe4Te4U9 1GRA== X-Gm-Message-State: AOJu0YwRWQbPH9sDXA+pwt/6EEwSOz305mR0vsuqgqRNT8bTsPiZUwvy FXiyFa1k6T1PnB0zdDdpSSJkzDzByXJ5lCw4ECpshPCXx+9L6oY5Rxzkwiy3 X-Google-Smtp-Source: AGHT+IEt+6DU2EbmOYoC0dtzfG72lfI52C3DG6Nlz1YJ5vBiydCt6vOeAd0bjW9+oe2ZO+9WdDqEag== X-Received: by 2002:a17:902:ec8d:b0:20c:c9db:7c45 with SMTP id d9443c01a7336-21183c9b37fmr271466235ad.20.1731488072379; Wed, 13 Nov 2024 00:54:32 -0800 (PST) Received: from localhost ([2405:6581:5360:1800:a83:68dd:5f1c:4ed9]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21177e62dd4sm105302895ad.218.2024.11.13.00.54.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Nov 2024 00:54:31 -0800 (PST) From: Nobuhiro Iwamatsu To: linux-rtc@vger.kernel.org, Alexandre Belloni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Olof Johansson Cc: linux-amlogic@lists.infradead.org, Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , linux-kernel@vger.kernel.org, Heiko Stuebner , Nobuhiro Iwamatsu Subject: [PATCH 3/5] dt-bindings: rtc: pcf8563: Add Haoyu HYM8563 compatibility Date: Wed, 13 Nov 2024 17:53:53 +0900 Message-ID: <20241113085355.1972607-4-iwamatsu@nigauri.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241113085355.1972607-1-iwamatsu@nigauri.org> References: <20241113085355.1972607-1-iwamatsu@nigauri.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241113_005433_607546_EDBBE9C7 X-CRM114-Status: UNSURE ( 8.50 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Haoyu HYM8563 is compatible with pcf8563 with '#clock-cells'. Signed-off-by: Nobuhiro Iwamatsu --- .../devicetree/bindings/rtc/nxp,pcf8563.yaml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/rtc/nxp,pcf8563.yaml b/Documentation/devicetree/bindings/rtc/nxp,pcf8563.yaml index 22909a96123e58..54c45bf3075b6a 100644 --- a/Documentation/devicetree/bindings/rtc/nxp,pcf8563.yaml +++ b/Documentation/devicetree/bindings/rtc/nxp,pcf8563.yaml @@ -4,14 +4,11 @@ $id: http://devicetree.org/schemas/rtc/nxp,pcf8563.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Philips PCF8563/Epson RTC8564 Real Time Clock +title: Philips PCF8563/Epson RTC8564, Haoyu Microelectronics HYM8563 Real Time Clock maintainers: - Alexandre Belloni -allOf: - - $ref: rtc.yaml# - properties: compatible: enum: @@ -19,6 +16,7 @@ properties: - microcrystal,rv8564 - nxp,pca8565 - nxp,pcf8563 + - haoyu,hym8563 reg: maxItems: 1 @@ -39,6 +37,18 @@ required: - compatible - reg +allOf: + - $ref: rtc.yaml# + + - if: + properties: + compatible: + contains: + const: haoyu,hym8563 + then: + required: + - "#clock-cells" + additionalProperties: false examples: