From patchwork Wed Oct 26 22:58:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13021343 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 891FCFA373D for ; Wed, 26 Oct 2022 23:00:22 +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:Cc:To:Subject:From:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=NIUzhWAc0uiy7JryENJT96BQxEMJq/tqvEhYtkTku3A=; b=2qMdxsrWWkNFbu zvKthjIC4Gy+5R4joZ7r2thV2VbEMC3sVvElAmEHUGGacWZ+C/Y+m1fgHIu84+khxGbAAVG9PJ5jL dvfGhX53JmTZghoT4MbAE7R9R7+KAP8I8v6POpiRtLNnvOsGhsQXVoYH3C5+GVxu0pjAAQBlsQ/Z+ RRmhpmJT3v0L5X1WruyLhyuCNjlevFE4lwwsq5RF0TPhbITyijRRmfg8gPu1XODJ11Ck5dTjo+C3h 6VxFYSXNz4ZJ+d2Y5t8RL/HKo1bcvhTmCLPOJyByT1mmOU/IpTNYwdtSolfx7xooSGl7gqo3pEH/t DSObnff9AdpVH8KkbifQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onpLz-00BBmy-K6; Wed, 26 Oct 2022 22:58:31 +0000 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onpLw-00BBkt-8e; Wed, 26 Oct 2022 22:58:29 +0000 Received: by mail-ej1-x630.google.com with SMTP id bj12so25561763ejb.13; Wed, 26 Oct 2022 15:58:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:content-language:cc:to:subject:from :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=tKXO41Y/SWSFFaAWCsB9RGz7D8TegGmZORhd3TxzdEs=; b=YezYmqKzkTpedLipitniPXjPQD7/CZzP7/gotJ69PCCHoOoAD13kadMq0mnOJ+xEco ZU//Bo5Lo6aSvY1FAi0czPITrw36AOUxYu9oUk13o/yoihxDLqMt7AOfj/Zklbx8AoDt AE4yQeqonK+bQy3wh2K28NULJ6FWGc5YRhJ1mcFVql3UWCB6P/7Srb2MUqaxI4LXOhbB 2DYZCsGNeiIhp7rUKatVcRiS0fyGOo5lRYm5NVmoEaR7YM/9riMVLSCTXftOLAAalUKb cA5+jF9s+TvMMTFrXwlzx3qTr0Q4oehyjRHjhr8SQbzkEONyn92fzqURHh0jXvVTPQ+9 ki6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:content-language:cc:to:subject:from :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=tKXO41Y/SWSFFaAWCsB9RGz7D8TegGmZORhd3TxzdEs=; b=v42P198CS5aCX5MrQiqV5IoCskFG2Wbu9/VRJENiCluIJUuQmwTLUuyfs7IvOIHZTw f8DfwZC0NS5aLPfHqOkEt2exBd89dPaH/cD4SlT4T0ud53ODZaMZmPbLVdnlUlaObX7p JgsPQ+BzAR740bwsKp+Aa23Pkl8YfdAGzgFvR2LbpNkeN/TAanS/3est0kAGO5bHZNbW F3vz+RqCSzzCTpid+12R6EmHKyXv8Iq88VrfPrvUPe+WMG4Z2QobkFfOFS5vQzI6e6VV 1ePkDFwbai6brBc/pyZxRBa03u2Dnirw2MODw4n0boc9U2VAfxxa6c/4FUd0MWsfiSIw izAw== X-Gm-Message-State: ACrzQf0iehRwIYWZq6XXcqoam390rPm4kmOELjW2Z8kpQkhkaI9XZ6jE RZaOgeZOExQC4jgpruv0ZSU= X-Google-Smtp-Source: AMsMyM6mQ/QRK3Y9ZsO5bVp1hlFiabnBy4SeH8oU4i4Vf7HLzAV3HiZy991kqc6SMFO9ebEhHJ9j2w== X-Received: by 2002:a17:906:5a5f:b0:79f:9f1f:2fef with SMTP id my31-20020a1709065a5f00b0079f9f1f2fefmr24085589ejc.396.1666825104358; Wed, 26 Oct 2022 15:58:24 -0700 (PDT) Received: from [192.168.2.2] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id o19-20020a170906769300b0078250005a79sm3554252ejm.163.2022.10.26.15.58.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 26 Oct 2022 15:58:23 -0700 (PDT) Message-ID: Date: Thu, 27 Oct 2022 00:58:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 From: Johan Jonker Subject: [PATCH v1 1/3] dt-bindings: rtc: convert haoyu,hym8563.txt to yaml To: heiko@sntech.de Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, a.zummo@towertech.it, alexandre.belloni@bootlin.com, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221026_155828_355411_98CAEA18 X-CRM114-Status: GOOD ( 13.98 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Convert haoyu,hym8563.txt to yaml. Changed: Add clock-frequency property Signed-off-by: Johan Jonker --- .../devicetree/bindings/rtc/haoyu,hym8563.txt | 30 ---------- .../bindings/rtc/haoyu,hym8563.yaml | 60 +++++++++++++++++++ 2 files changed, 60 insertions(+), 30 deletions(-) delete mode 100644 Documentation/devicetree/bindings/rtc/haoyu,hym8563.txt create mode 100644 Documentation/devicetree/bindings/rtc/haoyu,hym8563.yaml -- 2.20.1 diff --git a/Documentation/devicetree/bindings/rtc/haoyu,hym8563.txt b/Documentation/devicetree/bindings/rtc/haoyu,hym8563.txt deleted file mode 100644 index a8934fe2a..000000000 --- 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 000000000..57729443f --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/haoyu,hym8563.yaml @@ -0,0 +1,60 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/haoyu,hym8563.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Haoyu Microelectronics HYM8563 Real Time Clock (RTC) + +description: + The HYM8563 provides basic RTC and alarm functionality + as well as a clock output of up to 32kHz. + +maintainers: + - Heiko Stuebner + +allOf: + - $ref: "rtc.yaml#" + +properties: + compatible: + const: haoyu,hym8563 + + reg: + const: 0x51 + + interrupts: + maxItems: 1 + + clock-frequency: + enum: [1, 32, 1024, 32768] + + clock-output-names: + maxItems: 1 + + "#clock-cells": + const: 0 + +required: + - compatible + - reg + - "#clock-cells" + +unevaluatedProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + hym8563: rtc@51 { + compatible = "haoyu,hym8563"; + reg = <0x51>; + interrupts = <13 IRQ_TYPE_EDGE_FALLING>; + clock-frequency = <32768>; + clock-output-names = "xin32k"; + #clock-cells = <0>; + }; + }; From patchwork Wed Oct 26 23:00:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13021344 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 7894AC38A2D for ; Wed, 26 Oct 2022 23:01:41 +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:In-Reply-To:References:Cc:To:Subject: From:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FtSOkTk/LP0UQn0XVHq5rSObdn0Fmr2KduKIVSC7Me8=; b=ZtbTlctRGx3fUa JbP/DERkfAondT+1GcK26m+dRZszygMjOTFjIUsnGaYytwEM4j/NTha5pcKoCEPn7V+ljlSaWyTIK n08ka9nb8hwnpMxlM94umV+AY+ND2Yzqalq0t4mdAtFXHWRU/Hih0heWmbSMqOm3KYxNvkNluL/Hf OXXdo5sGU/F7QSJB+nnLGiUGd0MN6hJEY3/W8BXDzqdqH23mc69H2zLWDA67750TqwV2oFnlsBh4p F8e0GhzycfZ4b6xn1KyaJIS+8sOP2xR3J3GIo3R3aqF5FiWbziBKj7ZHUtMcs58LyHWM6Iel+0Hpk 0u7/snIWlz2mGU0EgyYQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onpNn-00BCK1-RO; Wed, 26 Oct 2022 23:00:23 +0000 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onpNa-00BCDV-3g; Wed, 26 Oct 2022 23:00:22 +0000 Received: by mail-ed1-x535.google.com with SMTP id x2so16868298edd.2; Wed, 26 Oct 2022 16:00:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=Ww8Jx6MwPKHu8PJmJYn80kwAUAuLzjtG0hvl+VPoT7M=; b=I3fm9YJEZN8vn/vYlXN9fSY8k4i77jAX52zOoYBBuPldBV1oZUwXuOvRRKrprh6aIs 9XgPQSBYSf5MkYEjF4m3St8lRpQkqlYZ5W5rXDzeor135zCDa3EtyZ1eiPqaRIcZDgXy 9KHMK3AStov4UfcuX3L4cYqw/Z/Pa1Ty6r5uzfdl5/t9SLr7Hji9DJBcxeoisTUdybZl hBhqiq7ODzjdmpTwfVcA32aXit4rdv+Ws2XO9kH8lFn2XanPs7ZXfPKlLxhOn22yYYvE M92dIhVxNN7oaWijPD8O3xtcn5HwZXm1y6SmUwjFUp6dRyYlyazwRqVg/gFQ5kl5UK91 bkvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ww8Jx6MwPKHu8PJmJYn80kwAUAuLzjtG0hvl+VPoT7M=; b=B4okrINPI3G9eh7hoNsyeSxbI+0L3X3RbKa5txR2Cjrtd0ahqPrj+OB9+0bIZ5NCrM kRmFQGoi+4w46GJtN26yH5rbi9dTYie0MhRmEgg6+N6r+kzDfquwpSBiOAFsqavhceNp 0tWfj8eHY2E9r33ZlbsEQetL1K+D+8gRlK219E5TS20tDHSeVBqVracCTCDH9ohGwRJq 59PCIjUwParpIOdFiopWHOkMIrQW9ypg4zwz67iDOI3qhIwdLXQOmsk+19OaVsvK+K7H v/620v8KxRLKIZXvB1S/bhLBpFlfM2GDAeSSWlCvPxzhKUS1j6LhEuz1zXgvQ6A5NzF0 6p0Q== X-Gm-Message-State: ACrzQf2JIOXKciEpYsRrpiThSJ8uSkXJuQZjrCSzU+llKUJHCtBEbEIs qYf8X5i+ZcVNSfjDpSGVwhpIZrnUJ+A= X-Google-Smtp-Source: AMsMyM7LfwC6hr00YFuS7OlQuq6QKPSmS3Rztqf9jg+nzCnwAq4lXLwpFOcej6U/S60SWkn3lWsQEA== X-Received: by 2002:a05:6402:3213:b0:461:dec8:336d with SMTP id g19-20020a056402321300b00461dec8336dmr15397238eda.221.1666825206604; Wed, 26 Oct 2022 16:00:06 -0700 (PDT) Received: from [192.168.2.2] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id qh24-20020a170906ecb800b00782fbb7f5f7sm3563185ejb.113.2022.10.26.16.00.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 26 Oct 2022 16:00:06 -0700 (PDT) Message-ID: <84f14b40-0804-9734-963a-31e200687a8d@gmail.com> Date: Thu, 27 Oct 2022 01:00:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 From: Johan Jonker Subject: [PATCH v1 2/3] ARM: dts: rockchip: rename "haoyu,hym8563" rtc nodes To: heiko@sntech.de Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, a.zummo@towertech.it, alexandre.belloni@bootlin.com, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org References: Content-Language: en-US In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221026_160019_098796_C1C20099 X-CRM114-Status: GOOD ( 11.43 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The "haoyu,hym8563" RTC node names should be generic, so change them. Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk3036-evb.dts | 2 +- arch/arm/boot/dts/rk3288-evb-act8846.dts | 2 +- arch/arm/boot/dts/rk3288-firefly-reload.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 +- 6 files changed, 6 insertions(+), 6 deletions(-) -- 2.20.1 diff --git a/arch/arm/boot/dts/rk3036-evb.dts b/arch/arm/boot/dts/rk3036-evb.dts index 9fd4d9db9..89b0927ce 100644 --- a/arch/arm/boot/dts/rk3036-evb.dts +++ b/arch/arm/boot/dts/rk3036-evb.dts @@ -35,7 +35,7 @@ &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 be695b8c1..8a635c243 100644 --- a/arch/arm/boot/dts/rk3288-evb-act8846.dts +++ b/arch/arm/boot/dts/rk3288-evb-act8846.dts @@ -54,7 +54,7 @@ vin-supply = <&vcc_sys>; }; - hym8563@51 { + rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; diff --git a/arch/arm/boot/dts/rk3288-firefly-reload.dts b/arch/arm/boot/dts/rk3288-firefly-reload.dts index a5a082634..2b462bbca 100644 --- a/arch/arm/boot/dts/rk3288-firefly-reload.dts +++ b/arch/arm/boot/dts/rk3288-firefly-reload.dts @@ -197,7 +197,7 @@ }; &i2c0 { - hym8563: hym8563@51 { + hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>; diff --git a/arch/arm/boot/dts/rk3288-firefly.dtsi b/arch/arm/boot/dts/rk3288-firefly.dtsi index 052afe554..9267857be 100644 --- a/arch/arm/boot/dts/rk3288-firefly.dtsi +++ b/arch/arm/boot/dts/rk3288-firefly.dtsi @@ -233,7 +233,7 @@ 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 713f55e14..e3d5644f2 100644 --- a/arch/arm/boot/dts/rk3288-miqi.dts +++ b/arch/arm/boot/dts/rk3288-miqi.dts @@ -162,7 +162,7 @@ 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 80e0f07c8..07a3a5275 100644 --- a/arch/arm/boot/dts/rk3288-rock2-square.dts +++ b/arch/arm/boot/dts/rk3288-rock2-square.dts @@ -165,7 +165,7 @@ }; &i2c0 { - hym8563: hym8563@51 { + hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>; From patchwork Wed Oct 26 23:00:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13021345 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 72DA9C38A2D for ; Wed, 26 Oct 2022 23:01:52 +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:In-Reply-To:References:Cc:To:Subject: From:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=oR66KpIiA0R0LkajsxH2CeO+s9ncxX3qFfcOgs36JPI=; b=yMwb4kPI1IFKNf VkhnZIvzc7UqrOKa5wuZ0ha/amrFQdxpysayUYm/TwYkf907hbtRskjYHaC7dRaFZjhE+EhO7tJGy 2mxjAGDQtQmdVXhyCwR7Y22Ixg0dAZOE5GeMzcIPmDmSJ7cDHycd+VIYUA05Eg5l8cN34paQ15Kr1 9KvaS3eMrWgp7KinR5B3sdPvnGB7FflLhAHdo79hl5q+apKi6J6YniLjIbpZDYSMvN4ugPsiEtKPe 8rQCzFgMN/Ty4aBketLdI/f5qU9qiH+tvGWzP6MUGLdJbLIUp1jOqrCyFd7t8ygmTIRrjqZuMqXPp 46FWZRqzmAY4tLAA+TIg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onpOA-00BCU6-E8; Wed, 26 Oct 2022 23:00:46 +0000 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onpO6-00BCRS-SI; Wed, 26 Oct 2022 23:00:44 +0000 Received: by mail-ej1-x635.google.com with SMTP id y14so25651178ejd.9; Wed, 26 Oct 2022 16:00:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=QDnwRNSvILxD4k9pcL4E1+s2WIr1eI7KS5V5B2hV+gw=; b=OZri08sC3H4NhbuF2t777h2w0nJU42EHf88jSJxwBiXid44X+DoiRTD2iuTX84q8Ne 5u5OZBnJF4wbYBYSCT0DosCyZnfODHZ21wjDv4YxESxguroiXZ6gSNjND/fNxT1NisTc OkGgbuV0ExZw5EOG1PCWrAEifdEDEOuwv4zfMvuADsGQeaLFFkskS8DV/tvJytN3L1Tu 6TROGFhgqadljW9oKaNcrnzmpR3s3pdfWzgsXiAFSURTce6J4F0HAk5q4tbkWjj/AC2p yFPc5UrbEtCxBuqQIelOnUtVkiOXrEqwSS+ag9tTB7zQZ1XOqPeqb+4kDC2BmuIdhvcL Sy+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=QDnwRNSvILxD4k9pcL4E1+s2WIr1eI7KS5V5B2hV+gw=; b=0y2eJi3DSBrTldEuWmLBLCIiAKpMGBmYMo3B0+nC0YYspyzIGMDDye456QYHptQ88Z 9aLqied0VKeoBmBc7aNuLHpSHijqN5jvQLcbc8MZvnlPJPfg2Ks4i2DkxXt1MEyspyYG HgmbU7G/tYiAgfdsKvoGzZSsvfsEk8xY0CSqs0EalXjAH7ZIZ2IMawUomCkNv5XZG0nS cbc6ns98oPbqYxmUGrt6uHcVkQPIHPhiWK0/FKTe389YBs4LItWnkNhboMSUl6QIazct D6r5Q8q3swfhhDb5kQxUiy3yhOPZpOlNFNUvBS0wyU72QpBrWiis2fEfUBBm9JQ/q9Mw bb2Q== X-Gm-Message-State: ACrzQf1FWkyZYYTb8/+0ORWJ+QOSQU4lCltFTivnOFeZtr/CCuLykSng ZLCll/uBiwJdrLawaMPmQCQ= X-Google-Smtp-Source: AMsMyM6WkfKw92SRZVxTuuDFP0qLNx9+SU/w1+k6OaO/N5MWqBFb40Iwy8t6K0T2FMIlRjvdFepiIg== X-Received: by 2002:a17:907:2e01:b0:78d:f24b:7330 with SMTP id ig1-20020a1709072e0100b0078df24b7330mr39087661ejc.604.1666825239392; Wed, 26 Oct 2022 16:00:39 -0700 (PDT) Received: from [192.168.2.2] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id 13-20020a170906318d00b007317f017e64sm3546886ejy.134.2022.10.26.16.00.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 26 Oct 2022 16:00:39 -0700 (PDT) Message-ID: <8facb161-44cd-4cd1-93ec-468fa3164ed4@gmail.com> Date: Thu, 27 Oct 2022 01:00:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 From: Johan Jonker Subject: [PATCH v1 3/3] arm64: dts: rockchip: rename "haoyu,hym8563" rtc nodes To: heiko@sntech.de Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, a.zummo@towertech.it, alexandre.belloni@bootlin.com, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org References: Content-Language: en-US In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221026_160042_943172_E2B6DAC3 X-CRM114-Status: GOOD ( 11.37 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The "haoyu,hym8563" RTC node names should be generic, so change them. Signed-off-by: Johan Jonker --- 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 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- 2.20.1 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 7f5bba0c6..0e88e9592 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 @@ 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 38d757c00..e147d6f8b 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368-r88.dts +++ b/arch/arm64/boot/dts/rockchip/rk3368-r88.dts @@ -192,7 +192,7 @@ 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 5a2661ae0..18b5050c6 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 @@ }; &i2c0 { - hym8563: hym8563@51 { + hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; interrupt-parent = <&gpio0>;