[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8eca0d59-8db3-b66e-f219-0a256a9b0c79@gmail.com>
Date: Fri, 13 Jan 2023 20:58:30 +0100
From: Johan Jonker <jbx6244@...il.com>
To: Vinod Koul <vkoul@...nel.org>
Cc: heiko@...ech.de, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-rockchip@...ts.infradead.org, linux-phy@...ts.infradead.org,
kishon@...nel.org
Subject: Re: [PATCH v2 1/2] dt-bindings: phy: rockchip: convert
rockchip-dp-phy.txt to yaml
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@...il.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@...ech.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@...70000 {
>> - 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
>
Powered by blists - more mailing lists