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: 11475 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp525065wru; Wed, 26 Oct 2022 16:02:31 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4n8XzRoTZn4+DFHPYMgAg14/56Vu51BzQn87mDwD8eNZt15UvYFRTKMh7rpLgLgIXQm18B X-Received: by 2002:a17:90a:3e85:b0:213:36b6:fa16 with SMTP id k5-20020a17090a3e8500b0021336b6fa16mr6642752pjc.56.1666825351647; Wed, 26 Oct 2022 16:02:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666825351; cv=none; d=google.com; s=arc-20160816; b=Hgzp7xQpJpjMI2gqYXveZRBLryAWqvSq2Tb9GbQvb8gUiXatQJ6ToI9lMUn59euPiu O9rC8Bh+CWNPd1iukUtM2NdNSil5dZjVClmnNe33AgqE99l3NsNIkMcbQrDaEVx5aIj8 eAPK3CeTRRnsHBHQP+B0vpiM9KpMNmgtjovavuv+tMhOoz5BQVaVkvU3TYCWDF7O/nba K43zGuG/nCUicWvakWon+GU3tkI10M24g+e3Ta/AAtvi18nacNi56CgfLPGvt7QtDspU 9+wn8ZJkWVlTzeCs1928FmXTi2f2/+zPN7BiJnmY7kA2Uufn6VuoviWYh+ifm7x6x46A X+Ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language:cc:to :subject:from:user-agent:mime-version:date:message-id:dkim-signature; bh=tKXO41Y/SWSFFaAWCsB9RGz7D8TegGmZORhd3TxzdEs=; b=vrU48CJicx24ZulYqYf4PpfbjXl2Lh6WHkRheQFd+9pOZhpzHjz0Sc6HLzdCMPlsRz bGqRcQqVSNUL/C9xutV7rw3q5dIAunphck570myyBcB8UZMDXBcutdAgx+TVezNtEQMB 50j6jcHAAk/iJ5e0pCpLUqvaZEUUFeR+BS2COpCNWTiwk9vLkH3UTfiiftf9BOL3NDpz LrGz44Rm/v3PQSG0wKyw2nfZ6zVHAFjYONnmw9/J4opZ1qRhUVJ0crfW4FVAVuwMkE8c SbTGGv8k55okhHy/z1S7P2GHIdBz0TVCJgYUT9By9N6+ZU1M0tiJqpcQCXLCS4jOZ69y HaRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YezYmqKz; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l65-20020a639144000000b0045c16005914si8214076pge.423.2022.10.26.16.02.15; Wed, 26 Oct 2022 16:02:31 -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=@gmail.com header.s=20210112 header.b=YezYmqKz; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233362AbiJZW62 (ORCPT + 99 others); Wed, 26 Oct 2022 18:58:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229510AbiJZW60 (ORCPT ); Wed, 26 Oct 2022 18:58:26 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E434B6FA22; Wed, 26 Oct 2022 15:58:25 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id kt23so20085446ejc.7; 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=eOvQgXwn243S6Tfrj0dHTmm53FcK5bgfR89Bav20k2WqtX7oFoZK91mCL3KKBjWCWb OH0C3eoG24kDpDpV9pMpv2FoGruhCRfRxQFahEkZyjMqAM355gfxpzNwxvUb0FlToIzq Q5/lwgHT3F56eVpv/T3aWLXjkaQlZI+PKlfV1cUOfh9fTULPWzBj8Uwd8cF2m8oYLihD QQPZ++VOyzW86vHn7Ephlm6jVFx3B/wf+77rX+nyjV3TUPAnd6rNsd4pIgrQijjDYiyK x2Bpg3XYugqqvb2ACNblKx7iQi4JHU0dNxyLOeQAw7TVfPDYfs+UJrX8WDUX0AxshAaX txwA== X-Gm-Message-State: ACrzQf0iirBn63fukXWxPjcUz+L/0RrKqI1psYWAAhZFruQCSEU2oDHd RQZGK9iEePQM+6hOQfhALF0= 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-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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?1747793059487751457?= X-GMAIL-MSGID: =?utf-8?q?1747793059487751457?= 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: 11480 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp526033wru; Wed, 26 Oct 2022 16:04:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7lvH+nqjSKuUQPfJ5xIs1tmR2/3g/rkbjvPD9KChVv2n5h3aT5jZGQi053yocTm+wJzidO X-Received: by 2002:a62:fb14:0:b0:56b:de9f:10ba with SMTP id x20-20020a62fb14000000b0056bde9f10bamr16815529pfm.30.1666825480046; Wed, 26 Oct 2022 16:04:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666825480; cv=none; d=google.com; s=arc-20160816; b=hd37wvguitOeIcIYiTwjgVpTuR3EqUh4fTHyxMX7S/I7iDX8tGuxjRGboFKuzTis03 T5M6HfuSthemz6dj8Q9KxHdf2I+LEjpjwVyOZxa8UAOPkE06lSIlgAgl3KSbUwMY0Kqu AHG4wFhWu1nxEtGRA/0QtS8i5DttB2x9CKw3MhZc+N1Bh3b80NlmDrWFjLFYmyvFe5Cv is+4H2z11kydrFZZ+WQkOk3kYqYYNHaID8grnQHV3zF5Neo269sWcRhv7SxUV6+Dh8x7 DETMbSsjlzUoUbTzKBKY7Nw1EMNDKu9Z77kJPZl6jOAbOK9BwZr2b9BpGpZmJDFuHGq/ KTJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-language:references:cc:to:subject:from:user-agent :mime-version:date:message-id:dkim-signature; bh=Ww8Jx6MwPKHu8PJmJYn80kwAUAuLzjtG0hvl+VPoT7M=; b=Afgj+J2phF2wSnIF+AxYI8fhNVieDu9iPOUOEyLBBJCZpvk4wcBJSXbpv8dghTI3un 62nDs7cxmC6lLEJWS3DCmIAk3ExTfGpwXCVrQ1aL8ZaZrqw+2de9j9f2ejXJlFTq/ghi ho9bntJkhw8gMf/0bGJLOTKdLfUjgnk7Ly3MbWLMkscTAbUFaXE5wDtp7SyNgo8sLC3q 394lJFR23MAoT5yhAK74laNqXkq13diGZWXTRhQJVBuCTh0SsfVoDHzfTaoZgDh5gGs1 STfT2uG0OYBZAVjpTWda8PNbXwAUHzo4li97QUGRp6VAlEo3i8d0xIim43+ysNWd88+j g0iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=I3fm9YJE; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z12-20020a170902708c00b0017b977d1b7bsi7335317plk.32.2022.10.26.16.04.25; Wed, 26 Oct 2022 16:04:40 -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=@gmail.com header.s=20210112 header.b=I3fm9YJE; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234127AbiJZXBL (ORCPT + 99 others); Wed, 26 Oct 2022 19:01:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234113AbiJZXAe (ORCPT ); Wed, 26 Oct 2022 19:00:34 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50980317F3; Wed, 26 Oct 2022 16:00:08 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id a13so44192741edj.0; Wed, 26 Oct 2022 16:00:08 -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=TLqQUn8UNW/PaQamoSqhKcG5fqHpHAFnMB4/SOlxVxBxOlzL/F3X6DdV/jhzAisHTE 8guRcqmwA3KcGo19NwRTSJujWIL/IQAm2I//x1YZ8WYOcFypDa4Ymw6aDVDjK1Hc/3Bf KlndGD27R/3gsk8mPdFrOJmbLYBvEXCkxE4j8ESqWQXNSmdHr8rKf0/lfawwZ1HJSb9R SjOgTVVZSawR4TG+j13fvVDeXBvbKnBSwD3zVXl28w0YsR+QdBy1Ql46t3Z3DMV4B2B1 pbUzpl3c3XgkM3Ic7P1oHxeh3SLxHJaMS43rTG99rKgDnq0VH91H2VWLf2LPuF0jtrnd gwLw== X-Gm-Message-State: ACrzQf0pBpUkzsq4zPkCHCJt4xv1V2RVAr98SSGh6byKa1nXMC1RT7RK GmLgWUyuXeu8FjKBdBehruU= 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-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,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?1747793194614094597?= X-GMAIL-MSGID: =?utf-8?q?1747793194614094597?= 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: 11481 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp526170wru; Wed, 26 Oct 2022 16:04:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5WukRjdXFclEVayHpzaAFj9TSvXHfnK6xGNiOSpndUnNUPdmYvsMIZqUHtrURS7NCEBy4J X-Received: by 2002:a17:902:d510:b0:185:475a:4057 with SMTP id b16-20020a170902d51000b00185475a4057mr47081942plg.54.1666825499526; Wed, 26 Oct 2022 16:04:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666825499; cv=none; d=google.com; s=arc-20160816; b=ZzWh4hj6LOCUSb0ClRmuJD1tw1QQ2f+5CZLGP6yZ9WsX9RMXwGfUazSTEiVZgz74e1 glwdDlpBp6xmsKsmB2x3PwEBThT+KpwpK+1rayJ7DJAwl3lBBxRilniR27zSpgSgNPBR JGD+QJr5qUySI3d09n6ST1gOCBl2vTRI3yoRCFdIHKwtwrtzHlVkptYhZDlX+r7y1m3U 3m7he84+jF5ODaavzBK1EnoG0EEkKUObx4DPZbfgqEoGlIYVbKM29HNCNdFSFmR328fb 4XDIgeFRqCRN8k0d9MPlHK19YxHyC4LDGxRjVNF0vnpWEPrDwfwuGOyEm1cJH1SUFf/n b8mA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-language:references:cc:to:subject:from:user-agent :mime-version:date:message-id:dkim-signature; bh=QDnwRNSvILxD4k9pcL4E1+s2WIr1eI7KS5V5B2hV+gw=; b=yO06vU4DwY7euDWOPx/BfEGum0fQ20YogQ+KFaqi5QdtgSGjuDB6THDwupQidBjH/l e9htY3cRoeKcJDjRrj9pRVIZ7BttWPtiMwm3V3jxMX9zdO2erd8Fz6N52kfj90TPYOTZ PpZffY04GV/CHx+MLPvMTJdXdT6DQ0Tl9ED+ih/aN5cIJ7BG3j2FVal7nvFfHFidbWua cqk8QlcuiIu/6GpJ4zfwVGKhgvLiAKLufSiLz00l2juv27uocQJjhPn6IG/1sd3AiCgA g0tgf40jK3C0SJiSN/5OTx4Nvvcne7sq72uamw2hWO1YEjUThZb/NYkqM0ZoBg2HYkKR J9ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=OZri08sC; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q8-20020a632a08000000b0046edb8cdbf7si8240862pgq.795.2022.10.26.16.04.46; Wed, 26 Oct 2022 16:04:59 -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=@gmail.com header.s=20210112 header.b=OZri08sC; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234126AbiJZXB5 (ORCPT + 99 others); Wed, 26 Oct 2022 19:01:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234068AbiJZXB3 (ORCPT ); Wed, 26 Oct 2022 19:01:29 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A8B069BF7; Wed, 26 Oct 2022 16:00:40 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id k2so25703679ejr.2; 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=0ZY/H2KnJC1dU52yvd3CQN2t0JrbN5kMMsFK6tkd+zKgKV17yutr+DM+MrkgqqtRxj faat1mdCYHWwIGd/L79EUxyZRngkXb03zVmbaqJpDorc2ZFjHK9JjEbMqmd1zxEB48Em +g3+SCZLu2utDamqOSyL+9h+iym4uH/CPMP7aqF/0ow/lQ/d5PVy6QqtpCkBCryrHtPR Kgs0dTInvfCmXLxNHS0Q6Pm+OqTQrZ2L/FdY7QGYjXNFGe6j1GtdSEYsjrJnw0P42Uva fJpT04isyCgegtPhKacdFD7m/Co4ZuCA5JcXGI3Ms5x6ARqls70w+lleHVe23lcNVrBE D5zg== X-Gm-Message-State: ACrzQf3lays5GCIslK5JTUiNLCALgE5kxtVGyMIFqyyEGQ+PUChfF8uM T8uqZKGFPn77eCC9g90ZGTo= 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-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,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?1747793214898929643?= X-GMAIL-MSGID: =?utf-8?q?1747793214898929643?= 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>;