Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp20719527rwd; Thu, 29 Jun 2023 06:16:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6C+xiJ9mL525xJg+5zoFdzFvFTjFSGqP85/5NUbk8sYxVqZGm5mxeN5msfmM9sdqcgD7fM X-Received: by 2002:a17:90a:8508:b0:263:479:3dc with SMTP id l8-20020a17090a850800b00263047903dcmr8853883pjn.19.1688044583374; Thu, 29 Jun 2023 06:16:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688044583; cv=none; d=google.com; s=arc-20160816; b=HoqtfgfrnxMH4J9sKWju9g228w8dm1G0xH9MgU61HsBvs/dDgIkpFhUV4pmOIMhzRQ +ckij3iBFIDh+4mPJ+nXL+sGxJqXLEg2p3w7Khh8EjVbqIaFwViJIVbMDou0zxsW2Uz6 MVVDbGHNAzc1Rb45++Sn7ioFaFnfPprrt2oiTjNW8tjJrMwMlBeHkieqahfHSKbqo5GV rQI0+b0+MbBuLmCbjhI3EfLE+D1PVdfh5IcRVnJ1dfDbw4TL7I2FneZ1THgDZJ96JnHe e6j98O9s6xY3RloCkhMa0LQCyiwguNWwEVZ4Hqj9FvqKCbsmByP7zWAyQfA3fLA2PRBq 5JlA== 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=XUtUi/Yoqz3agAUVfV1tjyIuOCv5KY9VMs6W5QBKGg8=; fh=O9uDAiT2teoYjquGIuJsukNUb2CEB9flJ0cCAbH2W1M=; b=S3J13ppxe0X9TLlCnN5wS4hbmaCoQRN20/R/iUUa8KI/u9XVyGmI7M5yV9TCjZGDxG SuYdYpFcKMweC1VrPfPALBM6W2X06Sbx0TicgWmQGff6bBOMT1vAVVF94o+s2932mowj 9HSmzagbyP5/dEWOGIoJ513EzFl7MEgwsOCKCDmSDrhR0fD7o2eZBEL2B9Zcx1S7cgEd n2iXf8cIi12ooB8TF3Omt14PmWvQsJPYP3iggPHXixQnZunsaHI0zkNngFqc58DJW6Ri aHSmq4GZ5RcALk5EnACg9/nlLnN3TY0SUwHV1QUTrrzkMWO4XHBMptpRGHeqtwNg6mU1 +wqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=s6KWxkqR; 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 d30-20020a17090a6f2100b00262ea2f8539si8102492pjk.153.2023.06.29.06.16.10; Thu, 29 Jun 2023 06:16:23 -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=s6KWxkqR; 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 S231890AbjF2NKo (ORCPT + 99 others); Thu, 29 Jun 2023 09:10:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231767AbjF2NKe (ORCPT ); Thu, 29 Jun 2023 09:10:34 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E3EB30EC for ; Thu, 29 Jun 2023 06:10:33 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-3fa8cd4a113so6145005e9.2 for ; Thu, 29 Jun 2023 06:10:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1688044232; x=1690636232; 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=XUtUi/Yoqz3agAUVfV1tjyIuOCv5KY9VMs6W5QBKGg8=; b=s6KWxkqROj9zdzjYcDrp7KI1+wORQsz4tzfoWeFM5i9wbR8esW35SGdD+opaC0624/ EAYmGefjjcPBOEkQAFfmd0d9GNkguyfRWF3nbbMwGenNNNFIIOqp/pXgNfUY4IlFKbMX R418B3zZAHA0x2zafVxgguNLufoze66o4uIsfNLDjCKvksxBY9LW/B6NEb24hW54RTJg tqq/aywYQ9LUl/unLK5uXW5PStnmDjvoCoCTSWfOMDKx7L9+1zsDKK1Rso9IL7pnwhon KXZmbsDIsxfcVavyWiN6orWu8UN7AlL/mJbxspjUkQpD3GDC7Wi6LI8B+lwF8UsH+gXa pwbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688044232; x=1690636232; 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=XUtUi/Yoqz3agAUVfV1tjyIuOCv5KY9VMs6W5QBKGg8=; b=k6g5XumrMVaFN15aEMRrHxlkJQEPLO/hZJr262j3DLIUQkq5FOgipznLEEO0KHQQAW UKZ8BFLb4KXBA3rf1gmwjATUIjfSUYYDuWRhLSWP+tmdGGRJA5iCY8Ac3ZKF0OwWNJ3O +WGI0LsCw4WIHitmPpjTliSd5uTA9BW2lFAZhfdxqLvz2MNFlPTyESeUf/wpYjeP2+MT MCM2Y6UAQQGPbZ8hNZfozUzH7j0tWE1D/OXw/GUzEFHoGWqdjOw/6EEX+d7VfDAs+Efy 8vj48c4BOSpV7p3fbSjpCAlzhPnqreJ5piGgvPoU6LgmSAFTSA1GU6H3+1XMm4GDh1S7 IGgQ== X-Gm-Message-State: AC+VfDxSgbLGuvAas1SkLfWpmR7aJI75iF71lJd3MnAs0IZSqSneu5+l jYd5d47QyjR2UGqBPjswVEdRam1Hb0BAhLgxIr4= X-Received: by 2002:a1c:6a18:0:b0:3fb:b287:b0ad with SMTP id f24-20020a1c6a18000000b003fbb287b0admr3871669wmc.13.1688044231900; Thu, 29 Jun 2023 06:10:31 -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.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jun 2023 06:10:31 -0700 (PDT) From: Julien Panis Date: Thu, 29 Jun 2023 15:09:57 +0200 Subject: [PATCH 3/3] ARM: dts: am335x-icev2: 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-3-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=592; i=jpanis@baylibre.com; s=20230526; h=from:subject:message-id; bh=f31ZJ4CrfK4QstO+c+WLiSCch8Xr0qSQn/ZWVMjUlpY=; b=yIQu64DKUqP0BKtXpzPqgjyaBwCZsOBUjsEU3H6RZ5n6mZzwSidOVxqSqFHvLEmz+HFBcIh3F dlqsLTfr6MMB8GszGUFK4bkvOsX/S3uVv0ghJjFs5GrfmZh+q17Q06j 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=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 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-icev2.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/am335x-icev2.dts b/arch/arm/boot/dts/am335x-icev2.dts index 5835c0cdda50..203e374676d3 100644 --- a/arch/arm/boot/dts/am335x-icev2.dts +++ b/arch/arm/boot/dts/am335x-icev2.dts @@ -360,6 +360,10 @@ adc { }; }; +&usb0 { + dr_mode = "peripheral"; +}; + #include "tps65910.dtsi" &tps { -- 2.37.3