From patchwork Tue Feb 25 17:53:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 183872 Delivered-To: patches@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp2041477ile; Tue, 25 Feb 2020 09:53:58 -0800 (PST) X-Received: by 2002:a17:902:b612:: with SMTP id b18mr53163493pls.318.1582653238021; Tue, 25 Feb 2020 09:53:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582653238; cv=none; d=google.com; s=arc-20160816; b=FzdsRc+wKAMSRGKBHgd9BPRDOC6gWuMf9RlFEoW+UqKjuEfjcxjzDNRfR1zEJHW5dQ +fsFuS28Ioa72KvGIUnCFRHoYxwmskhabTkcNR7ueOkG1Dkk26sIhkhDM2a9tegMPUNf g3jmRdTN5AOj+8JYSgiz9JLL45eOFS6tlAB1XpKwEhlLgdXIJ0ennKY/t2Kh1w38CFEz +7GD8RB8hTuJJx6wKCRQ+KN0WlvLYan5pN+Zuj9uMOqj6dw/8dRDONio75Pt1RtexpqN v/8NR1/i2etbUxUnk0xD2pkuDHfSti/ZUyUy5ftu2tmAW7m/4wuwt0fZrUm2mNhxbTW1 Wbng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jz3XZ9gPuD/g+1P6LY7Aq8wTOFKwQIrTyqi7Mx3AGIU=; b=KJ9zeR6yDpzo10xtWhTJSkkK2OPfyPGJCxwnt3Ye4PAg+W95T+H7kpFizlzXu4ICLs 4OBkch6ZCZU7N0/AAiU8HpRsUCJtMZj5hxQuqSZ/wBDKgEOOYreO4ZMlZit/OeSZUoJV tCWNM7+z3A3FKuo9Pkd7bxEaj6ZHL0g2RwdxNhJzB85JA5MZhHWX9R8/XJmHtH943Q8b mG3JdKpvBMUjOb334IFsUyL/pK8E6jooeci9LrFkDCTlGHLOUXE900KWnXrqJzbSi3TA SrY3Wb9sevYWxAEcDiUkcIlBU8BduNzk86egKupr6uScScpGrTrQsLJ5yasoJi/bjeb5 2sHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lwkPosxw; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id jx16sor123856pjb.7.2020.02.25.09.53.57 for (Google Transport Security); Tue, 25 Feb 2020 09:53:58 -0800 (PST) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lwkPosxw; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=jz3XZ9gPuD/g+1P6LY7Aq8wTOFKwQIrTyqi7Mx3AGIU=; b=lwkPosxwVHqNL5aijGc3VaCBSOXdBybtaEjZmFJj4LRQBc1cqJt17DPUHecWz7PfVI hrJucelVYpu3RNZKaaJtVsLaapcJgfF2RefqH7NetZv296lTcKDVuY2vWXMxsbzPIc/p FLwAkCyBx7W5nD2LDHW1DhzMp0RsUJtGxuTXQHgSw3r4hINvWge1vrAKod17Xc2+yrtQ pgKL8VpdpBgS8CGcvqEesteDbeyt5fqBJfyuKV9ZSlofhecFeoO98snsQ7JLh7m/WGTN xWO5PssZiu5agAlIKGQ98OUFjxR8qLWrq4dWCDWECc2NR6WxB1OhpBTR3DZT5T78QEJb ux7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=jz3XZ9gPuD/g+1P6LY7Aq8wTOFKwQIrTyqi7Mx3AGIU=; b=mZNiLuhScYzVB4sXXkAgP/kM/LGOU6CugX0L/sS1JYzjzDxxa+H4XPifXOFVfuR7J4 hMfMVkRU1BqDfkoZ0YkSpo/nm8z35xiwi8eBiXSkNRLwjzx9QfUpN9+SDSGMT2INNLnS yKkRyDU7QOeKbVnHImO/Ay7LbvYEj0DMEKLaROrOUKrXdlKdveSYzBrDmCCMZPR88Uig e88KpWWa6vcYUk+cIu2diDCq34C5t//SrJIBL/XPj0cgpqpuxffPW7Nn8SJoI13Xdv4C wQg3+VkFo2wi7kiNyxfJaWYSp2whpm80Xj85JjPVcpf3ADwqJvvl4AJ1oEaPtNgLyrL5 PdsA== X-Gm-Message-State: APjAAAW8in0K2Zs37mKyzIOr7nkgVsTSYYJEu5PRxy0DYWX9EGzpacd6 mPy2CIG2HFe6eeEXTHuDUTPtP+j1 X-Google-Smtp-Source: APXvYqx9tINDep9zfUWEUUEMxu2YZzjpfKET0phziXq5UW9ojBW7/2GMgqVX/Yt4bAQq8H6W+ZvGFw== X-Received: by 2002:a17:90a:ff15:: with SMTP id ce21mr155938pjb.124.1582653237674; Tue, 25 Feb 2020 09:53:57 -0800 (PST) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id v8sm18013291pgt.52.2020.02.25.09.53.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Feb 2020 09:53:57 -0800 (PST) From: John Stultz To: lkml Cc: John Stultz , Greg Kroah-Hartman , Rob Herring , Mark Rutland , ShuFan Lee , Heikki Krogerus , Suzuki K Poulose , Chunfeng Yun , Yu Chen , Felipe Balbi , Hans de Goede , Andy Shevchenko , Jun Li , Valentin Schneider , Guillaume Gardet , Jack Pham , linux-usb@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v8 4/6] dt-bindings: usb: dwc3: Allow clock list & resets to be more flexible Date: Tue, 25 Feb 2020 17:53:02 +0000 Message-Id: <20200225175304.36406-5-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200225175304.36406-1-john.stultz@linaro.org> References: <20200225175304.36406-1-john.stultz@linaro.org> 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 Cc: Rob Herring Cc: Mark Rutland CC: ShuFan Lee Cc: Heikki Krogerus Cc: Suzuki K Poulose Cc: Chunfeng Yun Cc: Yu Chen Cc: Felipe Balbi Cc: Hans de Goede Cc: Andy Shevchenko Cc: Jun Li Cc: Valentin Schneider Cc: Guillaume Gardet Cc: Jack Pham Cc: linux-usb@vger.kernel.org Cc: devicetree@vger.kernel.org Suggested-by: Rob Herring Reviewed-by: Rob Herring Signed-off-by: John Stultz --- Documentation/devicetree/bindings/usb/dwc3.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- 2.17.1 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