Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp20716775rwd; Thu, 29 Jun 2023 06:14:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6rIykQsj7o34BRd54SVTmkqoMV399geHw5RcV+CGRPxH0Y6emCm1ZAip5CFHvY5KbQKoJY X-Received: by 2002:a05:6a20:734a:b0:122:cb38:636a with SMTP id v10-20020a056a20734a00b00122cb38636amr22740369pzc.33.1688044477569; Thu, 29 Jun 2023 06:14:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688044477; cv=none; d=google.com; s=arc-20160816; b=u/e1oEbZT0x+nC3V0dgr9b1evfSmLSw4sLVqEZcf9GNE/dsV1WqzxhY9zqtIyvTg9K TpCOLmkBdCnqTkt6D8w6nGrqfZW0WsseCa1ETtLVLY7LAL0dsy+mAuy5bqS3rQeGYFdS AfAh66OFCzz6LSb6B4kjm6y90SxJlNavAvDhZni7F6cGKuyAIV5lSI/7mciXQ5bPcS/G ey5u7/640/N9rLs8Hr6DB+mlDhok0FpDhGv9eAjrydj8gdpb/TieE+1Gm1FjKKB56THm UKxzZ51fuWU9S4qNmT41Ax/KJTkFPmyJpskIyl8HliGt8sbziE8zKYfClvEpY8CDlZGY gcsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=If9xo6kn4YujIxJM57M8VcoisAQkvWP6F35kjaMRoCU=; fh=O9uDAiT2teoYjquGIuJsukNUb2CEB9flJ0cCAbH2W1M=; b=OmYNk+SGsbp2eEIElbagJ07EyG1ZD1kDivvbSQL5ANUauHFs43rNvMg5IBSLQbwHU3 dlZebQYDDcQ7Xx3thfh3Mq88RRY7IPuv25UztaNYBKpSVr+zv6QvzODt+wJGifbKmzo9 m+M/cdPbC3ojmcCuG9IKcDKvbkbkFZ6t/bVasYlGJ6R93VMyomLrXUpWSdVC39xIKNwf sG/PanShjKTJvrVwKH72wLiLQMclIcJJ/ieYM5NA4iARFDh6G/xQxTJo0ZbjRGbl6guH GTAtdk+p5haoJQzLrug1Q1BSYInHdNmeQXz+8qdoP77DYE1L7Q379JQMTD583bf7Xt+c C8Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=ZBhOs4I9; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q134-20020a632a8c000000b00553b9b18886si10787525pgq.638.2023.06.29.06.14.23; Thu, 29 Jun 2023 06:14:37 -0700 (PDT) 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=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=ZBhOs4I9; 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 S231229AbjF2NKr (ORCPT + 99 others); Thu, 29 Jun 2023 09:10:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231681AbjF2NKe (ORCPT ); Thu, 29 Jun 2023 09:10:34 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DA3A30E5 for ; Thu, 29 Jun 2023 06:10:32 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-3fa96fd7a04so6529535e9.2 for ; Thu, 29 Jun 2023 06:10:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1688044231; x=1690636231; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=If9xo6kn4YujIxJM57M8VcoisAQkvWP6F35kjaMRoCU=; b=ZBhOs4I9ifZegsYe3qXTXR8dAlOBX6Ty63SQThWZd2xvSAS1Lgq7ohJVOHVxHC1PFK xQV31RdFzOevaIgXGX3KyV7NG1nYozCblo/ebbTMTkRJmngLouqM0eKRsDwqJJxuHNAI Fy0mW9ynohpuwjYr5Xoa5xCTWg5MzD03YMsp7K6nWabipEokGPXMl3RPQjZuzwes97gD ahJB2aLxJrW6/4zyfu4d3mgbfEU1iPCzcVht0xTPPzgeDMbcN2WJtR/fRQ6VrlpfZUYo Bx3Q3GbATjVCWfNvapS+WpWXpoVQLi9/Ie72auy+FNd+9KjPKsUGQyMs80QPNJwo4aRf htGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688044231; x=1690636231; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=If9xo6kn4YujIxJM57M8VcoisAQkvWP6F35kjaMRoCU=; b=Z+1mIC86o1xX2arGd52ne8HQCNGPAW/WBb194WoFboekRp9rr/P8LZAy3xWPUAr21d 5yHPgMBu1T9wZh54BeA7hCKjRPUo2jMI1AyOSt08LCZyDGqGL7JPqMyHR1ScoHi6e7pn bVkpNyNn9mY2HgskGZw3njuY+ivkFZOYwyZEJVvyAeQBPZdllU7DB1R/uoqX51Fnq5q0 Kuz4C1oKkaApZTattNjZeFFB8zODoaA8mzXrzrOklkqLI7h6L9RIuTyintNWJMqAcAyA ui6Enh/RPwSecxE2+k4ZIa/2Jl30+PhRJiUlnqW2osZMjrq7PQwcC7UKBD/1ajKZ5opM xuJw== X-Gm-Message-State: AC+VfDzNAvuRdmDhhQXRpi8w6d2tIFWbsOPy+rf9uHWB99FBD3g9qtVX sLnWQ3LDhYSqLRr2pijCuTI3ew== X-Received: by 2002:a05:600c:2205:b0:3fa:8866:14af with SMTP id z5-20020a05600c220500b003fa886614afmr11561901wml.14.1688044230842; Thu, 29 Jun 2023 06:10:30 -0700 (PDT) Received: from [127.0.1.1] ([77.205.21.223]) by smtp.gmail.com with ESMTPSA id v4-20020a05600c214400b003fa95890484sm11885899wml.20.2023.06.29.06.10.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jun 2023 06:10:30 -0700 (PDT) From: Julien Panis Date: Thu, 29 Jun 2023 15:09:56 +0200 Subject: [PATCH 2/3] ARM: dts: am335x-evmsk: Use usb0 as peripheral MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230629-usb0-as-peripheral-v1-2-167f78a11746@baylibre.com> References: <20230629-usb0-as-peripheral-v1-0-167f78a11746@baylibre.com> In-Reply-To: <20230629-usb0-as-peripheral-v1-0-167f78a11746@baylibre.com> To: Tony Lindgren , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, vigneshr@ti.com, nm@ti.com, Julien Panis X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1688044226; l=617; i=jpanis@baylibre.com; s=20230526; h=from:subject:message-id; bh=MGG3TEvRfj2CNy0MbxtNy3cknxHiKAVsOw5IHcDhAxQ=; b=RQNlS17x8D+g368Ck+RoQTs9E4tN0PsPhOqBDI8DPNA8Vv7knhdFT/1JBAC1TACsBNyOo2qer 0Xv7zwVpnHeAjhIBVyUCBBookCyGEFyaDzqZiNxZs3SnIv80l96hW7B X-Developer-Key: i=jpanis@baylibre.com; a=ed25519; pk=8eSM4/xkiHWz2M1Cw1U3m2/YfPbsUdEJPCWY3Mh9ekQ= 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, T_SCC_BODY_TEXT_LINE 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 This patch configures usb0 dr_mode as peripheral. This USB port is mainly used for RNDIS and DFU. Signed-off-by: Julien Panis --- arch/arm/boot/dts/am335x-evmsk.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts index 5b3278c0c46a..03300bf45cdd 100644 --- a/arch/arm/boot/dts/am335x-evmsk.dts +++ b/arch/arm/boot/dts/am335x-evmsk.dts @@ -503,6 +503,10 @@ tlv320aic3106: tlv320aic3106@1b { }; }; +&usb0 { + dr_mode = "peripheral"; +}; + &usb1 { dr_mode = "host"; }; -- 2.37.3