From patchwork Fri Sep 29 11:53:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 9977899 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 4E95560329 for ; Fri, 29 Sep 2017 12:27:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 47A4C2984F for ; Fri, 29 Sep 2017 12:27:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3AEF629852; Fri, 29 Sep 2017 12:27:56 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BC4312984F for ; Fri, 29 Sep 2017 12:27:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=QFrxUqEc4a4jdKwdlbKMgMkU6PHNk7HBBnjLJjItJX0=; b=q30ur+9LKSrCnDezTMOUqehHOO iar7UolSN8FZOTo1FDOVYKLRUe5t5C9GQO7+W9GJTYlOwBTapwo7FHN4irqsT5iSfesi4O3PdgUfp C2GcPFoYRohavj279gs/7dQ5rarhBfe3mUf3ahbrJLd3SATXV6CfFlPfc1PndF9Vk0rhkeRfzvRN1 w5kyhh8bLuRn+PBCq9zD6rvVXJbIqlrcuZysVwxuYrSRkRnqG0Geea1ncpGRGgYG0f/3ySHIo6H88 Ol04okTvNazPdQQjXlib73QXbTUVFjFDgUvTOXU0mE8Pd6XPnyo0MvFCGRtRiByOw/hCCHnQ7JzPd oS8/dr2w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dxuOU-0004gg-Kl; Fri, 29 Sep 2017 12:27:50 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dxu8Y-0002ZF-DZ for linux-arm-kernel@lists.infradead.org; Fri, 29 Sep 2017 12:11:25 +0000 Received: from penelope.horms.nl (unknown [217.111.208.18]) by kirsty.vergenet.net (Postfix) with ESMTPA id 535CE25BF37; Fri, 29 Sep 2017 21:54:40 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1506686080; bh=2y51HeDM2qYmvv6SyHZE03AMrpMfYHtUv2EjMu4SLtM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=m0DvlYFAo8zaRpfXu1eO0lJfoiZYzpvWA3cHo5OowjPhRxNPSS1OhueMB+SGWe2bC sdyKrtDPH+XcP2V/6Xhn7hAkO89rUW8slToUKv1w0wJJvQUHqu6ji6j1qzmrMSu3Pi 54PsnlNeDhy3tPamtmWK9um0cpRb93Ygwh5Bwb+w= Received: by penelope.horms.nl (Postfix, from userid 7100) id 56DCAE20C21; Fri, 29 Sep 2017 07:53:42 -0400 (EDT) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 33/48] ARM: dts: alt: use correct logic for SD WP pins Date: Fri, 29 Sep 2017 13:53:25 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170929_051122_806824_11A76197 X-CRM114-Status: UNSURE ( 8.47 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Wolfram Sang , Magnus Damm , linux-arm-kernel@lists.infradead.org, Simon Horman MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Wolfram Sang The WP pins are ACTIVE_HIGH, fix it in the DTS. Fixes: 2b41091b896b ("ARM: dts: alt: add SDHI0 and 1 support") Signed-off-by: Wolfram Sang Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7794-alt.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts index e45f92b5eb11..bd98790d964e 100644 --- a/arch/arm/boot/dts/r8a7794-alt.dts +++ b/arch/arm/boot/dts/r8a7794-alt.dts @@ -304,7 +304,7 @@ vmmc-supply = <&vcc_sdhi0>; vqmmc-supply = <&vccq_sdhi0>; cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>; - wp-gpios = <&gpio6 7 GPIO_ACTIVE_LOW>; + wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>; sd-uhs-sdr50; sd-uhs-sdr104; status = "okay"; @@ -318,7 +318,7 @@ vmmc-supply = <&vcc_sdhi1>; vqmmc-supply = <&vccq_sdhi1>; cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>; - wp-gpios = <&gpio6 15 GPIO_ACTIVE_LOW>; + wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>; sd-uhs-sdr50; status = "okay"; };