From patchwork Tue Jan 22 10:37:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Li X-Patchwork-Id: 10775343 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EA29E6C2 for ; Tue, 22 Jan 2019 10:38:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DA42F2A518 for ; Tue, 22 Jan 2019 10:38:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CE9C72A522; Tue, 22 Jan 2019 10:38:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E5862A518 for ; Tue, 22 Jan 2019 10:38:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727604AbfAVKic (ORCPT ); Tue, 22 Jan 2019 05:38:32 -0500 Received: from mail-eopbgr60052.outbound.protection.outlook.com ([40.107.6.52]:33024 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727026AbfAVKib (ORCPT ); Tue, 22 Jan 2019 05:38:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mlnRN5XL/RNvhKRPWPMATRn5GqLNRvgE1606CHQvBUE=; b=XdLPaTpmEP2ckyIDtEgBttu7x0FkmV1/ScVMi0maEj8brCAWaYzQfeGcHJtlZqlCdmBqJp4I2e+Ebyg5luRr6f8LAhp85xqBrZ8mBnFjwpayBFIjNScTZ8JD6vThv72YN1rVSRQwYeXFOSCoOdEcRgh8QLPTZr0La+pB5hhZtBY= Received: from VI1PR04MB4558.eurprd04.prod.outlook.com (20.177.55.216) by VI1PR04MB5678.eurprd04.prod.outlook.com (20.178.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1537.29; Tue, 22 Jan 2019 10:38:24 +0000 Received: from VI1PR04MB4558.eurprd04.prod.outlook.com ([fe80::b031:35a0:6edf:62c7]) by VI1PR04MB4558.eurprd04.prod.outlook.com ([fe80::b031:35a0:6edf:62c7%3]) with mapi id 15.20.1537.031; Tue, 22 Jan 2019 10:38:24 +0000 From: Jun Li To: "robh+dt@kernel.org" , "mark.rutland@arm.com" , "balbi@kernel.org" CC: "linux-usb@vger.kernel.org" , "devicetree@vger.kernel.org" , dl-linux-imx Subject: [PATCH 1/2] Documentation: usb: dwc3: add power down clock scale property Thread-Topic: [PATCH 1/2] Documentation: usb: dwc3: add power down clock scale property Thread-Index: AQHUsj5yvCqHOmL+nUCBKwUkQP5+SA== Date: Tue, 22 Jan 2019 10:37:17 +0000 Message-ID: <1548152179-19472-1-git-send-email-jun.li@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK2PR02CA0183.apcprd02.prod.outlook.com (2603:1096:201:21::19) To VI1PR04MB4558.eurprd04.prod.outlook.com (2603:10a6:803:6f::24) authentication-results: spf=none (sender IP is ) smtp.mailfrom=jun.li@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.71] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;VI1PR04MB5678;6:/UfVZ/GG1dMqaf104Y2OJlos64ffIbRv+v0ia20vUSdc8n5Mm27im9A0KFD191NpEiJ17+i9b+FI30SCufIzeo8CNm4An4L8wXIzk5iQq0EQwjJ0YFRVLpNV6f3CCDsSxjo6ypjpT3/bn2kfTgOTLM3doA8OsLj7dWxWStNRcesK0FdAnH9sEYePt/kxU8C2qBCsljdwcbSFxoPyTU/fL2m56p0sXU+fmakrguVAJR4nxmrUkVOFbnbgSOiX6zlKeNocfRdXSCza8xeGNLJ5cn19YVrsJJhp1pvCS4drWtjW8M212qicjXgjyspoQiSGDKyNekbwmSeHGzGTDsPE58Ua/+lnI3tt1yQJ1h82iMxDICMXjNZTYQ1yt5unmaEP1rUZHFT8b/wSZvNUZ0CRTBFveGasRndHijx9IV7U5QygYHO+MOk2DaYC720Sh7tXAKzmieOX/n5Gh9KZ+BYOdQ==;5:wyEcCB5avcKlNxZZ45z4iM5V73BCk1HzHBheoAlHf7cmnDTcHjH1pO1lbnXw/8LQarGRUtmuFZem2lhv/ft3G27kyQphIm36bm29jG5/OXTHWolyFlA3fAS5SxEkHbP3Si9D6DCrLFc1OpWPg1PkoiZ2HB3+2HUk9mePFF46jkSgKG9OkV0bhY0IqVtyfzOZfLmTJ65L7n4AzHRukaJJ4w==;7:AfuDi4QU0ZuaMlXtVEtlGE7lQxx6kvcYLOM3c1bdUw0pDb7Iewy7dYjDqV+Qf0EnDWw1cqai/Xb4bLOipwJVF7cMMeHjNo1rX+ynVe3ptZlbcNEifpfyNv3HvSp4dfBlgadQrkwZpLupOwDgWmT+lg== x-ms-office365-filtering-correlation-id: e92dcd7c-f0ab-4a32-dab6-08d680559437 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:VI1PR04MB5678; x-ms-traffictypediagnostic: VI1PR04MB5678: x-microsoft-antispam-prvs: x-forefront-prvs: 0925081676 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(396003)(366004)(136003)(376002)(346002)(189003)(199004)(2906002)(36756003)(50226002)(6506007)(386003)(26005)(7736002)(486006)(305945005)(14444005)(44832011)(54906003)(316002)(99286004)(110136005)(256004)(52116002)(8936002)(186003)(81156014)(8676002)(81166006)(6666004)(102836004)(86362001)(4326008)(6116002)(3846002)(476003)(2616005)(2501003)(66066001)(97736004)(105586002)(71200400001)(6436002)(71190400001)(106356001)(6512007)(14454004)(478600001)(53936002)(25786009)(6486002)(68736007);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB5678;H:VI1PR04MB4558.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: Uprq3SEK8ENJ3bjUGVRQs02IZ7taiqOP2kygNouFfamujpWnEvWtnFM4T/0LqBSXTozWdrjoXiM/ZgETuxqEVgVn/fZvhoYV0I6q7oEhnfDphm70ha9XyLv8SJu1Pk5yxGJYLDcQxsqThhZW7SKx/63RO61v1CINanS0wXVqXrFwoujynoELucK71ScFKP+1wLdB6qFhksKB218lNmQ1Icxr9WDr7emy+z8VMx2O7wvwHNWdCtcc8y4SmzkY51gp6DvoXAcwmb9eADxx3gh5wyRB+vaxEdyST4Ba2sGJi6+MX2iNKtjmZ7LhaCGjAjr9OpI7aBLE2h7/FgOMDvUvdgfSLsA++zaCG6pD6xQFRqGW6OjiLfP5MkaE2zolx46vxd44lzS+Ihoud7yxq+wzelm35Qc/11odAz8KXM9EOiE= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e92dcd7c-f0ab-4a32-dab6-08d680559437 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jan 2019 10:37:14.3801 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5678 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The USB3 suspend_clk input replaces pipe3_rx_pclk as a clock source to a small part of the USB3 core that operates when the SS PHY is in its lowest power(P3) state, and therefore does not provide a clock. The power down scale specifies how many suspend_clk periods fit into a 16 KHz clock period, details can see DWC3 databook register GCTL.PWRDNSCALE. Signed-off-by: Li Jun --- Documentation/devicetree/bindings/usb/dwc3.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/dwc3.txt b/Documentation/devicetree/bindings/usb/dwc3.txt index 3e4c38b..d1c8b62 100644 --- a/Documentation/devicetree/bindings/usb/dwc3.txt +++ b/Documentation/devicetree/bindings/usb/dwc3.txt @@ -102,6 +102,12 @@ Optional properties: more than one value, which means undefined length INCR burst type enabled. The values can be 1, 4, 8, 16, 32, 64, 128 and 256. + - snps,power-down-scale: Power down scale field specifies how many suspend_clk + periods fit into a 16 Khz clock period. When performing + the division, round up the remainder. Suspend clock is + from 32kHz to 125MHz, means the value range is 2~8000. + (details see DWC_usb3 databook register GCTL.PWRDNSCALE). + - in addition all properties from usb-xhci.txt from the current directory are supported as well