From patchwork Wed Nov 9 16:09:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Jackson X-Patchwork-Id: 17646 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp423617wru; Wed, 9 Nov 2022 08:12:10 -0800 (PST) X-Google-Smtp-Source: AMsMyM5hIfJUSI5XZeTVfdpLlAATWBUI1YYysoExGuscIEmGaUxcElssIIruOXOQS5IYAZs/dgfS X-Received: by 2002:a17:907:9546:b0:7ad:4a55:5e19 with SMTP id ex6-20020a170907954600b007ad4a555e19mr1350474ejc.65.1668010330057; Wed, 09 Nov 2022 08:12:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668010330; cv=none; d=google.com; s=arc-20160816; b=aWiEBBp7ESnteajJ3xUxl+1XlQVdHIhdBAer4xyD7Pxe2n4Awikem76fsM0TEvCQUG k/Lr9kaOGOJpyo2GBNUMCD303H0IHNitDFPLRsq/N7q6TQsa/4TG4T5pBuWrDMFFE/p5 VE5h1dP2CXT0chWhq0L/BDdaMFjZVstF6Lwggi1lSfFfTsyXHtlhN99hqwB157Xr+fy1 Kf8SCoHVbWC+Zn+4OB92xIUS3R8SpbbFN/zQBcNjluJf5G0CfQL9NSO9GqUNTNlXESF2 pdi2xh0B2dNmO4u6wXuJEsMwvQX8w26+JyQlWtIhlvBujcsHXfziKJ0ytZNPX0jb8C3J RdsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=eBK4M6em14NDAYl08ahmQwtvd1CwNFvnLrorbySUXHw=; b=Yg6X1OHTUIwQKmr+2YOpu1KjtuYYsv7hJE01d6wVRU70xv1rMd3JS5PQaN+UuwHpBo yWpNAe+x5kpyRJMPwz/44UEXZ7lyLN/Kuctd8xHUfMNstjHkkqgpxuxUuZQr/5JQ3+sL TtJG7EzbHVCWNzS2wFW8yPw69sIrzyyxYsCgcDkS9Nx+K93KY4UrwsAwXY0syvR3N/Pw NMgUExmmsiOx3e64XN9svTq2B7vkaE3LTxtjVSU5+EkjxyuR3y+3w4HbemYkZvtvBCz9 g2AieHE0AZl3DhIoG4fPCT11e0ULWIxI+eVIFvwBt4W+OFibpyfJ4wjPDpnQ3PIG//3O I+eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@newflow-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=eA0Rz0xz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b20-20020a056402351400b0045743696acbsi19301445edd.139.2022.11.09.08.11.45; Wed, 09 Nov 2022 08:12:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@newflow-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=eA0Rz0xz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231514AbiKIQJf (ORCPT + 99 others); Wed, 9 Nov 2022 11:09:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231738AbiKIQJV (ORCPT ); Wed, 9 Nov 2022 11:09:21 -0500 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 447CCFD3B for ; Wed, 9 Nov 2022 08:09:20 -0800 (PST) Received: by mail-wm1-x336.google.com with SMTP id i5-20020a1c3b05000000b003cfa97c05cdso1565665wma.4 for ; Wed, 09 Nov 2022 08:09:20 -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=eBK4M6em14NDAYl08ahmQwtvd1CwNFvnLrorbySUXHw=; b=eA0Rz0xzZ2vh6exn1saL0VAyz6h/yas7xOMIohoejnFwJeu+S3dVlIhuU5swEWgJbP GegjxhCNDdKzQ631KPcvpWshjjXfF9j6iW7dTTTBLRtMhuRo/FAZN/OZpUyq9ZKgnXGb zGPFtVpEadvXTHKixjUX8H6bYd+7Zod14QbSEgZoGcZyRm6wMwsjz0p7Ym1yegeaMvUR 7iwVXht2WrXK7rqsOmE/C70p5Z+jK7klA2U3CfluvDzM79FkGyjCibZiZvhYzo2nfPJv kne7wvvog4vxCAebsjf39a2jBjEITSMfsjU36sXf+82nbkI7JUn5hrHqCaJkft89+uHd ocEw== 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=eBK4M6em14NDAYl08ahmQwtvd1CwNFvnLrorbySUXHw=; b=vnrNdTPhrmnxobB4YXwyxq3OSCLFDKmkGuaRvEeAnfZjKD3Cc15c60cYNJgueDpf4R LepWqwCFAzrUYr36hAhZNhAjzBxS03/mzDXLN1ep2CCCO/rrjaSxrjuSxZkegkGouzyt oi7y0loCiz+iWDx1Yq2g77xLZ/89ESb4VT/qnlPHe5Y3cfKFmYcOw7TudSExz5NjWKxU pToCjcj3r75u1sHJanE3uIEMmOBFTumhWlul3cY554uHKb//WL687xCw1nQl7kn+82Zy LokHhVZeYiRk0dURtjOHCrxdPkkQ9LH8SHFNL9NpvGjDBsMkojwE4ZNBriEa78eoZhIl nEEQ== X-Gm-Message-State: ACrzQf3JVq0zpfofzzbUUmazLdL+in/MVS3CLzsdchABFIJiVsq9cpr7 DlmTzCBiAjBmDfZhR2w+FvPEYw== X-Received: by 2002:a05:600c:448a:b0:3cf:a359:9f4d with SMTP id e10-20020a05600c448a00b003cfa3599f4dmr14719246wmo.133.1668010158775; Wed, 09 Nov 2022 08:09:18 -0800 (PST) Received: from mpfj-unity.. ([94.12.112.226]) by smtp.gmail.com with ESMTPSA id n4-20020a5d6604000000b002366fb99cdasm13307772wru.50.2022.11.09.08.09.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 08:09:18 -0800 (PST) From: Mark Jackson To: Mark Jackson , =?utf-8?q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Rob Herring , Krzysztof Kozlowski , linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/5] ARM: dts: nanobone: Fix GPIO settings for RTS/CTS pins on UART3 & 4 Date: Wed, 9 Nov 2022 16:09:00 +0000 Message-Id: <20221109160904.183147-2-mpfj@newflow.co.uk> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221109160904.183147-1-mpfj@newflow.co.uk> References: <20221109160904.183147-1-mpfj@newflow.co.uk> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749035599524797649?= X-GMAIL-MSGID: =?utf-8?q?1749035599524797649?= The NanoBone platform uses GPIO pins for RTS/CTS control. The DTS still uses the hardware RTS/CTS pins so this needs fixing. Signed-off-by: Mark Jackson --- arch/arm/boot/dts/am335x-nano.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/am335x-nano.dts b/arch/arm/boot/dts/am335x-nano.dts index b6f2567bd65a..05cbfe24f778 100644 --- a/arch/arm/boot/dts/am335x-nano.dts +++ b/arch/arm/boot/dts/am335x-nano.dts @@ -120,8 +120,8 @@ AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_OUTPUT, MUX_MODE1) /* spi0_d0.uart2_txd uart3_pins: uart3_pins { pinctrl-single,pins = < - AM33XX_PADCONF(AM335X_PIN_LCD_DATA10, PIN_INPUT_PULLUP, MUX_MODE6) /* lcd_data10.uart3_ctsn */ - AM33XX_PADCONF(AM335X_PIN_LCD_DATA11, PIN_OUTPUT, MUX_MODE6) /* lcd_data11.uart3_rtsn */ + AM33XX_PADCONF(AM335X_PIN_LCD_DATA10, PIN_INPUT_PULLUP, MUX_MODE7) /* lcd_data10.gpio2[16] */ + AM33XX_PADCONF(AM335X_PIN_LCD_DATA11, PIN_OUTPUT, MUX_MODE7) /* lcd_data11.gpio2[17] */ AM33XX_PADCONF(AM335X_PIN_SPI0_CS1, PIN_INPUT, MUX_MODE1) /* spi0_cs1.uart3_rxd */ AM33XX_PADCONF(AM335X_PIN_ECAP0_IN_PWM0_OUT, PIN_OUTPUT, MUX_MODE1) /* ecap0_in_pwm0_out.uart3_txd */ >; @@ -129,8 +129,8 @@ AM33XX_PADCONF(AM335X_PIN_ECAP0_IN_PWM0_OUT, PIN_OUTPUT, MUX_MODE1) /* ecap0_in uart4_pins: uart4_pins { pinctrl-single,pins = < - AM33XX_PADCONF(AM335X_PIN_LCD_DATA12, PIN_INPUT_PULLUP, MUX_MODE6) /* lcd_data12.uart4_ctsn */ - AM33XX_PADCONF(AM335X_PIN_LCD_DATA13, PIN_OUTPUT, MUX_MODE6) /* lcd_data13.uart4_rtsn */ + AM33XX_PADCONF(AM335X_PIN_LCD_DATA12, PIN_INPUT_PULLUP, MUX_MODE7) /* lcd_data12.gpio0[8] */ + AM33XX_PADCONF(AM335X_PIN_LCD_DATA13, PIN_OUTPUT, MUX_MODE7) /* lcd_data13.gpio0[9] */ AM33XX_PADCONF(AM335X_PIN_UART0_CTSN, PIN_INPUT, MUX_MODE1) /* uart0_ctsn.uart4_rxd */ AM33XX_PADCONF(AM335X_PIN_UART0_RTSN, PIN_OUTPUT, MUX_MODE1) /* uart0_rtsn.uart4_txd */ >;