Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756425AbaGIQh2 (ORCPT ); Wed, 9 Jul 2014 12:37:28 -0400 Received: from mail-ie0-f175.google.com ([209.85.223.175]:35976 "EHLO mail-ie0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755249AbaGIQh0 (ORCPT ); Wed, 9 Jul 2014 12:37:26 -0400 Date: Wed, 9 Jul 2014 17:37:20 +0100 From: Lee Jones To: Gabriel Fernandez Cc: "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Kishon , "kernel@stlinux.com" Subject: Re: [PATCH v3 1/5] phy: miphy365x: Add Device Tree bindings for the MiPHY365x Message-ID: <20140709163720.GN2635@lee--X1> References: <1404906074-31992-1-git-send-email-lee.jones@linaro.org> <1404906074-31992-2-git-send-email-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 09 Jul 2014, Gabriel Fernandez wrote: > On 9 July 2014 13:41, Lee Jones wrote: > > The MiPHY365x is a Generic PHY which can serve various SATA or PCIe > > devices. It has 2 ports which it can use for either; both SATA, both > > PCIe or one of each in any configuration. > > > > Cc: Kishon Vijay Abraham I > > Acked-by: Mark Rutland > > Acked-by: Alexandre Torgue > > Signed-off-by: Lee Jones > > --- > > .../devicetree/bindings/phy/phy-miphy365x.txt | 76 ++++++++++++++++++++++ > > 1 file changed, 76 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/phy/phy-miphy365x.txt [...] > > +Specifying phy control of devices > > +================================= > > + > > +Device nodes should specify the configuration required in their "phys" > > +property, containing a phandle to the phy port node and a device type. > > + > > +Example: > > + > > +#include > > + > > + sata0: sata@fe380000 { > > + ... > > + phys = <&miphy365x_phy MIPHY_TYPE_SATA>; > > + ... > > In this example you select the type (SATA) but I don't understand how > do you select > the port (phy_port0 or phy_port1) Right, historical typo. Will send a v+1 as a reply, so it's easy for Kishon to collect when he applies next week. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/