Re: [PATCH 3/5] dt-bindings: usb: mtk-xhci: add an optional xhci_ck clock

From: Rob Herring
Date: Tue Jul 09 2019 - 10:22:40 EST


On Wed, Jun 12, 2019 at 01:55:19PM +0800, Chunfeng Yun wrote:
> Add a new optional clock xhci_ck
>
> Signed-off-by: Chunfeng Yun <chunfeng.yun@xxxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.txt | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.txt b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.txt
> index 266c2d917a28..91c0704b586b 100644
> --- a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.txt
> +++ b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.txt
> @@ -29,6 +29,7 @@ Required properties:
> "sys_ck": controller clock used by normal mode,
> the following ones are optional:
> "ref_ck": reference clock used by low power mode etc,
> + "xhci_ck": controller clock,
> "mcu_ck": mcu_bus clock for register access,
> "dma_ck": dma_bus clock for data transfer by DMA

A new clock should go at the end to stay backwards compatible.

>
> @@ -100,7 +101,7 @@ Required properties:
> - clocks : a list of phandle + clock-specifier pairs, one for each
> entry in clock-names
> - clock-names : must contain "sys_ck", and the following ones are optional:
> - "ref_ck", "mcu_ck" and "dma_ck"
> + "ref_ck", "xhci_ck", "mcu_ck" and "dma_ck"
>
> Optional properties:
> - vbus-supply : reference to the VBUS regulator;
> --
> 2.21.0
>