Message ID | 20230912-topic-tps6598x_reset-v1-2-78dc0bf61790@wolfvision.net |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp911683vqi; Fri, 15 Sep 2023 02:18:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGNSPvKI2QcIzvB1n9+rQoOfnwRIEMzO9T8XusDkuE+PkB2ZivRebDyx6PDiJH0KevU8Bmm X-Received: by 2002:a17:90b:1952:b0:268:14a0:f8a with SMTP id nk18-20020a17090b195200b0026814a00f8amr907783pjb.39.1694769513259; Fri, 15 Sep 2023 02:18:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1694769513; cv=pass; d=google.com; s=arc-20160816; b=Dl/vvjiJVGrMJNgsiuy+zD0NdxvO3WuE3TY3YnTwANRdI56C73qAmJK3jaHs2fepxI 1b36PSAcxK1Rs7l8YvkhhgeTGPgEsI4C0jWPtORkEZC38UbKzdPGURi/WxebRl+wZGdq CCyAsBmz5JP4Coc7iR4v5SEdi1NT7p+gccs15v4EWyTEis/NHogDsErjyYLIvEr9ot9S /bP2jd1WNfPi2VkKR8ULuEMma96qD0H9Aw2JCuGeM7VZa8iaRyO3J75JXYWVVmELac9Q qQWwgs7rCI7u243trKxtfQuMTSW0bVDF2fvdgxfzhQUOG9XugHI2KzBGmuAVrluFgKPz Iofw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:cc:to:in-reply-to:references :message-id:content-transfer-encoding:subject:date:from :dkim-signature; bh=ukOIz1Pdsy/PjF/gqYINmL+CxjpII62ECaD8soHyT68=; fh=/LM3+QeNfHEe147VfTb+5/x5nIvKnVYv+mIYWCp4qtI=; b=rHxgEgnBuF63+K5kg+iHC74HPRGsv/FlYz2zeCOTDUJgCIPkCgcq27kPwTvzM6Vy7t 7IvmbdUAy0dRp+OsqDZ2Ieqdo7QGcIgpsiWKXaxJdLoyO0xed0+I1Gt15LPHzuZI/7gD otgX06Uus0+KysSpj8ej9pTRQjDxjE81prKYhzia0z9kW+/9zMgRWDKara2ZCfmn0nx1 F7R8SULfdFouhc+7yYXzgBKjxqagbpUPM/Wgc1k2OWamL81d0b/9N5wFIcEiTswTwwis 7mM2AfB43AtENOKddoWnXAIMfqlkkppeQTPdG+0tqt9qK64Eyed+wyqGn7lhZchC8kG2 eKLg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b="ljz/qNor"; arc=pass (i=1 spf=pass spfdomain=wolfvision.net dkim=pass dkdomain=wolfvision.net dmarc=pass fromdomain=wolfvision.net); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id nn7-20020a17090b38c700b00262f798b614si3232923pjb.51.2023.09.15.02.18.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 02:18:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b="ljz/qNor"; arc=pass (i=1 spf=pass spfdomain=wolfvision.net dkim=pass dkdomain=wolfvision.net dmarc=pass fromdomain=wolfvision.net); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 6152883ACE7C; Thu, 14 Sep 2023 23:52:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232465AbjIOGwJ (ORCPT <rfc822;pwkd43@gmail.com> + 33 others); Fri, 15 Sep 2023 02:52:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232447AbjIOGwH (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 15 Sep 2023 02:52:07 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2070.outbound.protection.outlook.com [40.107.6.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A141C2707; Thu, 14 Sep 2023 23:52:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TtpXWgwbR1oHIpOI/KHBZF6ZFpvvh6T0AN3zaXaJ+RDtztUWKjhvZkkbS24B0T9QjbtOJDK0B/0/fB1a7oy0GNwhm33GjkQ0o6Q+DvgtT62Upkwap05L/6PzDvGRZwaMMO56ncD8xAoV1OaxZEMbGb/BK8/5+8UZ6RdVIglyzYzqCGs+pIlonilw8nobsLCjz+VyzNh90jcZi8nYrGtKR/TDDnuTGglPo3Oqt8NlUCNpybnNEboEIsgvKy8Otl3o+XtWvn/Bdt+HaG35A/yuX3Z+vDRxBgKQEw74qfpcLlgxSiuGTjACveBSwwY1rGTxyOwOJFZTskK7fOVEnJlP4Q== 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=ukOIz1Pdsy/PjF/gqYINmL+CxjpII62ECaD8soHyT68=; b=m4zqeqGen1X1uraGdVGmC1+nRfPLBC2nwrgPuc5vYcnpIr7KOldFo1wt0KLRRXV+WeuqGSqwpGcqVl0QxWzreac/qpGW+s8707NOKxWxzdT1xII+xYt51nDmKSS5j7HdyQWJlMwFEX+ObyWT2C+nLRVzzTFi1kZyLSBUcRe+YtEJv+fckn4XX1LeHewsOLt94Q4Z0bGwRgVYNrnG+D3KPH2ZuTOONvqW5KY8m79eCKVsZQTkS20uFbw0LdDJTkwUdUun3uC5HBjDJYAcunDX+EPwzUqv2w/0/Iq72uPjVHKUAcF8x1T+n8RwzG/1Hc6Gc+v556n7DNyIyukFeW21+A== 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=ukOIz1Pdsy/PjF/gqYINmL+CxjpII62ECaD8soHyT68=; b=ljz/qNorflt91HkSIP2ARud3ksznAlVMcCYIdSvAf8yYh0dRumaSfzyW8O5E8UqaqkyuSNW5axWoCbitqUlEqzgvFGipkDQ/674YOfcIOQHDDKKlOzXHLONHooqnRb45bfwHkNlo6U62qMYzydvSvyBC2lhDO+Ev0BWbVg7NYxE= 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 DU0PR08MB9322.eurprd08.prod.outlook.com (2603:10a6:10:41d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.20; Fri, 15 Sep 2023 06:51:55 +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 06:51:55 +0000 From: Javier Carrasco <javier.carrasco@wolfvision.net> Date: Fri, 15 Sep 2023 08:50:53 +0200 Subject: [PATCH 2/2] dt-bindings: usb: tps6598x: add reset-gpios property Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230912-topic-tps6598x_reset-v1-2-78dc0bf61790@wolfvision.net> References: <20230912-topic-tps6598x_reset-v1-0-78dc0bf61790@wolfvision.net> In-Reply-To: <20230912-topic-tps6598x_reset-v1-0-78dc0bf61790@wolfvision.net> To: Heikki Krogerus <heikki.krogerus@linux.intel.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Bryan O'Donoghue <bryan.odonoghue@linaro.org> Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Javier Carrasco <javier.carrasco@wolfvision.net> X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694760668; l=1264; i=javier.carrasco@wolfvision.net; s=20230509; h=from:subject:message-id; bh=lRll9wS40knwX97TAkwcHx+ORXPs6OvKVeKUWONOPKs=; b=6/+vZVzXnidIhtNKXr633WGQz6xFexmWehet/q/uZ1v+sjvt43Be1BnQnZX120CAsu+q6/yT2 kInbhwhARc4D8z3x4Kl6V/7I6YRZ3VgufqbBQJOBZayl8b7aL6XbhIw X-Developer-Key: i=javier.carrasco@wolfvision.net; a=ed25519; pk=tIGJV7M+tCizagNijF0eGMBGcOsPD+0cWGfKjl4h6K8= X-ClientProxiedBy: VI1PR07CA0296.eurprd07.prod.outlook.com (2603:10a6:800:130::24) To VE1PR08MB4974.eurprd08.prod.outlook.com (2603:10a6:803:111::15) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR08MB4974:EE_|DU0PR08MB9322:EE_ X-MS-Office365-Filtering-Correlation-Id: 9c9ebd6c-9e2d-4d6f-5faa-08dbb5b82571 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: y8IIZDiYXQBpGFJ3nrpk/OfQjW95M89YApMCy9mdEJAnuJqS/Dpo9LK1W0/v9bLF30LY/Y1UzAaNPNdm08hdLBnk3IriOFafKpa0OI64UjGlarMW6e2mP+wLTwAMKLjxDDVIXblsn7n52x5/C2MvbjSN5vpTTNnGaLAjzqpPKhqRuCFM7TqxkAakTCcJoQt+h+lO/4p6bMS4i5TqImwSBzm103AczybEyTbZvK0hI+sO8tgJHpDuCcYanAl0pplRiPG6hoi3fF8D5PlM3wYzLiY8h7F68EhAGdu3NYwScrMYMU6kflP2NuMpvz+8MgHO6TpIFDtTEG2ub9ywMZT0QxVbBfABw7+qNwXZ95wEzZKJ226v1FL656K8Tshqti552Ir77ZrkPClBoVovtrCtYcgZgvdVK8Tj+T0Nj3V2FF1m391YBK1NZmTnHfZjulC4E5yNOCJ8zEm5eUzYxDXn7giuvnrxgVyDoBTlfB4d8IvkPcKE/mqVMcviH3J7CfZwq7wuvr2sbaSxm5qx52UbaQkMmwQXoXiqXIH6TLAUhJ7VNn0bA4Nuw6KUSbkY3FbfhxmJ61Sg3xK61+bB0TudYFnDw5Bay2RrKSaCgoBf8J61zfn1SczEnUe4+lqgHkqb 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)(396003)(366004)(136003)(346002)(39850400004)(1800799009)(186009)(451199024)(110136005)(44832011)(316002)(26005)(66556008)(66946007)(107886003)(36756003)(6486002)(52116002)(6512007)(6506007)(38100700002)(38350700002)(86362001)(2616005)(66476007)(478600001)(2906002)(4326008)(8676002)(8936002)(41300700001)(5660300002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?g+OY0r2Dn8JO1CsSzmeAC/HurcpD?= =?utf-8?q?O70UFe2784IzR2aelYsOQsqes6hOtyxKwHt4dZi5xSalXA4dLfd4BU9k3bxbqA/L3?= =?utf-8?q?t3ZskupXsDjpE/r+PlAHzvnupY0SmfnEYmJRhzO6bzRib1c5Iq6ebrR9zvxCH61pb?= =?utf-8?q?oskoZ3ieyb9sdGknM6gnt9L7ljiyvxdRmKzjHoEWS/Q+f6t6WJGRV3+3Z5UuJhRzD?= =?utf-8?q?O12tFhnGjtEIEx1r9nGp8R42Lqkl6fZG4RFy/PlmNf+9AEaRKeOnZMe3sp5vXlJJF?= =?utf-8?q?qQMwWZtlWnvUwtFmvusRyBC3Gyx1JBcMh8BFYubYnPk1PPP+WtAhssipBpgYe2zTK?= =?utf-8?q?p5UAD8iAjBcQLLk9vIP1Dcn2i6ncuJfqr/OgKt3EUpiIGHBE3QlclBlVJF+yAxUqC?= =?utf-8?q?0eSPycnHJVpONI+D4wfcXDwsYdRwPMx45/qDS9zyHPQ1eSKxn5NZdKcBnyOc0YUoL?= =?utf-8?q?J8pVF2H3GpEdcXv7KAVXkSTM1A4MYv+UF9Czrywt4a40Mtw61vfDxIRrxONTcYJcp?= =?utf-8?q?MNhUyMJca7gOn5gzvg3lTQSDsiKSBGagQ2wFPIYPI0dOnxKMIWOm/PWMOuDDgNA+V?= =?utf-8?q?bzfdM3ytXlVFHUL4x1uLHc0zmzMIBRNs3hqqiCBhc68T4/sfHWW9lm3KPLnVnMiWH?= =?utf-8?q?4sNZVsnzksbfm1HfOzGRF2mXw43NGXyQQoiHoOR2H+92EllWkIRy9agvMOHsDsHBx?= =?utf-8?q?kZSw9opzDMD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network-Message-Id: 9c9ebd6c-9e2d-4d6f-5faa-08dbb5b82571 X-MS-Exchange-CrossTenant-AuthSource: VE1PR08MB4974.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2023 06:51:11.5080 (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: XYAHhOVDcZ3IhsznhboC2BE5d8iI43qA3yeLBNQ0nhnQEWZF4NQMI/IWLSm8hqv4G7rf1/6fof5J7S2vtGGE+7dktpqAuq7f4SOSJ7ZJlp0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB9322 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 14 Sep 2023 23:52:36 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777094637213589633 X-GMAIL-MSGID: 1777094637213589633 |
Series |
usb: typec: tps6598x: add reset gpio support
|
|
Commit Message
Javier Carrasco
Sept. 15, 2023, 6:50 a.m. UTC
The TPS6598x driver supports an optional high-level reset GPIO.
Document the new property and add it to the example.
Signed-off-by: Javier Carrasco <javier.carrasco@wolfvision.net>
---
Documentation/devicetree/bindings/usb/ti,tps6598x.yaml | 6 ++++++
1 file changed, 6 insertions(+)
Comments
On 15/09/2023 08:50, Javier Carrasco wrote: > The TPS6598x driver supports an optional high-level reset GPIO. What driver supports or not, it does not matter. The question is (and commit msg should say) whether hardware has such reset pin or not. > Document the new property and add it to the example. > > Signed-off-by: Javier Carrasco <javier.carrasco@wolfvision.net> > --- > 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. This probably answers that yes - it is a pin in hardware... Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
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 <dt-bindings/gpio/gpio.h> #include <dt-bindings/interrupt-controller/irq.h> 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";