From patchwork Wed Jul 8 14:14:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 50884 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DEF1E213FD for ; Wed, 8 Jul 2015 14:14:26 +0000 (UTC) Received: by laer2 with SMTP id r2sf66848851lae.3 for ; Wed, 08 Jul 2015 07:14:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=1GIItcUIoqe/mXNdF/BFbLmgFhqROtbkSt2beFFCOdI=; b=NYABjwyGNOUTn0OxzZgzTBAZ39jsq/JjlNfb97/gWbLTXm6CxofHewLlOMyCntQ0xW 3X0m5T9Ak0rK3/cafhGk9ZusINRzkxk7UFj7OvSBdgS/2YowxICf2VwhwGQwgeJTsIh7 N0FvWtNfMf0nRK3xn1YRsANstmFmH+OpTadUUvdISmCq63gPT71/KYQRsajFI+DjxSJc 06cDhBR7pFeoserZz/4cv07seo5qehWS8nOnWmNJRHf59TaD5cwFQyb2O3XvKbdGicxF s9iEQZeNNJXu0zh6j4c/CKrdW9PM8a7w/yxPlalaT6TLn0X/z7FCxR9Q1BVKVGJAnwKd mCbQ== X-Gm-Message-State: ALoCoQmUnTLijcALOht8VL95CcNiI2vcZ9mEmPOuovTE4NNbkD+2ujtMRVIAlco23mVTBHR1M8fo X-Received: by 10.180.216.12 with SMTP id om12mr20826556wic.1.1436364865537; Wed, 08 Jul 2015 07:14:25 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.120.71 with SMTP id la7ls895046lab.25.gmail; Wed, 08 Jul 2015 07:14:25 -0700 (PDT) X-Received: by 10.152.21.168 with SMTP id w8mr9634903lae.22.1436364865339; Wed, 08 Jul 2015 07:14:25 -0700 (PDT) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com. [209.85.217.175]) by mx.google.com with ESMTPS id cb8si1779702lad.61.2015.07.08.07.14.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jul 2015 07:14:25 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) client-ip=209.85.217.175; Received: by lbnk3 with SMTP id k3so57020107lbn.1 for ; Wed, 08 Jul 2015 07:14:25 -0700 (PDT) X-Received: by 10.152.18.162 with SMTP id x2mr9775604lad.73.1436364865182; Wed, 08 Jul 2015 07:14:25 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp3129710lbb; Wed, 8 Jul 2015 07:14:24 -0700 (PDT) X-Received: by 10.66.66.172 with SMTP id g12mr21057481pat.74.1436364863321; Wed, 08 Jul 2015 07:14:23 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ws2si4347860pab.124.2015.07.08.07.14.22; Wed, 08 Jul 2015 07:14:23 -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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934929AbbGHOOT (ORCPT + 29 others); Wed, 8 Jul 2015 10:14:19 -0400 Received: from mail-wg0-f45.google.com ([74.125.82.45]:33910 "EHLO mail-wg0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758386AbbGHOON (ORCPT ); Wed, 8 Jul 2015 10:14:13 -0400 Received: by wgov12 with SMTP id v12so12533365wgo.1 for ; Wed, 08 Jul 2015 07:14:12 -0700 (PDT) X-Received: by 10.194.246.105 with SMTP id xv9mr20225538wjc.135.1436364852597; Wed, 08 Jul 2015 07:14:12 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by smtp.gmail.com with ESMTPSA id q3sm3683745wjr.38.2015.07.08.07.14.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jul 2015 07:14:11 -0700 (PDT) From: Linus Walleij To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: linux-gpio@vger.kernel.org, Linus Walleij Subject: [PATCH] pinctrl: abx500: remove strict mode Date: Wed, 8 Jul 2015 16:14:06 +0200 Message-Id: <1436364846-11471-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.3 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Commit a21763a0b1e5a5ab8310f581886d04beadc16616 "pinctrl: nomadik: activate strict mux mode" put all Nomadik pin controllers to strict mode. This was not good on the Snowball platform: the muxing of GPIOs to different pins is done with hogs in the DTS file, and then these GPIOs are used by offset, relying on hogs to mux the pins. Since that means the pin controller "owns" the pins and at the same time we have a GPIO user, this pin controller is by definition not strict. Signed-off-by: Linus Walleij --- arch/arm/boot/dts/ste-href-ab8500.dtsi | 4 ---- drivers/pinctrl/nomadik/pinctrl-abx500.c | 1 - 2 files changed, 5 deletions(-) diff --git a/arch/arm/boot/dts/ste-href-ab8500.dtsi b/arch/arm/boot/dts/ste-href-ab8500.dtsi index 9b69bce9297d..165c1bac61b1 100644 --- a/arch/arm/boot/dts/ste-href-ab8500.dtsi +++ b/arch/arm/boot/dts/ste-href-ab8500.dtsi @@ -231,10 +231,6 @@ */ gpio26 { gpio26_default_mode: gpio26_default { - default_mux { - function = "gpio"; - groups = "gpio26_d_1"; - }; default_cfg { pins = "GPIO26_M16"; output-low; diff --git a/drivers/pinctrl/nomadik/pinctrl-abx500.c b/drivers/pinctrl/nomadik/pinctrl-abx500.c index 557d0f2a3031..97681fac082e 100644 --- a/drivers/pinctrl/nomadik/pinctrl-abx500.c +++ b/drivers/pinctrl/nomadik/pinctrl-abx500.c @@ -787,7 +787,6 @@ static const struct pinmux_ops abx500_pinmux_ops = { .set_mux = abx500_pmx_set, .gpio_request_enable = abx500_gpio_request_enable, .gpio_disable_free = abx500_gpio_disable_free, - .strict = true, }; static int abx500_get_groups_cnt(struct pinctrl_dev *pctldev)