From patchwork Sun Oct 28 20:13:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 10658693 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1B92013A4 for ; Sun, 28 Oct 2018 20:13:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0A37A28D40 for ; Sun, 28 Oct 2018 20:13:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F2BA029895; Sun, 28 Oct 2018 20:13:57 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,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 ABA3028D40 for ; Sun, 28 Oct 2018 20:13:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725899AbeJ2E7i (ORCPT ); Mon, 29 Oct 2018 00:59:38 -0400 Received: from mail-it1-f194.google.com ([209.85.166.194]:50350 "EHLO mail-it1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725810AbeJ2E7i (ORCPT ); Mon, 29 Oct 2018 00:59:38 -0400 Received: by mail-it1-f194.google.com with SMTP id k206-v6so7150192ite.0 for ; Sun, 28 Oct 2018 13:13:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=pzIIdGErKdgCN9KWB3XBB7BCNch1AfQfWfeOFCfenRQ=; b=kKyIVwIeSlJyFPHBWrgdg8wMIlS/k/6kDH+ML1iUVLCZmmHt2y9Ep0A9CQFct6srWf s2Rqa8iFC9faGtbm8JEFpCeOL7jAsrtkYewqiFnRm+ekeSEIIxlKJ2mCKJzfHNaYjNud nnSzVdUkv/3VFEOY4wzLtcVBNhvaMGEmTD+SXHpLRXl2t+xHmLJuvwjXUgoAizRRRdlI X33QxlhFHWizHReoISIuhJ3mOajis1KtSt0CTBHWby4Zljuan4cpf8gHlCUoZvhlRsv/ 7EWZpMh5BbadmClo0GY3prjFewsQPFbkDC3bz642m4lfEtct+1nzq50ZSBS+LLi9gtyG UFqA== 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; bh=pzIIdGErKdgCN9KWB3XBB7BCNch1AfQfWfeOFCfenRQ=; b=mj9+3AEKR1hg2Abae4WRc3QFnzaCCHWprIw0+Hrl8B/e3fNGIu38XXXCHVnPSg2aW5 aDXPdE8jEDBtB1vrZ9CL8IjSbd0ko5e1vK4SKZ9M07EDBuKukt97w9C+jpNC7SWYlJtK YOdlx5lXJrBy2p2WC3UyACNDL3BDAfJIYbCZp9gbPRxeFUVzV6AogUjesgQWzsvENTLW Z57O+adkdZ4EHMFFHrxkpaMgh7h2rJVvDVl6mBx5df99GUHthA3lWQEhMlNvEAA2MfZm DXiiHdejHQZftRj0/4D6dd/4/gsVCy+UkKrvgvumd87SX7mkSi6C42ezyspI9KAgxLgh CS9w== X-Gm-Message-State: AGRZ1gK2eob4f2lvrf1OvO3B0/43JquR4KVrkM0i7rEargnDGvuCIViw mQU64ldp4R1/1JWj2i/6XWgW3BN3kqM= X-Google-Smtp-Source: AJdET5cTVEFdBySm6g3GyDHM2z/0/5MkP4gKlUPBV6CVx5Kn4PGKMureorloRaNjOhP0UHktXhKYhQ== X-Received: by 2002:a02:1346:: with SMTP id 67-v6mr8331390jaz.49.1540757635392; Sun, 28 Oct 2018 13:13:55 -0700 (PDT) Received: from localhost.localdomain (c-73-37-219-234.hsd1.mn.comcast.net. [73.37.219.234]) by smtp.gmail.com with ESMTPSA id e76-v6sm5817771iof.31.2018.10.28.13.13.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Oct 2018 13:13:54 -0700 (PDT) From: Adam Ford To: linux-omap@vger.kernel.org Cc: adam.ford@logicpd.com, Adam Ford Subject: [PATCH] ARM: dts: am3517: Fix pinmuxing for CD on MMC1 Date: Sun, 28 Oct 2018 15:13:48 -0500 Message-Id: <20181028201348.11348-1-aford173@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The MMC1 is active low, not active high. For some reason, this worked with different combination of U-Boot and kernels, but it's supposed to be active low and is currently broken. Fixes: cfaa856a2510 ("ARM: dts: am3517: Add pinmuxing, CD and WP for MMC1") #kernel 4.18+ Signed-off-by: Adam Ford diff --git a/arch/arm/boot/dts/am3517-evm.dts b/arch/arm/boot/dts/am3517-evm.dts index 1d158cfda15f..c45aef806870 100644 --- a/arch/arm/boot/dts/am3517-evm.dts +++ b/arch/arm/boot/dts/am3517-evm.dts @@ -227,7 +227,7 @@ vmmc-supply = <&vmmc_fixed>; bus-width = <4>; wp-gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>; /* gpio_126 */ - cd-gpios = <&gpio4 31 GPIO_ACTIVE_HIGH>; /* gpio_127 */ + cd-gpios = <&gpio4 31 GPIO_ACTIVE_LOW>; /* gpio_127 */ }; &mmc3 {