From patchwork Tue Mar 29 15:07:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 12794925 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D2552C433FE for ; Tue, 29 Mar 2022 15:07:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238238AbiC2PJf (ORCPT ); Tue, 29 Mar 2022 11:09:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238217AbiC2PJf (ORCPT ); Tue, 29 Mar 2022 11:09:35 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BA2F1E7A7C; Tue, 29 Mar 2022 08:07:52 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id u26so21034291eda.12; Tue, 29 Mar 2022 08:07:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=p9v27V0/JfuIbfFojrBajwITmYHf2b8Rf6L3R9h8DQQ=; b=fGHjBdelOVCq0/HLdLy1UetI3cugft3sVAH5OtbM5CkxW6DAVq34oE5s3Zze28+2a8 U8QSzvPv0ufc5bZFWAdBpn6ZsuGhpWCJ98RxiwbEJK9luYn7m5qL/TwdXmNQfb3i1fbZ yxVwcjDNcdoEXTVoRTHjU9CIfFTQze2w3UzVANnDwDZ7i1mcyBPW6OBQn0yAglHNdrPf spLmwoo0vmcrRFEif1xOHSQmvd5vzS2jcEyRbaiQyFp3ixIJqTM4P1sr73pd9xSSlGi/ hcfMf/ZU5jLx6pUNmiAmEsUV0xbzpaK8oa4mEKdcLLJtlYy8xoB3VRZkUWscWMJxC8nZ unPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=p9v27V0/JfuIbfFojrBajwITmYHf2b8Rf6L3R9h8DQQ=; b=z17u1jOchJ3Bc9fFS9VJKEOSkuXjtoIm5xEjbZJSwTbJzoy9J6PNmIgTP+X3Q2dCHc eSolcT1PrPuZg7GQ9PMDUleOOpWLUC9cxdm6foedENhjFmcj4jYmm1ZYmRB3p8iLrl95 JxFhA8XFVZkz0SMjeb84UsDfNZ+uRfSPxrKFeBxCp/rtJpMFJX19/uy1rqYoRHrC4w84 HPROIqa38AT7Cj04cLZ5kuItQ086eZIPcz+iDgOlNj11yAjZhowOlV//sUmlf3ZGYkvc FiUT/0yiab2/AnhoxdHDSMCYx50Aj/cXyGjUW1BQreP2sOWg/EzhhsHRWUlIlSa+L8Wv 1uXw== X-Gm-Message-State: AOAM532k027XevPF8bfdOvWbYxW5x1Cmb7Wf8Q5hqhQV6VYFBjn5yCap P9WjyZDO0n2M8h5iB0jQvjs= X-Google-Smtp-Source: ABdhPJxso/UMv+vRLnya+BieCPXHQXWBIEBC2uFnNZ672GwfuzASripXLXTFP7UXiqKuRr4+8CDwLg== X-Received: by 2002:aa7:d58e:0:b0:419:c121:ea33 with SMTP id r14-20020aa7d58e000000b00419c121ea33mr5012304edq.256.1648566470557; Tue, 29 Mar 2022 08:07:50 -0700 (PDT) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id eq7-20020a056402298700b00419d8d46a8asm3261643edb.39.2022.03.29.08.07.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Mar 2022 08:07:49 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de, zhangqing@rock-chips.com Cc: robh+dt@kernel.org, krzk+dt@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/6] dt-bindings: clock: fix some conversion style issues for rockchip,rk3399-cru.yaml Date: Tue, 29 Mar 2022 17:07:37 +0200 Message-Id: <20220329150742.22093-1-jbx6244@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org With the conversion of rockchip,rk3399-cru.txt a table with external clocks was copied. Make it a bit cleaner by aligning the columns. Also fix a description. Phrases start with a capital. Signed-off-by: Johan Jonker Acked-by: Krzysztof Kozlowski --- .../bindings/clock/rockchip,rk3399-cru.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml b/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml index 72b286a1b..76dd24d49 100644 --- a/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml +++ b/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml @@ -22,11 +22,11 @@ description: | There are several clocks that are generated outside the SoC. It is expected that they are defined using standard clock bindings with following clock-output-names: - - "xin24m" - crystal input - required, - - "xin32k" - rtc clock - optional, - - "clkin_gmac" - external GMAC clock - optional, - - "clkin_i2s" - external I2S clock - optional, - - "pclkin_cif" - external ISP clock - optional, + - "xin24m" - crystal input - required, + - "xin32k" - rtc clock - optional, + - "clkin_gmac" - external GMAC clock - optional, + - "clkin_i2s" - external I2S clock - optional, + - "pclkin_cif" - external ISP clock - optional, - "clk_usbphy0_480m" - output clock of the pll in the usbphy0 - "clk_usbphy1_480m" - output clock of the pll in the usbphy1 @@ -62,8 +62,8 @@ properties: rockchip,grf: $ref: /schemas/types.yaml#/definitions/phandle - description: > - phandle to the syscon managing the "general register files". It is used + description: + Phandle to the syscon managing the "general register files". It is used for GRF muxes, if missing any muxes present in the GRF will not be available. From patchwork Tue Mar 29 15:07: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: 12794926 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 92DDEC433F5 for ; Tue, 29 Mar 2022 15:07:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238251AbiC2PJh (ORCPT ); Tue, 29 Mar 2022 11:09:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238242AbiC2PJg (ORCPT ); Tue, 29 Mar 2022 11:09:36 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CD821E95C5; Tue, 29 Mar 2022 08:07:53 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id pv16so35832186ejb.0; Tue, 29 Mar 2022 08:07:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JZrjecTc6isxOln40Vu5kdPXZSuYev7N4LqkSkVuX50=; b=S1TTstVm4PiS0psirN8/kUMX2zgzB6DwE+2dneSeDqtD7awdbNoysKhZ4GOpg6otnd 8m8SXbHJ090HjzoJ5eNg5hn3PkvxPmHkKNOmkusbHhr+L84Bp95S7sl/PTHa/6L5S7DN aZtbQVb8adDXcQsSeMpl8OIlZ4ybAL1Qh3yqA6nCf5/AmzYoikvKVPz4EcXr7rwryoWr EJL/pQFFW7aRMtIiC+8AvAzdGa1tanZv0h56i/C+XFJBsPoLtOUmekwb70Bkwp/QTFcO poNcczf7bw6t1PvoqnOgN7vSfI8LVcFV+xYlBs0wm8M02ggY+Ezrb6G/t2XYegW261zB mzzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JZrjecTc6isxOln40Vu5kdPXZSuYev7N4LqkSkVuX50=; b=8F8XFShLB5E5aEnbE1uzWJMU1d2j+iK3kMi2DzaQU0gdfLk0S4aAu70WOWQhsNPYL4 PwjeIemUv89LxGlDls3/JB2jZ64S+7K7yntxlo0q1qo1qIFL6TWzrpvYVIEJ5FoQgRUB JUWMeLwzy4WxsJi2/8rt4f7ikQ+/iTnWoPh8v/NnRgCxk6Hjn9AZbeLiaClhe220IMzW MsG1O+cW5qpOKvHv9W0gRrr52AQ1ognNZxwcK4f4T1f0Tfo1TUmLhO6/JfumYUyG9y8h T1Tz2Y5yAoUkG6HTZJcM4g07q6kiABzjchGvB3kqhTG6xbm2Xh3z7zD/QnwwP+tGb7Sx uwTQ== X-Gm-Message-State: AOAM531sDUvlY5MWTOCUWcBpw30oIBCQ2GIx7/5TdfLzei49wfcwN+az 2rjbhu9Q/il8Upxzgq/MZ1wJSpuRiMI= X-Google-Smtp-Source: ABdhPJxK9uAZPCoQxiBP6Nxy0F/7WLolO7THdSnb7f/FIeDNldRKMS9uPvGarmj6h7tQk7InG9ETUA== X-Received: by 2002:a17:907:7204:b0:6df:6b63:cf49 with SMTP id dr4-20020a170907720400b006df6b63cf49mr34904315ejc.498.1648566471863; Tue, 29 Mar 2022 08:07:51 -0700 (PDT) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id eq7-20020a056402298700b00419d8d46a8asm3261643edb.39.2022.03.29.08.07.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Mar 2022 08:07:51 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de, zhangqing@rock-chips.com Cc: robh+dt@kernel.org, krzk+dt@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/6] dt-bindings: clock: replace a maintainer for rockchip,rk3399-cru.yaml Date: Tue, 29 Mar 2022 17:07:38 +0200 Message-Id: <20220329150742.22093-2-jbx6244@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220329150742.22093-1-jbx6244@gmail.com> References: <20220329150742.22093-1-jbx6244@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org With the rk3399 cru YAML conversion the original text author was somehow added as a maintainer, but who's currently no longer involved on the subject. Replace this position with the Rockchip clock maintainer on her request. Signed-off-by: Johan Jonker --- .../devicetree/bindings/clock/rockchip,rk3399-cru.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml b/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml index 76dd24d49..3cc8398fd 100644 --- a/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml +++ b/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml @@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# title: Rockchip RK3399 Clock and Reset Unit maintainers: - - Xing Zheng + - Elaine Zhang - Heiko Stuebner description: | From patchwork Tue Mar 29 15:07:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 12794930 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD646C433EF for ; Tue, 29 Mar 2022 15:08:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238260AbiC2PJr (ORCPT ); Tue, 29 Mar 2022 11:09:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238274AbiC2PJn (ORCPT ); Tue, 29 Mar 2022 11:09:43 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F8491EE8D0; Tue, 29 Mar 2022 08:07:58 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id r23so21092102edb.0; Tue, 29 Mar 2022 08:07:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CF0NDgYO3DvdL695eIgW2VcxkY0LtkB+XOQl4F9243I=; b=dORRr4G7IfaVjl+p1pp4IwpqhiZjWXRGTSpkFcVbJbbtQosrg633vKlWmWONC0ut5x 0S1HDLhdh2e8RRu8T1X/QAk+roWpr/x4e8RZM/yt+bndeA6CvVyvNj+F238yQ6PxT2q4 3khdsUz66QGUxXoQ40rT85fPWXSa5SetiFxCeisaCOKOSU8UTXCvNoDaGsVSF15JUCgH szdMgO87BZw/N09L/bpXJAj2fX/2IBjwUSX+QJJEIsF8/b0sy3md92gOOvgdCczYKxgg 0l8Z8S8ggKsAViPm2BM3ElsoYlLmVOhRZiEwF/monCbL5wey+MukJz66MOn7KP7cua4G c9iQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CF0NDgYO3DvdL695eIgW2VcxkY0LtkB+XOQl4F9243I=; b=YSSrESNGMX/CGcYNsWyY+5xl7cNlRtEH7KcW0qdv4FuRs911t8Mec+vZfIlw86hLRP +D1XGuS49qcdq6JKQtcVOzlKceZqSdrjAY9NydYQ+iYktcu27U6dV41lR6vad4pjeSUP mhIwohBX8jbD99BbxHpx/h4XiI/mMtrSEhWADumVSiM/54hvf58wbNgeBCzK2+wYISTj GAT9JnMux9qLlAVULLRQUgcp2tUVykDTnjjxL4XoOhAUa3MC+n1vdiylsXwa+gcgYIta qTwxsFwHvbiqkDn3OKuolBcAFlSGBREuqZSwRKQhaKe56fWHtCDQboZS4BrLzkRdQbBe +dBw== X-Gm-Message-State: AOAM533i8vt9dLRksGgynqL1Xdxz3nXYaKjJBxjte8I1GM1OtR+HIuMe HorEl9R47+SygGTkugBz6EY= X-Google-Smtp-Source: ABdhPJxx5yBsg7xs/iYz7SucgyLj3wZ9zkiHLkulas8E2+Vc8i2RUEi84UAQP/INSizSxGMiR5DIUQ== X-Received: by 2002:a05:6402:3d3:b0:419:4781:aac7 with SMTP id t19-20020a05640203d300b004194781aac7mr5130859edw.347.1648566473183; Tue, 29 Mar 2022 08:07:53 -0700 (PDT) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id eq7-20020a056402298700b00419d8d46a8asm3261643edb.39.2022.03.29.08.07.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Mar 2022 08:07:52 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de, zhangqing@rock-chips.com Cc: robh+dt@kernel.org, krzk+dt@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/6] dt-bindings: clock: use generic node name for pmucru example in rockchip,rk3399-cru.yaml Date: Tue, 29 Mar 2022 17:07:39 +0200 Message-Id: <20220329150742.22093-3-jbx6244@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220329150742.22093-1-jbx6244@gmail.com> References: <20220329150742.22093-1-jbx6244@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org The node names should be generic, so fix this for the pmucru node example in the rockchip,rk3399-cru.yaml file and rename it to "clock-controller". Signed-off-by: Johan Jonker Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/clock/rockchip,rk3399-cru.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml b/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml index 3cc8398fd..18a009311 100644 --- a/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml +++ b/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml @@ -77,7 +77,7 @@ additionalProperties: false examples: - | - pmucru: pmu-clock-controller@ff750000 { + pmucru: clock-controller@ff750000 { compatible = "rockchip,rk3399-pmucru"; reg = <0xff750000 0x1000>; #clock-cells = <1>; From patchwork Tue Mar 29 15:07:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 12794927 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2D76C433EF for ; Tue, 29 Mar 2022 15:08:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238278AbiC2PJn (ORCPT ); Tue, 29 Mar 2022 11:09:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238260AbiC2PJj (ORCPT ); Tue, 29 Mar 2022 11:09:39 -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 3C0081EC61E; Tue, 29 Mar 2022 08:07:56 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id yy13so35801652ejb.2; Tue, 29 Mar 2022 08:07:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hIr5PvQf5fAOI0436U7wwcVh5jl/xQHKrpc6xbFom/g=; b=fxKfzTApBxSRYrsYaJILMTwr/PE06U274HGvZsBw+QCZfWWgIfpfXExXXHsNFXHV7g F1gWxlTF7mTpZjkF9S16CyiRvmrWnSdkSNlBO45OD+XX/Fq/JAcZYJlQwuWlh5hFS4Od nkZic3NB4C25FqSWV7Nxgj9blOtLP9+3CHecdoelJvkoT4/qIEJu/K9dix6Zlvjwswti ef9z35DzxkKXKxcx9TWipXeCNJiUM8jHk02SGr+1Ri4vDjQz2x5g+IvJFey/txsPumPU 8ZlUJaKOI0S2DNNU128p+MwRNCiSg/0v++D1YJHyc6Hj4MdWWC+qUk1dEzCtYM5UhP5N GYNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hIr5PvQf5fAOI0436U7wwcVh5jl/xQHKrpc6xbFom/g=; b=A9DBOkkGINUKlHPARpURna13xeW09SU9eoO5w0/imxKCdmXmDv4VzQvA08QvkH12yE A5fTiqN6+rvx8737IMd71LHi4MUOKbaxuNTkvuseaCCWzWgaMoLjgjLNNknmOJut7nln FaAk0k97dP4czHlkvriInlj+D9XZL1JL8tJj23S3vkErBLKkNUVQP2SWNVOfDl/UDx4Q 8ICcx727ddo7lzxSlKB1+D46z9GA+wlVD0Xom/6+3/aPq6+s8Dd1ki123Ijxm5Qj0/EB /AnlD0ScCk7VlFD48hf6Yo/gYCaiur6sh7fV7os1jorTVm48Uj8vjvQN7mnlBfYrl9ln FUsQ== X-Gm-Message-State: AOAM532B8/MQCVRBzmVD37b0/4Q0y8ah6aAp2oZ4tNddcpQJUrzksW6H UiQvk03bErrAeqhxnSoYr3Q= X-Google-Smtp-Source: ABdhPJzdWuR/Ip7WHPKwZ8Ei1Ym2WuXobIb/szldrSwb7qxobdqcCVGvEeOwV4+Df3ERQcmyHFFWEA== X-Received: by 2002:a17:907:72c5:b0:6da:e99e:226c with SMTP id du5-20020a17090772c500b006dae99e226cmr35385241ejc.515.1648566474746; Tue, 29 Mar 2022 08:07:54 -0700 (PDT) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id eq7-20020a056402298700b00419d8d46a8asm3261643edb.39.2022.03.29.08.07.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Mar 2022 08:07:53 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de, zhangqing@rock-chips.com Cc: robh+dt@kernel.org, krzk+dt@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/6] dt-bindings: clock: fix rk3399 cru clock issues Date: Tue, 29 Mar 2022 17:07:40 +0200 Message-Id: <20220329150742.22093-4-jbx6244@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220329150742.22093-1-jbx6244@gmail.com> References: <20220329150742.22093-1-jbx6244@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org The current rk3399 cru DT node gives warnings like: 'clocks' is a dependency of 'assigned-clocks'. With the YAML conversion somehow "assigned-xxx" properties where added. If a proper clock is added to the cru node these properties are no longer needed, so removed them. Currently only one clock will be added, so limit the clock maxItems to 1. Add a clock name to be able to differentiate and filter bogus entries. Signed-off-by: Johan Jonker Acked-by: Krzysztof Kozlowski --- .../bindings/clock/rockchip,rk3399-cru.yaml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml b/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml index 18a009311..54da1e31e 100644 --- a/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml +++ b/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml @@ -46,19 +46,10 @@ properties: const: 1 clocks: - minItems: 1 - - assigned-clocks: - minItems: 1 - maxItems: 64 - - assigned-clock-parents: - minItems: 1 - maxItems: 64 + maxItems: 1 - assigned-clock-rates: - minItems: 1 - maxItems: 64 + clock-names: + const: xin24m rockchip,grf: $ref: /schemas/types.yaml#/definitions/phandle From patchwork Tue Mar 29 15:07:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 12794928 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50FB4C433FE for ; Tue, 29 Mar 2022 15:08:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238269AbiC2PJp (ORCPT ); Tue, 29 Mar 2022 11:09:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238268AbiC2PJm (ORCPT ); Tue, 29 Mar 2022 11:09:42 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 643F61E95C5; Tue, 29 Mar 2022 08:07:57 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id p15so35762333ejc.7; Tue, 29 Mar 2022 08:07:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MYpKknBwdTIHXp3EH6GGOHhFZcaVOITrMZHNhkcAA1w=; b=nvWzwn6Kwi8lUvfA2/fNc5u28we559b8GN4u5QymfkMYMrxDtfJ+jWnolKFkHKy2O3 //1hMuD92JZ24dYqmPyQs7cVtDVZiKyaNj8hDMNOG4RJpRKU1MDy0Xp4WpH8ZMbiBR1Y 18IJNan6iOhYtugNMSGf6iqqDqsh1Ijl3G4uiARJ6yXFRLcRvrnTxAO4WXEuP57dyFHi 0xiZAdhlf3EacOwB9VJSrNkCf6B5AhTMPsYiUsbp6FYHxb/smVg4a7HxvHJ70C8PmcEi SRyCWf/PI4JPMry08RerDroL5OhGpCIeLu7Wa0L4UAto1/E9lVXX1N0OcbKj4YjAC7AY /LRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MYpKknBwdTIHXp3EH6GGOHhFZcaVOITrMZHNhkcAA1w=; b=NhX5/oUPhXXSBP4RDgHONpWskw4ae45YTR2Z1Pz5hEcgnSqho5CIcVtrtlLAyjX7TO 1kYEAHsztjY6+xgkRQ5ymSu15/V3GuBmmmppJB5p378EuUgxNGmwHbQn/mRLTAcqUGV7 42PQvuLZwqZEJV7Cb3fwK8T0qf2gXLS6KufFfvwJmEL9AeuPv5QsW7QUEyHT755rOTl7 J9AWl0EXmZuhijdTcSQfKexRzw4zDrEPWlBOpXHAp4HiwoxGXLlYK+MHoewX/yEfMW9M 8fCZ5KpZ4kz5dqlU4Afx+eNijFhPB+UysVm22buJqwQ+Nw/RsPAK9JMzHyaDBNMcD3KE owmQ== X-Gm-Message-State: AOAM530MsJSH6UdYeXQWlVhflQ2e01ScAj8wJTjrkbQJuEAsbn5EdgZY v382QduFIFhxzcMM8rOtVog= X-Google-Smtp-Source: ABdhPJwnJgoYnTwOGYH2Z0mhJZWq0fYlCj1lQly4mmTbPKZEtCfU3cBVSnflbmJFd/H9M8NdARwTeg== X-Received: by 2002:a17:906:6a1b:b0:6e0:b38b:f74c with SMTP id qw27-20020a1709066a1b00b006e0b38bf74cmr25710711ejc.46.1648566475860; Tue, 29 Mar 2022 08:07:55 -0700 (PDT) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id eq7-20020a056402298700b00419d8d46a8asm3261643edb.39.2022.03.29.08.07.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Mar 2022 08:07:55 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de, zhangqing@rock-chips.com Cc: robh+dt@kernel.org, krzk+dt@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 5/6] arm64: dts: rockchip: rk3399: use generic node name for pmucru Date: Tue, 29 Mar 2022 17:07:41 +0200 Message-Id: <20220329150742.22093-5-jbx6244@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220329150742.22093-1-jbx6244@gmail.com> References: <20220329150742.22093-1-jbx6244@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org The node names should be generic, so fix this for the rk3399 pmucru node and rename it to "clock-controller". Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 88f26d89e..01c08a2aa 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1413,7 +1413,7 @@ clock-names = "apb_pclk"; }; - pmucru: pmu-clock-controller@ff750000 { + pmucru: clock-controller@ff750000 { compatible = "rockchip,rk3399-pmucru"; reg = <0x0 0xff750000 0x0 0x1000>; rockchip,grf = <&pmugrf>; From patchwork Tue Mar 29 15:07:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 12794929 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 121ADC43219 for ; Tue, 29 Mar 2022 15:08:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238289AbiC2PJq (ORCPT ); Tue, 29 Mar 2022 11:09:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238276AbiC2PJn (ORCPT ); Tue, 29 Mar 2022 11:09:43 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 566341EF5DB; Tue, 29 Mar 2022 08:07:59 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id lr4so27352892ejb.11; Tue, 29 Mar 2022 08:07:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=k7V/AdbtuTpQjKQKuRE/DdQ8tDFVesLcfjc5DCvosMQ=; b=kGiY4tb+xGIQRdl+/8PFqwgQ4fTQZmhxcTdZuggrruf6V0o6YtxYMBesBVR2vAwWmM q1bfRdPTBBah2FodC+hww1SZCOb2DCWoqCAnUQwMUUbzLOZ4Xh9zjlbE9xdhmPrKrIRo MebMdMZfDuwbOJN/bTLxm/R9WHDXW2ybB/Oa5rKIsCQ8hNhHq/5yFTPjSv7hrVfNBtKC /h1NWty8q+WV2r7bg4mbyO3nb55uADLf8J+0MoWtRqnCzklkn7m8j6NV59lhuohT0rwB 1UWgofotsBTExoauAmrTu0vWrf/uuX9cRkvN1lqar+kxgqTbR79h2j+KjWQiNDQcVA9T H5jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=k7V/AdbtuTpQjKQKuRE/DdQ8tDFVesLcfjc5DCvosMQ=; b=6oVyOd3HAReuKThxhyzlQGjFF0n5Y3Fn/ma1G7a6jcPtbig8bDjdDsrqGo0tjc5tQo AL6PndeZCsoY3SPsSM3KYkRkts/nHKt//Bkz7+/Eody8TxbPHhc0xWwManRzs9R2jede eabMyFaVaHGABP27cH0nM6jzvRjy6liJuh8omr0WIMz1XHcuGe1y0ShKHO00rLebMDuq 8jnaF5ZPV/O7itROWEW+3Q0TPOzuxN/8JYTvvrpcH+kgpmTHU/+/tAnlqIX/p8+JNA9k 5LxyCaOr0sEnhsgxHAmxyFDmMdo4eW+Rf/hE1yzPC/IVhXTKY3ATg0AyyzeyEyCXxJjq aBVQ== X-Gm-Message-State: AOAM532DShXJAgBGf4g9cCTK8vOEkiTWaMDTkfKt1paIxjSF5LH4oe7t oaU8flrvdadt2Xwve923O6I= X-Google-Smtp-Source: ABdhPJzXbIomNhFkSZPsDocHiKap3lA3plyPy2CFIhy0FEuXIDdP4JvO30XCZ/ljVHLEF0QyEYJz/Q== X-Received: by 2002:a17:906:c0d6:b0:6ca:457e:f1b7 with SMTP id bn22-20020a170906c0d600b006ca457ef1b7mr35045283ejb.399.1648566476904; Tue, 29 Mar 2022 08:07:56 -0700 (PDT) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id eq7-20020a056402298700b00419d8d46a8asm3261643edb.39.2022.03.29.08.07.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Mar 2022 08:07:56 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de, zhangqing@rock-chips.com Cc: robh+dt@kernel.org, krzk+dt@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 6/6] arm64: dts: rockchip: add clocks property to cru nodes rk3399 Date: Tue, 29 Mar 2022 17:07:42 +0200 Message-Id: <20220329150742.22093-6-jbx6244@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220329150742.22093-1-jbx6244@gmail.com> References: <20220329150742.22093-1-jbx6244@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Add clocks property to rk3399 cru nodes to fix warnings like: 'clocks' is a dependency of 'assigned-clocks'. Signed-off-by: Johan Jonker --- Changed V2: add clocks to pmucru node --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 01c08a2aa..56af1a1d6 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1416,6 +1416,8 @@ pmucru: clock-controller@ff750000 { compatible = "rockchip,rk3399-pmucru"; reg = <0x0 0xff750000 0x0 0x1000>; + clocks = <&xin24m>; + clock-names = "xin24m"; rockchip,grf = <&pmugrf>; #clock-cells = <1>; #reset-cells = <1>; @@ -1426,6 +1428,8 @@ cru: clock-controller@ff760000 { compatible = "rockchip,rk3399-cru"; reg = <0x0 0xff760000 0x0 0x1000>; + clocks = <&xin24m>; + clock-names = "xin24m"; rockchip,grf = <&grf>; #clock-cells = <1>; #reset-cells = <1>;