From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH v9 2/4] Documentation: Add documentation for APM X-Gene SoC SATA host controller DTS binding Date: Thu, 16 Jan 2014 11:38:28 +0100 Message-ID: <3162202.3lfb3jYxiv@wuerfel> References: <1389769910-15505-1-git-send-email-lho@apm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Loc Ho Cc: Mark Rutland , "devicetree@vger.kernel.org" , Suman Tripathi , "linux-scsi@vger.kernel.org" , "dmilburn@redhat.com" , "jcm@redhat.com" , "olof@lixom.net" , "patches@apm.com" , "linux-ide@vger.kernel.org" , "tj@kernel.org" , Tuan Phan , "linux-arm-kernel@lists.infradead.org" List-Id: devicetree@vger.kernel.org On Wednesday 15 January 2014 15:59:27 Loc Ho wrote: > > May be I misread what Mark mentioned. The binding documentation should > not specify the requirement of 0. And the binding of the dts should be > as is: > > phy1 { > #phy-cells = <1>; > }; > > sata1 { > ::: > phys = <&phy1 0>; where 0 indicates the mode of operation? > }; > > Yes, that is right. You can keep the zero in the example, but the binding text must not require a specific phy to be used. Arnd