Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757503AbaAIA2J (ORCPT ); Wed, 8 Jan 2014 19:28:09 -0500 Received: from mail-ob0-f178.google.com ([209.85.214.178]:55292 "EHLO mail-ob0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756531AbaAIA2F (ORCPT ); Wed, 8 Jan 2014 19:28:05 -0500 MIME-Version: 1.0 In-Reply-To: References: <1389120821-12007-1-git-send-email-tim.kryger@linaro.org> Date: Wed, 8 Jan 2014 16:28:04 -0800 Message-ID: Subject: Re: [RESEND PATCH] ARM: dts: bcm28155-ap: Fix Card Detection GPIO From: Tim Kryger To: Christian Daudt Cc: Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , Broadcom Kernel Feedback List , Device Tree List , Linux Arm Kernel List , Linux Kernel Mailing List , Linaro Patches Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 8, 2014 at 3:38 PM, Christian Daudt wrote: > On Tue, Jan 7, 2014 at 10:53 AM, Tim Kryger wrote: >> The board schematic states that the "SD_CARD_DET_N gets pulled to GND >> when card is inserted" so the polarity has been updated to active low. >> >> Polarity is now specified with a GPIO define instead of a magic number. >> >> Signed-off-by: Tim Kryger >> Reviewed-by: Matt Porter >> --- >> arch/arm/boot/dts/bcm28155-ap.dts | 4 +++- >> 1 file changed, 3 insertions(+), 1 deletion(-) >> >> diff --git a/arch/arm/boot/dts/bcm28155-ap.dts b/arch/arm/boot/dts/bcm28155-ap.dts >> index 08e47c2..27dd110 100644 >> --- a/arch/arm/boot/dts/bcm28155-ap.dts >> +++ b/arch/arm/boot/dts/bcm28155-ap.dts >> @@ -13,6 +13,8 @@ >> >> /dts-v1/; >> >> +#include >> + >> #include "bcm11351.dtsi" >> >> / { >> @@ -40,7 +42,7 @@ >> >> sdio4: sdio@3f1b0000 { >> max-frequency = <48000000>; >> - cd-gpios = <&gpio 14 0>; >> + cd-gpios = <&gpio 14 GPIO_ACTIVE_LOW>; >> status = "okay"; >> }; >> }; >> -- >> 1.8.0.1 >> > Tim, > Does bcm11351-brt not also suffer from the same bug? If it does can > you pls update the patch to also fix it? > > Thanks, > csd The BRT and AP boards are similar so it may have the same problem but I don't have a BRT and wouldn't be able to test any changes to its DTS file. -Tim -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/