From patchwork Fri Nov 22 13:27:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 180062 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp225662ilf; Fri, 22 Nov 2019 05:27:45 -0800 (PST) X-Google-Smtp-Source: APXvYqytUUoCujyFKOTBVLJFDuq8QOMI6OJ9qSF83gIGLkwn7cdJV7y//q/QF4hUaD89p/9KQd+a X-Received: by 2002:a17:906:f259:: with SMTP id gy25mr21131249ejb.297.1574429265002; Fri, 22 Nov 2019 05:27:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574429264; cv=none; d=google.com; s=arc-20160816; b=udck5XZPVIXJf3KlrNpFTGMzHWHECUy/5iDnp+xIUjk4WmSO4lINRyeiBNIOiQJVcc brNrtP0PyuNObIXvPp5PlBD0sk9fpOID4AtwKZB5lif+ewgFvMeDAJiOHMxxYIwYtHpb 9chIW29T/O1ViO0YTS9EyNlwZhvIct6+Qstbjt9FHkvRjGQ9PuXfe0YMfmjZ40SIeGLq OEgSYov5f4Z+fnbnocvL4N1+7i+kWfmRcf6rF1JTBWAH+2/V8VcLqFKuzh3G6a+MBJZ9 hEbZLfU/B0iLar7/8lpAjuJS4LStxXoOyWUmtfuL+OzGWHgaodS1SmEZRvGlE2toAu/T oC5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Tdqdc6GlLGKNFIVpHsNHNB/9gnpCM649CYJvlrBtXXU=; b=lNPDwre/zFKB1GKsFB9DeTSeW6dxmC9JiWyhKPBtUdPq8EZ9FBQGTu3RbBHGXT0VHe RQmSGaFLcDkNc021V6OI2gIFmH4JXADuD4G9wE1+VPPN2zzg880Y5/XnBjyuKFn0baR5 yU7hGOmpZ/eyyhEMsHKbrB0M5515n+nRpvUl8WUk36FFh+f1DG8T2im8pXlLARGOQDCV 91WGm3ZkQt4Vet20IxA0/+2tMInwFlzB/FHHarymd7moeuoxqfRtkkjjRCYf0GcXBj2l QBz1yH1Glke3uhsaBc5fb/HIeNfNx475LgR7iBLxOlrjtcmASDt9E5S38Ppk91u1T8/5 LB/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gMc0cdHn; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e24si4903125ede.392.2019.11.22.05.27.44; Fri, 22 Nov 2019 05:27:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gMc0cdHn; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726638AbfKVN1o (ORCPT + 5 others); Fri, 22 Nov 2019 08:27:44 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:42459 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726526AbfKVN1o (ORCPT ); Fri, 22 Nov 2019 08:27:44 -0500 Received: by mail-lj1-f193.google.com with SMTP id n5so7341176ljc.9 for ; Fri, 22 Nov 2019 05:27:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Tdqdc6GlLGKNFIVpHsNHNB/9gnpCM649CYJvlrBtXXU=; b=gMc0cdHnX/Yvn/AGWg04HeYarp0o5t4XKrnKA09KndSOlhYSGhzEv8K7FDHetoqirr kvXrg98JATd4kcwQhJskvtlUgKLFLu2LXwzIvad/RK64bAoZ6xvZqwLXLu/rflOhW8tv 3lba/Z8WAA5j5uQOFQHysT5dEVIMg8AJMQddmtvBq2EnIo8Fd0k5whndvDPPcwxNFPn1 WGyxrPK6Q0n0EbdJhb+vvi/sLCsKR35XBj9QNrMsUHh1VRdN9YbhbwjHiczWgibXHpWw n5G/RpKuupEjv455sLt9xAo4gPXfdWO8JZS+5AQXuKAMbMyQoRmMqJ8GjDvBBc823bxD te3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Tdqdc6GlLGKNFIVpHsNHNB/9gnpCM649CYJvlrBtXXU=; b=uGlNeQn7y+XorsJxIiEZT+8S86xFGmOwUreJdAqWZOAZIURzmYuQjiCWj7sCQEJU8/ qCzppuptlw7PS3CkCKl6mM0mz1UPddxpZwnrPr9dSlSFkjVRu94lVdR00z31Qqw5bv3T dR0gnk3FOz+rp7c4s1zdPKG6l/NUFY7IQo498svUEJZDhDifQEyZx13MJ9QveQTK31ks c83gEm42T9WDzGOqaqkFJcaCTITUeV0mkqj+khZYsxMIZDxzMazxKcvqxgxTl6eugfgn 6OG8Nfq3O+ePtK6ZZnkSgnDqSMFfuqYdLAXVR+PRbL6KnSETSoba+lcPrEU0DVc/mCw5 H2kw== X-Gm-Message-State: APjAAAVBWpXOMPMfuD7CpGextxi3nhuAi9Y4A6nmyMumFUzImatCvGtq u5ZRdFbUkxObvgYuCn3xrDcJUUwZ9XU= X-Received: by 2002:a2e:9905:: with SMTP id v5mr12277652lji.213.1574429261649; Fri, 22 Nov 2019 05:27:41 -0800 (PST) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id s23sm3035106ljm.20.2019.11.22.05.27.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Nov 2019 05:27:40 -0800 (PST) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Bartosz Golaszewski , Linus Walleij Subject: [PATCH] gpio: Add TODO item for regmap helper Date: Fri, 22 Nov 2019 14:27:38 +0100 Message-Id: <20191122132738.8857-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Add a TODO item for a generic MMIO regmap helper. Suggested-by: Bartosz Golaszewski Signed-off-by: Linus Walleij --- drivers/gpio/TODO | 4 ++++ 1 file changed, 4 insertions(+) -- 2.23.0 Reviewed-by: Bartosz Golaszewski diff --git a/drivers/gpio/TODO b/drivers/gpio/TODO index 9c048f10c9ad..76f8c7ff18ff 100644 --- a/drivers/gpio/TODO +++ b/drivers/gpio/TODO @@ -80,6 +80,10 @@ Work items: - Look over and identify any remaining easily converted drivers and dry-code conversions to MMIO GPIO for maintainers to test +- Expand the MMIO GPIO or write a new library for regmap-based I/O + helpers for GPIO drivers on regmap that simply use offsets + 0..n in some register to drive GPIO lines + - Expand the MMIO GPIO or write a new library for port-mapped I/O helpers (x86 inb()/outb()) and convert port-mapped I/O drivers to use this with dry-coding and sending to maintainers to test