linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: Sandeep Singh <sandeep@freescale.com>
Cc: Poonam Aggrwal <poonam.aggrwal@freescale.com>,
	linuxppc-dev@lists.ozlabs.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [4/4] Added device tree entries for Legerity SLIC node on various Freescale Platforms
Date: Tue, 30 Jul 2013 17:40:11 -0500	[thread overview]
Message-ID: <20130730224011.GA15915@home.buserror.net> (raw)
In-Reply-To: <1362655668-26721-4-git-send-email-Sandeep@freescale.com>

On Thu, Mar 07, 2013 at 04:57:48PM +0530, Sandeep Singh wrote:
> diff --git a/arch/powerpc/boot/dts/p1024rdb.dtsi b/arch/powerpc/boot/dts/p1024rdb.dtsi
> index b05dcb4..cec36a3 100644
> --- a/arch/powerpc/boot/dts/p1024rdb.dtsi
> +++ b/arch/powerpc/boot/dts/p1024rdb.dtsi
> @@ -164,6 +164,19 @@
>  				label = "SPI JFFS2 RFS";
>  			};
>  		};
> +
> +                tdm_phy_0: slic@0 {
> +                        compatible = "zarlink,le88266", "tdm-phy-slic";
> +			reg = <1>;
> +			spi-max-frequency = <8000000>;
> +		};
> +
> +                tdm_phy_1: slic@1 {
> +                        compatible = "zarlink,le88266", "tdm-phy-slic";
> +			reg = <2>;
> +			spi-max-frequency = <8000000>;
> +		};
> +
>  	};
>  
>  	i2c@3000 {
> @@ -173,6 +186,11 @@
>  		};
>  	};
>  
> +        tdm@16000 {
> +                num-phy = <2>;
> +                phy-handle = <&tdm_phy_0>, <&tdm_phy_1>;
> +        };
> +
>  	usb@22000 {
>  		phy_type = "ulpi";
>  	};

Whitespace

What is "tdm-phy-slic"?  "num-phy"?  Document these in the binding and
use proper vendor prefixes.

Why "<&tdm_phy_0>, <&tdm_phy_1>" rather than "<&tdm_phy_0 &tdm_phy_1>"? 
And can you just use the length of phy-handle rather than having a
separate num-phy property?

-Scott
 

  reply	other threads:[~2013-07-30 22:40 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-07 11:27 [PATCH 1/4] Device tree entry for Freescale TDM controller Sandeep Singh
2013-03-07 11:27 ` [PATCH 2/4] Device Tree bindings " Sandeep Singh
2013-03-07 11:27 ` [PATCH 3/4] TDM Device Tree entries for various Freescale Platforms Sandeep Singh
2013-03-08 16:47   ` Timur Tabi
2013-03-08 16:47     ` Timur Tabi
2013-03-11  9:27     ` Singh Sandeep-B37400
2013-03-07 11:27 ` [PATCH 4/4] Added device tree entries for Legerity SLIC node on " Sandeep Singh
2013-07-30 22:40   ` Scott Wood [this message]
2013-03-07 13:34 ` [PATCH 1/4] Device tree entry for Freescale TDM controller Russell King - ARM Linux
2013-03-13  5:17   ` Singh Sandeep-B37400
2013-03-20 10:51 ` Singh Sandeep-B37400
2013-03-29  9:34   ` Singh Sandeep-B37400
2013-06-28 22:15 ` [1/4] " Scott Wood
2013-07-01  4:59   ` Singh Sandeep-B37400

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130730224011.GA15915@home.buserror.net \
    --to=scottwood@freescale.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=poonam.aggrwal@freescale.com \
    --cc=sandeep@freescale.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).