From patchwork Tue Nov 6 10:35:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 10670033 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 DAC9E1803 for ; Tue, 6 Nov 2018 10:35:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CA25C29C51 for ; Tue, 6 Nov 2018 10:35:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BE4212A2F6; Tue, 6 Nov 2018 10:35:50 +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.4 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI,SUBJ_OBFU_PUNCT_FEW,SUBJ_OBFU_PUNCT_MANY autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6658B2A32E for ; Tue, 6 Nov 2018 10:35:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729728AbeKFUAX (ORCPT ); Tue, 6 Nov 2018 15:00:23 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:58245 "EHLO relay7-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729241AbeKFUAX (ORCPT ); Tue, 6 Nov 2018 15:00:23 -0500 X-Originating-IP: 2.224.242.101 Received: from w540.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 21AC02000A; Tue, 6 Nov 2018 10:35:45 +0000 (UTC) From: Jacopo Mondi To: geert+renesas@glider.be, horms@verge.net.au, laurent.pinchart@ideasonboard.com Cc: Jacopo Mondi , linus.walleij@linaro.org, linux-renesas-soc@vger.kernel.org, linux-gpio@vger.kernel.org Subject: [PATCH v4 0/4] sh-pfc: Variadic VIN_DATA_PIN_GROUP macro + updates Date: Tue, 6 Nov 2018 11:35:29 +0100 Message-Id: <1541500533-21843-1-git-send-email-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.7.4 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Geert, thanks to your suggestion I made a variadic macro out of the VIN_DATA_PIN_GROUP one. The macro accepts an optional third argument 'version' and creates properly formatted names in the form of 'vin4_data8_a' in place of the previous 'vin4_data_a8' ones. I included in this series the refactoring of existing users of versioned VIN_DATA_PIN_GROUP macro and upstreaming of VIN4 and VIN5 enablement for both R-Car M3-N and E3, both of them users of versioned VIN groups. Thanks j v3 -> v4: - The series gathers different patch series previously sent separately: [PATCH 0/2] pinctrl: sh-pfc: r8a77965: Add VIN4 and VIN5 [PATCH] pinctrl: sh-pfc: r8a77990: Add VIN pins, groups and functions As E3 patch depends on the M3-N series, I made a single one out of those. Changelog for the E3 patch (which was actually at v3) is included in the single patch commit message. Jacopo Mondi (4): pinctrl: sh-pfc: Add optional arg to VIN_DATA_PIN_GROUP pinctrl: sh-pfc: Fix VIN versioned groups name pinctrl: sh-pfc: r8a77965: Add VIN[4|5] groups/functions pinctrl: sh-pfc: r8a77990: Add VIN[4|5] groups/functions drivers/pinctrl/sh-pfc/pfc-r8a7792.c | 6 +- drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 24 ++-- drivers/pinctrl/sh-pfc/pfc-r8a7796.c | 24 ++-- drivers/pinctrl/sh-pfc/pfc-r8a77965.c | 254 ++++++++++++++++++++++++++++++++++ drivers/pinctrl/sh-pfc/pfc-r8a77990.c | 244 ++++++++++++++++++++++++++++++++ drivers/pinctrl/sh-pfc/sh_pfc.h | 17 +-- 6 files changed, 534 insertions(+), 35 deletions(-) --- 2.7.4