From patchwork Thu Dec 6 14:02:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 10716077 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ADC5B13BF for ; Thu, 6 Dec 2018 14:02:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9C4422EA54 for ; Thu, 6 Dec 2018 14:02:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8FDDD2EA5E; Thu, 6 Dec 2018 14:02:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9BD072EA60 for ; Thu, 6 Dec 2018 14:02:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=LrE5GhcfOENMFwOs1AYbOrhVMGjU7Cgc9AkOB1kBXAo=; b=O4CRz/JNcvu0FU BN6scrFKvdeB8d2+OWHcOqECrLN28/76ZkHjqze9nxszujZCxDQfva7Wg33QbhU341oZWTBWO9dvV LKMJg69QNpckYXLqY4BzDyfQtaS6KYxfmu5Nw2ldu9Eexpusm7wPTTfHtM2byxBW9wOej1RUL0kPU KgHyTZKalmH3lH95POGR4MYi97LxYN/xdcQdxoOgSx9J4ms3TlTMpQUBfS1KwNZSXqi2cw3R7nfy2 3YO0J2eNDxFB7zuYZ9n3tZ3ayyLTnkTQSrnKYjuMTxzJkF1ovKMaen15owpjzeKz7XBQVLMV6CmQe mIj9+kG8nbHQXhFthHww==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gUuEP-0004a6-Pz; Thu, 06 Dec 2018 14:02:21 +0000 Received: from mail.bootlin.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gUuEM-0004ZC-18 for linux-arm-kernel@lists.infradead.org; Thu, 06 Dec 2018 14:02:19 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id 36A1920750; Thu, 6 Dec 2018 15:02:05 +0100 (CET) Received: from localhost (aaubervilliers-681-1-79-44.w90-88.abo.wanadoo.fr [90.88.21.44]) by mail.bootlin.com (Postfix) with ESMTPSA id 11FE720745; Thu, 6 Dec 2018 15:02:05 +0100 (CET) From: Maxime Ripard To: Chen-Yu Tsai , Maxime Ripard , Linus Walleij Subject: [PATCH 0/2] pinctrl: sunxi: Account for per-bank GPIO regulators Date: Thu, 6 Dec 2018 15:02:02 +0100 Message-Id: X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181206_060218_207568_96281F6F X-CRM114-Status: UNSURE ( 9.86 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-gpio@vger.kernel.org, Mylene Josserand , linux-arm-kernel@lists.infradead.org, Thomas Petazzoni Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Hi, Here is a first attempt at getting the regulators properly accounted for the GPIO banks on the Allwinner SoCs. The main interogation I have currently is whether we should always try to get the regulator for the current branch, or if we should restrict it to the one available on the SoCs. Let me know what you think, Maxime Maxime Ripard (2): pinctrl: sunxi: Deal with per-bank regulators ARM: dts: sun7i: bananapi: Add GPIO banks regulators arch/arm/boot/dts/sun7i-a20-bananapi.dts | 5 ++- drivers/pinctrl/sunxi/pinctrl-sunxi.c | 63 +++++++++++++++++++++++++- drivers/pinctrl/sunxi/pinctrl-sunxi.h | 6 ++- 3 files changed, 74 insertions(+) base-commit: 651022382c7f8da46cb4872a545ee1da6d097d2a