From patchwork Tue Nov 29 16:08:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Jackson X-Patchwork-Id: 13058791 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 10512C433FE for ; Tue, 29 Nov 2022 16:09:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235138AbiK2QJv (ORCPT ); Tue, 29 Nov 2022 11:09:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235637AbiK2QJj (ORCPT ); Tue, 29 Nov 2022 11:09:39 -0500 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FFAA1FCDF for ; Tue, 29 Nov 2022 08:09:38 -0800 (PST) Received: by mail-wr1-x42c.google.com with SMTP id x17so22853445wrn.6 for ; Tue, 29 Nov 2022 08:09:38 -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=ZR/e5pS570KyGvQv04N6X9arFtmhgwl0szN5vI4tZCuQSQxBEpD+6qULAwEjfrIg5D TjLNRm4euqGS/fYinUVcO9/YXTWmM9cgZslsvJVUDfYGnVm1uI1UH7nMy8DRyBJ731l8 WIc3osWkfQc9A8RSPastAAm/TyY8FpZEBT9AL0feSGz53BL2Z7Qv6uOyN/3lXnh8UEff RGTCP3YP+XdUcZ8Vu5TVPbtTzWXvGtjEmu24tSKkN2T2b5DBxrTtGvMFtzUwSEWaCRQ1 ZuSWXw5XfRItkJXD3vm0bzAxuAVGvKlp+LjljobejF7oVIgeTHFDsgmgXliEnPMAawaw 5iUw== 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=1e7AjAzDcTYV82De9UC29h5OPHY/jq3l0fH4TUDk1BLytDJLxQlJz4dZ8uJuP8Q0vd Ok2G9GPL/L9wjjj5rcEwfHFalWOnvbSpW2XswmcWJGmHfBFJm52SbwTFRI5zYU4Fpae7 JgH/Qa/XcbvYGuPBVIw43+vgJ5L8qWLsjUtiq6lU/r/Lxe2wUV7im7BX0yC04/yOiNTZ f9ag19JD1lxT0e1RJWqeUwzuQYxghIxAjeVpgVKTABx9o0q0Zi8g0r2mAS7K2tYxF+1f h0yji1cTRo+MDrtqIiEqFYF+DOiTec+RwP4GzuLYMQ0i4JStGpMEiaXIfMeT/OUMreZX svAQ== X-Gm-Message-State: ANoB5pkVW9mKC0iod0z01SIFeO8Z0lhPtRsZ02ZCJZ+x5yTb6pQeR7ce ehGzrqV18p1K6dQNJ9RC9hQoTQ== X-Google-Smtp-Source: AA0mqf6GT0U9KltCoqCWDhICfkfaOnk7CZjLe1EfWefra9rd5OFohyhEJH+BDYtkQYFcsqhz2kT1mQ== X-Received: by 2002:adf:fdc7:0:b0:241:d7ab:db8f with SMTP id i7-20020adffdc7000000b00241d7abdb8fmr26276019wrs.285.1669738177108; Tue, 29 Nov 2022 08:09:37 -0800 (PST) Received: from mpfj-unity.. ([94.12.112.226]) by smtp.gmail.com with ESMTPSA id y18-20020a05600c365200b003c6c5a5a651sm2477572wmq.28.2022.11.29.08.09.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 08:09:36 -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 4/5] ARM: dts: am335x-nano: Fix GPIO settings for MMC pins Date: Tue, 29 Nov 2022 16:08:17 +0000 Message-Id: <20221129160818.276696-5-mpfj@newflow.co.uk> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221129160818.276696-1-mpfj@newflow.co.uk> References: <20221129160818.276696-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"