From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756039AbcLAJDq (ORCPT ); Thu, 1 Dec 2016 04:03:46 -0500 Received: from mail-wj0-f196.google.com ([209.85.210.196]:36278 "EHLO mail-wj0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751606AbcLAIrm (ORCPT ); Thu, 1 Dec 2016 03:47:42 -0500 MIME-Version: 1.0 In-Reply-To: <1480410716-25993-1-git-send-email-jacopo@jmondi.org> References: <1480410716-25993-1-git-send-email-jacopo@jmondi.org> From: Geert Uytterhoeven Date: Thu, 1 Dec 2016 09:47:22 +0100 X-Google-Sender-Auth: KRXc0FZE3OR5F_ozG02zD3slIVk Message-ID: Subject: Re: [PATCH] pinctrl: sh-pfc: r8a7791: Add ADI pinconf support To: Jacopo Mondi Cc: Geert Uytterhoeven , Magnus Damm , Laurent Pinchart , Linus Walleij , Linux-Renesas , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jacopo, On Tue, Nov 29, 2016 at 10:11 AM, Jacopo Mondi wrote: > Add pin configuration support for Gyro-ADC, named ADI on r8a7791 SoC. > > The Gyro-ADC supports three different configurations: > a single ADC (adi and adi_b groups), 2 ADCs selectable through a single > channel select signal (adi_chsel1 and adi_chsel1_b groups), up to 4 ADCs > through 2 channel select signals (adi_chsel2 and adi_chsel2_b groups) > and up to 8 ADCs through 3 channel select signals (adi_chsel3 and > adi_chsel3_b groups) > > Signed-off-by: Jacopo Mondi > +static const char * const adi_groups[] = { > + "adi", As the group names below have a suffix ("_chselX"), I think it would be good to have a suffix in this group name, too. Usually we have splits like "data" and "ctrl", but in this case, the group covers both data and control signals. "adi_common"? "adi_base"? "adi_spi" (but it's only SPI in mode 2/3)? I'm out of inspiration... > + "adi_chsel1", > + "adi_chsel2", > + "adi_chsel3", Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds