Re: [PATCH 1/2] usb: dwc3: Add ref clock period setting

From: Rob Herring
Date: Mon Sep 12 2016 - 10:09:52 EST


On Thu, Sep 01, 2016 at 02:32:30PM -0700, John Youn wrote:
> From: Thinh Nguyen <thinhn@xxxxxxxxxxxx>
>
> Added ref_clk_per for writing to GUCTL.RefClkPer which
> sets the period of ref_clk in nano second.
>
> Signed-off-by: Thinh Nguyen <thinhn@xxxxxxxxxxxx>
> Signed-off-by: John Youn <johnyoun@xxxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/usb/dwc3.txt | 2 ++
> drivers/usb/dwc3/core.c | 21 +++++++++++++++++++++
> drivers/usb/dwc3/core.h | 5 +++++
> drivers/usb/dwc3/dwc3-pci.c | 1 +
> 4 files changed, 29 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/usb/dwc3.txt b/Documentation/devicetree/bindings/usb/dwc3.txt
> index e3e6983..aa54ba7 100644
> --- a/Documentation/devicetree/bindings/usb/dwc3.txt
> +++ b/Documentation/devicetree/bindings/usb/dwc3.txt
> @@ -50,6 +50,8 @@ Optional properties:
> - snps,hird-threshold: HIRD threshold
> - snps,hsphy_interface: High-Speed PHY interface selection between "utmi" for
> UTMI+ and "ulpi" for ULPI when the DWC_USB3_HSPHY_INTERFACE has value 3.
> + - snps,ref_clk_per: value for GUTCL.RefClkPer field that sets the period of
> + ref_clk in nano seconds.

Use '-' rather than '_' and add a unit suffix (property-units.txt).

> - snps,quirk-frame-length-adjustment: Value for GFLADJ_30MHZ field of GFLADJ
> register for post-silicon frame length adjustment when the
> fladj_30mhz_sdbnd signal is invalid or incorrect.