From patchwork Sat Jul 21 12:50:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Shields X-Patchwork-Id: 10538763 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 6D659601F8 for ; Sat, 21 Jul 2018 12:53:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1129D22AFC for ; Sat, 21 Jul 2018 12:53:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 053812624B; Sat, 21 Jul 2018 12:53:01 +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=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, 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 A2B3622AFC for ; Sat, 21 Jul 2018 12:53:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727823AbeGUNpi (ORCPT ); Sat, 21 Jul 2018 09:45:38 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:43181 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727631AbeGUNpi (ORCPT ); Sat, 21 Jul 2018 09:45:38 -0400 Received: by mail-pl0-f65.google.com with SMTP id o7-v6so6326147plk.10; Sat, 21 Jul 2018 05:52:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mTRMG3e8cpur4/bVkde+umdpGfZDcp0Xb3shjDFnD00=; b=LQkWGvrA//Bgypg5jv/d+qW+DTDZmqcalFlurLGhCdPzoWl/TLDVBrYTBYNCKfGVyo F1MYFalyWcd01395liuZQ/HCxFWArliZdeNFk2aIcelk0aMbjOa43cfdEgnWpzgu5SMd 2Umwy5nDWR1ZeDltnvoLqels002pzMIfQPaDifVG/j3Ljc0vG9eNakhGSO9NmxqBdm49 TAlVBIS8LygpmTXq/54xUdxMPfD1Y+5QyXAVa/BzJF9MjEicDLbd5fCoxXtp+/7wJgna mxetLgbv1OrwGwWfIf/KLGScNbH1rEpda0kyeYyKe8mNgUUFcV2j1KzYqdDwsPAQGpGO Lcng== X-Gm-Message-State: AOUpUlFMd+yfFJVD14nYTIoIZxq8T2eyz7B4Xah95M4msHfw00EscBxE 3H+ks+R7O/Yofz/CC7HeT6QGUGE1lKs= X-Google-Smtp-Source: AAOMgpeE2Ngj3aENHG6sr87G5wrSYGriveVMVaJpP328bvVPItVwkpQ3NLWqb4WkE3ROIzbQGECYnA== X-Received: by 2002:a17:902:8215:: with SMTP id x21-v6mr5727580pln.175.1532177578938; Sat, 21 Jul 2018 05:52:58 -0700 (PDT) Received: from forlindon.lan (27-32-42-49.static.tpgi.com.au. [27.32.42.49]) by smtp.gmail.com with ESMTPSA id o72-v6sm6625945pfk.76.2018.07.21.05.52.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Jul 2018 05:52:57 -0700 (PDT) From: Simon Shields To: linux-samsung-soc@vger.kernel.org Cc: Simon Shields , Rob Herring , Mark Rutland , Kukjin Kim , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/5] ARM: dts: exynos: configure midas SD card CD pin Date: Sat, 21 Jul 2018 22:50:53 +1000 Message-Id: <20180721125128.31498-6-simon@lineageos.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180721125128.31498-1-simon@lineageos.org> References: <20180721125128.31498-1-simon@lineageos.org> 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 This pin is externally pulled up, so we need to disable the SoC's internal pull down resistor to allow it to function properly. Signed-off-by: Simon Shields --- arch/arm/boot/dts/exynos4412-midas.dtsi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos4412-midas.dtsi b/arch/arm/boot/dts/exynos4412-midas.dtsi index d69bc3c2d0ff..3d3e6b74c12e 100644 --- a/arch/arm/boot/dts/exynos4412-midas.dtsi +++ b/arch/arm/boot/dts/exynos4412-midas.dtsi @@ -1152,6 +1152,11 @@ samsung,pin-pud = ; }; + sdhci2_cd: sdhci2-cd-irq { + samsung,pins = "gpx3-4"; + samsung,pin-pud = ; + }; + hdmi_hpd: hdmi-hpd { samsung,pins = "gpx3-7"; samsung,pin-pud = ; @@ -1383,7 +1388,7 @@ bus-width = <4>; cd-gpios = <&gpx3 4 GPIO_ACTIVE_HIGH>; cd-inverted; - pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>; + pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sdhci2_cd>; pinctrl-names = "default"; vmmc-supply = <&ldo21_reg>; status = "okay";