Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp29957591rwd; Wed, 5 Jul 2023 21:39:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlFpypunT1E8eDT+ty/E/f9XAmZTp6BtRluTQUdUilpCGF/hn/VZYJhTNY8pMS0TtZ7UOs7o X-Received: by 2002:a17:903:2441:b0:1b8:a39e:ff4b with SMTP id l1-20020a170903244100b001b8a39eff4bmr5526274pls.32.1688618356811; Wed, 05 Jul 2023 21:39:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688618356; cv=none; d=google.com; s=arc-20160816; b=LUlJKdXykqcqxmmLcPWEmSYhfcNXi9nBi5jJiXBU9LrdgTSAMCo4CRVmXEDYe8KpsU +QuHIA3Qgya9ngun1BPNrSmuFuLoAmbhQoCh9XK6hDjENNWMeYM2ThA4fia98eRKo6QJ bQu8H7lK/VrU1jjDP9AOhsbSU357WZfVvM1S8TOScL5t3XR/cNF6gJR/BdOWJAyy5rcH QgKXmPZKBEmqd/mP/p8cyh+NWbZAHnmexmJSC1qIwiNbJWso4UIKM8S71RpGItxVce4n 59ICu1k6hy12VUTcBzW44Wqo0q/qRdA1jS/RyasY2OgUQ3ht4CPy7rVnwH6IP8wfAcgX 7gnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=nYr9Awbb3HBQ2Uev0kN/Z/QJgQFNk/69ywGt8QgzC/E=; fh=ajtsn8iUbTO3Z+jo4WBItz3kYF3/WS+XmClJ+UTrMp8=; b=hUh7p30Qvj+P3OwCLUTo4lN+75Qz5N2/87BX/JeJ599yUyOPKtPZ6IQuib3D9auNR5 VHMUIKWeZc4OaTCf6r72xZKJrhQW3w9SXh/Eu+eXIdvqACaEsj9QN670m6piqGRkOFye s64kdzTOtsZyE+cmqgGX7XHPYs8W6h7CxG0aBlrPXkfjxbT2iEFym0LN9IDBzYFB7wkV M3P5CRQML89dwImF6bE4P0H7nCuLuzhuI7C0Bm568LgaoufQrbMrYy9oTlOdPoAfBK+U itvpLUSnSJ+p/BYB9nBcH/mnKXbqDe+o1TaE9Z4q2Vx4CJ1iTnz/OOdmeukvBS9vUSkr m/LA== ARC-Authentication-Results: i=1; mx.google.com; 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 kw5-20020a170902f90500b001b8a840e783si473950plb.442.2023.07.05.21.39.04; Wed, 05 Jul 2023 21:39:16 -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; 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 S232916AbjGFDvo (ORCPT + 99 others); Wed, 5 Jul 2023 23:51:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231868AbjGFDvm (ORCPT ); Wed, 5 Jul 2023 23:51:42 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 040951BD3; Wed, 5 Jul 2023 20:51:40 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id F0BE3807E; Thu, 6 Jul 2023 03:51:39 +0000 (UTC) Date: Thu, 6 Jul 2023 06:51:38 +0300 From: Tony Lindgren To: Julien Panis Cc: Roger Quadros , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, vigneshr@ti.com, nm@ti.com, Tom Rini Subject: Re: [PATCH 0/3] Configure usb0 as peripheral on am335x boards Message-ID: <20230706035138.GA5089@atomide.com> References: <20230629-usb0-as-peripheral-v1-0-167f78a11746@baylibre.com> <20230630072047.GK14287@atomide.com> <7f44798b-e2bf-1620-da37-ca13bfd07a21@kernel.org> <9ef45899-c766-e839-522a-3b048f8106f7@kernel.org> <6a51d860-2d20-6c35-3935-985d5b41853e@baylibre.com> <73a4545a-e149-261a-a0c5-a526e8740bd5@kernel.org> <6d485ee7-9b8a-626e-da8a-bbff37bcde61@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6d485ee7-9b8a-626e-da8a-bbff37bcde61@baylibre.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,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 Hi, * Julien Panis [230703 15:51]: > OK. In other words, we just need to reconsider my previous u-boot series. :-) > I was setting usb0 as 'peripheral' in 'am335x-*-u-boot.dts' here: > https://lore.kernel.org/all/20230621-fix_usb_ether_init-v2-0-ff121f0e8d7a@baylibre.com/ It would be best to not change the dts as it's describing the hardware capabilities. Instead, it would be better to parse the capability in the driver to handle a dual-role wired usb-ab connector as peripheral only in u-boot. Regards, Tony