From patchwork Fri Sep 15 12:23:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 723514 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9DC43107A9; Fri, 15 Sep 2023 12:24:02 +0000 (UTC) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2077.outbound.protection.outlook.com [40.107.21.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26946115; Fri, 15 Sep 2023 05:24:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hyUtnzwxBhImpuYj1n0sSGR37I3Ail0H+gPVXxn/Vv1fpwDo0bTSYdDdw5ckfn17+f+xYguolvD54QgT8S/dzsrno/t7MJQAS8mrZSAk+19D3tuz6JyoeYqrfXx7uQNXAW4jwGmYbhr+Zf8IEBOhZlJFQGiicMnrbYNJWbBLB6FKsYH4EKMpdlvoV9Hi4taiv4fEfvU1DEfWY6zS6bwtpsAqrPJmy0JlTS00o/3DAS59CsIyjH9KPKWfBPG3V74ssaye7IM7tI65cXwtGPrS4YiVOe3IJEPv/KfGthj6/3nPed+wQcvspqgNtwZy1nQGdYTWbiyQqDjOfj/EC8EAcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5nJsw1y6X6uB8I2gp4C7HgHNXeEGZr1QilwyS3fE9fs=; b=NLsQwIMhx5G+QGz17QFckCYv24wncIwxsTb1ZdD/4blyyTpb/LSXHEfBAA/BkKweb7BC/j/LJh08vWakpmRsPaEhXOPPCPp6HXUltGISFIwYOyq5IwEW+136QuMXZ75euAK59rhxSbOJFzElkDJwexAsg9o4KpWl+9EpAH7f8ckXCNi0HMqwEyR2SLzvfwqP0LS8rG6si1uTApy0fhDXYuuAhyfsvSNuYTpf2V8aYnjPanJK3xrgtFS9KLWM3ZlZabvNrFUFwvAW4/g/YZH1Fohb4dYp4u9aHcO30x3xgRJyC5IZYeAfFycgW9WzIdDzC+GmxgVf7DDuWilxo3rosw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5nJsw1y6X6uB8I2gp4C7HgHNXeEGZr1QilwyS3fE9fs=; b=YbsI+2kR4PwEDqVjLkkM0kRJeOOzegV2P46FfYrHy0S2sbyW+0vIw04dBBajsGiqjlENcKPHLYtMkGpV4zXwqGPHxn2soXQCtgdRItSRDTYHEMLrPwAb7wqq76CuR3u/Sgkj5Zz4PWJHPXxH4HyzwWsuXgvM7VcvFEJLmXC5jRs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from VE1PR08MB4974.eurprd08.prod.outlook.com (2603:10a6:803:111::15) by PAXPR08MB7623.eurprd08.prod.outlook.com (2603:10a6:102:241::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6745.34; Fri, 15 Sep 2023 12:23:58 +0000 Received: from VE1PR08MB4974.eurprd08.prod.outlook.com ([fe80::bc92:216b:11ed:db63]) by VE1PR08MB4974.eurprd08.prod.outlook.com ([fe80::bc92:216b:11ed:db63%6]) with mapi id 15.20.6792.020; Fri, 15 Sep 2023 12:23:58 +0000 From: Javier Carrasco Date: Fri, 15 Sep 2023 14:23:49 +0200 Subject: [PATCH v2 2/2] dt-bindings: usb: tps6598x: add reset-gpios property Message-Id: <20230912-topic-tps6598x_reset-v2-2-02a12e2ec50a@wolfvision.net> References: <20230912-topic-tps6598x_reset-v2-0-02a12e2ec50a@wolfvision.net> In-Reply-To: <20230912-topic-tps6598x_reset-v2-0-02a12e2ec50a@wolfvision.net> To: Heikki Krogerus , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bryan O'Donoghue Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Javier Carrasco , Krzysztof Kozlowski X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694780635; l=1433; i=javier.carrasco@wolfvision.net; s=20230509; h=from:subject:message-id; bh=9nDWf4rjE67YgTLOaBbgR3BVtLCwAFmqsVJzACx3fps=; b=uqXmqYcw2/PXrKlSMlBLgla/cRz8p8ahdguh9SS70chbBRpeFHhvDqXVTxYiILeduptM5Fxl+ fuMaOKllZDKBZxhpcReRG9OcAjTNPN545wbKn308d48WHia6y+WF5MB X-Developer-Key: i=javier.carrasco@wolfvision.net; a=ed25519; pk=tIGJV7M+tCizagNijF0eGMBGcOsPD+0cWGfKjl4h6K8= X-ClientProxiedBy: AS9P250CA0001.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:532::7) To VE1PR08MB4974.eurprd08.prod.outlook.com (2603:10a6:803:111::15) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR08MB4974:EE_|PAXPR08MB7623:EE_ X-MS-Office365-Filtering-Correlation-Id: e9b357f1-e3d1-4f68-d6c5-08dbb5e6a2b3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9c0AxpltFhYTg65FQbBT1ogQRUKaoN3NQyIYrOdhVAE3LNe/hQePOrMclKHVdtozmFPJVTb2KKST181H3mDQpCMEo0wLNxccbmqAzxgzsmnEY0swY1EvaOc4YMlDTEF9XhoFjd3kStHOaVMVqHctZfIyx1fypY/h33H0TPfWLnZyaOLA0y/lo5m0dAk5njed0uL38BLbKrCEMsd69IgwHJd1SneGYhlzn/yMTpNepfQDpVMYI3zTZOckpewf1SB/SV+KAIfkv03mxg0ubtDqw1SkK80MgJ64G+wW2vrZzmiNI3Neh6kCr7clmoUZbEvyxnx3oQuXiJe/MobG/igCYqJUc1IyCkx+SJ4Ne3Adk3K9uXjy+doqN74XPi5UgfaBe4CJ6eUKegO5P7xL3waxldQRjesL4ZFhOFbqGUiw/+d/7JVyU/6IRBtsM3B492LrBP3Cw8HVJN3msfuIVQWIo8xk8Cg7pB1N+GY1hCz1P3Fg2ayz9gtMsmedwGg6nA3bYop01E39ioF0ascAnLPFXrvKGO06AfBezQXcpWQ6e9CPMuJT7jTU1DLXUr2h7pHeFzYyiXZ9lrZJUPlKCNz1Ojwue3ipO9f+X2wQTYanlAQ= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VE1PR08MB4974.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376002)(136003)(346002)(366004)(39850400004)(396003)(186009)(1800799009)(451199024)(6666004)(52116002)(6486002)(6506007)(44832011)(6512007)(478600001)(2616005)(26005)(2906002)(54906003)(7416002)(66556008)(66946007)(66476007)(110136005)(4326008)(5660300002)(41300700001)(8936002)(316002)(8676002)(38100700002)(36756003)(86362001)(38350700002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?zIbKnEeZWriJzdmqJin3jN64qntz?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?= =?utf-8?q?6sR45GZ1BlFofA1/gskWlVeT0ox4lxJ76lUHEkeqREGJEqlgDy6ycamOiJrzVkfoP?= =?utf-8?q?lK/CNLNYV2OEEtkTEe1vg7HgHSm7VXW8J4R716HaTAUml8lmlaW6nWw9RbOpUuh4E?= =?utf-8?q?gpT8n5jpkDZ6CYytgu0HmC3hpR6Vcn3o1gRCB+3tTEYIE7IuG1tc/ZOCotNs3H2KI?= =?utf-8?q?MR+wHrnow3+PDbKOWY7zrxA0JM/olBNB96G4A9fDPF1VHlJbRUNe5ITQpdLn2HEqk?= =?utf-8?q?uW/XXXfCTwVi8f4ijLatWWykBCtL5cK8ZglspqmmDO/9pW0ONROJ83GxFJA14+bgY?= =?utf-8?q?6uKX+jQzW4NMZ+3ucUwBFyw0i2FFo62N1xvPXq83+RsDU1Xy1j/OHuZxfmQ4pUSa4?= =?utf-8?q?Z+zuzF0k+F1pFAThb/P83BEJivnswlD/kvrV1ai4Nq3Teop9g8/91+8uUGIxuq9w4?= =?utf-8?q?IFC8x19Nl4Mv/x1AK6P/XQfx8xEDqvmbTsFBFq4wsmafdg6hbpP6MpTmFCBIvci4X?= =?utf-8?q?/qcolWN6/OpHMmtKNJDNKuXOz0cRhWCdrHjyLbfRYBtftbd2zuQCgUslvRQM2Bxr9?= =?utf-8?q?3b8/L5nL/HE6GSBrAAfhJnBKv1Xbs2SRfbq8hDMjlJDfJGLYxCjFmpEpRfOJ4UXB/?= =?utf-8?q?t52eNJQFEaY+IFI20q3ms5PlBkCJI29ySe8VQC9/HfYS2Sc67Epo5wA=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: e9b357f1-e3d1-4f68-d6c5-08dbb5e6a2b3 X-MS-Exchange-CrossTenant-AuthSource: VE1PR08MB4974.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2023 12:23:58.1023 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: OKjSDg0rg+It4c07zvbGgeclBZANBEhGJjN+CpKAv9JANru7CM9CRQR0losQC8rGl3PvJWo9NSzasQSDk3lEQx94E/J2N083Q6rlyGlPZI8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB7623 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net The TPS6598x device family provides a high-level reset pin. It can be either grounded or used to reinitialize all device settings. Document the reset GPIO as an optional property and add it to the existing example. Signed-off-by: Javier Carrasco Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/usb/ti,tps6598x.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml b/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml index 5497a60cddbc..b1a621e06127 100644 --- a/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml +++ b/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml @@ -23,6 +23,10 @@ properties: reg: maxItems: 1 + reset-gpios: + description: GPIO used for the HRESET pin. + maxItems: 1 + wakeup-source: true interrupts: @@ -40,6 +44,7 @@ additionalProperties: true examples: - | + #include #include i2c { #address-cells = <1>; @@ -56,6 +61,7 @@ examples: pinctrl-names = "default"; pinctrl-0 = <&typec_pins>; + reset-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; typec_con: connector { compatible = "usb-c-connector";