From patchwork Thu Sep 1 08:37:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 9308551 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3A054607D2 for ; Thu, 1 Sep 2016 08:37:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 28715291F7 for ; Thu, 1 Sep 2016 08:37:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1CD112921C; Thu, 1 Sep 2016 08:37:19 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI 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 00CE4291F7 for ; Thu, 1 Sep 2016 08:37:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752462AbcIAIhR (ORCPT ); Thu, 1 Sep 2016 04:37:17 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:23598 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752170AbcIAIhP (ORCPT ); Thu, 1 Sep 2016 04:37:15 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OCT004J8HA0Y240@mailout1.w1.samsung.com>; Thu, 01 Sep 2016 09:37:12 +0100 (BST) X-AuditID: cbfec7f4-f79cb6d000001359-27-57c7e8b89e97 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 05.96.04953.8B8E7C75; Thu, 1 Sep 2016 09:37:12 +0100 (BST) Received: from AMDC2174.DIGITAL.local ([106.120.53.17]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OCT00JAAH9XVM40@eusync3.samsung.com>; Thu, 01 Sep 2016 09:37:12 +0100 (BST) From: Krzysztof Kozlowski To: javier@osg.samsung.com, Arnd Bergmann , Kukjin Kim , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH 1/2] ARM: dts: exynos: Fix mismatched value for SD4 pull up/down configuration on exynos4210 Date: Thu, 01 Sep 2016 10:37:01 +0200 Message-id: <1472719022-27226-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplluLIzCtJLcpLzFFi42I5/e/4Vd0dL46HG7T/VbD4O+kYu8XGGetZ LeYfOcdq8ebtGiaL1y8MLfofv2a2OH9+A7vFpsfXWC0u75rDZjHj/D4mBy6P378mMXpsWtXJ 5rF5Sb3Hlv677B59W1YxenzeJBfAFsVlk5Kak1mWWqRvl8CVMev9NNaCSVwVt+dtZWlg3MzR xcjBISFgItG4WL6LkRPIFJO4cG89WxcjF4eQwFJGiUc3+tkhnEYmieP9O5hAqtgEjCU2L1/C BmKLCHQwSXTclgCxmQUyJTr3zmUHsYUF8iS27l/CCmKzCKhKnLz0ByzOK+AusaJ1CgvENjmJ k8cms05g5F7AyLCKUTS1NLmgOCk911CvODG3uDQvXS85P3cTIySQvuxgXHzM6hCjAAejEg+v w5tj4UKsiWXFlbmHGCU4mJVEeBmeHw8X4k1JrKxKLcqPLyrNSS0+xCjNwaIkzjt31/sQIYH0 xJLU7NTUgtQimCwTB6dUA+OcYIF5tcK5x53sjHaeOCqs4rBu67v8/i++1XeW+c3cHJHSKtag /o1VUmtne6nL59Sa0yE7G+rufdXKmlh8p+Rf7aHAZju1xHMTTu9+FG8883jqJvGN1ufOvJcp nCbjM6UiQWfBi73zLCavlGq4cJcn6MxXkwfcZwW1V0+fuyTJsYHp+sa9gr+VWIozEg21mIuK EwHuAdyKIAIAAA== Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The pinctrl pull up/down register on exynos4210 is 2-bit wide for each pin and it accepts only values of 0, 1 and 3. The pins sd4-bus-width8 were configured with value of 4. The driver does not validate the value so this overflow effectively set a bit 1 in adjacent pins thus configuring them to pull down. The author's intention was probably to set drive strength of 4x. All other bus-widths pins are configured with pull up and drive strength of 4x. Fix this one with same pattern. Fixes: 87711d8c7c70 ("ARM: dts: Add pinctrl node entries for SAMSUNG EXYNOS4210 SoC") Signed-off-by: Krzysztof Kozlowski Reviewed-by: Javier Martinez Canillas Reviewed-by: Bartlomiej Zolnierkiewicz --- arch/arm/boot/dts/exynos4210-pinctrl.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos4210-pinctrl.dtsi b/arch/arm/boot/dts/exynos4210-pinctrl.dtsi index 8046340e50ac..d9b6d25e4abe 100644 --- a/arch/arm/boot/dts/exynos4210-pinctrl.dtsi +++ b/arch/arm/boot/dts/exynos4210-pinctrl.dtsi @@ -649,7 +649,7 @@ sd4_bus8: sd4-bus-width8 { samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6"; samsung,pin-function = ; - samsung,pin-pud = <4>; + samsung,pin-pud = ; samsung,pin-drv = ; };