Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756940AbaLIOmt (ORCPT ); Tue, 9 Dec 2014 09:42:49 -0500 Received: from mail-qc0-f179.google.com ([209.85.216.179]:46104 "EHLO mail-qc0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752654AbaLIOmr (ORCPT ); Tue, 9 Dec 2014 09:42:47 -0500 MIME-Version: 1.0 In-Reply-To: <1418093293-30557-1-git-send-email-lyz@rock-chips.com> References: <1418093293-30557-1-git-send-email-lyz@rock-chips.com> Date: Tue, 9 Dec 2014 15:42:46 +0100 Message-ID: Subject: Re: [PATCH v4 2/5] Documentation: bindings: add doc for the Rockchip usb PHY From: Romain Perier To: Yunzhi Li Cc: Rob Herring , "pawel.moll" , Mark Rutland , "ijc+devicetree" , Kumar Gala , devicetree , Linux Kernel Mailing List , linux-rockchip@lists.infradead.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 Hi, 2014-12-09 3:48 GMT+01:00 Yunzhi Li : > Document the bindings of the Rockchip usb PHY driver. Long description is the same than the short one.. So either the long description is useless or it can be improved. > > +Required properties: > + - compatible: rockchip,rk3288-usb-phy > + - rockchip,grf : phandle to the syscon managing the "general > + register files" > + - #phy-cells: should be 1 > + - #address-cells: should be 1 > + - #size-cells: should be 0 > + > +Sub-nodes: > +Each PHY should be represented as a sub-node. > + > +Sub-nodes > +required properties: > +- reg: the PHY number > + "0" - PHY connect to OTG controller > + "1" - PHY connect to HOST0 controller > + "2" - PHY connect to HOST1 controller > + > +Optional Properties: > +- clocks : phandle + clock specifier for the phy clocks > + > +Example: > + > +usbphy: phy { > + #phy-cells = <1>; > + #address-cells = <1>; > + #size-cells = <0>; > + compatible = "rockchip,rk3288-usb-phy"; > + rockchip,grf = <&grf>; > +}; Could you reorder these properties to have the same order than in the "required properties" ? Something like: usbphy: phy { compatible = "rockchip,rk3288-usb-phy"; rockchip,grf = <&grf>; #phy-cells = <1>; #address-cells = <1>; #size-cells = <0>; }; Thanks, Romain -- 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/