Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3885625imu; Fri, 30 Nov 2018 07:31:38 -0800 (PST) X-Google-Smtp-Source: AFSGD/UOq/CCJSoPVA/zkwA9xq3iTQh/BNszRwqvlEQiieZTDAAAV4oQK8IflzV3StYQOIV0GBh7 X-Received: by 2002:a62:28c9:: with SMTP id o192mr6160866pfo.57.1543591898367; Fri, 30 Nov 2018 07:31:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543591898; cv=none; d=google.com; s=arc-20160816; b=wyEH53YJoYkFoIwDPnuJKez3cCE9We2W14lLTXIU4VBRs9DFI6IPPuqlWDrnEgKlQi rMeNyPrB8fBvKl/e0M66FF/k4yNmRtfCCUcNyaFlJ5DkQEO7BK/a4CbyvUU4llspNCcS JKRKt0Wg6SHtMltorCTGaprWUM0EC5jJV1N7g5Xq7VzI+eKufguS+YGOULrlyfEj0HQy IsBxl6EGmOhTD2QvnrwRvMXmsq2w0aePHP65h126U+DuPhq5GZ7tJB4G2eR1Kp4nlQDl W1Lr6Q+bQ6kUdxMKtoV8zuy0OcVZgpfkUp1PAtszJs4yP5RkO/1CIZCSqcye3n4tRz6y i7xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=4fwMCSFNtUj+vS4toTvuNNwi7ABrBp0Iz2tRKBnjhoQ=; b=eRuVzCf6Sngebii8TQK1WNVNtX25CbEMri27xpgL5kfF401l1Hi51g/F9aPjlG9HKG lA1ML9Db3R2kT/5p9JGxGbm2DMwsnQ+p9KcqVMc0BEmHFX59/5lq8CUBbKtOoBUEGP2S YQN/TxV1RPV3PeEQzERjjzMTJCpGApol/urxJNIpd6W8dk9lyRJKhAZE0evwA8IMw9yV pRJtD1P6ihC1x5kENRg2VEFmyhUCSg6WKdhse+AcgsdvdfQ9cyzbWzkVKCZEpdsEvS7O WushVEIbIWTfYaOCAKEnHnQOPqNrUJ83yA52V0Npw/IStX+Goq/HzFzwgewrFBmfogaH LBPQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g9si5953518pfd.86.2018.11.30.07.31.07; Fri, 30 Nov 2018 07:31:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727205AbeLACj5 (ORCPT + 99 others); Fri, 30 Nov 2018 21:39:57 -0500 Received: from mail.ltec.ch ([95.143.48.181]:39732 "EHLO mail.ltec.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726633AbeLACj4 (ORCPT ); Fri, 30 Nov 2018 21:39:56 -0500 X-Greylist: delayed 2081 seconds by postgrey-1.27 at vger.kernel.org; Fri, 30 Nov 2018 21:39:55 EST Received: from nebula.ltec ([172.27.11.2] helo=vm64.ltec) by mail.ltec.ch with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gSkCf-0001Er-Cp; Fri, 30 Nov 2018 15:55:37 +0100 From: Felix Brack To: devicetree@vger.kernel.org, linux-omap@vger.kernel.org Cc: tony@atomide.com, bcousson@baylibre.com, robh+dt@kernel.org, mark.rutland@arm.com, linux-kernel@vger.kernel.org, Felix Brack Subject: [PATCH] ARM: dts: am335x-pdu001: Fix polarity of card detection input Date: Fri, 30 Nov 2018 15:54:46 +0100 Message-Id: <20181130145446.3819-1-fb@ltec.ch> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When a micro SD card is inserted in the PDU001 card cage, the card detection switch is opened and the corresponding GPIO input is driven by a pull-up. Hence change the active level of the card detection input from low to high. Signed-off-by: Felix Brack --- arch/arm/boot/dts/am335x-pdu001.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am335x-pdu001.dts b/arch/arm/boot/dts/am335x-pdu001.dts index 6dd9d487aaeb..ae43d61f4e8b 100644 --- a/arch/arm/boot/dts/am335x-pdu001.dts +++ b/arch/arm/boot/dts/am335x-pdu001.dts @@ -585,7 +585,7 @@ bus-width = <4>; pinctrl-names = "default"; pinctrl-0 = <&mmc2_pins>; - cd-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; + cd-gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>; }; &sham { -- 2.17.1