Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1133137rdg; Wed, 11 Oct 2023 15:59:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGVen5VGJT5XiCyJ8WA4bh7u128IPBSpWGQgpgZ+CtkCsoxq28nrkMZh1vvBmQo+2O0BSo3 X-Received: by 2002:a05:6a00:451b:b0:691:2d4:238e with SMTP id cw27-20020a056a00451b00b0069102d4238emr20775646pfb.6.1697065180935; Wed, 11 Oct 2023 15:59:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697065180; cv=pass; d=google.com; s=arc-20160816; b=dDxZU56X3UFdTk8BuS3uQfw5gWxV3VK/67fLnuMAi+bxd2WDLfzoJel5Y8OMNr8iTr wxn7/rUJ8i9+D+3hOzz7ftdUI92npEQzzoiHPDi8OmFh2OiX1NIRzKRsbj7hBYyu4XR5 aARXJYBCEu1KINJvJPPuuc2KzDT2zt7Kp/epPmt0mfjAtHAInguu3rJQRvJYjcn9P+P4 VBw1pbyxeODUWCoo8AxZSUChBroP7MNwojT6MDDEMRUgn3rheLMpw8Rzi0tRRuv8s3A1 zbbg1enZynohjTYkYjpbnyu2DSd4BzOPvzWYnTIMnhp0tGMZnbPFjOOGyjJhXNQ7qqXA 8sNg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=enkz/F7UVbdEOyaSXgcbFrKsQmiBHN9G3AVVO5o7Xo0=; fh=8LQklk65j9fnsztWmX6dpDxf+eqFNS+suwEVne0QYws=; b=hGVWsFB8g86MNeSxoT8n/KKCuoOpvDeG+t5sSYQA4T8uU5pTb2SAzcUAs+my2ZRv9g PyEaxrZdKG916LYBQHULKx0wiGgVSyTa3SQ+pvEZp2cRor0wiRrt2Ozzu/zubpW/y2uF zHZqu73exbCRHIEKWwb6CSTpYuvuHtIzFcTxHKtG59IgSwCFDDTnD9Lv1qhezxYhOPWk ocKt0wKBPvIlJ99s5q/lVmbJP8avCeN3oLkdO2nheS6U4zv1ed4uWdVoM40QVsWVv7ga 9RNwKJ135YloU3p8mazRPyo4tIFceOc+h2Ch836E4zfuEYii40uZNuqp9cvy8fUliaDr +KhA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=T2gcITvg; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id m66-20020a632645000000b00563e283786esi812161pgm.104.2023.10.11.15.59.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 15:59:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=T2gcITvg; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 57143812229A; Wed, 11 Oct 2023 15:59:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235207AbjJKW7a (ORCPT + 99 others); Wed, 11 Oct 2023 18:59:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233397AbjJKW72 (ORCPT ); Wed, 11 Oct 2023 18:59:28 -0400 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2061.outbound.protection.outlook.com [40.107.237.61]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41660A4; Wed, 11 Oct 2023 15:59:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ol3Vsqx7OyZZSOfcoX8Gdxx4ljyP1XkScUez9sbZLnAAYjybg4PPFhdylxgvi+4DtuLe8EyjcIPcTkHcs5Ug62u3gVlRsd5CAI3NcBiB1/9NMT7yjaFUCzZlGapaNUs+xstvVlmDJyM9FeneBqejvNiB6JlVQU9+H4Ms5oBKZ6la8psxhm/gejcPI4lHbqKR7FiyRWkzTnbnA6qkanSXyiBqsPeAN46ubfKDKoMrcWazi3ejOkSZTCm52Tu1EybticbQ6kqjC6A61Vkg38Pc5syHP+p/LLhYydlWyKPoM/paZ5nIJfv9g4yz3fITiq1EIk6C8hleGdR9akjvOqS/zw== 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=enkz/F7UVbdEOyaSXgcbFrKsQmiBHN9G3AVVO5o7Xo0=; b=Ly9fKUaJLh/s2DghYjo2ic3rcozXZ2AbrZGE0cAy3ZTuD+24OmvNz7WJKKbp+zSLKddGHpHXyZIIPFyrH0bfd0G6YnNfDbEBcjD+K/lPEepqPT/5L8RCq2A4HpqNry+HJddR/SFvlFzA84co93Ko+lO7PxIyWd++19D7W9hnA14xkFUbQUURIbPxSFHHxZXI6FLxWGRnGEp1N0S43i1LkooS7iiZ+w3MQNpK+o14+bOizxHF8wrh1CLHhlYEpVCYnAfm4U3P5K3Q2pwz2YnGCDeIjadNMaY+LlOwVNR52WyqLE0Fk0GsQPpgbfpELS92YOsAiJwtxnxmsQEDnRZSIw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=enkz/F7UVbdEOyaSXgcbFrKsQmiBHN9G3AVVO5o7Xo0=; b=T2gcITvgunQDZb2XacpXM9LCUNzrnqImnAW5jTmPBvBB3fusNJbQWyTdx68TbIv8zkvnmdsWRTV1Qyw/Xws4sK9fgpFKl6043k/cE2VB/qpoAI0t0P4zW9JkggAERQzH8ozhfq+u3AX/A6MNVAJQh+8rwbW9FCVxMiukryug4TQnJJ2mtk8G2c778Z9SE56/I4BASsZfarPT13NB8VGD7/H7jSSIB8MZfDAjdM5fJUhcxDY9b+BaF25nlJ3EetlrpAmQWpDMUTPKfUAIO4C+Tid+oU0YZIOW4pPyS4Yt56QSrtFlbb4FsVavE1x9PCUj7r4tA4JSklhBSbmcJDftyw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from IA1PR12MB6604.namprd12.prod.outlook.com (2603:10b6:208:3a0::7) by CH0PR12MB5251.namprd12.prod.outlook.com (2603:10b6:610:d2::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.44; Wed, 11 Oct 2023 22:59:25 +0000 Received: from IA1PR12MB6604.namprd12.prod.outlook.com ([fe80::8814:146:e28e:6eea]) by IA1PR12MB6604.namprd12.prod.outlook.com ([fe80::8814:146:e28e:6eea%4]) with mapi id 15.20.6863.032; Wed, 11 Oct 2023 22:59:24 +0000 Message-ID: <75fe5f3f-41d7-76f8-47f9-9178fa030804@nvidia.com> Date: Wed, 11 Oct 2023 15:59:19 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v2 0/4] hte: Improve GPIO handling and other cleanups Content-Language: en-US To: Andy Shevchenko , Bartosz Golaszewski , Linus Walleij , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, timestamp@lists.linux.dev, linux-tegra@vger.kernel.org Cc: Bartosz Golaszewski , Andy Shevchenko , Thierry Reding , Jonathan Hunter References: <20231011202638.372382-1-andriy.shevchenko@linux.intel.com> X-Nvconfidentiality: public From: Dipen Patel In-Reply-To: <20231011202638.372382-1-andriy.shevchenko@linux.intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SJ0PR13CA0055.namprd13.prod.outlook.com (2603:10b6:a03:2c2::30) To IA1PR12MB6604.namprd12.prod.outlook.com (2603:10b6:208:3a0::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR12MB6604:EE_|CH0PR12MB5251:EE_ X-MS-Office365-Filtering-Correlation-Id: 40798249-44bc-4c5d-3525-08dbcaadb68c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1g5CixCyvQvJmcvzMeB97QlRCl9OJokOE9NGJoH3f4Qwm6NZzhgXmnFxhxGh7yOT5qfCETVgucjzUbKvA09q1i4kVZhtlaLWjWmUNQLLRnqJ6/LnsBemXdCMwQkvtoVTSvFagCSPwpCOnEZbhDuktrSZw5t+YL2mlIo5YlhMugkTWX8IV0NME6Pu1b4LpdQLNRzVxsYsXIHYRDwdnM7aTaJnSTkjM62tAMT++wOJfnc8RdKMEdLlMPa7z99KxaF4/cCe6JpdJrifUvaRPIKwKLm2kxSGyiCGi0gARTyVKNRZdb//LcbJJgNWd0nwjPYdacpgzjr4h1PCWgX895hMlSp11CF2NGxSqDDFQOzq2zuBd8dvCq5PfXKAYv0fCqYfjsXB1gcKILi0Qm6XjS7dp827eefblXp5HfVLiw6cNlr+vg/XVvJTLZlOKepZoxvMgEuN2F17hZOPCascG1/7ybSCehsVzhJpahggrVx7LdCVBHIm4v3OQ74pW+b5oYFgbEtXQUnovjTr4usJi2d0qH3UUpFO5uxNmCsJoitSvAu0zNhpFKxHjI8mz9kweRtgx+/oVCEy9uWPlZ3sonGOMj/XA9SBENG5WPahxfLKR3MDFDxNVrZvdnIo55l4mj43BPMedaCwts5YfZw3owsNQLAdtg3WpnpLzARKf94FekQSjfUmCGQzWAF2pyhc7t8c X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:IA1PR12MB6604.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(346002)(366004)(396003)(136003)(39860400002)(230922051799003)(186009)(451199024)(64100799003)(1800799009)(26005)(107886003)(478600001)(6486002)(86362001)(36756003)(31696002)(6512007)(6506007)(6666004)(53546011)(5660300002)(41300700001)(38100700002)(66946007)(54906003)(66556008)(66476007)(7416002)(316002)(110136005)(8936002)(4326008)(966005)(8676002)(2616005)(2906002)(83380400001)(31686004)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bHh3S2Z6WEFWQ3RVdSs3TktKYnhYK29TWStIVWtIcFhZWGd4aThJMGxVVnRZ?= =?utf-8?B?cGZmbzFJNmxvNWZ6Q3M0WHFCTkFBK1FhK2xVRHRCSmZ5TzIyNWUz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U3RXNW5QN1dKdlRobVo4MGd4R21nQUQrYmJxa0RQV2JJZXdVMTVIMlIy?= =?utf-8?B?aTRDSytWWGxzeDdpUVI5OWdxVG9kMzNDOFJadEFZMkFXd3N4WnNadFhmTzNH?= =?utf-8?B?OGo4VUZMQk41NCtFUjZMMldJQUdHbW9uR1c3K1Q2S1lUZmNLUVRMWTlHYTl4?= =?utf-8?B?VUREZm5pSW91dm43bkZPTGNra0NQWjhLRHoxcVRHRmJnNllSQ0lXckQyYk9R?= =?utf-8?Q?C29ZFEOYa1pDoKOc6/pU/oh6J?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 40798249-44bc-4c5d-3525-08dbcaadb68c X-MS-Exchange-CrossTenant-AuthSource: IA1PR12MB6604.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2023 22:59:24.5725 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: H9/9h3BB1tkBauyZcBGK0xUWqEPs/G9JBjJ+9Sd6ZszALNS8XjA8CpkOVVXZ+NY9Rne9U5MlicTnDs58qTYtrg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB5251 X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 11 Oct 2023 15:59:38 -0700 (PDT) On 10/11/23 1:26 PM, Andy Shevchenko wrote: > This is a series that provides a new API to GPIO library (so far only > available in the GPIO tree), and respective update to the Tegra > HTE driver. On top a couple of other cleaups (patches 3 & 4, they > can be applied separately). > > Patch 2 inherited tags from its respective discussion thread [1]. > > Due to dependencies this either should be applied to the GPIO tree, > or to the HTE when GPIO updates land the upstream (optionally with > the first patch be applied even now to the GPIO tree independently). > > Another option is to have an immutable branch or tag, but I assume > that was discussed and rejected (?) in [1]. > > In v2: > - collected tags (Linus, Dipen) > - fixed couple of typos (Dipen) > > Link: https://lore.kernel.org/linux-gpio/20230905185309.131295-15-brgl@bgdev.pl/ [1] > Cc: Dipen Patel > Cc: Linus Walleij > > Andy Shevchenko (3): > gpiolib: provide gpio_device_find_by_fwnode() > hte: tegra194: Remove redundant dev_err() > hte: tegra194: Switch to LATE_SIMPLE_DEV_PM_OPS() > > Bartosz Golaszewski (1): > hte: tegra194: don't access struct gpio_chip > > drivers/gpio/gpiolib.c | 20 ++++++++++++++++ > drivers/hte/hte-tegra194.c | 46 +++++++++++++++++++------------------ > include/linux/gpio/driver.h | 1 + > 3 files changed, 45 insertions(+), 22 deletions(-) > Looks great...I am going to assume you are going to push patches 1 and 2 through gpio subsystem and rest through HTE, right? Reviewed-by: Dipen Patel Tested-by: Dipen Patel