Message ID | aa6fe473-71f2-edba-f009-994a3dbc9802@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2320067wrt; Thu, 29 Dec 2022 01:54:40 -0800 (PST) X-Google-Smtp-Source: AMrXdXtU2uCESzM5wl/rHS9seTFXapsBjSdF5jHPMXlYhHnrraa7KiLtIYdtgH0XiSwloto3wGA3 X-Received: by 2002:a17:906:99d1:b0:7ad:cf9c:b210 with SMTP id s17-20020a17090699d100b007adcf9cb210mr22220425ejn.18.1672307680140; Thu, 29 Dec 2022 01:54:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672307680; cv=none; d=google.com; s=arc-20160816; b=v5kpC/XhScEeBC6C25WCKGzma7i8i2cXJdWkuwTGAZln4eeMzDu3eyj1p5gjssmxcq URu+K0B1rpnrzwNUkFkMmjGriVrau9grO8MYzr8TAC3qSN9fqkTprCB9cloFkDDYqoje NwgcsiDYmdhdzEykB00W2y8uZ0XtYX2JECjdpiZ6R5Z7302teozewdA9FiPcec+2Y0j+ mgES7s1rtPTi55ETGCzI/WGsn0t4xBb+XKlzK24EV6hYrprAkTG214SagCNuGWoBYAPy VES20ZjEi8A/xM0z+Gs57NcBHemFfbhdQ+tB75ainN4SYR6+dl8q0Zz6AMFbsFYWbz09 0Wxg== 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=iyphewPZOfLnxnaRNTB29uqTkJVQ86RQ4fAds/3h3Vs=; b=jpU1AVgd2PAkKDiSq93/U5643Bb60JQlPn4JfNA75suo2cJ4pvtqLq0naQFfhcLuCv u6Ur4AMnFxYKy8aoAxvfyV31xQ2I3DE1Gl6YYNmmkmo5Xk8Lf593FVEUe/rhdqrHqI7E 4oBe8yMvj4l4i1Q8yZudlPMkNW4f7YexLJkBUKLbgOycLLDii6JicfVXAxbwaggfkE47 GD6svv002mUIAx8lMwsOYq+z3MiAs2YaeUpT7cye7Jnx9s1Ofi08MwwLRYMnIe4E340A nSdDZgbEYTQ4L12gE2q6OSaOofpWVM95x2IEpAMANeUrNNBJPTiCw2XdlnzcKuUWJ2XN 8VMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UILyHAR7; 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 oz41-20020a1709077da900b008432fa22567si15514291ejc.649.2022.12.29.01.54.16; Thu, 29 Dec 2022 01:54:40 -0800 (PST) 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=UILyHAR7; 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 S233080AbiL2Jth (ORCPT <rfc822;eddaouddi.ayoub@gmail.com> + 99 others); Thu, 29 Dec 2022 04:49:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229734AbiL2Jqr (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 29 Dec 2022 04:46:47 -0500 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6E5E13F96; Thu, 29 Dec 2022 01:44:31 -0800 (PST) Received: by mail-ej1-x62a.google.com with SMTP id fc4so43791580ejc.12; Thu, 29 Dec 2022 01:44:31 -0800 (PST) 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=iyphewPZOfLnxnaRNTB29uqTkJVQ86RQ4fAds/3h3Vs=; b=UILyHAR71jRgy8hhzyaRGBWZA/3j6ZCcj33u4g6LkDlrE7d1URoiSz+mXM6Ou1R8z8 /uzl0JEIqBlkwRzFwi0//frG6jJ2zCgcvaBCwabhhOLn8extuXQgd53Ky/zuEShcIptW 1SuMd/WZfftH+qhLMHuaebr8lAvHeaG9RVOQige+q1KYZdFf8FAS6FXljuYvD+B0QqJF 36tiGKzHUQQ8Q7E3apO9vSfOEMcIRUxXa8Jk67Mvd5yDebFyaN2Vfwrg8q715sMkzPss fe+7mSLJxCbleoWaJgnroxnWH3wBvBAdORzAYFjSQlCedmjiV/T5D0AoNV7yfgZ20+oT 9AAg== 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=iyphewPZOfLnxnaRNTB29uqTkJVQ86RQ4fAds/3h3Vs=; b=TTHRkSUuQgU3gOCbWwtpVUcRh0gjC9TwGCXjmWYR4/3CkyUZ+6Aadyw/QyTEtoer+z OA01Z4alIO7/haj0Cp1Mcht2OTefuOXfVt69BTaPAFGJfK//Y9TsszWY9CIVSd+FJgvc PGxofLoEWvuZD3tNQ7CiHGfpKsDvmatoACThbicBTNpZw/Z/HVpQ74OZLsQfuRp8QtH8 sgGkYIXegW3WxJUWuOMFE3gBu6rJrXw024xKo5sm5LQ9yauIPWVIE2jL/DMDtIFVTMDs iKrjVgduV0ZXQQqIu4dIemtzkFYvSFZ8FsTvdCSYJWx8oH0oodgnTYW6oUNiVQpllmke 00iQ== X-Gm-Message-State: AFqh2kquW1LNZ/eFwJuzz2+LwPEMFxEQ5+zm8aCUEeEzmmbrJ4EbKC/l 6PMeb98h35/K8AD0HwAvG/k= X-Received: by 2002:a17:907:a782:b0:7c1:6430:e5d0 with SMTP id vx2-20020a170907a78200b007c16430e5d0mr24247352ejc.4.1672307070247; Thu, 29 Dec 2022 01:44:30 -0800 (PST) Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id o11-20020a170906768b00b0077b523d309asm8357801ejm.185.2022.12.29.01.44.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Dec 2022 01:44:29 -0800 (PST) Message-ID: <aa6fe473-71f2-edba-f009-994a3dbc9802@gmail.com> Date: Thu, 29 Dec 2022 10:44:28 +0100 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 <jbx6244@gmail.com> Subject: [PATCH v2 1/2] dt-bindings: phy: rockchip: convert rockchip-dp-phy.txt to yaml To: heiko@sntech.de Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-phy@lists.infradead.org, vkoul@kernel.org, kishon@kernel.org Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753541697767297500?= X-GMAIL-MSGID: =?utf-8?q?1753541697767297500?= |
Series |
[v2,1/2] dt-bindings: phy: rockchip: convert rockchip-dp-phy.txt to yaml
|
|
Commit Message
Johan Jonker
Dec. 29, 2022, 9:44 a.m. UTC
Convert rockchip-dp-phy.txt to yaml.
Changed:
rename file name
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
Changed V2:
Use the compatible as filename.
---
.../bindings/phy/rockchip,rk3288-dp-phy.yaml | 41 +++++++++++++++++++
.../bindings/phy/rockchip-dp-phy.txt | 26 ------------
2 files changed, 41 insertions(+), 26 deletions(-)
create mode 100644 Documentation/devicetree/bindings/phy/rockchip,rk3288-dp-phy.yaml
delete mode 100644 Documentation/devicetree/bindings/phy/rockchip-dp-phy.txt
--
2.20.1
Comments
On 29/12/2022 10:44, Johan Jonker wrote: > Convert rockchip-dp-phy.txt to yaml. > > Changed: > rename file name > > Signed-off-by: Johan Jonker <jbx6244@gmail.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On 29-12-22, 10:44, Johan Jonker wrote: > Convert rockchip-dp-phy.txt to yaml. This series fails to apply, pls rebase > > Changed: > rename file name This should not be in change log but after the --- line > > Signed-off-by: Johan Jonker <jbx6244@gmail.com> > --- > > Changed V2: > Use the compatible as filename. > --- > .../bindings/phy/rockchip,rk3288-dp-phy.yaml | 41 +++++++++++++++++++ > .../bindings/phy/rockchip-dp-phy.txt | 26 ------------ > 2 files changed, 41 insertions(+), 26 deletions(-) > create mode 100644 Documentation/devicetree/bindings/phy/rockchip,rk3288-dp-phy.yaml > delete mode 100644 Documentation/devicetree/bindings/phy/rockchip-dp-phy.txt > > diff --git a/Documentation/devicetree/bindings/phy/rockchip,rk3288-dp-phy.yaml b/Documentation/devicetree/bindings/phy/rockchip,rk3288-dp-phy.yaml > new file mode 100644 > index 000000000..2538235c5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/rockchip,rk3288-dp-phy.yaml > @@ -0,0 +1,41 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/phy/rockchip,rk3288-dp-phy.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Rockchip specific extensions to the Analogix Display Port PHY > + > +maintainers: > + - Heiko Stuebner <heiko@sntech.de> > + > +properties: > + compatible: > + const: rockchip,rk3288-dp-phy > + > + clocks: > + maxItems: 1 > + > + clock-names: > + const: 24m > + > + "#phy-cells": > + const: 0 > + > +required: > + - compatible > + - clocks > + - clock-names > + - "#phy-cells" > + > +additionalProperties: false > + > +examples: > + - | > + #include <dt-bindings/clock/rk3288-cru.h> > + edp-phy { > + compatible = "rockchip,rk3288-dp-phy"; > + clocks = <&cru SCLK_EDP_24M>; > + clock-names = "24m"; > + #phy-cells = <0>; > + }; > diff --git a/Documentation/devicetree/bindings/phy/rockchip-dp-phy.txt b/Documentation/devicetree/bindings/phy/rockchip-dp-phy.txt > deleted file mode 100644 > index e3b4809fb..000000000 > --- a/Documentation/devicetree/bindings/phy/rockchip-dp-phy.txt > +++ /dev/null > @@ -1,26 +0,0 @@ > -Rockchip specific extensions to the Analogix Display Port PHY > ------------------------------------- > - > -Required properties: > -- compatible : should be one of the following supported values: > - - "rockchip.rk3288-dp-phy" > -- clocks: from common clock binding: handle to dp clock. > - of memory mapped region. > -- clock-names: from common clock binding: > - Required elements: "24m" > -- #phy-cells : from the generic PHY bindings, must be 0; > - > -Example: > - > -grf: syscon@ff770000 { > - compatible = "rockchip,rk3288-grf", "syscon", "simple-mfd"; > - > -... > - > - edp_phy: edp-phy { > - compatible = "rockchip,rk3288-dp-phy"; > - clocks = <&cru SCLK_EDP_24M>; > - clock-names = "24m"; > - #phy-cells = <0>; > - }; > -}; > -- > 2.20.1
On 1/13/23 19:08, Vinod Koul wrote: > On 29-12-22, 10:44, Johan Jonker wrote: >> Convert rockchip-dp-phy.txt to yaml. > > This series fails to apply, pls rebase Hi Vinod, Heiko, This serie and others must be combined in the right order to grf.yaml. Maybe better that Heiko does that with your ACK. Johan === Apply after: dt-bindings: soc: rockchip: grf: add rockchip,lvds.yaml >> >> Changed: >> rename file name > > This should not be in change log but after the --- line > >> >> Signed-off-by: Johan Jonker <jbx6244@gmail.com> >> --- >> >> Changed V2: >> Use the compatible as filename. >> --- >> .../bindings/phy/rockchip,rk3288-dp-phy.yaml | 41 +++++++++++++++++++ >> .../bindings/phy/rockchip-dp-phy.txt | 26 ------------ >> 2 files changed, 41 insertions(+), 26 deletions(-) >> create mode 100644 Documentation/devicetree/bindings/phy/rockchip,rk3288-dp-phy.yaml >> delete mode 100644 Documentation/devicetree/bindings/phy/rockchip-dp-phy.txt >> >> diff --git a/Documentation/devicetree/bindings/phy/rockchip,rk3288-dp-phy.yaml b/Documentation/devicetree/bindings/phy/rockchip,rk3288-dp-phy.yaml >> new file mode 100644 >> index 000000000..2538235c5 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/phy/rockchip,rk3288-dp-phy.yaml >> @@ -0,0 +1,41 @@ >> +# SPDX-License-Identifier: GPL-2.0 >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/phy/rockchip,rk3288-dp-phy.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Rockchip specific extensions to the Analogix Display Port PHY >> + >> +maintainers: >> + - Heiko Stuebner <heiko@sntech.de> >> + >> +properties: >> + compatible: >> + const: rockchip,rk3288-dp-phy >> + >> + clocks: >> + maxItems: 1 >> + >> + clock-names: >> + const: 24m >> + >> + "#phy-cells": >> + const: 0 >> + >> +required: >> + - compatible >> + - clocks >> + - clock-names >> + - "#phy-cells" >> + >> +additionalProperties: false >> + >> +examples: >> + - | >> + #include <dt-bindings/clock/rk3288-cru.h> >> + edp-phy { >> + compatible = "rockchip,rk3288-dp-phy"; >> + clocks = <&cru SCLK_EDP_24M>; >> + clock-names = "24m"; >> + #phy-cells = <0>; >> + }; >> diff --git a/Documentation/devicetree/bindings/phy/rockchip-dp-phy.txt b/Documentation/devicetree/bindings/phy/rockchip-dp-phy.txt >> deleted file mode 100644 >> index e3b4809fb..000000000 >> --- a/Documentation/devicetree/bindings/phy/rockchip-dp-phy.txt >> +++ /dev/null >> @@ -1,26 +0,0 @@ >> -Rockchip specific extensions to the Analogix Display Port PHY >> ------------------------------------- >> - >> -Required properties: >> -- compatible : should be one of the following supported values: >> - - "rockchip.rk3288-dp-phy" >> -- clocks: from common clock binding: handle to dp clock. >> - of memory mapped region. >> -- clock-names: from common clock binding: >> - Required elements: "24m" >> -- #phy-cells : from the generic PHY bindings, must be 0; >> - >> -Example: >> - >> -grf: syscon@ff770000 { >> - compatible = "rockchip,rk3288-grf", "syscon", "simple-mfd"; >> - >> -... >> - >> - edp_phy: edp-phy { >> - compatible = "rockchip,rk3288-dp-phy"; >> - clocks = <&cru SCLK_EDP_24M>; >> - clock-names = "24m"; >> - #phy-cells = <0>; >> - }; >> -}; >> -- >> 2.20.1 >
On 13-01-23, 20:58, Johan Jonker wrote: > > > On 1/13/23 19:08, Vinod Koul wrote: > > On 29-12-22, 10:44, Johan Jonker wrote: > >> Convert rockchip-dp-phy.txt to yaml. > > > > This series fails to apply, pls rebase > > Hi Vinod, Heiko, > > This serie and others must be combined in the right order to grf.yaml. > Maybe better that Heiko does that with your ACK. Sure: Acked-By: Vinod Koul <vkoul@kernel.org>
On Thu, 29 Dec 2022 10:44:28 +0100, Johan Jonker wrote: > Convert rockchip-dp-phy.txt to yaml. > > Changed: > rename file name > > Applied, thanks! [1/2] dt-bindings: phy: rockchip: convert rockchip-dp-phy.txt to yaml commit: fc7b83bcaf0334a80d175ab6b280fd838e8a5596 [2/2] dt-bindings: soc: rockchip: grf: add rockchip,rk3288-dp-phy.yaml commit: 51b2089284f3f08ca8971b65d5b2f66f926f7d14 Best regards,
diff --git a/Documentation/devicetree/bindings/phy/rockchip,rk3288-dp-phy.yaml b/Documentation/devicetree/bindings/phy/rockchip,rk3288-dp-phy.yaml new file mode 100644 index 000000000..2538235c5 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/rockchip,rk3288-dp-phy.yaml @@ -0,0 +1,41 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/rockchip,rk3288-dp-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rockchip specific extensions to the Analogix Display Port PHY + +maintainers: + - Heiko Stuebner <heiko@sntech.de> + +properties: + compatible: + const: rockchip,rk3288-dp-phy + + clocks: + maxItems: 1 + + clock-names: + const: 24m + + "#phy-cells": + const: 0 + +required: + - compatible + - clocks + - clock-names + - "#phy-cells" + +additionalProperties: false + +examples: + - | + #include <dt-bindings/clock/rk3288-cru.h> + edp-phy { + compatible = "rockchip,rk3288-dp-phy"; + clocks = <&cru SCLK_EDP_24M>; + clock-names = "24m"; + #phy-cells = <0>; + }; diff --git a/Documentation/devicetree/bindings/phy/rockchip-dp-phy.txt b/Documentation/devicetree/bindings/phy/rockchip-dp-phy.txt deleted file mode 100644 index e3b4809fb..000000000 --- a/Documentation/devicetree/bindings/phy/rockchip-dp-phy.txt +++ /dev/null @@ -1,26 +0,0 @@ -Rockchip specific extensions to the Analogix Display Port PHY ------------------------------------- - -Required properties: -- compatible : should be one of the following supported values: - - "rockchip.rk3288-dp-phy" -- clocks: from common clock binding: handle to dp clock. - of memory mapped region. -- clock-names: from common clock binding: - Required elements: "24m" -- #phy-cells : from the generic PHY bindings, must be 0; - -Example: - -grf: syscon@ff770000 { - compatible = "rockchip,rk3288-grf", "syscon", "simple-mfd"; - -... - - edp_phy: edp-phy { - compatible = "rockchip,rk3288-dp-phy"; - clocks = <&cru SCLK_EDP_24M>; - clock-names = "24m"; - #phy-cells = <0>; - }; -};