Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp467835rdg; Thu, 12 Oct 2023 10:38:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHeKSi5T6oGn5/jpBFo87gD31VXCJenVUsdk31C2aXQ9Gf37fGPQm+1tDvIDGFf/T/qfE2l X-Received: by 2002:a05:6a21:8cc5:b0:153:63b9:8bf9 with SMTP id ta5-20020a056a218cc500b0015363b98bf9mr24437249pzb.0.1697132322092; Thu, 12 Oct 2023 10:38:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697132322; cv=pass; d=google.com; s=arc-20160816; b=PpsfjeimR+4UuPrhc9/lSvPKdVFWaoKhRFl7YC5AzWL9AN997Ebe4O3uJnBC7R7anV X6wZBzUH53TwrqXQ9SHNlBCWjRRugF+H0NEaMozdJTAqFHA4zkRvi7ry6drUzOXimU28 F9utpX7/TnJy1DqSQTS/oB1fhEG4+VpBtELFCzRoOq7CUjiDyjR7IjaBDZETcjO/lrbh b5bkYytSS9FeWYgpDy5omm5GFBkhPJvB3sEZ93v43FwQMDmYQ88tfgz8aA3RjiY3KifQ m3o2i8c69iqlD8AT2n29ZDBHJUTZbgDDzeTqEAjTMms/dvIV+eCvtTYL08MrNPaaWrzG 74kA== 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=Qg2d/1RDU72eCNDeqxV2LDSbSGhsRumXv/uBGInzfEU=; fh=Qc1GmWIJidr9a2042rSutInnGKcME8E85C5VuQ4Rj5Y=; b=RTNvAAynfd9IK1dmhDb4HP1FfpYX7wkr3sb1+XExxPn3103ycCxrUs/LEJJpYcKId+ XK9VLreRJek8v039wV+CzUkCSfcLpRffe7bUOuEm8RrDK/GI5Aev3IfeT08aUl1XhFPB aIbUeuZHflkrDFCNIRZDC0MkEAai5NqBlKnkkPJcV/MJfBgTrW72JvRrCvum6Skww90k glccTAXU4kuQErZiKnCWjU0vvw1yByeCud83uYbRmR08TkxyqWlvsJ9LlSI3R2oRB8ZT QrBtcNKqIjhr3+nW1uq8qLuz9iDuT71qmH6bEIjkzki96tnIxmYN1jyxdZwQB5EDgsPF W0Cg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=AxHId+zq; 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 a21-20020a630b55000000b005578c6a7672si2782203pgl.90.2023.10.12.10.38.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 10:38:42 -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=AxHId+zq; 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 52E278246859; Thu, 12 Oct 2023 10:38: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 S1347370AbjJLRi1 (ORCPT + 99 others); Thu, 12 Oct 2023 13:38:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344100AbjJLRiT (ORCPT ); Thu, 12 Oct 2023 13:38:19 -0400 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2041.outbound.protection.outlook.com [40.107.236.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A43791725; Thu, 12 Oct 2023 10:36:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KE62Db6BOwzONvrKuRV5B4422DA7AhCToFwQuhfyMzBbSInLfzlh7REUNfNhRNG0UTLqX/NcVknPTOJtTW+1u1ozu8zlsKxRJ3jUe245TuSalFbSwxggOV9rWJlcjzQ9VP57Cl+z4FiJxdidZyaSac4qXH13mAn+wByAoHjsH1qzkuIyHcrsDmjNaa+QFlUY/6/YE3J45c3vn2DT2g5DdRrqBa+bV/3O2q+QuzwlT5Uwxdpv0c9IpzmEiRxO/S/TasAR2aV8sd69bFw0c4S1NU0FlUbBhgM3pQEMbt1WsdpDknCr833uxmsXvZl+qZZ/zOGuOM4lCgBYvsjLBqhBgw== 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=Qg2d/1RDU72eCNDeqxV2LDSbSGhsRumXv/uBGInzfEU=; b=RDb/0TxKdHJs2+6VEE6sTGFsIP0Nn86SHOqSb3U9CfYnIl4pqRCasRBAyP1IQVg9ZOe797XZGcKOHKAgEo9KS+poVpHDqfnsEv+JRNhy3cwiEIZ7QIUTh5EmPYt+gOPeJ55vuEJiTkfdQOu94tCLGmsDfhugJ2Mtkrj2w4mPteAtZm6fF/wiknldbq9ljs2Jf8S27/r1CzheTX0f9L9iELZbr8NpXhORh+uRxeCeSQ4wc+vM+xvuRUtKItyGbkbUaPhQ7gjCiNEp3O90URfTrqpQlzCw0+2yvIOfXYZVUocksXnHXfl1YAD4hmqWSVxHyhMu57sv6DYRd/VwTknhLQ== 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=Qg2d/1RDU72eCNDeqxV2LDSbSGhsRumXv/uBGInzfEU=; b=AxHId+zqo2EknO1KKTVQHWanXQ6LmKWZyJGdkB/tlbzLWJJ6dxaN9QeIbI47MMB0naQLZMP8P9iUmal9h16SFZGMjRkJM2hdR5tuzSptMRaCz27jyCtatWL0iUKbAATXrKSGfTnCrRIWaGw4dBRwub9jvWZ22LfZgqs+ed/ZLuJ+beNkITQTIe0onVq72KLWXEBsIG2zGo7tR30ulF1XkAYp5P2Sh0JcbHoaLM9xUGNelxajTT6CN7BoHGXfy+BVLF9GdUuT2/TdoNKZIIhq8h1HEpQw4nRXohc3uUR9NKPhcW+obY/BvA/0bRIo6A98naZU+YXz/N0Gh0v2yICcCQ== 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 LV8PR12MB9336.namprd12.prod.outlook.com (2603:10b6:408:208::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.44; Thu, 12 Oct 2023 17:36:41 +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; Thu, 12 Oct 2023 17:36:41 +0000 Message-ID: Date: Thu, 12 Oct 2023 10:36:38 -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: Bartosz Golaszewski Cc: 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, Andy Shevchenko , Thierry Reding , Jonathan Hunter References: <20231011202638.372382-1-andriy.shevchenko@linux.intel.com> <75fe5f3f-41d7-76f8-47f9-9178fa030804@nvidia.com> X-Nvconfidentiality: public From: Dipen Patel In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SJ0PR03CA0339.namprd03.prod.outlook.com (2603:10b6:a03:39c::14) To IA1PR12MB6604.namprd12.prod.outlook.com (2603:10b6:208:3a0::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR12MB6604:EE_|LV8PR12MB9336:EE_ X-MS-Office365-Filtering-Correlation-Id: 8251f9a3-8978-4f3f-c6aa-08dbcb49cb72 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: A3/FMEYHPh7X41nyVBbCNo6DvclH6IHAJsKY9MrOwcWKn4GxES/0jAYVntiGFkYa3t7GiwX5gijvL1BxZS7KyueNsEGp6e8Q85youOykVGrihh2Ujo634cUuOxHHThSsW2JqpJYwzJtVgZJ/PVBL3rF4styD5yV2cnxvm4odr55S/XTyE5CY2vQh+5yZEdB0Dm7ONc6sWH9YG7G42OtrIdZVDQnBNKvZDjzbejNtPoSiqhHMJqfHjIqXArTPVnb+yZv8unBEDMZe5VbEe7Mf2Og0QsYDf68K/gTVzYnCCElZUzGT7Y1MH+IuoE+iw58jO33HmjH1Q/EmPAUuZaIqnkk4CkFqSj/vIkfq9MDnABQN3pRC7n/WnBOUm2OtqAa0GAGWnzwPedGYlcEAhAUCVTfkRBXHPj8ABc3wf2TYnxX2Kia5TWQkJCA6Uf82Iy6mC1wG2vjbm/neKWheeBdsUpmoni7UwHEI/Nojo4lcbg1LRMwHkjLAFhHzUNZVUtJfg4FpC7iYxNTnm4a5ows/XDjwywvS+OniS7EdQxWOxHVzb7eQ5lk6Fx3yHksnpl4sU27J1FNAMgxypoY6tNO+W8UjXIMgnkbhUXYW3MZ4yyvE1yvBrqOZsmmEF6eSX3+Fi1Mrgk3ouiq0bXWIDfwntzohBJFZ8dNVkg5Y/Urkl87dWx1zGmhh5ZHE6ml33OIa 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)(39860400002)(136003)(346002)(376002)(396003)(366004)(230922051799003)(186009)(1800799009)(64100799003)(451199024)(26005)(31686004)(2616005)(107886003)(83380400001)(6512007)(316002)(5660300002)(4326008)(66556008)(66476007)(54906003)(6916009)(8676002)(38100700002)(7416002)(8936002)(6666004)(66946007)(2906002)(41300700001)(36756003)(478600001)(6506007)(53546011)(86362001)(6486002)(966005)(31696002)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Sm9WbWFTNVRzTVNRTlRtZW5sbndYUlVtUHNrdlpPbkRUNjk2bEV6VDVpM2h2?= =?utf-8?B?cGhlMDV3NnorQmdBcXFRY3MxRHNLZ013RXBkQmM3Skw1Mm1uYnNPbmMxemxJ?= =?utf-8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T085M2R6cEdxdGpHUDBwM2JSRkRu?= =?utf-8?B?cXhvYkNEaVNLdE9Qa1lLTzhDN2lVQWh4d1ZRcTFtS2NNVWV6ZjdUMlN0cDE2?= =?utf-8?B?ZXQwZENyenFxcUVVc01YR0R6bnhyc2xpWkhSNXBtZmQ5amxabTVCYUtwQnV6?= =?utf-8?B?MXdwN2oxbDdpRU5lelFlNzE0S1lrRU51WktCQlRSem5UMnVJOTBWekM3RmFG?= =?utf-8?Q?h/zwjbMtmuFjbtJ45G2gDgM9I?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8251f9a3-8978-4f3f-c6aa-08dbcb49cb72 X-MS-Exchange-CrossTenant-AuthSource: IA1PR12MB6604.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2023 17:36:41.2027 (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: jpAMR+EtXGPsD6xJRvTaIm8kAkTTNsAcnUHytbAB2feGgB/KjWDUVOf13jjJQZveolBaEycR1RJ5+9F1eAlXlA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV8PR12MB9336 X-Spam-Status: No, score=-4.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,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 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]); Thu, 12 Oct 2023 10:38:38 -0700 (PDT) On 10/12/23 1:20 AM, Bartosz Golaszewski wrote: > On Thu, Oct 12, 2023 at 12:59 AM Dipen Patel wrote: >> >> 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 >> > > Yes, let me queue them right away. > Thanks, I just pushed patches 3 and 4 to hte subsys tree. Thanks everyone for the quick turnaround to resolve this issue. > Bart