Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1067578rdg; Wed, 11 Oct 2023 13:27:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGnyMDEWUw8zu1Egj0HiRIscNpC5oS7ViBPW19GbKd0dzo+VwuyKDJfB6ZWvp6R+Ovkh6ua X-Received: by 2002:a05:6358:7e92:b0:13c:ee28:2323 with SMTP id o18-20020a0563587e9200b0013cee282323mr22584265rwn.16.1697056037082; Wed, 11 Oct 2023 13:27:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697056037; cv=none; d=google.com; s=arc-20160816; b=V7UrxQ6CW0RzRuybFP2jNDZw1C2yIdrFLXviWAQJRdkSO6/qvSEf2WVwFcpEWs7lqr kQRbpgmtcpzoQEMWY0YSKMcgCnmGb7jqRbfqw3iLmEa+xF4KwLcCw31GmrmYjGX8BRWV kZxq6f/PvHUic66u/bLR0gAnqpUUg6jl5BQyPw9H0o9AoQ7mD8qGcrGaeDEtXjaqJ6V7 KBZQYdYNhMuJ7Att5kmBXtP5+kwvHApiZneuCYFSlUUdahYyFGcOPknyvg8T0mKD+Tyd 7DoQl2B8BrjUXGErq/vtekvhQl1OOyXfgxuQX9WbJvS8tRbqbwAM5HMUr9CmBtw1KzlB lUWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=k2stcn4iOaW8Or4MQsldEDI2/ifUCSCh4kJ3d8SMNxs=; fh=RAF7KyPAfJnoj7VNMZqcV/N9L3IgTT6Eds+WXuPmNQA=; b=pm7qlrR/VFxvwZ5pvMFiT1eVXU+X03trYZF1qqiBx1+IYNnGYmUkSvC5+NJGvox2lY uqRN2u5lfQzR9r9bY8QC0XesMTV2ElTIRCh7TfRBsI0ypljfniYSyRIPe/ABfXT9AVNt xtia/SXxkowBYQ/pfyViy62eJxHdVHGBNuqA6M4p66h3YqeX3RaRcHFy8nL7/x8SOSro GZrEoz6XmTYOyXZBgqizoW0C247q9cv6M3qyl6cD48X3W0Nz/johpK9XsHKadLcJRrDE wE+TEcjTQcbK1CK4Elt0/cWIW1+BRY2zBoB2E1Beze6la1VJutdVLU0UZaxs5uOVzZuQ 9JPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="HjFt7l/I"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id m197-20020a633fce000000b00588fa0def27si475313pga.796.2023.10.11.13.27.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 13:27:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="HjFt7l/I"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 2A1F28182EEB; Wed, 11 Oct 2023 13:27:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376428AbjJKU0y (ORCPT + 99 others); Wed, 11 Oct 2023 16:26:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376412AbjJKU0v (ORCPT ); Wed, 11 Oct 2023 16:26:51 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C73091; Wed, 11 Oct 2023 13:26:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697056010; x=1728592010; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=dE6YTAgpIUGjQqgWImfLh5Fh6tJ6lKZxZUBMMvpIri0=; b=HjFt7l/ILMgfeVj1xTeuzDpTI552tgynytWTU+bI3rE1+y0iEdz9CIyn G10o+p28IzbSpKJ7eOB1ftbw13U8AnBT9ZQExSWt8qgEC53kIO6UV16Fy NNb/LOISXDhzg33Wjf4iydMLNFwN6w3EwC6m9feHdWgQggBi5pJT7UhCB K8CPLWeVcIJAT9BryXEhOEkFuW4RZxuZkpRxXnD4Tq6wi7C6k/0q4jDjW bmgH2M6kdZ5rJRyt/Qq9uw6YrDLcMbf7w8OhG1/7sMJHznu/wvIjHz6gi zBOYKZdf4xQ9R3URxLHGKuubHsxNvtcIh5wP5akg4ipwmUHNtF8pqZ8nn Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10860"; a="471015144" X-IronPort-AV: E=Sophos;i="6.03,217,1694761200"; d="scan'208";a="471015144" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2023 13:26:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10860"; a="783393505" X-IronPort-AV: E=Sophos;i="6.03,217,1694761200"; d="scan'208";a="783393505" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga008.jf.intel.com with ESMTP; 11 Oct 2023 13:26:43 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id ED1B7430; Wed, 11 Oct 2023 23:26:41 +0300 (EEST) From: Andy Shevchenko To: Bartosz Golaszewski , Andy Shevchenko , Linus Walleij , Dipen Patel , 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 Subject: [PATCH v2 0/4] hte: Improve GPIO handling and other cleanups Date: Wed, 11 Oct 2023 23:26:34 +0300 Message-Id: <20231011202638.372382-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.40.0.1.gaa8946217a0b MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Wed, 11 Oct 2023 13:27:13 -0700 (PDT) X-Spam-Level: ** 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(-) -- 2.40.0.1.gaa8946217a0b