From patchwork Wed Nov 30 14:05:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Jackson X-Patchwork-Id: 13059889 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1ABB4C4708D for ; Wed, 30 Nov 2022 14:06:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229736AbiK3OGc (ORCPT ); Wed, 30 Nov 2022 09:06:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229726AbiK3OGV (ORCPT ); Wed, 30 Nov 2022 09:06:21 -0500 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D41B4F19A for ; Wed, 30 Nov 2022 06:06:19 -0800 (PST) Received: by mail-wr1-x429.google.com with SMTP id bs21so27249859wrb.4 for ; Wed, 30 Nov 2022 06:06:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=newflow-co-uk.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=YmPa+knot3YDUCqalKlJVkyrJNSYU8WAPL5glC3+iuk=; b=tBrTWpUni2WldZziqoWqCnmX+s7fB0Z+i7/GE8YtjEhzoiSWa9n9JxRiUSbcCCCt9L R6j4738fB4o8UR1CND0nQzO9ZNt7Zl0BBfKbuASfuFqbpDzojBRj+0hASWAjxMT1tkVD Vab1GXjRzjnS7Pcfc/4jvPyYvQY2DcWRklCJGwzfgLWFrK0ZBv3yOtTSHnubCh2dw5/6 RZKTo/KO9itmj0tqxi0cY1ZrHgPMQv4+oJIsa833/skTlBSiV5wYE/dbQyWoyZxEn1/2 NzXQSr+RSTuOd1nBgDK4zQOBrmGDwyZF7BzV7pYSg1hicHjS51/mI/ZaohS6sqwsG3rS W5FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YmPa+knot3YDUCqalKlJVkyrJNSYU8WAPL5glC3+iuk=; b=TnDYjvVoXbJO3q77KxrE79ciu3qTwS7tAo3XRklMJnXX0mvCt7+7iS/Xc+ETP0YxIj jJm86RuaNuTZj5DNMQvTxIuxakQtRVQcQDU32twzhmbuMBUt2yQ6i8dUgcJHd6yH49Lc yjBwQk2XAQDzeMfQ/Twj8ehyGogvgY8uMRD4fZiX376MSS37Y+Hi1OhMNrUo7R48K85D WNPMTdKb91j7Un4HOvdvLCakscmUcZXEuxROUvStI2YhdWr4MfEW5cRkqW3fWE6/Hocz kCmnIM+fciSGQv0H/98Lu5BbGgGUncdOwXJ0OSXruGTS0G8fSz26oQNI6iyR1mMJlojD rXdA== X-Gm-Message-State: ANoB5pnrb29Me5FRulDOdpqek7x56n+U8VRTMdYor8ALANcQBoAfqJjx 9ogIJX+KbIngKBgsZTbfYNFp7w== X-Google-Smtp-Source: AA0mqf5XOIYaklTWEnWoa4T3BjTjSzwtUZIRVFVfQhZEvXrHRfHwxemA3QGt13z94tChsEPLGvKvfw== X-Received: by 2002:a05:6000:181:b0:241:c6f9:3e5a with SMTP id p1-20020a056000018100b00241c6f93e5amr29041409wrx.157.1669817177933; Wed, 30 Nov 2022 06:06:17 -0800 (PST) Received: from mpfj-unity.. ([94.12.112.226]) by smtp.gmail.com with ESMTPSA id v128-20020a1cac86000000b003cfa80443a0sm2062542wme.35.2022.11.30.06.06.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Nov 2022 06:06:17 -0800 (PST) From: Mark Jackson To: =?utf-8?q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Mark Jackson , Rob Herring , Krzysztof Kozlowski , linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 RESEND 4/5] ARM: dts: am335x-nano: Fix GPIO settings for MMC pins Date: Wed, 30 Nov 2022 14:05:46 +0000 Message-Id: <20221130140547.295859-5-mpfj@newflow.co.uk> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221130140547.295859-1-mpfj@newflow.co.uk> References: <20221130140547.295859-1-mpfj@newflow.co.uk> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org The MMC slot uses GPIO pins for Write Protext and Card Detect. Define these so everything works correctly. Signed-off-by: Mark Jackson --- arch/arm/boot/dts/am335x-nano.dts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/am335x-nano.dts b/arch/arm/boot/dts/am335x-nano.dts index 960ef1384bbe..58062cec39c0 100644 --- a/arch/arm/boot/dts/am335x-nano.dts +++ b/arch/arm/boot/dts/am335x-nano.dts @@ -418,8 +418,9 @@ &mmc1 { pinctrl-names = "default"; pinctrl-0 = <&mmc1_pins>; bus-width = <4>; - cd-gpios = <&gpio3 8 0>; - wp-gpios = <&gpio3 18 0>; + cd-debounce-delay-ms = <5>; + cd-gpios = <&gpio3 8 GPIO_ACTIVE_LOW>; + wp-gpios = <&gpio3 18 GPIO_ACTIVE_HIGH>; }; #include "tps65217.dtsi"