Message ID | 20230912-topic-tps6598x_reset-v2-2-02a12e2ec50a@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 h50csp1225853vqi; Fri, 15 Sep 2023 11:00:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGmdZKVvT31wRhUhH2Bh/aw0ob7dZ5GJjcNnLUsGmb3S7IrHk+v8fBxPyvBhQvmBY3B5u1W X-Received: by 2002:a17:902:728a:b0:1c4:152a:496c with SMTP id d10-20020a170902728a00b001c4152a496cmr2302074pll.19.1694800843604; Fri, 15 Sep 2023 11:00:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1694800843; cv=pass; d=google.com; s=arc-20160816; b=gIEtkRS5bWNx2RCHJFDaPzAl8ZAFjJhHheHw4/hZbKmowP1ZP867IDk2SU68J0vl8N N4atdLckMNGRHXTxKh3dsRQXjaUCMd49A9b7DytKfj1WvO+KDRosgrrJ3gB+BcGp4EX+ h2jD/mVlE5p5bAXLWSKat+/ZU2mLSIWZ5wLGzgNFRZf52aQBC4GMK4CK6nnwtIkIMbNB sEBL15oTSD7zeLaHgOp6tFoQnFEZUOut23iQihmVV26nGTIqU7tFkOYn3YKAKfM+BcSr o9L1wYNumxhBnC8N1EmMxAfOlX0fqxVZsFIevYWWsKKSeBaFMltR7mEqB3kF2FJASbq/ rcEg== 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=5nJsw1y6X6uB8I2gp4C7HgHNXeEGZr1QilwyS3fE9fs=; fh=UBSDQ1kE3qCpZ+HJVAGeqfnTWt/2QLspH81r0c+jeKg=; b=syi18ebVBSsrbSuRd5A5lPyO4vMvKB9Td1k9RLT1OA/tEm5/0XaPsU3y7v+pFtJsmO lVE3jAZIx6X6MYtRDlRBAkv3oj7q2QFUGEYMYjTDuWLv7yGqIcOVu5n919BQl8e51up8 YEsKuSPPm7Oq0dBJ7y/NcDWDufF/hOlgo43187+toyOThfb7WoPvGxmMmUcP0CBvQb3Y 7TTR0hlSlf97s2vLQHCBZnEn1mZseS0mp2uSs7CsA8H4KLqI7FmvtiQrdQIobgHMrkMY Is3mher0uMPV2VfxD1yKfd1ddC8q07NKQ/vq/qN7p48P3DMDHxdZQD8oxO423Ae12MZd CibQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=YbsI+2kR; 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 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id u10-20020a17090341ca00b001b89f653005si3997475ple.394.2023.09.15.11.00.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 11:00:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=YbsI+2kR; 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 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id 6902083B5B50; Fri, 15 Sep 2023 05:24:30 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234882AbjIOMYL (ORCPT <rfc822;ruipengqi7@gmail.com> + 32 others); Fri, 15 Sep 2023 08:24:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234857AbjIOMYG (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 15 Sep 2023 08:24:06 -0400 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 <javier.carrasco@wolfvision.net> Date: Fri, 15 Sep 2023 14:23:49 +0200 Subject: [PATCH v2 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-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 <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>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 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) 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?= =?utf-8?q?l94VVYA3Oz483TzN8XvbjJBe6FAkU+F2IrPVYVHG68oOftVAmU6myIuuqAce4OHsu?= =?utf-8?q?dgDJ28vODe37U0GuqWALZb+NBZK9N6H2+s/U8ibNEfyIjHlc+125CHPdmSgI34eWK?= =?utf-8?q?5YQN207WOUjbKJUdvkD4nve0y0dtCjXvFucHN09G1F/CMlRuGvKg4Eivmjc868BSp?= =?utf-8?q?udaqYL79+kDA6DYYf9PGeg+ocVWiAnN0vEFOdHlko6IuGgvLe4wGgUbfOlAXK13O7?= =?utf-8?q?Z1uOp24JlZHR2aAfTh5KcD7XOjbmKFF+RewaaAF+cQD+OKswCHB8n0V9R3ae5M5Bc?= =?utf-8?q?e+qU3WiUXGofttetY2zot6zlKVWHgCtLAYGlXD2x4uHYKmoQvgkK8Heyt6OEoSDUN?= =?utf-8?q?iBHi3K1VOqFWIZK3P6GcCDN3fKrFtP4MZR5NKhl9z1DX7HmTK5t2ViK4ey84MmJhK?= =?utf-8?q?DRj7AqlBJ6HL8zbNUgkrySfbfDfAyqIYMF/aAsGqPXHYdI7zgjxcISfq5QAzzPg/s?= =?utf-8?q?LuyVCLrZdzgZHN7rQ6U+Ou4hmd0ZdbLV5KVnxk+sXojbtpD+DGfZkX2rKzZfnXDOi?= =?utf-8?q?LQVW35tvW7fZ6PXdzK97BStrl+H9UG3GoMA4r8etXIdm4KHf8lbkTLm1nml87Q3bz?= =?utf-8?q?GGrAUUWY3ZGfwF4nWE/TEj3/A/qJfSotC5MV2GVPr9yK3Gi1SBshaGoNjFGBhFBnE?= =?utf-8?q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riginatorOrg: 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=-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 fry.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 (fry.vger.email [0.0.0.0]); Fri, 15 Sep 2023 05:24:30 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777127489252150139 X-GMAIL-MSGID: 1777127489252150139 |
Series |
usb: typec: tps6598x: add reset gpio support
|
|
Commit Message
Javier Carrasco
Sept. 15, 2023, 12:23 p.m. UTC
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 <javier.carrasco@wolfvision.net> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- 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 <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";