Message ID | 20230629-usb0-as-peripheral-v1-2-167f78a11746@baylibre.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-omap-owner@vger.kernel.org> 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 B6373C001DE for <linux-omap@archiver.kernel.org>; Thu, 29 Jun 2023 13:10:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230463AbjF2NKh (ORCPT <rfc822;linux-omap@archiver.kernel.org>); Thu, 29 Jun 2023 09:10:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231443AbjF2NKe (ORCPT <rfc822;linux-omap@vger.kernel.org>); Thu, 29 Jun 2023 09:10:34 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49BBD30E4 for <linux-omap@vger.kernel.org>; Thu, 29 Jun 2023 06:10:32 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-313f59cd193so697936f8f.2 for <linux-omap@vger.kernel.org>; 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=NxyKD9f2Phw0uTOMCk7z8zugvAZK0umK54RrccaBRgKJTIfHgqZrQhS5oj1sT1+bJE J0Fs5pLVdioivIzgBtt7aW6rzC/xGwDkggeW17J5fHQLboCnkxG3x7jCUO6FX13yH7zX 0RMU2UPboOO8vwVEjddcWVoyBwbTYTaER+aOBrJlEBG7wQV3c/BNZheHR5WDKVgBmnW2 aUhNMl54iJKf39MrpfKzZQtgtT27K6+BIZXd5vAY9Q3IsBRuHaz9tlqh/gs1OKrI9cMC 49PXvuDQNV++AatnLmxbvuZeKO3pMYHT5zTsDVt9eRfzFZpjLgPC85zZtOij5z6Y0iOP 0k5w== X-Gm-Message-State: AC+VfDyBhEJ95tFHg9FqyXJ3hANJdQg3hGkMHFp/e3gk8paoudWYxyJN vBHIEKOdhB1SBN5Wo9eCT8jEgQ== X-Google-Smtp-Source: ACHHUZ4mxkbeE1RFqAi923ibpyMDQyTqnQFQdJ1GQrjokoH19pXys1qp09wkM58RybXBMBl2J/ojDg== 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 <jpanis@baylibre.com> 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 <tony@atomide.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, vigneshr@ti.com, nm@ti.com, Julien Panis <jpanis@baylibre.com> 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= Precedence: bulk List-ID: <linux-omap.vger.kernel.org> X-Mailing-List: linux-omap@vger.kernel.org |
Series |
Configure usb0 as peripheral on am335x boards
|
expand
|
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"; };
This patch configures usb0 dr_mode as peripheral. This USB port is mainly used for RNDIS and DFU. Signed-off-by: Julien Panis <jpanis@baylibre.com> --- arch/arm/boot/dts/am335x-evmsk.dts | 4 ++++ 1 file changed, 4 insertions(+)