Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755361AbaLKSlm (ORCPT ); Thu, 11 Dec 2014 13:41:42 -0500 Received: from mail-vc0-f179.google.com ([209.85.220.179]:64282 "EHLO mail-vc0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753238AbaLKSlj (ORCPT ); Thu, 11 Dec 2014 13:41:39 -0500 MIME-Version: 1.0 In-Reply-To: <548971AF.1020506@ti.com> References: <1418291722-25448-1-git-send-email-lyz@rock-chips.com> <1418291722-25448-2-git-send-email-lyz@rock-chips.com> <548971AF.1020506@ti.com> Date: Thu, 11 Dec 2014 10:41:38 -0800 X-Google-Sender-Auth: d4Evyquh2MrJgIEBcpCJYYe8hRo Message-ID: Subject: Re: [PATCH v6 1/5] phy: add a driver for the Rockchip SoC internal USB2.0 PHY From: Doug Anderson To: Kishon Vijay Abraham I Cc: Yunzhi Li , =?UTF-8?Q?Heiko_St=C3=BCbner?= , jwerner@chromium.org, Olof Johansson , Tao Huang , Chris , Eddie Cai , "open list:ARM/Rockchip SoC..." , Grant Likely , Rob Herring , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kishon, On Thu, Dec 11, 2014 at 2:27 AM, Kishon Vijay Abraham I wrote: > I didn't mean that. You can get rid of this entire xlate stuff if you use > something like below > > phy@xxx { > compatible = ""; > phy1:usb_phy { > } > phy2:usb_phy { > }; > }; > > > usb@xx { > compatible = ""; > phys = <&phy1>; //doesn't need xlate > /* this needs xlate > phys = <&phy 1>; > */ > phy-names = "phy"; > }; Is the syntax you proposed really better? Are you saying that you advocate never using "#phy-cells" other than 0 for new bindings? Is that your own personal preference, or is there a discussion somewhere where everyone agreed on this? My vote is that since "phy-cells" exists and is part of the generic phy bindings that it's meant to be used whenever you have a single PHY driver that controls multiple PHYs. -Doug -- 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/