From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sekhar Nori Subject: Re: [PATCH v5 20/44] dt-bindings: clock: Add bindings for TI DA8XX USB PHY clocks Date: Thu, 18 Jan 2018 17:40:29 +0530 Message-ID: <33f0feba-adee-e365-54d5-16fe3d49302d@ti.com> References: <1515377863-20358-1-git-send-email-david@lechnology.com> <1515377863-20358-21-git-send-email-david@lechnology.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1515377863-20358-21-git-send-email-david@lechnology.com> Content-Language: en-US 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: David Lechner , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Mark Rutland , Kevin Hilman , Michael Turquette , Stephen Boyd , linux-kernel@vger.kernel.org, Rob Herring , Adam Ford List-Id: devicetree@vger.kernel.org On Monday 08 January 2018 07:47 AM, David Lechner wrote: > This adds a new binding for TI DA8XX USB PHY clocks. These clocks are part > of a syscon register called CFGCHIP3. CFGCHIP2 > > Signed-off-by: David Lechner > +Examples: > + > + cfgchip: syscon@1417c { > + compatible = "ti,da830-cfgchip", "syscon", "simple-mfd"; > + reg = <0x1417c 0x14>; > + > + usb0_phy_clk: usb0-phy-clock { > + compatible = "ti,da830-usb0-phy-clock"; > + #clock-cells = <0>; > + clocks = <&usb_refclkin>, <&pll0_aux_clk>, <&psc1 1>; > + clock-names = "usb_refclkin", "auxclk", "usb0_lpsc"; > + clock-output-names = "usb0_phy_clk"; Probably call this "usb0_phy" to match with the input name used for usb1_phy_clk? > + }; > + > + usb1_phy_clk: usb1-phy-clock { > + compatible = "ti,da830-usb1-phy-clock"; > + #clock-cells = <0>; > + clocks = <&usb0_phy_clk>, <&usb_refclkin>; > + clock-names = "usb0_phy", "usb_refclkin"; > + clock-output-names = "usb1_phy_clk"; > + }; > + }; Thanks, Sekhar