From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751827AbdBJDIM (ORCPT ); Thu, 9 Feb 2017 22:08:12 -0500 Received: from regular1.263xmail.com ([211.150.99.138]:49470 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751203AbdBJDHo (ORCPT ); Thu, 9 Feb 2017 22:07:44 -0500 X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 X-RL-SENDER: frank.wang@rock-chips.com X-FST-TO: johnyoun@synopsys.com X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: frank.wang@rock-chips.com X-UNIQUE-TAG: <81b50da8deafc2621d2b5bedf6cf4cae> X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 From: Frank Wang To: johnyoun@synopsys.com, gregkh@linuxfoundation.org, robh+dt@kernel.org, mark.rutland@arm.com, heiko@sntech.de Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, huangtao@rock-chips.com, kever.yang@rock-chips.com, william.wu@rock-chips.com, daniel.meng@rock-chips.com, frank.wang@rock-chips.com Subject: [RESEND PATCH v2 1/2] Documentation: dt: dwc2: amend clocks property Date: Fri, 10 Feb 2017 11:06:26 +0800 Message-Id: <1486695987-7280-2-git-send-email-frank.wang@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1486695987-7280-1-git-send-email-frank.wang@rock-chips.com> References: <1486695987-7280-1-git-send-email-frank.wang@rock-chips.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move 'clocks' to optional properties since not every platform is going to need to specify it and add pmu/utmi/ulpi/utmifs optional clocks into 'clock-names' list. Signed-off-by: Frank Wang --- Documentation/devicetree/bindings/usb/dwc2.txt | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt b/Documentation/devicetree/bindings/usb/dwc2.txt index 6c7c2bce..4d8b6dd 100644 --- a/Documentation/devicetree/bindings/usb/dwc2.txt +++ b/Documentation/devicetree/bindings/usb/dwc2.txt @@ -16,11 +16,18 @@ Required properties: - snps,dwc2: A generic DWC2 USB controller with default parameters. - reg : Should contain 1 register range (address and length) - interrupts : Should contain 1 interrupt -- clocks: clock provider specifier -- clock-names: shall be "otg" -Refer to clk/clock-bindings.txt for generic clock consumer properties Optional properties: +- clocks: A list of phandle + clock-specifier pairs for the clocks listed in clock-names. +- clock-names: Contain the following optional clocks on demand: + - "otg": AHB clock. It is the scan clock for the core's AHB domain. + - "pmu": PMU hclk. Clock to PMU module when hibernation and/or ADP is enabled. + - "utmi": UTMI+ clock. Functionally used only when a UTMI PHY is selected, + but always used as the PHY domain clock during DFT Scan mode. + - "ulpi": ULPI PHY clock. Present only when a ULPI PHY is selected; negedge + is also used in DDR mode. + - "utmifs": UTMI FS clock. Present only when OTG_FSPHY_INTERFACE != 0. +Refer to clk/clock-bindings.txt for generic clock consumer properties - phys: phy provider specifier - phy-names: shall be "usb2-phy" Refer to phy/phy-bindings.txt for generic phy consumer properties -- 1.9.1