dt-bindings: usb: mtk-xhci: add an optional frame count clock
Subsystems (5)
Chunfeng Yun
maintainerPATCH v3 1/2 dt-bindings: usb: mtk-xhci: add an optional frame count clock
Add optional clock 'frmcnt_ck' used on 4nm or advanced process SoC
---
v3: add acked-by and Reviewed-by tags
v2: based the patch:
https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/ --- Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml +2 -0
@@ -77,6 +77,7 @@ properties: - description: Mcu bus clock for register access - description: DMA bus clock for data transfer - description: controller clock + - description: frame count clock clock-names: minItems: 1
@@ -86,6 +87,7 @@ properties: - const: mcu_ck - const: dma_ck - const: xhci_ck + - const: frmcnt_ck phys: description:
Signature · 1 line
2.18.0
Chunfeng Yun
maintainerPATCH v3 2/2 usb: xhci-mtk: add optional frame count clock
Add optional clock frmcnt_ck used on 4nm or advanced process SoC
---
v3: add reviewed-by AngeloGioacchino
v2: no changes
--- drivers/usb/host/xhci-mtk.c | 1 + drivers/usb/host/xhci-mtk.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
drivers/usb/host/xhci-mtk.c +1 -0
@@ -398,6 +398,7 @@ static int xhci_mtk_clks_get(struct xhci_hcd_mtk *mtk) clks[2 ].id ="ref_ck" ; clks[3 ].id ="mcu_ck" ; clks[4 ].id ="dma_ck" ; + clks[5 ].id ="frmcnt_ck" ;return devm_clk_bulk_get_optional (mtk->dev,BULK_CLKS_NUM , clks); }
drivers/usb/host/xhci-mtk.h +1 -1
@@ -15,7 +15,7 @@#include "xhci.h" -#define BULK_CLKS_NUM 5 +#define BULK_CLKS_NUM 6#define BULK_VREGS_NUM 2/* support at most 64 ep, use 32 size hash table */
Signature · 1 line
2.18.0
Greg Kroah-Hartman
maintainerQuoted 7 lines · Chunfeng Yun
Add optional clock '
frmcnt_ck' used on 4nm or advanced process SoCReviewed-by AngeloGioacchino Del Regno <[email protected]>Signed-off-by Chunfeng Yun <[email protected]>---
v3: add acked-by and Reviewed-by tags
There's never a need to do this as our tools pick them up automatically. This resend did nothing but move it later in the queue to review :(
thanks,
greg k-h
Chunfeng Yun (云春峰)
maintainerQuoted 14 lines · Greg Kroah-Hartman
External email : Please do not click links or open attachments until you have verified the sender or the content.
Quoted 8 lines · Chunfeng Yun
Add optional clock '
frmcnt_ck' used on 4nm or advanced process SoCReviewed-by AngeloGioacchino Del Regno <Signed-off-by Chunfeng Yun <[email protected]>---
v3: add acked-by and Reviewed-by tags
Quoted 3 lines
There's never a need to do this as our tools pick them up automatically.
This resend did nothing but move it later in the queue to review :(
Got it, thanks a lot
Quoted 4 lines
thanks,
greg k-h