From patchwork Fri Sep 15 06:50:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 723913 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 4B38D653; Fri, 15 Sep 2023 06:51:59 +0000 (UTC) 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 1E3E2270B; Thu, 14 Sep 2023 23:51:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YNeB0ywPHHhHb3GK2bkbRZ8p0xZLIVr04tB/9BaRWYXlYGDBkFUludyfAxaimw+028CyiIqaxE8/AnUoV8azIs49BCmSgUgNegx0JTSY20ZuQci8niFvdRQpZGn/aqrXwH8g8ushDktReLkij2ZqFWeFJVgYUMTYNl2jyXU/cJOtTdMzMrwzmJEFfHoDAxURWVvV7AmQ6jpTqV4tArCzc9Wp4Yjyn8JgTdYH+vZIexdRTrOJFepSm7dWCdcR3ZR3K3v+tD04o1lt2xjUqzvasMMZmxQKEK4mvu6sCKbvG07jqkDjdDuYRUTg01kJ7inegkP5iWi36FXdZuwiXap91g== 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=06Qw5xdGcO/UC5alSDHlWEZr6yTViAvG5vKwUZ+yPc4=; b=bPldFwtOQa4/CqeYtl+zK5JXe1J8lpDqdFLtkDfJuOkbc09VR9MWFxWEZ6AiiCyNL4JZlx2V2nuSDgZGNEnEaMXrMiaTYrOBP+ghCeoEMuI2vw5jAq0RHB76AFKNGkYfkoCNuTC+VZBjI7T8ILu2ytOb901xDWxC/VdQVsmQYsMQdhmD4zyivIgCSe3/dE2GEkKhaYnPsvwdCwNkSzFuTbYxJYokF4YBQWpHUUI+WFy7im8m7ekISW5lKti6TuE2SLwKi028ck9G0tLPRpTLvi46Er21nsc1Yz6qdwPEpm5rLJaRuYbpkEWFbRlCEJigkI2px6NFKFiHFQ2YJR3KIA== 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=06Qw5xdGcO/UC5alSDHlWEZr6yTViAvG5vKwUZ+yPc4=; b=td3y/t9kDv0s525jS79DHW1Bhbit7MQ8HNU5Iq4fcJzColNkFJ5epodUEOWgXsXr0dF0OWiCl28EK623lE3QO17l8nKcHFaKSGg+C5ETOQSDkzJyd1Yyn/dIDnwi4fp9eNcu0aSqt+4zWSqbEr1oJoZob8HEFJDMiFMB4ChWIqk= 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:54 +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:43 +0000 From: Javier Carrasco Subject: [PATCH 0/2] usb: typec: tps6598x: add reset gpio support Date: Fri, 15 Sep 2023 08:50:51 +0200 Message-Id: <20230912-topic-tps6598x_reset-v1-0-78dc0bf61790@wolfvision.net> X-B4-Tracking: v=1; b=H4sIAMv+A2UC/x2N0QqDMAwAf0XyvIJ2rdj9ypBRu2wGpJakG4L47 wYf7+C4HQSZUODR7MD4J6E1K3S3BtIc8xcNvZXBtvbehs6auhZKphbpfRi2F6NgNd5jcMHh0Ls Amk5R0Ewcc5o1zr9lUVkYP7Rdr+d4HCcpHBThewAAAA== 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 X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694760668; l=973; i=javier.carrasco@wolfvision.net; s=20230509; h=from:subject:message-id; bh=iQmX0OdqwwB+yIEigJ6kQ4BxGjVPOAZgcoF5Grr3QxA=; b=/EuhuPu3JZtbDZj1CDkJ9Anvzz7gaXloO5esJ9CZt3vsveoTzAfUB9ga5QQQvMts4Q4pJ60f9 SGsUdRm4e46DVNgml5qV26VPWfA0ie/4kdj393Zaisf8UVYaEUfFLlh 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) 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_|DU0PR08MB9322:EE_ X-MS-Office365-Filtering-Correlation-Id: ad73ac01-6888-4049-4914-08dbb5b82472 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: r2q52hktujNvH1xCD3JP85NTTcv82JZlTzZrlTjxoqHmTXDg0TuJetlumje+uFx9GRaTSKNDqY62IyZ5pwsC2BnoWtJZ/UmNnavUsWYawG2adOBLLuISJIJi8IOqiYnOpUkovRji2lHeC1wLt6aO+HZ2qjGI6R6d/39PpaSYKFCU7e/qS5Dasw72I6ZDeZDHhUBe88AarPoaYVVWO/xdwtvp4j4ATTZDqFW5wQIsi04koH73Ewbf/cqc692EymKZ9KZok9USro//BCPURaFuZmnLYB7JbrnnYpPXZW7pKg726ANVQc4xceOnu8zEg0ld8k2C1xK/Gg6JdHXCf2wNF/lMXD/QF0q/7SU+BgNQPBvMJZDm9YkUiTQe2+79o47k7knL3NmySHGXSDVj0rxTvFVMzJT+wwaKOZroPU3HuVUKRgw4t06yq+zX1Bo7iDm96B8Xq7oBk3Wushbv2mMrlK2iUCry039ji1qqFx3R0KP0qoevR4KnsYnuKsanZFhQ6nHryG09cdPQxCjl3JRRvPnkvZZSb3T1lBUP2lnFjp2uV5d4qH5yBsuOVnaWvKBiXFigOJPqNQBX/Gb+MNS1tvgEHUBlfU6gyry/+FBr9gCYQ9ZfPxJRNONxrgXpNNTH 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)(83380400001)(36756003)(6486002)(6666004)(52116002)(6512007)(6506007)(38100700002)(38350700002)(86362001)(2616005)(66476007)(478600001)(4744005)(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?o5pMvpHBzSKFERplyfdPeQBuuNHJ?= =?utf-8?q?CEyDknA8ah5P9eLK+Jx++ZAuqX6F1R6ZOe88g2JmDGn6MwjVIQBjOkjj9uRiNDJS2?= =?utf-8?q?o3geZ5i/i6L3GVcRziYde/YFY8Bp/j5pFvjxczmFuc7igktgv+eXFqHA8gC9lLXss?= =?utf-8?q?7VgNXzK4akykkH4K04U6eWA3C7Foy6gHclwxR92tFSUDH5kv9xIXb+bloDcvgcvio?= =?utf-8?q?10B5a2kFhp9xAOU5qkVYQfiWgu9c+WslQtUF1Z7gmq+j5MCtEun+HSFxKLQh/o8ob?= =?utf-8?q?fhqa7D3I9NfB20VbfFNtvckakOIdsp8MlYK0DKcdiiHfeAJHW+/9MdeZ7dnhOKF1L?= =?utf-8?q?2DaO8YIgQIcv8tOKPsgBmQj04PueROqVQrhVKZ1WN9kI5pUD3e8MLPeCJzTykqDzZ?= =?utf-8?q?JFcTKxajHRhURnG/BZnwTGdCskU8JoHo0A9hAkPTnbwuh/UJ8K0GyhgGJ+p+SFJl1?= =?utf-8?q?FKnO75bzVmXRRzP08btYR9v4owW9ZeUegkC281Ep0MAU9a6w/CM2/ptFzo5W7eZym?= =?utf-8?q?yYoycBtIhyXwezk9mJ49VP+lzlNHC7bF5J3PmVkUu9btucihVJk6VC39jiM0DIChP?= =?utf-8?q?4K1Fruv05856Vy2pYDGd2COvm6hIJWTs3LSey76i68X3FpntyA3EtMwO9fJcBA7sq?= =?utf-8?q?z6dm+RFQhkDYYYwGF8bdHjZyXSsx4QOJDuay0iSjo17NHtH1jYmARZhPr5vrJPbp3?= =?utf-8?q?cBOXjZ37EW5Ae8YlnBfsRkiGHgdDzFL9kmjeYJIoCXAaZgwEK5Yz6EN61QP0ocA6W?= =?utf-8?q?+c+xhHQZ4eQnX5pwcZQVW2EjhSkUe80hNp3Bm2dB07dHLjrnRg5L1Ewdz9FH5xp7h?= =?utf-8?q?YQL6Bo9dvdIttpN3Chjnfcbcnxv5gVSipTrlMQaK2ulU8I69nHHAq3FVok0ppuvwY?= =?utf-8?q?+XZZtvV2aJ4D/yRGJO4hJQyeKfHlI2tNVF72GCOov7XKODKI2oHvj/Y3mZsAoCw0g?= =?utf-8?q?WfmcxWrGwHpIL2YUgeagab4D/5OpwA6fkE+Vg4J+LMk/jPZzlp6S2+tqodI8LI3ee?= =?utf-8?q?3JdTmto5I47skNjHP1I8V1EOVlX57i1frtOl7cY1y/aoK9UiHqVckIoV5IKsWm+Yc?= =?utf-8?q?CV5Vba0BAZLOo3uez240EowbhJO1+b6R3XmIP1kNvym8zhcdVce+UEq6JUUHjKd3i?= =?utf-8?q?zSgOSWF2PYtShkDMOEGmldxCP6iIazIMFon1ZFKUqqt0z6cmnegsgT3XSEIY2l3q7?= =?utf-8?q?OI2bkM2fHAjA3LWuwHSCaWFphYlh1Hretw+bkhCYOpGZiGIuO6VFgZ6V51rYtmCGg?= =?utf-8?q?0mC72mkw3mFMQcF3N2td2d/lOEp/R27SHS9LNlukWPTG9nJw9TNjFOjty4ffnUr7g?= =?utf-8?q?SnBI3jVDaCvbpgLHvk8FD3h3usYWKF0PrT8xdmiIL1OzvyOWKmX0mLguXi0Cj+Jjj?= =?utf-8?q?EaAwo38ck8Z7ksmqBX0aBk5vi6XFLrI+liHUUeyk6NNCOdAyGSbiC7CdiZOaQsou1?= =?utf-8?q?btOm9oxJ/DS0Hv4hJJoz7FVP0BBAchBlBtNpGxasFlJdQ0jBMDRlbguAbphdPTVch?= =?utf-8?q?MtzVw5Qn5HRtwKImbQ22cdxyxovwsYwEeWywVPNxdBnzILEM98Xdvm4=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: ad73ac01-6888-4049-4914-08dbb5b82472 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:09.8777 (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: KLNFfrRBDHL2C2cOiqLEc1YLE5SSI2k22YVr6mzBc12sKw2CNLdsPSdqsW/s/6GvDrrZSAr5jJ3M8lgYZU5VzoXvKj0uAQ3Ey94q9zb/y9I= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB9322 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 PD controller provides an active-high hardware reset input that reinitializes all device settings. If it is not grounded by design, the driver must be able to de-assert it in order to initialize the device. This series adds and documents the reset signal management. It also includes the basic reset management for initialization and suspend/resume control. Signed-off-by: Javier Carrasco --- Javier Carrasco (2): usb: typec: tps6598x: add reset gpio support dt-bindings: usb: tps6598x: add reset-gpios property .../devicetree/bindings/usb/ti,tps6598x.yaml | 6 ++++++ drivers/usb/typec/tipd/core.c | 21 ++++++++++++++++++++- 2 files changed, 26 insertions(+), 1 deletion(-) --- base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d change-id: 20230912-topic-tps6598x_reset-55e9494e8649 Best regards,