From patchwork Thu Nov 3 20:28:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 621173 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3CF61C4332F for ; Thu, 3 Nov 2022 20:28:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229954AbiKCU2E (ORCPT ); Thu, 3 Nov 2022 16:28:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229548AbiKCU2D (ORCPT ); Thu, 3 Nov 2022 16:28:03 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BABD21B9DE; Thu, 3 Nov 2022 13:28:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1667507281; x=1699043281; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=fKNwzugQRgX5XrTVd9rzENjibvNWAzmss5RxzVqONVk=; b=RRUxiivaR8AAEW4aQu2dmknKvwmRVz9p66Orw++piXGDDCrGMnAWIRBp kv47ZbrzhVpKfMufIyMZ3wh5Pn1Nu2/TtJkxuwDDll9fqfe9PECvIbbRZ m7kkdFG9MmdLraCgNfm0KcvUDD2ye084LqLB5YIker2xxVpctmgkGhJIB 09aKIyO/30RaSNaKt2ewn1YnvCVhOgNzSAm3s9KIB6AddufNwlVEfT1Og Icmc6Mn1vqY1QJ/E4579IgHl1HtSIIX1CEL3ejdI2O52jeOQKELHZXlEP Mluka//T0OL4gMMsA0VMTouNKYr+7TbEbLasBEP+NZ02BuJwk/Q9+DCcP g==; X-IronPort-AV: E=McAfee;i="6500,9779,10520"; a="309790077" X-IronPort-AV: E=Sophos;i="5.96,135,1665471600"; d="scan'208";a="309790077" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2022 13:28:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10520"; a="740342810" X-IronPort-AV: E=Sophos;i="5.96,135,1665471600"; d="scan'208";a="740342810" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga002.fm.intel.com with ESMTP; 03 Nov 2022 13:27:59 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 6D5F9F7; Thu, 3 Nov 2022 22:28:22 +0200 (EET) From: Andy Shevchenko To: Andy Shevchenko , Marc Zyngier , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Linus Walleij , Bartosz Golaszewski Subject: [PATCH v1 1/1] gpio: Add Generic regmap GPIO conversion to the TODO list Date: Thu, 3 Nov 2022 22:28:17 +0200 Message-Id: <20221103202817.25567-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org It's actually preferable to use Generic regmap GPIO over other simple approaches. Add a TODO item for that. Signed-off-by: Andy Shevchenko --- drivers/gpio/TODO | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpio/TODO b/drivers/gpio/TODO index f87ff3fa8a53..76560744587a 100644 --- a/drivers/gpio/TODO +++ b/drivers/gpio/TODO @@ -124,6 +124,13 @@ Work items: this with dry-coding and sending to maintainers to test +Generic regmap GPIO + +In the very similar way to Generic MMIO GPIO convert the users which can +take advantage of using regmap over direct IO accessors. Note, even in +MMIO case the regmap MMIO with gpio-regmap.c is preferable over gpio-mmio.c. + + GPIOLIB irqchip The GPIOLIB irqchip is a helper irqchip for "simple cases" that should