[PATCH v5 1/5] Documentation/bindings: phy: update references to cp11x

Rob Herring robh at kernel.org
Wed Feb 10 14:03:22 EST 2021


On Wed, Feb 10, 2021 at 03:16:00PM +0200, kostap at marvell.com wrote:
> From: Grzegorz Jaszczyk <jaz at semihalf.com>
> 
> The cp11x references in dts has changed, reflect it in comphy
> documentation.

Who cares. Examples are just examples.

If you really want to improve the binding, convert it to schema.

> Signed-off-by: Grzegorz Jaszczyk <jaz at semihalf.com>
> Signed-off-by: Konstantin Porotchkin <kostap at marvell.com>
> ---
>  Documentation/devicetree/bindings/phy/phy-mvebu-comphy.txt | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/phy/phy-mvebu-comphy.txt b/Documentation/devicetree/bindings/phy/phy-mvebu-comphy.txt
> index 8c60e6985950..5ffd0f55d010 100644
> --- a/Documentation/devicetree/bindings/phy/phy-mvebu-comphy.txt
> +++ b/Documentation/devicetree/bindings/phy/phy-mvebu-comphy.txt
> @@ -42,22 +42,22 @@ Required properties (child nodes):
>  
>  Examples:
>  
> -	cpm_comphy: phy at 120000 {
> +	CP11X_LABEL(comphy): phy at 120000 {
>  		compatible = "marvell,comphy-cp110";
>  		reg = <0x120000 0x6000>;
> -		marvell,system-controller = <&cpm_syscon0>;
> -		clocks = <&CP110_LABEL(clk) 1 5>, <&CP110_LABEL(clk) 1 6>,
> -			 <&CP110_LABEL(clk) 1 18>;
> +		marvell,system-controller = <&CP11X_LABEL(syscon0)>;
> +		clocks = <&CP11X_LABEL(clk) 1 5>, <&CP11X_LABEL(clk) 1 6>,
> +			 <&CP11X_LABEL(clk) 1 18>;
>  		clock-names = "mg_clk", "mg_core_clk", "axi_clk";
>  		#address-cells = <1>;
>  		#size-cells = <0>;
>  
> -		cpm_comphy0: phy at 0 {
> +		CP11X_LABEL(comphy0): phy at 0 {
>  			reg = <0>;
>  			#phy-cells = <1>;
>  		};
>  
> -		cpm_comphy1: phy at 1 {
> +		CP11X_LABEL(comphy1): phy at 1 {
>  			reg = <1>;
>  			#phy-cells = <1>;
>  		};
> -- 
> 2.17.1
> 



More information about the linux-arm-kernel mailing list