From patchwork Fri Nov 29 17:25:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marco Felsch X-Patchwork-Id: 1203335 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47RfGL127Qz9sR8 for ; Tue, 3 Dec 2019 09:01:46 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 47RfGK6vzZzDqLy for ; Tue, 3 Dec 2019 09:01:45 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=pengutronix.de (client-ip=2001:67c:670:201:290:27ff:fe1d:cc33; helo=metis.ext.pengutronix.de; envelope-from=mfe@pengutronix.de; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=pengutronix.de X-Greylist: delayed 916 seconds by postgrey-1.36 at bilbo; Sat, 30 Nov 2019 04:41:14 AEDT Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 47Phd60fQbzDq7j for ; Sat, 30 Nov 2019 04:41:12 +1100 (AEDT) Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.lab.pengutronix.de) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iak1U-0003D5-My; Fri, 29 Nov 2019 18:25:40 +0100 Received: from mfe by dude02.lab.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1iak1S-0003AL-KV; Fri, 29 Nov 2019 18:25:38 +0100 From: Marco Felsch To: support.opensource@diasemi.com, lee.jones@linaro.org, robh+dt@kernel.org, linus.walleij@linaro.org, bgolaszewski@baylibre.com, joel@jms.id.au, andrew@aj.id.au, lgirdwood@gmail.com, broonie@kernel.org Subject: [PATCH v3 0/6] DA9062 PMIC features Date: Fri, 29 Nov 2019 18:25:31 +0100 Message-Id: <20191129172537.31410-1-m.felsch@pengutronix.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::28 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-aspeed@lists.ozlabs.org X-Mailman-Approved-At: Tue, 03 Dec 2019 09:01:40 +1100 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Hi, this series address all comments made on [1]. Patch "gpio: add support to get local gpio number" is splitted into: - "gpio: treewide rename gpio_chip_hwgpio to gpiod_to_offset" - "gpio: make gpiod_to_offset() available for other users" Please check the discussion [1] for more information. You need to apply [2] to test the new features. [1] https://lore.kernel.org/lkml/20191127135932.7223-1-m.felsch@pengutronix.de/ [2] https://lore.kernel.org/linux-gpio/20191129165817.20426-1-m.felsch@pengutronix.de/T/#m3da1fb0d16a37979c74bbcebdb29f3da9e89a9ac Marco Felsch (6): gpio: treewide rename gpio_chip_hwgpio to gpiod_to_offset gpio: make gpiod_to_offset() available for other users dt-bindings: mfd: da9062: add regulator voltage selection documentation regulator: da9062: add voltage selection gpio support dt-bindings: mfd: da9062: add regulator gpio enable/disable documentation regulator: da9062: add gpio based regulator dis-/enable support .../devicetree/bindings/mfd/da9062.txt | 16 ++ drivers/gpio/gpio-aspeed.c | 15 +- drivers/gpio/gpiolib-sysfs.c | 9 +- drivers/gpio/gpiolib.c | 74 +++-- drivers/gpio/gpiolib.h | 8 - drivers/regulator/da9062-regulator.c | 258 ++++++++++++++++++ include/linux/gpio/private.h | 27 ++ 7 files changed, 361 insertions(+), 46 deletions(-) create mode 100644 include/linux/gpio/private.h