From patchwork Wed Oct 16 03:33:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 176406 Delivered-To: patches@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp6783655ill; Tue, 15 Oct 2019 20:33:50 -0700 (PDT) X-Received: by 2002:a17:902:47:: with SMTP id 65mr38489174pla.81.1571196830183; Tue, 15 Oct 2019 20:33:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571196830; cv=none; d=google.com; s=arc-20160816; b=tOKvAbbWGvhhrgTjYKqPGJChhSUQ0eF2NJjVM7ZGzcwPbvAuQQkZ6V3oCS0wUila6E 4eFJ79tSL3T16qyuALRyqzzeT8djd/jVqftWyWaYaBh4sEhDlQQhaZeCoYj4wACMcRv5 TgsvFxfhFFbzdsYo19qG9NwjABRBAHyrURnwi4P0fHP87YNcUV4g0SboMqwAFDNUN2DH fpaQOGYf+5g0KRG3ZKSzzSxzUMqWmBfMRipPj2qigZEXFj5vHITQyq958Nb6mgh4G7lm XtOx3WUZOfsgqx/BrQenhUF/oJgf+Rr1Cy0EEVM+kMcDn6iIf/hCWQ26SUUeq2aILoxx 1R1g== 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=Fk56Pt1fGccXmKmQ/Jeo40yXUyiG0Au7sOVELWBpmSc=; b=mTBXxIGdwG7w/824en7V4fR1Y7J+79RIGDyCzRqHDk+858K+5O4gAgksPd1lTMS8Tr XSXHs3T/4r+Ta751udTl/QFJLaadrfWr2evqO42mxpJafrsfsd8i7QYac/smzVrmb6H2 gGMQ1JB9AI8qO2L0rByZw1bUfC3yFStQhf6GHWB8zPodCMO5h0VKCf90jpgmF2d9ZtK0 2tuNMpWQNFkiwf04QwvuwYTCOyTxpaD6m9yLTfamTqP0tMYRarpN0tSrjIPe6NrfYmoR Ydj2OQjmnr3rOehApAz8SFMTReP8LXZR0Eain/Rkonf1kYpOTMxBXUVkEuJYUJX8hF+Y e/dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i5842S39; 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 w8sor25585634pfi.51.2019.10.15.20.33.50 for (Google Transport Security); Tue, 15 Oct 2019 20:33:50 -0700 (PDT) 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=i5842S39; 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=Fk56Pt1fGccXmKmQ/Jeo40yXUyiG0Au7sOVELWBpmSc=; b=i5842S39DyNZjUZRJPov05KdX7BzPpP2NUVj577HofBXaFkmDioGcqwLERfGPCtRSo HxrufDjWomrDtclywcgyQlD/y+bxJRLcjN9o9sAc0492h3Sqk9lgZvAl3G9PDq4gU/Hq T8lEnvqFyCrhZWZLbPGC3IBEqFDHD0vSeAJP6CJMI6TeFEXj9lHjQ1gMcXvUshJNlSbV hQlwzNfdpEc8o1zpF4j8MeUNFET0RjQc3rMX03QpqyJyDqQ3SaEPhKKI+dAYa8HCcRdh 3kR7U+p+H01mWN3lCCwYydpOV9lAS3XXzH9hxXY97aQyeg0idEeovmkH84X+Db9lycVc albw== 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=Fk56Pt1fGccXmKmQ/Jeo40yXUyiG0Au7sOVELWBpmSc=; b=iobixBsxImHKa4cwhTW9L9zAK0nGGAkKP9A8DCEdsF3TmO8KBRJvGjPd2ai67mIZEK mS3fHCH4w0DP6DdQQ32BlSEIthhB8FpJgprb9SSfjqUdbtGVhxHMtZ7xjbicPrDEABrQ zVHEkJ816qpg+88tppJbYXtCx+wFMqCrYA0iV3xVDcm/r80jwNa1Pqbg90RoM1WtAaI8 yJHFKGJHEM03OuRKU5FwSv3EIV1T8FYNkW4XrAlAPoQ00YXqB3HK7b36XkTx2ScOHMaw 1/Yx6krMpaVmJKnV9LxGkXvTA/3F8SHZO18fmVXr63hENRkj+sxwmxzMKz1+r1J+ELt9 OYAg== X-Gm-Message-State: APjAAAX6ZS/waP3bqzyfM+ITi/kkxhZq45MOmGK2QJ7ZriSeM49UuLfQ bhOhlX7q1+krbI8w8rwMmfsutKuwy9CDaw== X-Google-Smtp-Source: APXvYqyDkJPdQQMUkmfGn1srI4a3vVQ3+fGtZ+xRSHgsO+5CqQbLMJGruDMef6xeBYAvO7XFUOWfqg== X-Received: by 2002:aa7:8046:: with SMTP id y6mr42224599pfm.178.1571196829644; Tue, 15 Oct 2019 20:33:49 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id l23sm748356pjy.12.2019.10.15.20.33.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2019 20:33:48 -0700 (PDT) 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 , Jack Pham , linux-usb@vger.kernel.org, devicetree@vger.kernel.org Subject: [RFC][PATCH v3 04/11] dt-bindings: usb: dwc3: Allow clock list & resets to be more flexible Date: Wed, 16 Oct 2019 03:33:33 +0000 Message-Id: <20191016033340.1288-5-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191016033340.1288-1-john.stultz@linaro.org> References: <20191016033340.1288-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: Jack Pham Cc: linux-usb@vger.kernel.org Cc: devicetree@vger.kernel.org Suggested-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