From patchwork Mon Oct 7 17:55:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 175398 Delivered-To: patches@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp4606727ill; Mon, 7 Oct 2019 10:56:01 -0700 (PDT) X-Received: by 2002:a63:2581:: with SMTP id l123mr31578527pgl.293.1570470961693; Mon, 07 Oct 2019 10:56:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570470961; cv=none; d=google.com; s=arc-20160816; b=Hy+SpfTSMmi4XZTHeH4TBd276S7bhpY93XCP2pYPbnjIymNikfB+14BETNBAalIg+f YfOCE7YlH/DCb+GtFKdHqKrT4Yx+C7ijc+iQsZpjqseCWAAPQA5qpuSpnAcg0mGJ5+4J XZZaUR2tTs+03uzmTeyy0vQ1L7I+G2yl4+ChCkotE9kbgql6t2QSSGTDmNrV8G7vCNc4 D8Yc4/OJLzHw4KrfPN3CIu/TGuydwTEOEwzl1N7yl6yvsxCyBNC91pEd1JppQXjvjDzj b10Vgiq1f2qIoMfmYkoXnnprHHGTHKZ4Zy3R6Hk++Go39lcgMDIqe0J3rFFLK3ArcyVR NcTg== 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=NnGZjQUDCxllWuwsDNEqG5PG6tLLSOp/w6ZwYJA8ahp7eF1mEFFjhsmltoFCEPpQd0 kNGjZ95KB+m0UWmUz/2cRHAJ0R9NiiFgnIpeGvprficzwI9fV45nqdHsmQDTFrPwMeVE SE4sBuflv/cmaeRyGtaTMz0jmhjDCmPnzyNKhExtrO6EOBmeabhlliRdQt0NDmAdVxAK NvX0FQGQ2bLLXTUop4KzVqVb0HyTKoXSLyp44FQQbrVo3ABAyCxxaVJAXxWe8SF8etVh WQ5E9kzR7KRIgJMnKYwLbM9m7Fz1Qb3G3fvea46aF5WAUu8P/gQhjCgqEr0CzMmueQjs a78g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zkLe1lXI; 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 g8sor17086270pfk.3.2019.10.07.10.56.01 for (Google Transport Security); Mon, 07 Oct 2019 10:56:01 -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=zkLe1lXI; 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=zkLe1lXI/kTfrysTVpJMwuaXco3MElI5JuoKHwGdd9huySPjwcnc3rUpITt2/11Zm5 tiXNO9v9vnVvIIZd94wdw/YiU4qkXUd98CG1rM8X+hL7q76fc91jo2CiIuKtM0jtJ9rL v/kOPD4SUR/VvcEUI+ziPVYPSPfQsN3CGSoWEWAGNtH2cGERQn01eSXsazGSuW5VlQBc XCg5L0bLn/3dNIkIPJ/E/0FVK8XV2n51gVKvv+dTLBeaGJMwc+fIFiXuQ8Yn0/Sq28RE 2z+dVzuJX2OsLboR4aXc7T1Ei8Y1KCFzodNnELOhDZ0euq7lSepkr59SyAKucel2Bn9c bjmw== 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=Iix/GMe2wprnA4hk7Dlp+Kl7mF7IQeiIUBlTRqYOLWNI4350Fz7jaiONlW4AkK6OXf H0d5LgwAiKXczMMh+R70AQr2D2WFUMZDDIemqI1wz5VQ/njqX+PxMkqITXKuLT3Li1k2 vGXyaM+WfB4qEjArzSBH8LFjSoXHkjHRSFvu7Gs1F+Irn0aYaZ+ircxrzxRA7gbzuvZQ WuBR6m1AwZ5uWOe2JL7a0TwNZQmIDVd5QqaI3ND14c7djoGGgpAHngJsdmhWdmZI5Him kqg5PVuU1s2ir3C+p457cWahtaD0I8vXfbFHmcoceV8lEJIHHZ1a39iBxNeKXg0Li/Mz OUsw== X-Gm-Message-State: APjAAAX4Go72lnX6I4ewKGq27YLvlJbMYwHa9qkFki420hiwRVs1zyTJ Pa+B6YCBNjzERCG3SbrQHPq1KDr8 X-Google-Smtp-Source: APXvYqzR09qKYZDkL9zavOHzE5V/dTeZBEetwtzxc9ol5SRT48VvfuWeKP1zcPB5Go2sfBi0OZM/lA== X-Received: by 2002:a62:1516:: with SMTP id 22mr33771701pfv.87.1570470961345; Mon, 07 Oct 2019 10:56:01 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id k15sm3820096pgt.25.2019.10.07.10.55.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2019 10:56:00 -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: [RFC][PATCH v2 1/5] dt-bindings: usb: dwc3: Add a property to do a CGTL soft reset on mode switching Date: Mon, 7 Oct 2019 17:55:49 +0000 Message-Id: <20191007175553.66940-2-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191007175553.66940-1-john.stultz@linaro.org> References: <20191007175553.66940-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