From patchwork Mon Oct 24 16:55:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 9935 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp599331wru; Mon, 24 Oct 2022 11:45:31 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4C98mI7Lt9+v4QfMo9KYPgWi5alYQcGr690CygtzNVj8DrANOqAmLQGNF73/0QgvAejAoh X-Received: by 2002:a17:902:e944:b0:179:dee4:f115 with SMTP id b4-20020a170902e94400b00179dee4f115mr35884460pll.141.1666637130851; Mon, 24 Oct 2022 11:45:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666637130; cv=none; d=google.com; s=arc-20160816; b=ZFgQHSbNQzGXemDDa319McFcpccDB0c/7LH7h9xDbEW7kV24WkWL+ZPHL+n75fwndi OuPtIvofRFE6i9ykO/7CoNOnuAMkGLUIvIU6+lIQRnXOfaQr46iYn/cRVrZXiBsDlt8R uNmcBovEd5lf7vPZgky1zWTjINvjsLQ/Q45fZpMyyWH1f0ngOT5oz+npJxgjxeI0XXju 7mAsz4BZz4O7wNOZgrmpLsDVY6r2NPi2mcskVLZAgkuMESgLudNIcXkX9onFRyHj/tTj T3CQnXNzHbhM+qot+ZjO2TmHK8fpMGgz+14tm6dTClp2/3WrSrpM7XmsO7FYx1Iaappc EHeg== 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 :dkim-signature; bh=gUXYyxHpPpw1Ri55PGkt0v5PwLDxYPuWYQfV/8vYsaU=; b=LVJCcjNW69tl2UT5L6Xc+8NSMd5RkdQB0iw4xp1KloKvzNT38J1o99HE6gy/qILwA1 hBj62VIWF/1ge689Jp/FGgnozpJnDjTmBufKQ1esd+Jnhe1cJnFKtXwnFM0Lp625KW8E QnRl04JFKCD5757iYfBhdSv678owoecGcmihfHduSjJNZuA1ZHaO4PjHH8bSgAbIJI2J IfK2JKzXCxM9mFQUfHUiDxA1a21884AaGk6igFlJ/XfwOMxaIg3KtV05bQwkUxFPT+aJ JxIheQnFJ1mqqlzbhj3iDiIe++5GC9Y/2Y8zn+JBSyAxMSCt8Da1lepPv4gxizLwkEI0 xlMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=mfwWYscA; 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=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d5-20020a63d645000000b00434f41f6981si265260pgj.360.2022.10.24.11.45.17; Mon, 24 Oct 2022 11:45:30 -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=@collabora.com header.s=mail header.b=mfwWYscA; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232079AbiJXSoh (ORCPT + 99 others); Mon, 24 Oct 2022 14:44:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232135AbiJXSnm (ORCPT ); Mon, 24 Oct 2022 14:43:42 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D7D019C05B; Mon, 24 Oct 2022 10:25:53 -0700 (PDT) Received: from jupiter.universe (dyndsl-091-096-059-109.ewe-ip-backbone.de [91.96.59.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id ED5036602828; Mon, 24 Oct 2022 17:55:55 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1666630556; bh=HU749k14wBgophc3xmDH50FIm+iQZG25YYvKB+nUCpE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mfwWYscAgusRuyhpcO3rR54KVJFh7ChUmFaRu67n4wEUA54uLFG6a38N+5q2YimuJ RmZtq2a/pfMCCNZICokagxHYZpwxzeUpY3xOSy/8M9jBVscUTMkC3Rs5HJX1Kt0EJj vlxixn1NTn7pnDqLPD5OzSqupmqWaNx3btjTH3I6HhkJerFBz/AikNnd/QEUs+w6Wf UtpzDP4ubAG0ym3kzFQFm4mrV9czCF8dnAiMQM/pO5C+VpPSjTyUNeaVt3es0j6/U2 DTH+fqamYoA02f7wJaWBPFysKTrmQqJzDsGvdNyMciYKXaHrh4N2p50kUCyua4S+nY YA+YqzMD/TsSQ== Received: by jupiter.universe (Postfix, from userid 1000) id F0A0A480AED; Mon, 24 Oct 2022 18:55:53 +0200 (CEST) From: Sebastian Reichel To: Alexandre Belloni , Alessandro Zummo , Rob Herring , Krzysztof Kozlowski Cc: Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Heiko Stuebner , linux-rockchip@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel , kernel@collabora.com Subject: [PATCHv2 1/6] arm64: dts: rockchip: fix node name for hym8563 rtc Date: Mon, 24 Oct 2022 18:55:44 +0200 Message-Id: <20221024165549.74574-2-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221024165549.74574-1-sebastian.reichel@collabora.com> References: <20221024165549.74574-1-sebastian.reichel@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747595696501857672?= X-GMAIL-MSGID: =?utf-8?q?1747595696501857672?= Fix the node name for hym8563 in all arm64 rockchip devicetrees. Signed-off-by: Sebastian Reichel --- arch/arm64/boot/dts/rockchip/rk3368-orion-r68-meta.dts | 2 +- arch/arm64/boot/dts/rockchip/rk3368-r88.dts | 2 +- arch/arm64/boot/dts/rockchip/rk3399-roc-pc-plus.dts | 2 +- arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3368-orion-r68-meta.dts b/arch/arm64/boot/dts/rockchip/rk3368-orion-r68-meta.dts index 7f5bba0c6001..0e88e9592c1c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368-orion-r68-meta.dts +++ b/arch/arm64/boot/dts/rockchip/rk3368-orion-r68-meta.dts @@ -208,7 +208,7 @@ vdd_cpu: syr827@40 { vin-supply = <&vcc_sys>; }; - hym8563: hym8563@51 { + hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>; diff --git a/arch/arm64/boot/dts/rockchip/rk3368-r88.dts b/arch/arm64/boot/dts/rockchip/rk3368-r88.dts index 38d757c00548..e147d6f8b43e 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368-r88.dts +++ b/arch/arm64/boot/dts/rockchip/rk3368-r88.dts @@ -192,7 +192,7 @@ vdd_cpu: syr827@40 { vin-supply = <&vcc_sys>; }; - hym8563: hym8563@51 { + hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>; diff --git a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc-plus.dts b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc-plus.dts index 5a2661ae0131..18b5050c6cd3 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc-plus.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc-plus.dts @@ -98,7 +98,7 @@ &fusb0 { }; &i2c0 { - hym8563: hym8563@51 { + hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; interrupt-parent = <&gpio0>; diff --git a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi index 935b8c68a71d..6c168566321b 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi @@ -297,7 +297,7 @@ &i2c2 { clock-frequency = <400000>; status = "okay"; - hym8563: hym8563@51 { + hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>; From patchwork Mon Oct 24 16:55:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 10319 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp659209wru; Mon, 24 Oct 2022 14:27:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7DAWgumRC3Z/rVRO8Xxop6WxWK4nV5TLHFb8MmKb7fGsLDE/ozpdSmIdQyu9KTLVkJ6i8z X-Received: by 2002:a05:6402:191:b0:45c:83e8:d74a with SMTP id r17-20020a056402019100b0045c83e8d74amr31449426edv.329.1666646848086; Mon, 24 Oct 2022 14:27:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666646848; cv=none; d=google.com; s=arc-20160816; b=KDsEgV1NDehHs/pcH/pbZWL7Tj+YZogQZQxlaAKWeyBwftnMyN16/w5UHH7dllywZQ QiYoQg5WiL6fqCISlP+f5DlLYNLByMcUC5BDd/bCb8rAmCUTpNXDK1Xsb+DAKkEV/AMD XJLZrl27sjdNHA1ep3a6NwKxtKCVNI7Ttijq4OOg7tysoE/vpkjYfVh2pHCXec4XKP+D b2UN4hZuPA8sRE1hRHPnCg/8Pzuqu+tQ8Hzsgow8ZiIq6KOU/V19lHmY34lzX5Sdvt8z vWeBVtJ/NqJ6AHOjrZAjHWNp+of0jvYbWBXyZXUQwUGYfxXwOC3uqAcbpwib0G9j4xTv CBSA== 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 :dkim-signature; bh=60HZdgM6rMUTe8WRWoz0jAIlRubSf7Jd9XdUWi6G4sk=; b=KOMSZcO3efvOPYAUlYiEEGIf44SDQZaAvQiYff613nqtoVfk1GZT4sqkoF2Sqe35PL cJyHop64fJJI/BLk7LlIgLT502yAdJmf3ZmlQV7V2OaYB9fDllnA+sayDwDhSV8dphby 2/pontfUnyzCOQqcsJ4ym4dEDTS/0QyRjFffFERw+HFlnRyYI4NlmtWnVsAl2ej2vv5H CHvBolB7NX2QzPLTBNG/+nXppNCHWCflCJg2l2xwolDPplBPbVQGzGk6skuhWtrMxBsu Se/VRZXf7GhFzWx7YfuOmYKh1q5KsNszhPVJFB8SlV0z2W2qYRzmAT4YWkDklKEjGgKi uiRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=duef4a48; 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=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hs33-20020a1709073ea100b0078d8c03a5a6si910374ejc.759.2022.10.24.14.26.45; Mon, 24 Oct 2022 14:27:28 -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=@collabora.com header.s=mail header.b=duef4a48; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234781AbiJXVZb (ORCPT + 99 others); Mon, 24 Oct 2022 17:25:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234365AbiJXVZJ (ORCPT ); Mon, 24 Oct 2022 17:25:09 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D69B22D8731; Mon, 24 Oct 2022 12:31:17 -0700 (PDT) Received: from jupiter.universe (dyndsl-091-096-059-109.ewe-ip-backbone.de [91.96.59.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id E68FF6602831; Mon, 24 Oct 2022 17:55:55 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1666630556; bh=IQfA/rjSC8iXKiLYxLYySHd/9TLQ9kJX50bPBRU+wQI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=duef4a48j43UXRDooZFg5Tcx+c7cHP8CYaHz/I3gN3ng1rU7jHSNzOL/hHP40fJ3i gNsrEohcKR6z6xnBmvOB2yqzw/dKkmj5Sr2hhTIMn53Z+nHPVk9kKa5hDjCtBOBPNJ qLz//IwJQnK5No1loN2JbkyBlo6YeXlx0dfAQEWc2G1rsXevEFiRi0IQZuf7EOFB2N e3T5+5ln7bFV8fQPrOqPTomoy44YZcopKhKCGs64/N9A4mp9Z+GaMkmH5Ko0nYK5sh b8hjHERCtLiRaywWUXUjbAq44qf5cGYG1pq6TAgxS93SaIML4k7qI8n/977Iydr6fi cC6Ru2rV2M8sg== Received: by jupiter.universe (Postfix, from userid 1000) id F38C3480AEE; Mon, 24 Oct 2022 18:55:53 +0200 (CEST) From: Sebastian Reichel To: Alexandre Belloni , Alessandro Zummo , Rob Herring , Krzysztof Kozlowski Cc: Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Heiko Stuebner , linux-rockchip@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel , kernel@collabora.com Subject: [PATCHv2 2/6] arm64: dts: rockchip: remove clock-frequency from rtc Date: Mon, 24 Oct 2022 18:55:45 +0200 Message-Id: <20221024165549.74574-3-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221024165549.74574-1-sebastian.reichel@collabora.com> References: <20221024165549.74574-1-sebastian.reichel@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747605885603321030?= X-GMAIL-MSGID: =?utf-8?q?1747605885603321030?= 'clock-frequency' is not part of the DT binding and not supported by the Linux driver. Signed-off-by: Sebastian Reichel --- arch/arm64/boot/dts/rockchip/rk3368-orion-r68-meta.dts | 1 - arch/arm64/boot/dts/rockchip/rk3368-r88.dts | 1 - arch/arm64/boot/dts/rockchip/rk3399-roc-pc-plus.dts | 1 - arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi | 1 - arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts | 1 - arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts | 1 - 6 files changed, 6 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3368-orion-r68-meta.dts b/arch/arm64/boot/dts/rockchip/rk3368-orion-r68-meta.dts index 0e88e9592c1c..81d1064fdb21 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368-orion-r68-meta.dts +++ b/arch/arm64/boot/dts/rockchip/rk3368-orion-r68-meta.dts @@ -212,7 +212,6 @@ hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>; - clock-frequency = <32768>; clock-output-names = "xin32k"; /* rtc_int is not connected */ }; diff --git a/arch/arm64/boot/dts/rockchip/rk3368-r88.dts b/arch/arm64/boot/dts/rockchip/rk3368-r88.dts index e147d6f8b43e..5589f3db6b36 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368-r88.dts +++ b/arch/arm64/boot/dts/rockchip/rk3368-r88.dts @@ -196,7 +196,6 @@ hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>; - clock-frequency = <32768>; clock-output-names = "xin32k"; /* rtc_int is not connected */ }; diff --git a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc-plus.dts b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc-plus.dts index 18b5050c6cd3..7ba1c28f70a9 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc-plus.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc-plus.dts @@ -104,7 +104,6 @@ hym8563: rtc@51 { interrupt-parent = <&gpio0>; interrupts = ; #clock-cells = <0>; - clock-frequency = <32768>; clock-output-names = "xin32k"; pinctrl-names = "default"; pinctrl-0 = <&hym8563_int>; diff --git a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi index 6c168566321b..bf9eb0405b62 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi @@ -301,7 +301,6 @@ hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>; - clock-frequency = <32768>; clock-output-names = "hym8563"; pinctrl-names = "default"; pinctrl-0 = <&hym8563_int>; diff --git a/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts b/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts index c282f6e79960..26d7fda275ed 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts @@ -500,7 +500,6 @@ hym8563: rtc@51 { interrupt-parent = <&gpio0>; interrupts = ; #clock-cells = <0>; - clock-frequency = <32768>; clock-output-names = "rtcic_32kout"; pinctrl-names = "default"; pinctrl-0 = <&hym8563_int>; diff --git a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts index fb87a168fe96..539ef8cc7792 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts @@ -509,7 +509,6 @@ hym8563: rtc@51 { interrupt-parent = <&gpio0>; interrupts = ; #clock-cells = <0>; - clock-frequency = <32768>; clock-output-names = "rtcic_32kout"; pinctrl-names = "default"; pinctrl-0 = <&hym8563_int>; From patchwork Mon Oct 24 16:55:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 10009 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp617767wru; Mon, 24 Oct 2022 12:32:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5Ig1QlUUzst8Zncb53q9NL/cIVby9qt7rqd7/1QH6h7wWWo7yNvEwgFRe7BYuhqhK4DCnz X-Received: by 2002:a17:907:805:b0:782:1a0d:337f with SMTP id wv5-20020a170907080500b007821a0d337fmr29434647ejb.475.1666639941659; Mon, 24 Oct 2022 12:32:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666639941; cv=none; d=google.com; s=arc-20160816; b=gkkdlbrP13HkpWUagHL3KWwVwSfp3b4R5Y+FIvuMg0ugJEWGyvMVEJklLDVBWSLAV8 gGiBf+xhcjBEC0prpdMWrQ2HdtapwDB+908PB2py8cTQWzTuXgxKX1cKFKJyoorNA+SO wLgYl9IcTHXFWsOfTGogZoi0MMSTKSGmQhAnHH3iiel2f5ukpC1SgDWRyiJn+R+TsEfP DEhWOD14FMDhXpRjFOLhcn3SUfrCRWDYKTNCS4PLC2rQ0EjZl9aqGR/83cJjQtlnjzDD +lG1SoLSNPn6II0nFd0SmUoBf7BUHDVlv4ald3pkpqfjy7Svict5YSjvWMI2Yjt4ez01 v59A== 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 :dkim-signature; bh=le5A+AivBvE4NidmKn4WvQ4zYqGZ6wIR/Q704DOIjD8=; b=oT1T7zHPgAOmllBUTBIairKDESdjwMD/vdGAOf835jNDQA17IDZjXXSsNWG+JyxVwL ZhHAr14TkDZvlA+8sFCtBeAm9FshjvvvrzPlY+VWDtngPcUuxTOqY6DBzc/pqf5pnVyi dRy4scIg9tqwtOBx2tJRUKXKdEmOMkKiIZfzY4U2gEm69WCb3L410kNqKMydkaDjTzUP 8fUxjTxvpZOzs+ICvc7tlzriwpkO53ZsbLVDmj10ysxuhJm8jLgEzsJzaz+KAJ9DMgXQ pkU1uhH4M82jY52yEdQEWagV7xinqnuTYnbi7HxdWyAfpqAm7fm7w+gGYmG2b4ky/lJj auEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=BI6hvnH5; 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=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g16-20020a1709061c9000b007825337afeesi486087ejh.273.2022.10.24.12.31.57; Mon, 24 Oct 2022 12:32:21 -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=@collabora.com header.s=mail header.b=BI6hvnH5; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232501AbiJXTbB (ORCPT + 99 others); Mon, 24 Oct 2022 15:31:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233303AbiJXT3F (ORCPT ); Mon, 24 Oct 2022 15:29:05 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DB25367B6; Mon, 24 Oct 2022 11:00:31 -0700 (PDT) Received: from jupiter.universe (dyndsl-091-096-059-109.ewe-ip-backbone.de [91.96.59.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id 0A2696602835; Mon, 24 Oct 2022 17:55:56 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1666630556; bh=pmExmZ4tXPCYOPfg+XUTrNWwzm99oi9yIk9vszIGxCg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BI6hvnH5S/4WPhsdNb3KU1JA3S4Nz4MQQQfrfEElh3ARdhubA58l6s4oHh7NX+3O/ HtUQDYGuWUc5qmO2zboZYuzrhZFrPnKYAvY+w/daxSwbVaWfDk7ZX6MEqTVVOqup07 lTcrYyOvfl3VyPXWOkU1V3h2d+xoWYamtSCbJWy6zPcyt115H6K4hweBanllY5Hs/K wtklC+lnjh2n9xV83hMAcgnCtrG9dmqkLDjHIkkZFxO1ZGiVZ7FDR0Kwjr+cjP/MK4 OKMi1EsmDjc1gho+Rv20+mzeKcDChgoQifmj7ppnYP0JaRFCXTaxaifYwYlhkLLQDE Ze0c53kUcfTww== Received: by jupiter.universe (Postfix, from userid 1000) id 0245E480AEF; Mon, 24 Oct 2022 18:55:54 +0200 (CEST) From: Sebastian Reichel To: Alexandre Belloni , Alessandro Zummo , Rob Herring , Krzysztof Kozlowski Cc: Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Heiko Stuebner , linux-rockchip@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel , kernel@collabora.com Subject: [PATCHv2 3/6] arm: dts: rockchip: fix node name for hym8563 rtc Date: Mon, 24 Oct 2022 18:55:46 +0200 Message-Id: <20221024165549.74574-4-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221024165549.74574-1-sebastian.reichel@collabora.com> References: <20221024165549.74574-1-sebastian.reichel@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747598643489689045?= X-GMAIL-MSGID: =?utf-8?q?1747598643489689045?= Fix the node name for hym8563 in all arm rockchip devicetrees. Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/rk3036-evb.dts | 2 +- arch/arm/boot/dts/rk3288-evb-act8846.dts | 2 +- arch/arm/boot/dts/rk3288-firefly.dtsi | 2 +- arch/arm/boot/dts/rk3288-miqi.dts | 2 +- arch/arm/boot/dts/rk3288-rock2-square.dts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/rk3036-evb.dts b/arch/arm/boot/dts/rk3036-evb.dts index 9fd4d9db9f8f..89b0927ce162 100644 --- a/arch/arm/boot/dts/rk3036-evb.dts +++ b/arch/arm/boot/dts/rk3036-evb.dts @@ -35,7 +35,7 @@ phy0: ethernet-phy@0 { &i2c1 { status = "okay"; - hym8563: hym8563@51 { + hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>; diff --git a/arch/arm/boot/dts/rk3288-evb-act8846.dts b/arch/arm/boot/dts/rk3288-evb-act8846.dts index be695b8c1f67..8a635c243127 100644 --- a/arch/arm/boot/dts/rk3288-evb-act8846.dts +++ b/arch/arm/boot/dts/rk3288-evb-act8846.dts @@ -54,7 +54,7 @@ vdd_gpu: syr828@41 { vin-supply = <&vcc_sys>; }; - hym8563@51 { + rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; diff --git a/arch/arm/boot/dts/rk3288-firefly.dtsi b/arch/arm/boot/dts/rk3288-firefly.dtsi index 052afe5543e2..9267857beccb 100644 --- a/arch/arm/boot/dts/rk3288-firefly.dtsi +++ b/arch/arm/boot/dts/rk3288-firefly.dtsi @@ -233,7 +233,7 @@ vdd_gpu: syr828@41 { vin-supply = <&vcc_sys>; }; - hym8563: hym8563@51 { + hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>; diff --git a/arch/arm/boot/dts/rk3288-miqi.dts b/arch/arm/boot/dts/rk3288-miqi.dts index 713f55e143c6..e3d5644f2915 100644 --- a/arch/arm/boot/dts/rk3288-miqi.dts +++ b/arch/arm/boot/dts/rk3288-miqi.dts @@ -162,7 +162,7 @@ vdd_gpu: syr828@41 { vin-supply = <&vcc_sys>; }; - hym8563: hym8563@51 { + hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>; diff --git a/arch/arm/boot/dts/rk3288-rock2-square.dts b/arch/arm/boot/dts/rk3288-rock2-square.dts index 80e0f07c8e87..07a3a52753d2 100644 --- a/arch/arm/boot/dts/rk3288-rock2-square.dts +++ b/arch/arm/boot/dts/rk3288-rock2-square.dts @@ -165,7 +165,7 @@ &hdmi { }; &i2c0 { - hym8563: hym8563@51 { + hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>; From patchwork Mon Oct 24 16:55:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 9966 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp614218wru; Mon, 24 Oct 2022 12:23:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5xKcNAn55WfiHrhQscWzJuuRK9DwKp/irR1TPsiKJXAlqP/w/7NmA1puu1y5B7O8ff+QmF X-Received: by 2002:a17:906:9752:b0:78d:d2e1:d745 with SMTP id o18-20020a170906975200b0078dd2e1d745mr28560613ejy.452.1666639396998; Mon, 24 Oct 2022 12:23:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666639396; cv=none; d=google.com; s=arc-20160816; b=bpdVNnr/Fk+IuvIcrCZXngGScD9iBrCFWGfHraZvz2jb9uCxc3OVusWnr9kSkuH1Dp oMFOgNEZ3rC55Y4UqyUZqczqg7UPWZjdNPOUT6DpFQq2qA4iKJb2inC5SJWPh0CakG7H Ne0CcTtcF6vTwokRqcijgVgzgy+irKgEZnOlFTmjp5kRB8ZTEMqYGoMLI4Fer3pbmqa6 ZldobkSdy/+IMbEtWgjdfxinRTYx/GHPg/IAC9EWiZOAnh3KkTvCIu2RaEhGMusmoC+o Hezbn6qeGDQzs8HgUH3LJ9f52/Li+aK1msm0oiYOjesO9XDg0U6vAkRdJ5I6T0GLntsV T6ZA== 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 :dkim-signature; bh=7q3w1d0U6H7k9lDREIjdJOPzcWTilBjnsHKHufnrU/w=; b=A4BYuNBahrBDsncCFX4xhCWrK4GIQa55S/qgOMmCz1tjE851lQcto8meRtqGvug4eQ qyqbKmWf7c2qO9BwEL8g3/Ew7et8haitCxqZ7/zKuSjFE02rye9bnuhjUHReyaYzDRy3 sYQTLtzsmmLCv9u/0Uy+M/6S1ppOnSnjFSPizlesjRWIE6MjaPuAqsOaBraTp2W9I42r x3omR9FrrnNCOwAVpl7bjZb9ropomrZpukQ20WWv2RzIIMGnqLtqBYXdXvH6pj9I1cJp gR1TsVTnQqHAwVEipx84KUemt1rJ4wXZ9cA5S06Sw7lBOilD5g9+rwbck9+o5vB2gCqs X2lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=a8t98l8g; 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=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sb8-20020a1709076d8800b007807e1ea26csi588331ejc.637.2022.10.24.12.22.53; Mon, 24 Oct 2022 12:23:16 -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=@collabora.com header.s=mail header.b=a8t98l8g; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230245AbiJXTNv (ORCPT + 99 others); Mon, 24 Oct 2022 15:13:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232484AbiJXTNZ (ORCPT ); Mon, 24 Oct 2022 15:13:25 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 896115E30C; Mon, 24 Oct 2022 10:51:06 -0700 (PDT) Received: from jupiter.universe (dyndsl-091-096-059-109.ewe-ip-backbone.de [91.96.59.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id 14DAE6602836; Mon, 24 Oct 2022 17:55:56 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1666630556; bh=Lc88sb8MYip6p3CByXWFaYAmKGfIFtgjOgejCW0P3Mg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a8t98l8gflUilNOPjNxQ7QbBzTlV42fnS3a7iTjLTC2yXRo3+uXz8JPtz24l9Lf65 /kps43VF60+KK3z2tP+saV+KIJQ0DrAvmzhJxd12mT1Hm5BuHcVgvetPAd5HnmdzL6 qJqxFjwUm/0/mB9NqGBZ67qzuQxF6XHUHUAmMegbDq5OkoyoFr5X1o27DM81XPQoF2 La9U+FXBa/AyhVs40Fc7VAXgWLgZdWlXDH+TIzQPKdYzzKdNLqRp0D1uWTJ8xn2AmX uTXyE6p+pzuXEabGst8PJD84yuFqtmBjyOSwx4mdlaW6CTlds0iQIa1DGS3V0ukBUe btKOyxu/J9GDA== Received: by jupiter.universe (Postfix, from userid 1000) id 04F30480AF0; Mon, 24 Oct 2022 18:55:54 +0200 (CEST) From: Sebastian Reichel To: Alexandre Belloni , Alessandro Zummo , Rob Herring , Krzysztof Kozlowski Cc: Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Heiko Stuebner , linux-rockchip@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel , kernel@collabora.com Subject: [PATCHv2 4/6] arm: dts: rockchip: remove clock-frequency from rtc Date: Mon, 24 Oct 2022 18:55:47 +0200 Message-Id: <20221024165549.74574-5-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221024165549.74574-1-sebastian.reichel@collabora.com> References: <20221024165549.74574-1-sebastian.reichel@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747598072630395659?= X-GMAIL-MSGID: =?utf-8?q?1747598072630395659?= 'clock-frequency' is not part of the DT binding and not supported by the Linux driver. Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/rk3036-evb.dts | 1 - arch/arm/boot/dts/rk3288-firefly.dtsi | 1 - arch/arm/boot/dts/rk3288-miqi.dts | 1 - arch/arm/boot/dts/rk3288-rock2-square.dts | 1 - arch/arm/boot/dts/rk3288-vmarc-som.dtsi | 1 - 5 files changed, 5 deletions(-) diff --git a/arch/arm/boot/dts/rk3036-evb.dts b/arch/arm/boot/dts/rk3036-evb.dts index 89b0927ce162..becdc0b664bf 100644 --- a/arch/arm/boot/dts/rk3036-evb.dts +++ b/arch/arm/boot/dts/rk3036-evb.dts @@ -39,7 +39,6 @@ hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>; - clock-frequency = <32768>; clock-output-names = "xin32k"; }; }; diff --git a/arch/arm/boot/dts/rk3288-firefly.dtsi b/arch/arm/boot/dts/rk3288-firefly.dtsi index 9267857beccb..3836c61cfb76 100644 --- a/arch/arm/boot/dts/rk3288-firefly.dtsi +++ b/arch/arm/boot/dts/rk3288-firefly.dtsi @@ -237,7 +237,6 @@ hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>; - clock-frequency = <32768>; clock-output-names = "xin32k"; interrupt-parent = <&gpio7>; interrupts = ; diff --git a/arch/arm/boot/dts/rk3288-miqi.dts b/arch/arm/boot/dts/rk3288-miqi.dts index e3d5644f2915..db1eb648e0e1 100644 --- a/arch/arm/boot/dts/rk3288-miqi.dts +++ b/arch/arm/boot/dts/rk3288-miqi.dts @@ -166,7 +166,6 @@ hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>; - clock-frequency = <32768>; clock-output-names = "xin32k"; }; diff --git a/arch/arm/boot/dts/rk3288-rock2-square.dts b/arch/arm/boot/dts/rk3288-rock2-square.dts index 07a3a52753d2..13cfdaa95cc7 100644 --- a/arch/arm/boot/dts/rk3288-rock2-square.dts +++ b/arch/arm/boot/dts/rk3288-rock2-square.dts @@ -169,7 +169,6 @@ hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>; - clock-frequency = <32768>; clock-output-names = "xin32k"; interrupt-parent = <&gpio0>; interrupts = ; diff --git a/arch/arm/boot/dts/rk3288-vmarc-som.dtsi b/arch/arm/boot/dts/rk3288-vmarc-som.dtsi index 0ae2bd150e37..793951655b73 100644 --- a/arch/arm/boot/dts/rk3288-vmarc-som.dtsi +++ b/arch/arm/boot/dts/rk3288-vmarc-som.dtsi @@ -241,7 +241,6 @@ hym8563: rtc@51 { interrupt-parent = <&gpio5>; interrupts = ; #clock-cells = <0>; - clock-frequency = <32768>; clock-output-names = "hym8563"; pinctrl-names = "default"; pinctrl-0 = <&hym8563_int>; From patchwork Mon Oct 24 16:55:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 10301 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp654597wru; Mon, 24 Oct 2022 14:12:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7OvIrSYyNAyhGbK6wrunENDIVs/eIziTzy3UFAfD9WgrW+rpfaBP3AkIRtm11OiG3xn7s5 X-Received: by 2002:a17:902:b68b:b0:186:aee0:53ec with SMTP id c11-20020a170902b68b00b00186aee053ecmr5562166pls.90.1666645959888; Mon, 24 Oct 2022 14:12:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666645959; cv=none; d=google.com; s=arc-20160816; b=ixTzRAW5WdifOEOIlcEbOqF6xfhBynuM49EyuX0KR++LoKkAQ99pSAmseJP+DERwUE 83rH1d04dLfWxecibWx+4u6AtFDl4To7oUlDlwJqIb6n1JvnNTR04ez7i3PBawBdvHrj 7tO/XasdHwba6mV5YZzFGjQNsW9c0xSTk9UAxnIIfoZun1/AipS0979Tn3dok6PmGqc/ o2A3qHw+fo6vorye966xNjWaPA+nGHyPAcFCXKmMxYKpH4VN2QckOa8/qYVQJJcGYrKJ kGpvtiv9ZPqV7YI9eA+ZzOnzYRP1NpNy0dfq6XeP+GUZFakgqzB0zNKCAQGAc4D3UBna HekA== 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 :dkim-signature; bh=A2y8Yc4EjVwpPntUKV3PktC/MNBorkkK/T/StRwrrL0=; b=QGHN3kghnX4KRXy0xfDJCM6e4PEjpbCZRZxIiVsonlE+k+3X0xx6EGqfEILoq+i3B0 eYgO0zfhAiCb+7tkkvCwSrfdnUo+/P5VTLkRbk4EQ/PIQ7DYIJWUPgkbK76wyPvT3Rsc zvOjhzHbcsNL8LsGrA34kJGgs5UafYLkhQPXLSOcH+H7lVLrx4zEtzkVxRBc6M6W/nPI tqQLxQrKQm0ZPVfeWWpYueyWbKNzFO8GN2vYjedcipbesBYTrEhSmUS4vuKShqKk4BfA l+n/8IoIXDZYtL24tIADUxFdIwQ534aGekXABADrPgHECkUcf50apFHCfL3fFlfbhLk8 UJzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=SsYQPD7S; 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=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j18-20020a62e912000000b0056bc64d158csi700192pfh.172.2022.10.24.14.12.27; Mon, 24 Oct 2022 14:12:39 -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=@collabora.com header.s=mail header.b=SsYQPD7S; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231718AbiJXVKf (ORCPT + 99 others); Mon, 24 Oct 2022 17:10:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233248AbiJXVJF (ORCPT ); Mon, 24 Oct 2022 17:09:05 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE857DEF10; Mon, 24 Oct 2022 12:15:43 -0700 (PDT) Received: from jupiter.universe (dyndsl-091-096-059-109.ewe-ip-backbone.de [91.96.59.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id 7C741660283E; Mon, 24 Oct 2022 17:55:58 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1666630558; bh=chfXMCDPsmDqagwc2SR6hcO4fr/H4GKIvfjgdqIxziY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SsYQPD7SBP6A2Kx+ofThUVlNZV4RDtQtLXAv63n605hpL87pXE0d1S9oxDg5G/S8R SXBp1rkBM2CZs/0lZBSzmrMLXCOjjM+XLqD3wqQy/7uOhUaJwaJsBwJn4EcWvtSdyJ L4oMDBclhrOwc+6xj5c92wMHh9vRRPiAru6F8wdUkgWbv0M2DqOpGYK8M6pPSQ685g MX2Gnn9WFBOQFewWQdieYFc5QgLF4Ht79gxxi7Qkq9NSrDYhzRIvzGAcHFaKdSV1f4 9UzJqbrLej7FU+HBEhEKHCPhDuo4v4jJRFmdVS3NeobDXg65UxdPOdhfcQWDBruItP ulwfTNosIOp5A== Received: by jupiter.universe (Postfix, from userid 1000) id 07982480AF1; Mon, 24 Oct 2022 18:55:54 +0200 (CEST) From: Sebastian Reichel To: Alexandre Belloni , Alessandro Zummo , Rob Herring , Krzysztof Kozlowski Cc: Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Heiko Stuebner , linux-rockchip@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel , kernel@collabora.com Subject: [PATCHv2 5/6] arm64: dts: meson: remove clock-frequency from rtc Date: Mon, 24 Oct 2022 18:55:48 +0200 Message-Id: <20221024165549.74574-6-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221024165549.74574-1-sebastian.reichel@collabora.com> References: <20221024165549.74574-1-sebastian.reichel@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747604954144969594?= X-GMAIL-MSGID: =?utf-8?q?1747604954144969594?= 'clock-frequency' is not part of the DT binding and not supported by the Linux driver. Signed-off-by: Sebastian Reichel Reviewed-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts | 1 - arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 1 - arch/arm64/boot/dts/amlogic/meson-gxm-minix-neo-u9h.dts | 1 - 3 files changed, 3 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts index 6ab1cc125b96..202deb4e2d63 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts @@ -140,7 +140,6 @@ rtc: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>; - clock-frequency = <32768>; clock-output-names = "xin32k"; }; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts index f43c45daf7eb..b21172ece1fa 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts @@ -270,7 +270,6 @@ rtc: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>; - clock-frequency = <32768>; clock-output-names = "xin32k"; }; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-minix-neo-u9h.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-minix-neo-u9h.dts index b8ef3bd8b840..1703da3235ea 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-minix-neo-u9h.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-minix-neo-u9h.dts @@ -89,7 +89,6 @@ rtc: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>; - clock-frequency = <32768>; clock-output-names = "xin32k"; wakeup-source; }; From patchwork Mon Oct 24 16:55:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 10073 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp624706wru; Mon, 24 Oct 2022 12:52:18 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6Et80XNwCS31kVZ/X5yjtMpU2ZvkZ7kEf3dk0Aybhk8q95GxVldVUfXCJewN9hQuAGNqHr X-Received: by 2002:a17:903:41cf:b0:186:ac4b:21b7 with SMTP id u15-20020a17090341cf00b00186ac4b21b7mr5964350ple.123.1666641138175; Mon, 24 Oct 2022 12:52:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666641138; cv=none; d=google.com; s=arc-20160816; b=tEBUhidpvdESahYBCt75JbjiYbGRKrEq1W2e+1zEkU5/6PLw6w10of+Ur9ZtkBEX7B 8an+O0oE3FCntO7Ovvt5NILjoY2lTzQ04rPc2MSkru3ouHOntRNE2LLvvywQrMZBa7Nm HYghEYZ/O9DLwrbS6bGtKUjB+9xp6lMA8ndPq+7SXIMBcfToLCcOjo405l9IxdYLfapM WZu5YlwRtCMwOSareSy2WcWTsAszz6dt10OjqPUdSYpHwxXmEmbJ2HSviuDt4Wep80um JJUC3Dr10S+VMJf/Tqn9eOPwt5GtJfY9pUzMj1il9n0DRpgRBZGyJsT9Zdf5XeLwWeTN foCg== 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 :dkim-signature; bh=b8rlQy6Wj9+x4+QOxu8lgItx/GoaVepEQpk6YzICPcg=; b=VNwq1NiUP44Z4neKy9nSbGoJMv6xVhuOo5qCUfW3RBSgnTMJHJW8Vt8OXogqsZLzsV V84/838fIXHPUWHQQ6BA0usav4Bj5oLMy+BfQCm18gABGowEcfmcXvSzC/K39tuGyRAx ZdiDqqb8/Dq4UZn39g1anxBHgo96jsiSp5gDeUgvZMz20xlm9O7gbzNAqGEl5Cy6QxxZ pEsf1UIb/DBl/1hmR8ADowVO9TeoR9VttweoVkO5o6eCeauGRhEWcEGDpRpIH4iqYM2D bbJNgFnTdK8n++ULX7ClVWbS/vhZvyJ+Jkw20X1bpB8CMxpteakdFHjPkaM/m+MBXpHR N2uA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=U+ts7lMA; 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=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u34-20020a634562000000b00439753f7df9si340079pgk.667.2022.10.24.12.52.05; Mon, 24 Oct 2022 12:52:18 -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=@collabora.com header.s=mail header.b=U+ts7lMA; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233284AbiJXTup (ORCPT + 99 others); Mon, 24 Oct 2022 15:50:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234147AbiJXTtz (ORCPT ); Mon, 24 Oct 2022 15:49:55 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9CAD168E63; Mon, 24 Oct 2022 11:15:50 -0700 (PDT) Received: from jupiter.universe (dyndsl-091-096-059-109.ewe-ip-backbone.de [91.96.59.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id 86827660283F; Mon, 24 Oct 2022 17:55:58 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1666630558; bh=4ZJL66e4uW0ZMfoXxSwlQ168x6AE5qji5g/hEVVVtNI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=U+ts7lMAMaWbjGgf47Fa/x8M9r74NDlhkJ23lZoQTUPGZwiHwGaAQaybJZy8O2Hur jffcrKCymXnnLhjBFBC9fFbniFal2QGpkWaFogWxTtyPldygP1pM3geMIGwXJGlJLG DlnFI6gUL7q7BF6Mr6b8QiLDTwGB7y7q7mRcASHcmcFlMH7xEwv2+EvE3JA5EMsUFe q/1sD+RcxAV0WnNumJaVxQno+zl6KgZ3outsIoCgoJ5wBFwXOaqGa3yvPC50gMVaKi PLVJs2F35RXXDuDFlNEftBEqtbDJQIJoo1oUFuRhZ+y0/QREx9L/ruy5bTJMDNLBy4 Hz07fHHRzs9fg== Received: by jupiter.universe (Postfix, from userid 1000) id 099CF480AF2; Mon, 24 Oct 2022 18:55:54 +0200 (CEST) From: Sebastian Reichel To: Alexandre Belloni , Alessandro Zummo , Rob Herring , Krzysztof Kozlowski Cc: Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Heiko Stuebner , linux-rockchip@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel , kernel@collabora.com Subject: [PATCHv2 6/6] dt-bindings: rtc: convert hym8563 bindings to json-schema Date: Mon, 24 Oct 2022 18:55:49 +0200 Message-Id: <20221024165549.74574-7-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221024165549.74574-1-sebastian.reichel@collabora.com> References: <20221024165549.74574-1-sebastian.reichel@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747599897917950449?= X-GMAIL-MSGID: =?utf-8?q?1747599897917950449?= Convert RTC binding for Haoyu Microelectronics HYM8563 to Device Tree Schema format. Signed-off-by: Sebastian Reichel Reviewed-by: Krzysztof Kozlowski Reviewed-by: Heiko Stuebner --- .../devicetree/bindings/rtc/haoyu,hym8563.txt | 30 ---------- .../bindings/rtc/haoyu,hym8563.yaml | 56 +++++++++++++++++++ 2 files changed, 56 insertions(+), 30 deletions(-) delete mode 100644 Documentation/devicetree/bindings/rtc/haoyu,hym8563.txt create mode 100644 Documentation/devicetree/bindings/rtc/haoyu,hym8563.yaml diff --git a/Documentation/devicetree/bindings/rtc/haoyu,hym8563.txt b/Documentation/devicetree/bindings/rtc/haoyu,hym8563.txt deleted file mode 100644 index a8934fe2ab4c..000000000000 --- a/Documentation/devicetree/bindings/rtc/haoyu,hym8563.txt +++ /dev/null @@ -1,30 +0,0 @@ -Haoyu Microelectronics HYM8563 Real Time Clock - -The HYM8563 provides basic rtc and alarm functionality -as well as a clock output of up to 32kHz. - -Required properties: -- compatible: should be: "haoyu,hym8563" -- reg: i2c address -- #clock-cells: the value should be 0 - -Optional properties: -- clock-output-names: From common clock binding -- interrupts: rtc alarm/event interrupt - -Example: - -hym8563: hym8563@51 { - compatible = "haoyu,hym8563"; - reg = <0x51>; - - interrupts = <13 IRQ_TYPE_EDGE_FALLING>; - - #clock-cells = <0>; -}; - -device { -... - clocks = <&hym8563>; -... -}; diff --git a/Documentation/devicetree/bindings/rtc/haoyu,hym8563.yaml b/Documentation/devicetree/bindings/rtc/haoyu,hym8563.yaml new file mode 100644 index 000000000000..0b9f39ef0edc --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/haoyu,hym8563.yaml @@ -0,0 +1,56 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/haoyu,hym8563.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Haoyu Microelectronics HYM8563 RTC + +maintainers: + - Alexandre Belloni + +properties: + compatible: + const: haoyu,hym8563 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + "#clock-cells": + const: 0 + + clock-output-names: + description: From common clock binding to override the default output clock name. + maxItems: 1 + + wakeup-source: + description: Enables wake up of host system on alarm. + +allOf: + - $ref: rtc.yaml + +unevaluatedProperties: false + +required: + - compatible + - reg + - "#clock-cells" + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + rtc@51 { + compatible = "haoyu,hym8563"; + reg = <0x51>; + interrupts = <13 IRQ_TYPE_EDGE_FALLING>; + #clock-cells = <0>; + }; + };