Rather then adding another device specific binding to support hikey960, Rob Herring suggested we expand the current dwc3 binding to allow for variable numbers of clocks and resets.
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org> Cc: Rob Herring <robh...@kernel.org> Cc: Mark Rutland <mark.rutl...@arm.com> CC: ShuFan Lee <shufan_...@richtek.com> Cc: Heikki Krogerus <heikki.kroge...@linux.intel.com> Cc: Suzuki K Poulose <suzuki.poul...@arm.com> Cc: Chunfeng Yun <chunfeng....@mediatek.com> Cc: Yu Chen <cheny...@huawei.com> Cc: Felipe Balbi <ba...@kernel.org> Cc: Hans de Goede <hdego...@redhat.com> Cc: Andy Shevchenko <andy.shevche...@gmail.com> Cc: Jun Li <lijun.ker...@gmail.com> Cc: Valentin Schneider <valentin.schnei...@arm.com> Cc: Jack Pham <ja...@codeaurora.org> Cc: linux-...@vger.kernel.org Cc: devicet...@vger.kernel.org Suggested-by: Rob Herring <rob.herr...@arm.com> Signed-off-by: John Stultz <john.stu...@linaro.org> --- Documentation/devicetree/bindings/usb/dwc3.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/dwc3.txt b/Documentation/devicetree/bindings/usb/dwc3.txt index 66780a47ad85..29768b0ca923 100644 --- a/Documentation/devicetree/bindings/usb/dwc3.txt +++ b/Documentation/devicetree/bindings/usb/dwc3.txt @@ -7,7 +7,8 @@ Required properties: - compatible: must be "snps,dwc3" - reg : Address and length of the register set for the device - interrupts: Interrupts used by the dwc3 controller. - - clock-names: should contain "ref", "bus_early", "suspend" + - clock-names: list of clock names. Ideally should be "ref", + "bus_early", "suspend" but may be less or more. - clocks: list of phandle and clock specifier pairs corresponding to entries in the clock-names property. @@ -36,7 +37,7 @@ Optional properties: - phys: from the *Generic PHY* bindings - phy-names: from the *Generic PHY* bindings; supported names are "usb2-phy" or "usb3-phy". - - resets: a single pair of phandle and reset specifier + - resets: set of phandle and reset specifier pairs - snps,usb2-lpm-disable: indicate if we don't want to enable USB2 HW LPM - snps,usb3_lpm_capable: determines if platform is USB3 LPM capable - snps,dis-start-transfer-quirk: when set, disable isoc START TRANSFER command -- 2.17.1