Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp20713851rwd; Thu, 29 Jun 2023 06:12:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ70oMmwR51z9qYuNw3Mr0wGMjKmGBo6t9KO1wriuT3BqUk+fp80lirC72viVA5LmK9jKj7G X-Received: by 2002:a17:90b:3b89:b0:25e:fdb9:1948 with SMTP id pc9-20020a17090b3b8900b0025efdb91948mr25470735pjb.11.1688044360819; Thu, 29 Jun 2023 06:12:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688044360; cv=none; d=google.com; s=arc-20160816; b=IMoAFDh4lJADusFgf/UphRNQBJuXnyLROMoM7TOJVU5CKqNbjGKhzpAzCx6BUZBJux Ea7oGWPhRPuK6nmA1cM00XKVBYAp4CQhuq3hkYncOBX9dE0he353Syd7R72Q8HKqAJ+D DEOV3GQ30+VaRZ2hJlOhTtrXNzKf7Vo/Vp4gJA5n2n/AvUP2uziImZdaJJ+9wiHdKc0/ Axlm6u89FhxR5CHK2quqjJgQkHAQQyKs5rxq6s9Ft+ti6UIp/cvrvST67lR/6cwwWPxS 17Q41goQB4Ny6OPKPOdck3Tnztft5PKtfmR35Ae85WO+9eYnea00v4GMaP8meOchk5eq Ku6g== 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=5RD+XvmYofIdVnW52L0rqU8XQMeF6GHo9WEelTLPpNE=; fh=O9uDAiT2teoYjquGIuJsukNUb2CEB9flJ0cCAbH2W1M=; b=UKfi6qrXyTyC/f83B7mAFIqOMKJULN3t6YneQ2vtdB6IQ4WLMQE7B58J0tPMh6wu+j aUPRqur2t/0rp4N7vYCLjMF/42nfU8gxq7iiUoMLTB4vo0DWN+dOkAplaZK0RoESDPb0 jzCder7qqN927uM+HjIVFJM/4CtUQwegDctN9QbATpZewAcg3Rd7XVeX1vtwK9g0/Yt9 FR52QBMuKIp3RHhzFDmdIX1pbD0c+NwQ2Z/OJulqpoiH/p8mg1eYzCKq3Ivvq3up45Rh zKt/UP/Fesf3Ov7Q0n/GK8HWOOhr8q3gBAblDEjVKrSASf1wVTtKAHAVT13Ov3f/dLI5 S/dQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=N1lnGocp; 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 p1-20020a170902bd0100b001b662f49f60si10246664pls.419.2023.06.29.06.12.25; Thu, 29 Jun 2023 06:12:40 -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=N1lnGocp; 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 S229639AbjF2NKk (ORCPT + 99 others); Thu, 29 Jun 2023 09:10:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231229AbjF2NKe (ORCPT ); Thu, 29 Jun 2023 09:10:34 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DCE62D7F for ; Thu, 29 Jun 2023 06:10:31 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-4fa16c6a85cso1006512e87.3 for ; Thu, 29 Jun 2023 06:10:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1688044229; x=1690636229; 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=5RD+XvmYofIdVnW52L0rqU8XQMeF6GHo9WEelTLPpNE=; b=N1lnGocpxWgUKDGX79r12IAcdxENU1bP+px/srN1cj2qtddV9DcaKIZ5FvIuUUOdpR ARtOUEMCn8yirA5r+wELxTi+7fo+iMq6USuzFvp/Q8fgKtws0Ajc5askqqrAmNc5gPSy j+3YLcM5hKXGmW5lRnb06JLBLHnubeZW59XGlvkl4PcPufmoqxWqRJdkbqsouq5yxnnj A+m1B9A0BusxylW5cBGKDQHRp3hxRGIIYjdVu/urNKPI4kB17JoT3ar1DCP7NwYgAF9G 20eYgpeoVUDIr/UImM/ckQQ88Q1kW/JGUuHIKAQu/0bi4+UmkHgaU9IyP1Ktgg043ped hPSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688044229; x=1690636229; 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=5RD+XvmYofIdVnW52L0rqU8XQMeF6GHo9WEelTLPpNE=; b=cfQCcEsjj5qnkjXd3ip0qJRNMErQ3oojuGhBq8zRGk5vpSOkMH0Hb+ovAtatyCIvvJ 1Io0VFSZ6S8BGIl0KD7t3jY5FMcoAwTiLz8LXbgc+xkxB62BiSLIRs3qwSIq8ixFTPk9 w8L5MCfM9B1pkdG7RAcA6IsTwacC4pVbuKwDK2hepNTdfdlSrnrdupspxRRjCXs9iEnt Gd3K5YW04s1m42QF7P87iCLGtrTSQZju8/sYwD+bIUTdo5cOr9lZPWlzDVTX8ojpCTLY Cgk54liPGtejoa/KczcwytxMp6vNNFaSHQXCyJ+eXTkvLb14g6VGr8IarxN3paw1O/7v y9dw== X-Gm-Message-State: AC+VfDxHjeRj/5JsdB7a5+3uFKA/WC3g+4KUWW+dyoBhd0dagG10ehFm JrLdIjiskJeHMOVah9NxQGvp/A== X-Received: by 2002:a19:4f49:0:b0:4f8:5ede:d452 with SMTP id a9-20020a194f49000000b004f85eded452mr18786375lfk.55.1688044229316; Thu, 29 Jun 2023 06:10:29 -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.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jun 2023 06:10:29 -0700 (PDT) From: Julien Panis Date: Thu, 29 Jun 2023 15:09:55 +0200 Subject: [PATCH 1/3] ARM: dts: am335x-evm: 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-1-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=587; i=jpanis@baylibre.com; s=20230526; h=from:subject:message-id; bh=VuHnk9opfMZuly3Cn3AhAgy4Lfrk1vZA6lD6fSV4glg=; b=MCPZC7bjS+bEHmVydCJyhNBvWvM1NRzu2VVAy1nk8qfnkOUEue1MDrVZQ2msUd6lP303fCG4A xLBFUBpqFt6AZ5iSXGGqtFkQUWwmbOD95S9zBHiJ9az/itmHhT11kXS 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-evm.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index 5beabaa5ff6a..75450458bcb8 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts @@ -411,6 +411,10 @@ tps: tps@2d { }; }; +&usb0 { + dr_mode = "peripheral"; +}; + &usb1 { dr_mode = "host"; }; -- 2.37.3