Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1125190ybg; Wed, 23 Oct 2019 10:43:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqzwd3OnMY44fzxHMUSqRvpZGroJT9Rvh6tajD/7gLvUdxWlQrhtaNPMDJSiDAneldpriwkM X-Received: by 2002:a17:907:2130:: with SMTP id qo16mr15853960ejb.183.1571852596025; Wed, 23 Oct 2019 10:43:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571852596; cv=none; d=google.com; s=arc-20160816; b=AXXcpw7OS05VM2329bfGxG7VcEWtUVBe8m9l5E7isMc0K60fj4BWfhXD11kdLL/7fP O79mIyoZ/CY1K4ng4KTkHqx1Pb806MLHvapkWLJjXAUS46muO2V+6NzWql2JlJnGuFH4 TCpLKHcJiTo9Yqac7VwQnJpxiJ4C8jQPamI9yEW7ONjLkIYgcmq5NxKYDfm0ouPeAhAX BeoZbwZKv2HufCIHYoyF0j8AfSj6KMYkMXozvmA2nVimWRY6rc3veabr910+JELYbaXi Om0wFNDPHYxqGT6HsLHx38xYZjOQD6RO9kt3QsdfEhCrM8/BJ6nC6qDAriOUpHOYiY8p /dyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=oT2q812vkwR6lQz5u4dP7bLM7jh35Rq8yHei8+lOv9w=; b=lKlq5MXOhMBK1eu2G/VxXk7LaX8L+j+30XWndmWuR/a2IaCel17UqxD0+l2Pt8CaqB XOFLH4uJ4tlDoCRWYnCyIjNzOQ4CgRg+DD5ZlMi0dP/5z2i4wHQTBc/Ncx13x6awRo4a JnOinsubU2cpF/4R9guKy8+mW9oWx99h6F3vkzCxUvtx1RbDvSUPr40Ed3zbmxb7Eaf1 ae5T/v6vcnp4HuiQHWPwVuBNZUE5oUX99hV0g3amQwwI4bXP7M4ojG4mUWcieOp6VbVy 3TlqcWJve0yFrn4fjuRKuyc38+QF6nDbkrVQb5uLvUtggI1LpUwrKT7czT+jFBvyBYRc lctA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r17si15962336edx.257.2019.10.23.10.42.50; Wed, 23 Oct 2019 10:43:16 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391783AbfJWMu6 (ORCPT + 99 others); Wed, 23 Oct 2019 08:50:58 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:44020 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391683AbfJWMu6 (ORCPT ); Wed, 23 Oct 2019 08:50:58 -0400 Received: by mail-ed1-f68.google.com with SMTP id q24so9673114edr.10; Wed, 23 Oct 2019 05:50:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=oT2q812vkwR6lQz5u4dP7bLM7jh35Rq8yHei8+lOv9w=; b=kS1X1nMGBxMBPVs/M7fHz1EIhJYTK5VXNdrni33UKnpObnrwXXYVH6fn0KOf9bKwoU AW85dcb6wsRJFPc4zQUdMAUgkQNAPIXxpncjoqVxjQY9/XRrLViA44CdN4vOUKyTNKi/ zXju32QZ75DXz9DG++kQZ78+DWkBUnMLgb7fWert/XXmLzmrgA6to/JCu76aHCrId3OQ Yh2GRAmKQm9pK9eO+dfwIVdm4fabBBtN4uNOgXN3xtzi/gnyjJdeCqCpFLqeMRYFXTr/ bY4ZW29SZxgt7O6wWjX2pAy2+qCdPMSPwqrZAA3jqvQldFaUz8DrPGNnvSUTC1wzQ/sf bPGQ== X-Gm-Message-State: APjAAAUda0nJG6OO3H4NVW185qbYkKj7/oTiA8Ru29YTw4UxEc0XmgbN P8gh8mbU2jCO3n89X2K33fM= X-Received: by 2002:a05:6402:88c:: with SMTP id e12mr23305215edy.170.1571835056324; Wed, 23 Oct 2019 05:50:56 -0700 (PDT) Received: from pi3 ([194.230.155.217]) by smtp.googlemail.com with ESMTPSA id i63sm780337edi.65.2019.10.23.05.50.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2019 05:50:55 -0700 (PDT) Date: Wed, 23 Oct 2019 14:50:53 +0200 From: Krzysztof Kozlowski To: Arnd Bergmann Cc: Kukjin Kim , Sangbeom Kim , Sylwester Nawrocki , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linus.walleij@linaro.org, Ulf Hansson , linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, alsa-devel@alsa-project.org Subject: Re: [PATCH 21/36] ARM: s3c: move iis pinctrl config into boards Message-ID: <20191023125053.GF11048@pi3> References: <20191010202802.1132272-1-arnd@arndb.de> <20191010203043.1241612-1-arnd@arndb.de> <20191010203043.1241612-21-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20191010203043.1241612-21-arnd@arndb.de> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 10, 2019 at 10:30:05PM +0200, Arnd Bergmann wrote: > The s3c_gpio_cfgall_range() function is an internal interface of > the samsung gpio driver and should not be called directly by drivers, > so move the iis pin initialization into the boards. > > Note that the s3c2412-i2s driver has no boards using it in > mainline linux, the driver gets selected for the jive machine > but is never instantiated. > > Signed-off-by: Arnd Bergmann > --- > arch/arm/mach-s3c24xx/mach-gta02.c | 4 ++++ > arch/arm/mach-s3c24xx/mach-h1940.c | 3 +++ > arch/arm/mach-s3c24xx/mach-mini2440.c | 5 +++++ > arch/arm/mach-s3c24xx/mach-n30.c | 5 +++++ > arch/arm/mach-s3c24xx/mach-nexcoder.c | 5 +++++ > arch/arm/mach-s3c24xx/mach-otom.c | 6 ++++++ > arch/arm/mach-s3c24xx/mach-qt2410.c | 3 +++ > arch/arm/mach-s3c24xx/mach-rx1950.c | 3 +++ > arch/arm/mach-s3c24xx/mach-rx3715.c | 4 ++++ > arch/arm/mach-s3c24xx/mach-smdk2410.c | 5 +++++ > arch/arm/mach-s3c24xx/mach-smdk2413.c | 4 ++++ > arch/arm/mach-s3c24xx/mach-smdk2440.c | 6 +++++- > arch/arm/mach-s3c24xx/mach-vstms.c | 6 +++++- > arch/arm/mach-s3c24xx/simtec-audio.c | 6 ++++++ > sound/soc/samsung/s3c2412-i2s.c | 7 ------- > sound/soc/samsung/s3c24xx-i2s.c | 7 ------- > 16 files changed, 63 insertions(+), 16 deletions(-) > > diff --git a/arch/arm/mach-s3c24xx/mach-gta02.c b/arch/arm/mach-s3c24xx/mach-gta02.c > index 526fd0933289..1ca0460d82f4 100644 > --- a/arch/arm/mach-s3c24xx/mach-gta02.c > +++ b/arch/arm/mach-s3c24xx/mach-gta02.c > @@ -540,6 +540,10 @@ static void __init gta02_machine_init(void) > > i2c_register_board_info(0, gta02_i2c_devs, ARRAY_SIZE(gta02_i2c_devs)); > > + /* Configure the I2S pins (GPE0...GPE4) in correct mode */ > + s3c_gpio_cfgall_range(S3C2410_GPE(0), 5, S3C_GPIO_SFN(2), > + S3C_GPIO_PULL_NONE); This is not entirely equivalent move as before this was probe (so being executed also on rebinds) and now it is init. I guess it should not make any difference so let it be. Best regards, Krzysztof