From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751962AbdHHFVV (ORCPT ); Tue, 8 Aug 2017 01:21:21 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:58738 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750784AbdHHFVT (ORCPT ); Tue, 8 Aug 2017 01:21:19 -0400 From: Kishon Vijay Abraham I To: Tony Lindgren CC: Russell King , Ulf Hansson , , , , , Subject: [PATCH 2/2] ARM: dts: am572x-idk: Fix GPIO polarity for MMC1 card detect Date: Tue, 8 Aug 2017 10:50:57 +0530 Message-ID: <20170808052057.24433-2-kishon@ti.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170808052057.24433-1-kishon@ti.com> References: <20170808052057.24433-1-kishon@ti.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The GPIO polarity for MMC1 card detect is set to '0' which means active-high. However the polarity should be active-low. Fix it here. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/am572x-idk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am572x-idk.dts b/arch/arm/boot/dts/am572x-idk.dts index 9da6d83ca185..940fcbe5380b 100644 --- a/arch/arm/boot/dts/am572x-idk.dts +++ b/arch/arm/boot/dts/am572x-idk.dts @@ -81,7 +81,7 @@ vmmc-supply = <&v3_3d>; vmmc_aux-supply = <&ldo1_reg>; bus-width = <4>; - cd-gpios = <&gpio6 27 0>; /* gpio 219 */ + cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */ }; &sn65hvs882 { -- 2.11.0