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 <da...@lechnology.com>

> +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

Reply via email to