Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp309635rdb; Thu, 19 Oct 2023 05:25:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFg9rl3HDOYhkycwMoobh8J5tkfu55L9qhXf+RPgUfbehuThSyd28ZoUhDMRSlyHOUmQpqu X-Received: by 2002:a17:903:2001:b0:1ca:90bf:156f with SMTP id s1-20020a170903200100b001ca90bf156fmr1781095pla.37.1697718316127; Thu, 19 Oct 2023 05:25:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697718316; cv=none; d=google.com; s=arc-20160816; b=bhRw3dPFnrmi+ZujMnSQIChk07EoHdvKu4gI91Uj/ny5Eho1dEG61G+gNcbUnMEZfL iLTICwwoLg9sgaiz6aFaTf6c90OG6qDi/3+gt+YQsfp2TTlctOiVNYrjDS4tA3fLm2vG oT7NVf+8/vh4CuPQ84dosLFGHhdmucjHZpHnrxy3WuNiKMamtiEecQOXa9S9Wt3mYvZL 0xG1Bs1hNZpy1EEIb62Gc2snUB/w0R/NFk55NBD/8CFaXXU7cN3M1f06WRiAnVQMuz9H cxP5iZSWOqduOCJFnwi5KkIa/ni7KIGJvaG8+6qV/3RLQZnV4yqvUJnvW4Y6R8geaxst vNnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type:thread-index :content-language:content-transfer-encoding:mime-version:message-id :date:subject:in-reply-to:cc:to:from:dkim-signature:dkim-filter; bh=GN/OL1eGZIAJ8SFDXhY9taH9HgfUmStQwTVITOEr3AI=; fh=mIOx8pQhF9mL8Eqe5EEeQNWNJnpZCe17chN2buwVBnw=; b=iDybQahepGsScolKNBYyWwnRt37Dq8HRwro/D4O0M4fM6qsvM0Sb4wTf9HSyGRQiRZ PwaxGTvBMWh3NPqXI2on3+qCEcF1UDSZQvneK8ICi5bfUyhOApHEjwBZu49iGC4g0tS9 YJu7UpO855GsRwgDhbd3IkTLRen/yXMih31IY3/7GAHi14fiwUarKtTjA1Bl/VXWDU19 yfNu6rPdEbw2Qkr7v+wYIenIC3dqSiTe3tJd4Swxg5eC/FCt2Nk8E2HvwJwhhSn7FEEl ivbe8bPNOQ2bdIjmfZIcbeUfpOpQ42hE51sh2amcWrFOvTV5mPtw1syKl1WY+ssKHk2v qt2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=M3ACzm9G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id bb8-20020a170902bc8800b001c9de48fc85si1965914plb.179.2023.10.19.05.25.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 05:25:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=M3ACzm9G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id AEAF88374C8D; Thu, 19 Oct 2023 05:25:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233195AbjJSMZE (ORCPT + 99 others); Thu, 19 Oct 2023 08:25:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235296AbjJSMZC (ORCPT ); Thu, 19 Oct 2023 08:25:02 -0400 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B98FB6 for ; Thu, 19 Oct 2023 05:24:59 -0700 (PDT) Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20231019122457epoutp04416e7c97e972cb7f51fc4f6c1d9db315~Pgcvipr0g2848728487epoutp04P for ; Thu, 19 Oct 2023 12:24:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20231019122457epoutp04416e7c97e972cb7f51fc4f6c1d9db315~Pgcvipr0g2848728487epoutp04P DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1697718297; bh=GN/OL1eGZIAJ8SFDXhY9taH9HgfUmStQwTVITOEr3AI=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=M3ACzm9GRqAt2bERV5vlVnuJoLV5V0luIbDVaLD2N+Cvv5csh1JR0ZW03hFLg/5gU NS11m2iJvWD9iQds0u5oFh+mDiW+9naGZlH4M1dGfq+E9c/Zt0HooxJIueSaOz6Q1W SFMwvMZEJRHUSgRZFL2JrVnZf4AM9NM9RNE/97MU= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20231019122455epcas1p4007f86221a3b9a056be84ed55f770011~PgcuCnH8A0394103941epcas1p4E; Thu, 19 Oct 2023 12:24:55 +0000 (GMT) Received: from epsmgec1p1.samsung.com (unknown [182.195.36.136]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4SB6Nk2h8Pz4x9Pp; Thu, 19 Oct 2023 12:24:54 +0000 (GMT) Received: from epcas1p2.samsung.com ( [182.195.41.46]) by epsmgec1p1.samsung.com (Symantec Messaging Gateway) with SMTP id E0.01.08572.61021356; Thu, 19 Oct 2023 21:24:54 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p4.samsung.com (KnoxPortal) with ESMTPA id 20231019122453epcas1p4eddbd8295bc4bb460aef9233489f80cf~PgcsNhTOb0395503955epcas1p4M; Thu, 19 Oct 2023 12:24:53 +0000 (GMT) Received: from epsmgmcp1.samsung.com (unknown [182.195.42.82]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20231019122453epsmtrp2af52d648f2ad9227045be96eff6fcb86~PgcsLWfOE2486824868epsmtrp2R; Thu, 19 Oct 2023 12:24:53 +0000 (GMT) X-AuditID: b6c32a33-cefff7000000217c-bd-653120163842 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgmcp1.samsung.com (Symantec Messaging Gateway) with SMTP id 8D.A9.18939.51021356; Thu, 19 Oct 2023 21:24:53 +0900 (KST) Received: from cw00choi03 (unknown [10.113.111.106]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20231019122453epsmtip2b8d63f8a23aa889a4ac0ea28da91645a~Pgcr0Xg4x1032610326epsmtip2U; Thu, 19 Oct 2023 12:24:53 +0000 (GMT) From: "Chanwoo Choi" To: "'Sascha Hauer'" , Cc: , , , "'Heiko Stuebner'" , "'Chanwoo Choi'" , "'Kyungmin Park'" , "'MyungJoo Ham'" , "'Will Deacon'" , "'Mark Rutland'" , , "'Michael Riesch'" , "'Robin Murphy'" , "'Vincent Legoll'" , "'Rob Herring'" , "'Krzysztof Kozlowski'" , "'Conor Dooley'" , , "'Sebastian Reichel'" , "'Rob Herring'" In-Reply-To: <20231018061714.3553817-21-s.hauer@pengutronix.de> Subject: RE: [PATCH v8 20/26] dt-bindings: devfreq: event: convert Rockchip DFI binding to yaml Date: Thu, 19 Oct 2023 21:24:53 +0900 Message-ID: <002e01da0287$4352c7b0$c9f85710$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0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xiZ OBiB3uNgVhLhVfUwSBXiTUmsrEotyo8vKs1JLT7EKM3BoiTOq5zTmSIkkJ5YkpqdmlqQWgST ZeLglGpgcjSvd00viN28cHXTDN752mLnhJ+8fXz17kpjHuuQP5/cJ7fuftNSrJcqZqW9SKrC dskTobjXWRsfvJPyiTedLXNT71aGn/7juTqP+vSty66amL8rvLhG8Gmk1N9pKV27eOd9mOe2 5svcvpoNh9dc3vI+y/iP39ZfquxpPleL6mQNl89k2rT14DGfV/NCM2pUAjNn71ghp+A6fdqN 6KgFRnnOSf0hFkJzIu9eXSOza13SFsE3n+/8co3Nzb76YMLPFZ/eXOlhmO7RbtfunKPBMiHY Q9Wq7tL+6btjE06EMFtVTIiZWGuTLrHuwNTOs2d3h8px3FThmmajKaxd6TX7S34/79HdvjJb r10+uS42SYmlOCPRUIu5qDgRAOnI2fZvAwAA X-CMS-MailID: 20231019122453epcas1p4eddbd8295bc4bb460aef9233489f80cf X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20231018063729epcas1p27cf2789bbb10d6ef59e20d2e981be580 References: <20231018061714.3553817-1-s.hauer@pengutronix.de> <20231018061714.3553817-21-s.hauer@pengutronix.de> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 19 Oct 2023 05:25:12 -0700 (PDT) > -----Original Message----- > From: Sascha Hauer > Sent: Wednesday, October 18, 2023 3:17 PM > To: linux-rockchip@lists.infradead.org > Cc: linux-arm-kernel@lists.infradead.org; linux-kernel@vger.kernel.org; > linux-pm@vger.kernel.org; Heiko Stuebner ; Chanwoo Choi > ; Kyungmin Park ; MyungJoo > Ham ; Will Deacon ; Mark > Rutland ; kernel@pengutronix.de; Michael Riesch > ; Robin Murphy ; > Vincent Legoll ; Rob Herring > ; Krzysztof Kozlowski > ; Conor Dooley ; > devicetree@vger.kernel.org; Sebastian Reichel > ; Sascha Hauer ; > Rob Herring ; Chanwoo Choi > Subject: [PATCH v8 20/26] dt-bindings: devfreq: event: convert Rockchip > DFI binding to yaml > > Convert the Rockchip DFI binding to yaml. > > Reviewed-by: Rob Herring > Reviewed-by: Sebastian Reichel > Acked-by: Chanwoo Choi > Signed-off-by: Sascha Hauer > --- > > Notes: > Changes since v4: > - Revert to state of v3 (changes were lost in v4) > > .../bindings/devfreq/event/rockchip,dfi.yaml | 61 +++++++++++++++++++ > .../bindings/devfreq/event/rockchip-dfi.txt | 18 ------ > .../rockchip,rk3399-dmc.yaml | 2 +- > 3 files changed, 62 insertions(+), 19 deletions(-) create mode 100644 > Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml > delete mode 100644 > Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt > > diff --git > a/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml > b/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml > new file mode 100644 > index 0000000000000..7a82f6ae0701e > --- /dev/null > +++ b/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml > @@ -0,0 +1,61 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 > +--- > +$id: > +https://protect2.fireeye.com/v1/url?k=33df13d2-525406e4-33de989d-000bab > +ff9b5d-4b7a223f95f3c587&q=1&e=ef8cc89e-5dd5-4fbc-9f53-24c072471908&u=ht > +tp%3A%2F%2Fdevicetree.org%2Fschemas%2Fdevfreq%2Fevent%2Frockchip%2Cdfi. > +yaml%23 > +$schema: > +https://protect2.fireeye.com/v1/url?k=01ded479-6055c14f-01df5f36-000bab > +ff9b5d-e828a5719f87a6ff&q=1&e=ef8cc89e-5dd5-4fbc-9f53-24c072471908&u=ht > +tp%3A%2F%2Fdevicetree.org%2Fmeta-schemas%2Fcore.yaml%23 > + > +title: Rockchip DFI > + > +maintainers: > + - Sascha Hauer > + > +properties: > + compatible: > + enum: > + - rockchip,rk3399-dfi > + > + clocks: > + maxItems: 1 > + > + clock-names: > + items: > + - const: pclk_ddr_mon > + > + interrupts: > + maxItems: 1 > + > + reg: > + maxItems: 1 > + > + rockchip,pmu: > + $ref: /schemas/types.yaml#/definitions/phandle > + description: > + Phandle to the syscon managing the "PMU general register files". > + > +required: > + - compatible > + - clocks > + - clock-names > + - interrupts > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + > + bus { > + #address-cells = <2>; > + #size-cells = <2>; > + > + dfi: dfi@ff630000 { > + compatible = "rockchip,rk3399-dfi"; > + reg = <0x00 0xff630000 0x00 0x4000>; > + interrupts = ; > + rockchip,pmu = <&pmugrf>; > + clocks = <&cru PCLK_DDR_MON>; > + clock-names = "pclk_ddr_mon"; > + }; > + }; > diff --git a/Documentation/devicetree/bindings/devfreq/event/rockchip- > dfi.txt b/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt > deleted file mode 100644 > index 148191b0fc158..0000000000000 > --- a/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt > +++ /dev/null > @@ -1,18 +0,0 @@ > - > -* Rockchip rk3399 DFI device > - > -Required properties: > -- compatible: Must be "rockchip,rk3399-dfi". > -- reg: physical base address of each DFI and length of memory mapped > region > -- rockchip,pmu: phandle to the syscon managing the "pmu general register > files" > -- clocks: phandles for clock specified in "clock-names" property > -- clock-names : the name of clock used by the DFI, must be "pclk_ddr_mon"; > - > -Example: > - dfi: dfi@ff630000 { > - compatible = "rockchip,rk3399-dfi"; > - reg = <0x00 0xff630000 0x00 0x4000>; > - rockchip,pmu = <&pmugrf>; > - clocks = <&cru PCLK_DDR_MON>; > - clock-names = "pclk_ddr_mon"; > - }; > diff --git a/Documentation/devicetree/bindings/memory- > controllers/rockchip,rk3399-dmc.yaml > b/Documentation/devicetree/bindings/memory-controllers/rockchip,rk3399- > dmc.yaml > index 4e4af3cfc0fe4..1f58ee99be280 100644 > --- a/Documentation/devicetree/bindings/memory- > controllers/rockchip,rk3399-dmc.yaml > +++ b/Documentation/devicetree/bindings/memory-controllers/rockchip,rk33 > +++ 99-dmc.yaml > @@ -18,7 +18,7 @@ properties: > $ref: /schemas/types.yaml#/definitions/phandle > description: > Node to get DDR loading. Refer to > - Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt. > + Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml. > > clocks: > maxItems: 1 > -- > 2.39.2 Applied it. Thanks Best Regards, Chanwoo Choi