From patchwork Wed Sep 25 23:42:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 174432 Delivered-To: patches@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp1313453ill; Wed, 25 Sep 2019 16:42:32 -0700 (PDT) X-Received: by 2002:a17:90a:c096:: with SMTP id o22mr305307pjs.29.1569454952343; Wed, 25 Sep 2019 16:42:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569454952; cv=none; d=google.com; s=arc-20160816; b=g/mQiv2Oul6+OhA+vVyyy5IJnduQkMeE4zbh4uY6rwfmE4nTlXnJG4MJByMb81e1B5 1VlfqgKa8WU/tshghXnIKHitNrpRJP8MsOgcKuWcLTAM8BvLVJbSA4ce4eSi7HRLeDx9 SZY1XlpcDbCDTrBd95j9oL47yWoPuPB3Zq3c0E2v6ZjYhQVr1tpZSE9vPmn/yWcKkktM 39PMxZxq+m/VCir6vZNaYdgIK5ph3tdVWiMsmOZa6B9yfC4PKnIhuR0f7c3X/3Kzyqpr 3hlIV5No+jpWr2Uxfi2UiOOuFCtxWYukV5B4VLw11YLtkP9kyxBWZqs9OefYh5xxkcHg DtsQ== 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=BqAPbs/wZUWEhGivyo3NLB3Z3ocJiJHq8gLjsQrSOVI=; b=ocG19tf93MBt7kF69g23wLT+OYwLF8lf9gmgSgdhgbIlvd9rskxZKzYih1xi9S4QCN XvvTK9zbQc9lQw72t26hXZ41DJhUtQdn0wL8fQcSZA4a1hr4lFdzEOC2Y1GewuJv6TD7 04zaTTJTv7Oe42nnwG+iqcmJYJn2hr2JpQZr7ZIIZdKl/EG0lSMz9pOKw33XyBNw9YcY GtJtMjNIKh8iIZEQ4bffiKLwFF13CMbn4gBf73sm+MwkKbV7Mfh9ZJkrOrUK2X+VTSbk d5oBpeMAZdPKG5JfzBFekwqH5Rp/kOwbtHWr7buI/vklPXJ5EmQ88QAIZbJmA70aYdhJ HAYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=l2vPkiRm; 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 h6sor261317plt.63.2019.09.25.16.42.32 for (Google Transport Security); Wed, 25 Sep 2019 16:42:32 -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=l2vPkiRm; 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=BqAPbs/wZUWEhGivyo3NLB3Z3ocJiJHq8gLjsQrSOVI=; b=l2vPkiRmlXdJHN6GeFN8Z8GiZhmhg12dGgNyE97gFX1t7ha+98miz02tsg7Iek0dCg YoIg336NYQakybahq3pjXQV13OnYmh9bWgL1jRY5E9CDaycXkOrtT5JroxmvjkHypxwI gnxiap1CkAzXLcRY+iCMlLe9fxDBjp8FCX88MgFfNwx8Vr2u+lX9qbsEuSBaq2xUjRcm znMZhxhAgK1OX2g9PYKludIijQYdXzfey0dI+iQlBB6LHM21pWsoyNUlz7DGJE/4PwO3 E1Bc5MEG371EEWMJNAGOFduBccgOxXKkgNPh/klrf+8pgvOIaRzM2e43J2lr/WYyce8k JjZQ== 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=BqAPbs/wZUWEhGivyo3NLB3Z3ocJiJHq8gLjsQrSOVI=; b=Gj2RZ+QZ0zEOtzN00Sy015SWBcEsJy22xCF8jDieS0tARggxCWW12oqsnePZFWq6do s52uw5fom3Q8LhDTepRWdk+s8A7OGFnIzj9pLx75QxQJvmT/Bw9+FBVy1JHNorGmO19K dNddfDfIA+LfPPLjUM7XAczwRq/DXnQzsWlEjRyJdHmoyh7RnYGrmHRZjuByb/qa3cWq XV6NAOrHoXe9M+OzpobICjPpciXPkd6xPvvs4YpvUkyWT5hBWGOxQw3EH/bVa0Lx4C2s oID+o4HiE8oMq1uTfqRp5LtvboTkopR/WIfOldnyD/WVC37PoCJxQfSMrFuSeDYwr7Td C1PA== X-Gm-Message-State: APjAAAUHb1vM4bCN+jDt4uhDlHBWBL3Cu99Za+Febfn5liI1FvmmbcVk vssxcaJ0mkddOTvlQxwCLb/lq042 X-Google-Smtp-Source: APXvYqzMUd03gD/db63Y3t5pD+j0LGb6omLi0D1rmvHroR9ZzP4ylqsiPQgYxlYCCvBxuIxa9kobfw== X-Received: by 2002:a17:902:6bc5:: with SMTP id m5mr707175plt.169.1569454951894; Wed, 25 Sep 2019 16:42:31 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id d1sm131127pfc.98.2019.09.25.16.42.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2019 16:42:31 -0700 (PDT) From: John Stultz To: lkml Cc: John Stultz , Greg Kroah-Hartman , Felipe Balbi , Andy Shevchenko , Rob Herring , Mark Rutland , Yu Chen , Matthias Brugger , Chunfeng Yun , linux-usb@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 1/5] dt-bindings: usb: dwc3: Add a property to do a CGTL soft reset on mode switching Date: Wed, 25 Sep 2019 23:42:20 +0000 Message-Id: <20190925234224.95216-2-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190925234224.95216-1-john.stultz@linaro.org> References: <20190925234224.95216-1-john.stultz@linaro.org> Provide a dt-binding for quirk needed to do a GCTL soft reset on mode switching Cc: Greg Kroah-Hartman Cc: Felipe Balbi Cc: Andy Shevchenko Cc: Rob Herring Cc: Mark Rutland Cc: Yu Chen Cc: Matthias Brugger Cc: Chunfeng Yun Cc: linux-usb@vger.kernel.org Cc: devicetree@vger.kernel.org Signed-off-by: John Stultz --- Documentation/devicetree/bindings/usb/dwc3.txt | 2 ++ 1 file changed, 2 insertions(+) -- 2.17.1 diff --git a/Documentation/devicetree/bindings/usb/dwc3.txt b/Documentation/devicetree/bindings/usb/dwc3.txt index 66780a47ad85..cf4ef6c22fb3 100644 --- a/Documentation/devicetree/bindings/usb/dwc3.txt +++ b/Documentation/devicetree/bindings/usb/dwc3.txt @@ -77,6 +77,8 @@ Optional properties: during HS transmit. - snps,dis_metastability_quirk: when set, disable metastability workaround. CAUTION: use only if you are absolutely sure of it. + - snps,gctl-reset-quirk: when set, GCTL soft reset will be executed on mode + switch. - snps,is-utmi-l1-suspend: true when DWC3 asserts output signal utmi_l1_suspend_n, false when asserts utmi_sleep_n - snps,hird-threshold: HIRD threshold