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 */ >; From patchwork Wed Nov 9 16:09:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Jackson X-Patchwork-Id: 17647 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp423814wru; Wed, 9 Nov 2022 08:12:29 -0800 (PST) X-Google-Smtp-Source: AMsMyM72QpDAvfaklmMWcymfD0wF+ipgXg5d7PEJgAHkFhAwqZ/GbOGMpli6x3UsiFQ3Higi3zb2 X-Received: by 2002:a17:906:b801:b0:7ae:1990:5486 with SMTP id dv1-20020a170906b80100b007ae19905486mr30629154ejb.538.1668010349603; Wed, 09 Nov 2022 08:12:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668010349; cv=none; d=google.com; s=arc-20160816; b=CePG5qOeOPmuGVXx0xyfeaL/wP5eqRQ2qFGH+R7MZIn92B/FWWhtUD4z69+lJZnL0B 75Wp/++DkckJIHbOzQmqR566dplflV5QWqghOxmtk8x9NfdfqgsRoWanMmNABWfDzxJm NosAXOeVVMq/ttyz0GnZULjsKYt6gb82m+PZtRZey2l1Efbqi23HZ3VHCw/40Uzz28HX MzALAwrus3r8VcqH7gdCSrFwnaOh2f+gEjwTIfQYLhFvn/JqdqMKDBmscHfSzmMbaD8Q BGVxBC3O/9UJtJJWWp5UDdeGqOl0FkvK7+bXZJVfexlMedq6JkF7SifNocJ99MYN5rLh tcJQ== 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=A9lRrQgwNdzcRvhC7oNoTPa3Q44tE4Nwzh6uHCLmick=; b=G12yU11snuqHgK24WD7cZcF2GBIL933tC3K30GNe8BY6W7BjyZQGY5Kjr2wm8sDEQ4 dE5OIwRQCDVWLZYzJ+os9e3ouCC7kBrHby58yhOEbR5di0LfPJXtt7BECfXGhE43T1Ql 2TxlmMMQQtAcI0uthv9aD8D4BY6OLErnjSILnPeC5RG1xTZxgR4XKyREvn/ZjYyZqpVN c4CRgMnIYR2+Pm5CCxJrFdLle8W+O0ILcHvE5zrVUBBZGP8Zre7cmsfavUAMJqXtExGQ dl9UnTYd39bZxzbq3RQ8pxDuUHWuWcbBN8uToZGtU+Z9QapZJTew37L2bhC3HOzUjltg OtbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@newflow-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=377Ez3nM; 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 dr5-20020a170907720500b007ade01e723bsi17570582ejc.30.2022.11.09.08.12.04; Wed, 09 Nov 2022 08:12:29 -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=377Ez3nM; 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 S231600AbiKIQJi (ORCPT + 99 others); Wed, 9 Nov 2022 11:09:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231781AbiKIQJW (ORCPT ); Wed, 9 Nov 2022 11:09:22 -0500 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E8D822537 for ; Wed, 9 Nov 2022 08:09:21 -0800 (PST) Received: by mail-wm1-x330.google.com with SMTP id ay14-20020a05600c1e0e00b003cf6ab34b61so1575110wmb.2 for ; Wed, 09 Nov 2022 08:09:21 -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=A9lRrQgwNdzcRvhC7oNoTPa3Q44tE4Nwzh6uHCLmick=; b=377Ez3nMEOPsVJyOk9EU2zrf00KSzX6iezf+doSoqP4EwlPVho/P2c/4Dsw6l08Uag nckthQtc9HYabWQCcL635gyXZ+dB/nsRVPMzAJn0R3yN9XDN4b+HpIY2Z5Q9gBDdCeWY dbwAN0k842AreXl4x2vy13s61CUYP9oQ6nHsalUNghnpQ7gnZ93DuTafisM5LLKU6SqB qY7h1ILnHhyyI6ewmk0Md81vMlaon3GMytyG67jkWz5OSS9JuSHv7MJynrDn9OH17e8O R7YcuD4F4SsaKrO8i7r01RQq79hRgCu1vRyGb29jxv7dsDA0YYVcSwYmgJdmU1PziKSu DwSQ== 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=A9lRrQgwNdzcRvhC7oNoTPa3Q44tE4Nwzh6uHCLmick=; b=xQb0jBtQCPhgLfRDqjogiqfekKnzjOTis+CtWRv/JJE19ds3YC3ztZ/tDcd8cveno7 HG3gjmIHOlCTA/gwj4n8qmzwf8UjUNcuEzGihNAqlcIbJN6/l9yL+qmMRzI5IYlDrg2m zu78lANST6HZ7nY5xzr1bASu/z+Pid0PgndEcLzLaCFgSou8If+yr92saN9UdtKd9z5U QL5v8ESDXWMlZ6LKNkBsXxGkFqhM4XDt0I5Z87nbCQHFr7nIrbAJt3qzlaH2RQ/BMkHk c87f3E008cuJ06ocfI1GfBYXbkdIgjKhl1UQKWswVKArkVd99E6b8W7COEfy6Yb9oTO0 Nevg== X-Gm-Message-State: ACrzQf0ghQJVC5g7QvWjvN5mICzOV0bhgHUGshpkQgEBZElcR2+kPbuB bWrVua3qIylRhpqfhRMrGU8Jnw== X-Received: by 2002:a7b:c34a:0:b0:3c6:e069:d41c with SMTP id l10-20020a7bc34a000000b003c6e069d41cmr51051209wmj.180.1668010159869; Wed, 09 Nov 2022 08:09:19 -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.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 08:09:19 -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 2/5] ARM: dts: nanobone: Enable RS485 mode for UART3 & 4 Date: Wed, 9 Nov 2022 16:09:01 +0000 Message-Id: <20221109160904.183147-3-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=unavailable 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?1749035620724672632?= X-GMAIL-MSGID: =?utf-8?q?1749035620724672632?= UART3 & 4 are both RS485 ports. So we need to configure and enable this by default. Signed-off-by: Mark Jackson --- arch/arm/boot/dts/am335x-nano.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/am335x-nano.dts b/arch/arm/boot/dts/am335x-nano.dts index 05cbfe24f778..cecc2afaeff4 100644 --- a/arch/arm/boot/dts/am335x-nano.dts +++ b/arch/arm/boot/dts/am335x-nano.dts @@ -187,12 +187,22 @@ &uart2 { &uart3 { pinctrl-names = "default"; pinctrl-0 = <&uart3_pins>; + rts-gpio = <&gpio2 17 GPIO_ACTIVE_HIGH>; + rs485-rts-active-high; + rs485-rx-during-tx; + rs485-rts-delay = <1 1>; + linux,rs485-enabled-at-boot-time; status = "okay"; }; &uart4 { pinctrl-names = "default"; pinctrl-0 = <&uart4_pins>; + rts-gpio = <&gpio0 9 GPIO_ACTIVE_HIGH>; + rs485-rts-active-high; + rs485-rx-during-tx; + rs485-rts-delay = <1 1>; + linux,rs485-enabled-at-boot-time; status = "okay"; }; From patchwork Wed Nov 9 16:09:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Jackson X-Patchwork-Id: 17648 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp423845wru; Wed, 9 Nov 2022 08:12:32 -0800 (PST) X-Google-Smtp-Source: AMsMyM6XVlEhvT/l0azYYWi075Nc9zlhGkNLn7I9xAC/dosGxRUAKU9dplYfj/oOBl5gm38jxDrv X-Received: by 2002:aa7:dd45:0:b0:458:7474:1fbe with SMTP id o5-20020aa7dd45000000b0045874741fbemr60856540edw.334.1668010352195; Wed, 09 Nov 2022 08:12:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668010352; cv=none; d=google.com; s=arc-20160816; b=DFfBWcXG6pJx5b7TzCCVyYZEDtH0MzoR5p4UiW8zdbGKCEsvMnvs36yRUjocA0qwbS qRxW4WnQJLTkxpoLnWuaD830+qbzc09TA6QRGDDSv4BZ6SZpdPLtZmOo0wENh848JrmZ BE61Us2+aG+Ds8ac4KuLdrf2eYCxanTFik6jTkWF9vpoPalLGyPPUUaSOS5wwTfamU7r 3WqRpGtAOECQqUQqrNlwpcG9rxVZcviKF9DFQPSP0QztpZEixrRSOxktIv6qSAXOJ4bm EAlqGfST4UlHqbFa7nYASJesPgbp2srBGpVo122ZO8bD5m4f9JXu+KWe9pN8kbpLyfHg E3zA== 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=mZWwNSEAuMfkLC1//h9rhEQdeaWkxTtOogVUcqByABI=; b=STNpYETAtU9pxtF76NNQQpbyZS4ZxWORDg+/IakIJe7pO9IlV3g2efUeQKEwuNYflO XsLO7EfACgK8E/epbDuEZcDn8w9zyRUA0rxpbczMEFeMfzeKUGKyV7T3UCgaCryGJl3A PQKArLleJXEHumqsO9RHGRJfw4bEuqRn0HT6Fm5jt+QM9ibael2cPbbtFzPyZBfoln5s yWI6qdR7eI7EG0LmZ8dAX5vVjDkWkhXColmVCgUJGsAemzhrNLWLMesX3cTOJFAx6+Y6 xYkRBrtoN/Kf3qjn7xPD63kV54ra4QbInnIBF1gc4hk7NwMatct8sMj7Blii02FVUlek zFvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@newflow-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=DyyM7OXT; 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 u17-20020a50c2d1000000b00459195ae973si13423719edf.414.2022.11.09.08.12.07; Wed, 09 Nov 2022 08:12:32 -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=DyyM7OXT; 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 S231620AbiKIQJk (ORCPT + 99 others); Wed, 9 Nov 2022 11:09:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231519AbiKIQJX (ORCPT ); Wed, 9 Nov 2022 11:09:23 -0500 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DE4822B0C for ; Wed, 9 Nov 2022 08:09:22 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id bs21so26492179wrb.4 for ; Wed, 09 Nov 2022 08:09:22 -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=mZWwNSEAuMfkLC1//h9rhEQdeaWkxTtOogVUcqByABI=; b=DyyM7OXTB4UJmJ8I8T/ovHtsqnCJLeta8aQ4cnQBcoO2caXnhXcA61FKkwxeH6xXsC OlQ/gOBB5WZh15vqFGANySRt7ypc2/Xvfa/wjxBsGWaehz01Zf1X6cTqnYnmIp5/MErU vnRjY/u/4lHFoEbeTWv0FxVToQS/BC95P0yXrTP+8Gz3NVvcbSj9DE+HnrKtg8MCWT5q KZuQvHjZDWfSwRVkco+40tYcMqozj2r6IV6CkpQYbZ4u7o9b7u445ydSsJpVPT+9S/PR NPHx0SV4zmZsxSOJwbbMptyz+WjY4F42ZlDjeyf7GnMBfshbyHo9MEPT5vLrYJvvxcYu WPBA== 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=mZWwNSEAuMfkLC1//h9rhEQdeaWkxTtOogVUcqByABI=; b=aen8uk9hZEc+99BfPRBzxzxxaIc9yavsHkU5pry4vY/9o4PzC2zh06fuYQ92esbzs4 okIjPHtp6rg751gON1+dGp7RK0dRafPJ+wjZM4JJ9wOP72c8d1rCOWOLtFplbfgDxLGP wq+45hgZOr66n98OjK1RwT214ZYFdJ5Q6GnJ5yk6F3IHHlN8gXLzzyCK49UxnjwK3rSs Xzc6v9caND1mAB6gXDZm0EQRCp/25aVgOXTbiR+NW1WwsDFR5zCS8nzAPRA0FsPKtkWl NRtTW1lQiHLV4VZdH52OuUQ4ktniINIUtJej9ck6C+ebmGuz5LQskHqpK/Lo1X5mh1G0 PQjQ== X-Gm-Message-State: ACrzQf0PP2pOWUfZJFuh6trCUkUskfimJUxH5eoJzzm6IrB5xkr6IkFz +mV1jkZmTHIu6JdCmBHWb8uyGg== X-Received: by 2002:a5d:5643:0:b0:236:699c:6cd8 with SMTP id j3-20020a5d5643000000b00236699c6cd8mr39608243wrw.435.1668010160873; Wed, 09 Nov 2022 08:09:20 -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.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 08:09:20 -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 3/5] ARM: dts: nanobone: Enable I2C temperature sensor Date: Wed, 9 Nov 2022 16:09:02 +0000 Message-Id: <20221109160904.183147-4-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=unavailable 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?1749035623034786590?= X-GMAIL-MSGID: =?utf-8?q?1749035623034786590?= The NanoBone platform supports a temperature sensor on the I2C bus. Signed-off-by: Mark Jackson --- arch/arm/boot/dts/am335x-nano.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/am335x-nano.dts b/arch/arm/boot/dts/am335x-nano.dts index cecc2afaeff4..2be831927af6 100644 --- a/arch/arm/boot/dts/am335x-nano.dts +++ b/arch/arm/boot/dts/am335x-nano.dts @@ -212,6 +212,11 @@ &uart5 { status = "okay"; }; +temperature-sensor@48 { + compatible = "lm75"; + reg = <0x48>; +}; + &i2c0 { status = "okay"; pinctrl-names = "default"; From patchwork Wed Nov 9 16:09:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Jackson X-Patchwork-Id: 17649 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp423887wru; Wed, 9 Nov 2022 08:12:36 -0800 (PST) X-Google-Smtp-Source: AMsMyM6Ssl6Pqt0Btsqse+UwHHY2SVUc0fIY24PO6QTrcpuZlyt0Z8jXfTYXCQ7jUKx7ddcN93Ar X-Received: by 2002:aa7:c792:0:b0:453:98b7:213c with SMTP id n18-20020aa7c792000000b0045398b7213cmr60164548eds.159.1668010356095; Wed, 09 Nov 2022 08:12:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668010356; cv=none; d=google.com; s=arc-20160816; b=C0kVUlw4ut0Q5DIyAaLP4rp4h0/S4qqAg4RzdrH4XG9EV4IqeFUvPwPnxf+lfTJVnW g5R8SgMzmmAziwHGTBdDafH1d0IiDcS5CfOYdMPjEmk0zqjldLJgnRuTehErzCvapbXo clodygSWsH6U2KK7FvOQBO3ALMfEt6POfSbboYrP8O8s3ZASrPow5v/Uq6boLG52lOJh sfMjE565fc4C481xuEbeAPk6G4aGDsQuZ3eThP8XzY8CLA/h5oXjyiir5ZgqqObMOSjH beJHwsGfKoNdILy9OT3wx1xGlzYUjCSBbBtmYiplMYAI1J5g3KcVOTBZdNE9J/QM5GPm i0/g== 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=uQX/z0Y84XYNMSAACNl+rS33XaUw6j8xDZvxptKeil4=; b=P5l6i4GieN1Csts4BUsYIfyW0Y9CDi6+Ypq/0c/G2CiiTzR/bhs6Fv3q4kbDC3URGn VVeA3BAv2pGxcU4i71u+hT1pEg703TdwEFc+AgZGM96lBhIBao2YdRqtoirD9+xQ77mu x8tMLyeU9exCfE9qBCWS5FbZN2p6loINqYR0/M+sYIHx73EZRsz9vs0ZETZjtZzWF9X2 qc7+ja1gkkbiVZsgJUJRoUtvjMLgHFTVztWWsCeFmbNx/6DngPjnFLCbHkqWaDfVtj6/ srt02opJ7RK2UHC2r3Q74u6SCJo3Ox7bIm1NnMx3jJfb8Wg/WZ3B/ucz4PAc+bH26dvp gHYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@newflow-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=L7D6YyDZ; 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 qw13-20020a1709066a0d00b007ae75e99fffsi7942043ejc.487.2022.11.09.08.12.11; Wed, 09 Nov 2022 08:12:36 -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=L7D6YyDZ; 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 S231666AbiKIQJo (ORCPT + 99 others); Wed, 9 Nov 2022 11:09:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231458AbiKIQJY (ORCPT ); Wed, 9 Nov 2022 11:09:24 -0500 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50488220E3 for ; Wed, 9 Nov 2022 08:09:23 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id z14so26485509wrn.7 for ; Wed, 09 Nov 2022 08:09:23 -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=uQX/z0Y84XYNMSAACNl+rS33XaUw6j8xDZvxptKeil4=; b=L7D6YyDZ0MHtIQ+EDbTTj4jYmcZjGVoSIBZc+gvwub7Ftfg6CgOO79X23AKCMWZJU7 8qnXePWDD1btaK4k166zgi/jENxXTRjggDVG4P08Jy/tV+ZFIe2VfpcGee1yeZbAKoKq I4TtIV8wSp6+F5YAsU9Ff7hd056JlFc3qURb3nifPQvCpK3yI0GobIIdTY2LyYp5nM8z Mfvv2jbRVE5uFAhqzANI9IGtxNg2/UgNjHLo4xZoUHCNiVbdlOW2SJqDvyVy6Sxnj/UG 0V04RXbKwq1kedTsAgQI5XaeqqrKZCJW01mPZ/86yDzn/8ZbrkVKzyJAaQ02eNZBida6 /PYw== 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=uQX/z0Y84XYNMSAACNl+rS33XaUw6j8xDZvxptKeil4=; b=KrA1sxoiSMt2qNLA9PT3ZXA/GqSdCauVp2O/1dYvNsJv2CfHTjDA1EAVSOBvEFZWEO Qi4ysr4Dyca/xiMx+MYAFRKOY7o1B+pkRczphJhFc6SNda32mgHF7/N3f818erPY905v 16if4eksGiIjTIzB6JaE/ysUY2dlQd9n/ZGuop0gNSF6rxi5fIbSIPLktvFT0CaVAvkw OjebQ+DB+FT1RasJpkzKKE5gmPc6uh+gpm/Cn3390AaaSh9az81WkagyudAfFe3aHeYc AT4OhjPC6lq9FkVLjDqegI3kEIpAf5hOmSu9XnyZozT7WkczJmS5e9cCpBSHiunx1FL+ 8HZQ== X-Gm-Message-State: ACrzQf0xIDtpthGaPS0RuJzgyeF7zjYRAoIc6Rcbx6vO/Iv9fAsv7uwe v5D0s5ejIPFevMnsrSJTnCm4esjgJZnRUT4PW40= X-Received: by 2002:adf:d84b:0:b0:236:e0da:61b7 with SMTP id k11-20020adfd84b000000b00236e0da61b7mr30671488wrl.79.1668010161881; Wed, 09 Nov 2022 08:09:21 -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.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 08:09:21 -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 4/5] ARM: dts: nanobone: Fix GPIO settings for MMC pins Date: Wed, 9 Nov 2022 16:09:03 +0000 Message-Id: <20221109160904.183147-5-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=unavailable 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?1749035627269661149?= X-GMAIL-MSGID: =?utf-8?q?1749035627269661149?= 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 2be831927af6..728164298a5e 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" From patchwork Wed Nov 9 16:09:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Jackson X-Patchwork-Id: 17650 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp424007wru; Wed, 9 Nov 2022 08:12:47 -0800 (PST) X-Google-Smtp-Source: AA0mqf4ugpYFoxO7Fejt01965cmqiwr5UajzvkpRyWjdQiQLWsKevOfqBxyQ2FbsiH15l7bzr5eB X-Received: by 2002:a05:6402:530d:b0:463:b0cb:50e5 with SMTP id eo13-20020a056402530d00b00463b0cb50e5mr8148431edb.45.1668010367558; Wed, 09 Nov 2022 08:12:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668010367; cv=none; d=google.com; s=arc-20160816; b=emI6RKDFCanwBE/0UHdh5rLR3DjQW1jeTjiYZNVBoGPXFolkx64Q7s3ZkL3lXGyrcp kwaRzqTrSe3aXAAztVhqzKt/VHswT1O67AWl8plNay5weueYk2ux1p5Ki6RzrPDcnq+f 41windl/8dnL+5uEfldxWvsE02drU2kIGeAtIY8//gaiGjlTwIZga1ox0bjSH+Jt6gZB fBdDiXla52cYHs4Xz8bHLcfUsb3+Jq+HyCFVm4ATchdvR4VokMsTh6MbDHeLSlmo14US HZtfWBbhxYEM9D8j6inPMEeqCVbgxHOK26DSPo93KiK0hV0N6lPP0YAipoC2WVteMkV0 f6XQ== 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=qy2f8+NzXqqh+hHluSqYA8rs21AngxEcIYG3EwxYgis=; b=VMIzPXMT/fdXOdRQR3hrZTXFOZLspI8ZfzJdp5x/mQVIudJPhIH/oboUUSX8beaWTY 5raovleFBhr3i0ZGEl/vE7cbV3UhwqLh+TYhI6n3963uWSCD8GETpoajnsfUMniFVITE 4CMUuCcXAAwE4j+A3TiSb9sZkkqYnhx4jLPJoxiDb3xsrmd9ixqdkmHQs2/B5OgN9Q0L jtAXXPkMhwKICOiHYPJ/Kn14mM/PSlNg/f2/E5J+lSqZT/Rzs+RZpRm7DanLx6DJARID utLv0E0VNQLJG7X8sq1dDZhUaszk3qYhi74KXEsYQ04O0OUpqODD/OjjTmdP4H+vwZzG dWxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@newflow-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=XPHxngsF; 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 wu11-20020a170906eecb00b0073d74bcac8dsi17991860ejb.513.2022.11.09.08.12.22; Wed, 09 Nov 2022 08:12:47 -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=XPHxngsF; 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 S231672AbiKIQJs (ORCPT + 99 others); Wed, 9 Nov 2022 11:09:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231527AbiKIQJZ (ORCPT ); Wed, 9 Nov 2022 11:09:25 -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 4699622B1B for ; Wed, 9 Nov 2022 08:09:24 -0800 (PST) Received: by mail-wr1-x42c.google.com with SMTP id k8so26519326wrh.1 for ; Wed, 09 Nov 2022 08:09:24 -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=qy2f8+NzXqqh+hHluSqYA8rs21AngxEcIYG3EwxYgis=; b=XPHxngsFSQWue5/ZKwoWGPpRSKFXWSnBa+6is4ftxGzhgzZYsXOceU9y1WN5JtVn1B aUiiZwBBdtB41SEVfqzVa/PikXsXGL1DrArg8Wv69qjCeaX8lirPnjTb0ASfilOtraGy 2EI8ckjZXxgHO+ndRxlRY1JuCfJ8MfSuOtzIuSRvvOZN4/Tbi7Ca2fLNVMOAlbe5auY1 aqXuIGSemPtRn7gTm2BiU3i3V6pem2ToV6TF8q1WiPWNYfDhdj6cK1Z23+c2UpASLvQv i3iplUkCgb7oFZjHTmRTsIsFXPLboquP5m8L3JeS+GntDH7zb+pWOuXMKzyV4yKf5eu9 O3Fw== 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=qy2f8+NzXqqh+hHluSqYA8rs21AngxEcIYG3EwxYgis=; b=jb/zsuEDx7Z+5trXWobbUNiVcG4siN3E0w3iuI/YVv0hBo5HjXytPKilCpCHxuuU7C ogZchOyF98XBXQDKlFSWZMdCtQIWL/rmUIc6+FBG6/4eM3ywIEDEatSDlRHvifBqnFYQ 8EYHk2zzXQO+uRZJImdinsUlk/7BSJe/o2Gy8bf4qib6PN3gW8GfvJA4xdSIyIMsalHz PFgPMp+0IfIPcO5Qn65QK7eyWuDeGI9ggSSvhc5JnVzcImX1k7RoFvOEB0SJIuYGTo6t ECNkK6i+yhc0sBFGKln8vAYtlVpbt76lipZHSj6QVimC+lU5zgsewtECtqwUwYXkESk9 lzCQ== X-Gm-Message-State: ACrzQf1CQVrz3iJ/03jz/zha+Gj7rM8D/U236eje915KeMYP3Y7S+qlH sCu7dvCwveJ5qeltHkbA313vow== X-Received: by 2002:a5d:58d7:0:b0:236:6c53:6123 with SMTP id o23-20020a5d58d7000000b002366c536123mr39987592wrf.719.1668010162874; Wed, 09 Nov 2022 08:09:22 -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.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 08:09:22 -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 5/5] ARM: dts: nanobone: Enable USB host Date: Wed, 9 Nov 2022 16:09:04 +0000 Message-Id: <20221109160904.183147-6-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=unavailable 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?1749035639102128963?= X-GMAIL-MSGID: =?utf-8?q?1749035639102128963?= Add missing entry to enable the USB host. Signed-off-by: Mark Jackson --- arch/arm/boot/dts/am335x-nano.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/am335x-nano.dts b/arch/arm/boot/dts/am335x-nano.dts index 728164298a5e..61af12b70688 100644 --- a/arch/arm/boot/dts/am335x-nano.dts +++ b/arch/arm/boot/dts/am335x-nano.dts @@ -423,6 +423,10 @@ &mmc1 { wp-gpios = <&gpio3 18 GPIO_ACTIVE_HIGH>; }; +&usb0 { + dr_mode = "host"; +}; + #include "tps65217.dtsi" &tps {