From patchwork Fri Apr 27 02:24:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 10367337 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 7E9A56016C for ; Fri, 27 Apr 2018 02:24:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D0472928A for ; Fri, 27 Apr 2018 02:24:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 61DBD292B2; Fri, 27 Apr 2018 02:24:38 +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=-2.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 B7F8F2928A for ; Fri, 27 Apr 2018 02:24:37 +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: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:In-Reply-To: References:List-Owner; bh=BLNdMKxLJ964waeuHRXAbk14D7kzBX8+EBb+1EXlxlo=; b=WW6 Uysvh2FlQUmjKRd9WidlNDhuJxJHhSd8y2dBCqdVAjuAtqJF1lgEHzDI9mmpOrCq7PwoP7JNg8Tre gYrUrFEEPFvNgZjQ2yn60cGMDSCZC6Q3dD5Frug1p34sig0uzbhsLRMFy8PCMo/XOG4igRKIu33ox jiyDe8NtDdHt7blV5klvw8IvbjQrkwx64vkNWgVwmAUQ0ph8FkYgzvptf+/Yn9OztE34gAojv9y5J jOEVDzuLSG5IKuHBfAjgDrA+9adjZcRAI++M7m4SBS3sKUpjIuYk3sZD4siGojJxB9Wr5nVwOzUqB U8tC+updxWJQRuf1rBnC6HQO6jW8PIA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fBt3o-00025G-3r; Fri, 27 Apr 2018 02:24:32 +0000 Received: from mail-io0-x241.google.com ([2607:f8b0:4001:c06::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fBt3k-00024L-7G for linux-arm-kernel@lists.infradead.org; Fri, 27 Apr 2018 02:24:29 +0000 Received: by mail-io0-x241.google.com with SMTP id e12-v6so814783iob.8 for ; Thu, 26 Apr 2018 19:24:15 -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=kfK7eTKzRl9movUWdy9fQ8sjKddvumR0z8gerJcpooA=; b=NzN0HRQWOc62jKP9wPNgvERggWd9gr7q0H8c07MLsDQye8BwlAbUlcvpw7LcDhEucL 6d2qVfF6pztoIbawUWSbwUx7VSOfw8CEFFjr84+pEtJa4+15SlKD92tyExJyw+GD1iIh DE7BNopYpWaHyU4jXFfczrwIcHb0HEGGlYxLUpxEn00AlHxlZp5Rogfkkv/dgG27+aYU OtX3XEuLMsbJ4LHNlbRsm0bgABvghsPHQUzj9lu1JLvFEO7X9Gn/EWWlE4GfTRIe17zF fFKXHBXe5W6BUXJSU4KTF2OaZoNA2oSOTl6vfsS3rdn47NxwwuUQhrw0JDgQvIjngr18 pxwA== 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=kfK7eTKzRl9movUWdy9fQ8sjKddvumR0z8gerJcpooA=; b=piyEhxAHXL/bJK9ONyWS4llLRv49BEHhxe4LCrRTN6tppZ2fXJzlqfuDerGeUs3DAz 7npf3hLmVbnPs7GaMipMDXvzJR5hICE+PwBlIe0NlR0iee+ArHQRCy45IUT5yKrUZ3Kh jaRrEaoqDpl8YnA34BqkJ0SIcKW2ul29904k/Rg4On8KmSAiogGBjrp6XQu2prk2nEwl NBd020plfNyNABeVVbxDw7SkSgbuYLt4nfcr4qsQew47CnZfrOfvjc4JC7GZCcGqXTnd uLBZGEzvyhh3EfdX7YSyD9JBRdOpi8M0zKBmudoflUGwRUAz6LbuyXd9mlqoAryebJd7 bxTQ== X-Gm-Message-State: ALQs6tDYmJFrXmA3/KA1pzZ2e9aOZYwCofzULiT345xH8Ww3EalpkkPP ZQHBaOxqdtQwynnbj1Cwq+NLBw== X-Google-Smtp-Source: AB8JxZqQZjuCltqtp5xNnbCaxdcVbZleKet7zkhukZHDPurCoFZ5Fu96z7y5nheV1/NLOOypLnD6xw== X-Received: by 2002:a6b:9c8e:: with SMTP id f136-v6mr393618ioe.139.1524795854799; Thu, 26 Apr 2018 19:24:14 -0700 (PDT) Received: from localhost.localdomain (c-73-65-120-235.hsd1.mn.comcast.net. [73.65.120.235]) by smtp.gmail.com with ESMTPSA id u8-v6sm57463ita.23.2018.04.26.19.24.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Apr 2018 19:24:14 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Subject: [PATCH V2] ARM: dts: da850-evm: add WP and CD to MMC Date: Thu, 26 Apr 2018 21:24:09 -0500 Message-Id: <20180427022409.13105-1-aford173@gmail.com> X-Mailer: git-send-email 2.17.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180426_192428_284075_92AE90D0 X-CRM114-Status: GOOD ( 11.12 ) 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: Adam Ford , nsekhar@ti.com 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 The legacy mode uses the write protect and card detect but DT has not. This patch enables the pinmuxing and detection for WP and CD. Signed-off-by: Adam Ford --- V2: Rebase on davinci master and remove GPIO pinmuxing arch/arm/boot/dts/da850-evm.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts index 4c59dab3362e..a56d43d53ba1 100644 --- a/arch/arm/boot/dts/da850-evm.dts +++ b/arch/arm/boot/dts/da850-evm.dts @@ -107,6 +107,8 @@ status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&mmc0_pins>; + cd-gpios = <&gpio 64 GPIO_ACTIVE_LOW>; + wp-gpios = <&gpio 65 GPIO_ACTIVE_HIGH>; }; spi1: spi@30e000 { status = "okay";