From patchwork Fri Jan 22 12:03:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chunfeng Yun X-Patchwork-Id: 12039255 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MIME_BASE64_TEXT,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 305F8C433E0 for ; Fri, 22 Jan 2021 12:19:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EB8B923444 for ; Fri, 22 Jan 2021 12:19:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727882AbhAVMJh (ORCPT ); Fri, 22 Jan 2021 07:09:37 -0500 Received: from mailgw02.mediatek.com ([1.203.163.81]:51331 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727831AbhAVMEk (ORCPT ); Fri, 22 Jan 2021 07:04:40 -0500 X-UUID: e38afb97318c46019950fde82670b343-20210122 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=ZUATM9+QQjfDmz4kMF8bIUWZoXTmatRncETtaTVp+eg=; b=SwI5xAEdMuuNhcAuRUr55B1ZFFjucaJv+Y1JwzSFrK3cEjx9vcEM3aNMtFD5o54rqXtn77YYQjXKehBwcCPThdZyaiB3Vdzy7z8pSV/5jhctqW/UQYTEgwuNjXRvQRQuGeVmIU6NYHNjFfsZ6qjX8dh8kH/k1446aqw4wAfudVA=; X-UUID: e38afb97318c46019950fde82670b343-20210122 Received: from mtkcas36.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 350030239; Fri, 22 Jan 2021 20:03:41 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by MTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 22 Jan 2021 20:03:40 +0800 Received: from mtkslt301.mediatek.inc (10.21.14.114) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 22 Jan 2021 20:03:39 +0800 From: Chunfeng Yun To: Vinod Koul , Rob Herring , Greg Kroah-Hartman CC: Chunfeng Yun , Kishon Vijay Abraham I , Matthias Brugger , Chun-Kuang Hu , Philipp Zabel , Min Guo , , , , , Subject: [PATCH next v2 07/17] dt-bindings: usb: mtk-xhci: add optional assigned clock properties Date: Fri, 22 Jan 2021 20:03:13 +0800 Message-ID: <20210122120323.4337-7-chunfeng.yun@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210122120323.4337-1-chunfeng.yun@mediatek.com> References: <20210122120323.4337-1-chunfeng.yun@mediatek.com> MIME-Version: 1.0 X-TM-SNTS-SMTP: 8DFE6F3FA59A3A1C146558498F64A63A9EF7EEEB84E0C644EA3DB1CBC704FE852000:8 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Add optional property "assigned-clock" and "assigned-clock-parents" used by mt7629. Signed-off-by: Chunfeng Yun --- v2: separate compatible out of the patch --- .../devicetree/bindings/usb/mediatek,mtk-xhci.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml index a3817f3af59d..5eb8d7cd8155 100644 --- a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml +++ b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml @@ -67,6 +67,14 @@ properties: - const: dma_ck - const: xhci_ck + assigned-clocks: + minItems: 1 + maxItems: 5 + + assigned-clock-parents: + minItems: 1 + maxItems: 5 + phys: description: List of all PHYs used on this HCD, it's better to keep PHYs in order