Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp8372267ybc; Fri, 29 Nov 2019 09:27:30 -0800 (PST) X-Google-Smtp-Source: APXvYqzC+38/QvTOjmVsmAtI94SlHQA0XI1X+1vwFHC0/DJ90eX5Uz4xa07eZVlINcrrDYdA3IuH X-Received: by 2002:aa7:d6cf:: with SMTP id x15mr46632427edr.202.1575048450012; Fri, 29 Nov 2019 09:27:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575048450; cv=none; d=google.com; s=arc-20160816; b=0Nf0tx7zYx3EDv422U9TLM+/CTcKjNSVtiR7kI5ScEUnnFw/5QS0LvJTVbBbb+Msp5 3o+1TlL5BdjTH7DgjF9QI2OCcCkKGMMOGsGWDj2SlrynXH3jKyqtEEOjFUWMg9DhHs4O zSMufQ/HfcZ9zxS9vBgetTgy6A/HsnIuys25D6UcNrJd3ejV2LeNsj4vYpYSxJz3O5AC brpebLtfle7vnzENqF/NZ6fiIatq+kxofpumlWH10RGWIy9aWaJdDDTr/dl3NpMPPhIw eNuRePyP1DODVUOTPxis22vZOZYjtl/8WnA0lS8y7HCaTODoU/GydU18RSazHQiOk/S2 /vLw== 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; bh=DgJDZAtX+I8ruf4of9dT3iZ1lCGDYvk2h2l7Q2aXTzc=; b=YPeF0wqkJW3Nrt5km8bafrJquwGUm5BzbOO1Dp0fKagGlkFkhHFAer5nFm/c9ZSQLC AKjoXyvzxH2m/apz9bPPBFB8AQ1LCCl3ISt25ZTYlV59DZHPuV30OEVqX7+mspt9pmk4 jINE3AIBrRVZzIzCHN6aivprjj+xd+ikZ9ZZqCvkwrWsOuIg4DJjnrd9GJgw/Oc2h829 UIXT8O8nv4YtlOVE66+sn1nZD9Hu9c+L7jdgyyv6PlXdkCN7IGW79kYOFUGptWcSqsZn RtExP2Q2NmD3RMqnpwaM8ffsryVC0BXHiJ0HMRnVnfmjrj/Pi4OZp0Xai7fSjoA/7kva NrSQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w4si8913371edt.419.2019.11.29.09.27.06; Fri, 29 Nov 2019 09:27:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727416AbfK2RZv (ORCPT + 99 others); Fri, 29 Nov 2019 12:25:51 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:37155 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727345AbfK2RZs (ORCPT ); Fri, 29 Nov 2019 12:25:48 -0500 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 Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-aspeed@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de 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 Content-Transfer-Encoding: 8bit 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-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.20.1