Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0F80FC77B73 for ; Tue, 30 May 2023 10:26:28 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6663185F13; Tue, 30 May 2023 12:26:26 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=kwiboo.se Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kwiboo.se header.i=@kwiboo.se header.b="Kk7QOyND"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2446D8479F; Tue, 30 May 2023 12:26:25 +0200 (CEST) Received: from s.wrqvwxzv.outbound-mail.sendgrid.net (s.wrqvwxzv.outbound-mail.sendgrid.net [149.72.154.232]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5490A8479B for ; Tue, 30 May 2023 12:26:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=kwiboo.se Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bounces+31435339-7456-u-boot=lists.denx.de@em2124.kwiboo.se DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kwiboo.se; h=from:subject:mime-version:to:cc:content-transfer-encoding: content-type:cc:content-type:from:subject:to; s=s1; bh=dGIehF+AZ6NeFM6dGcIOyGxffvSQ9EFGDS32hjiF4EQ=; b=Kk7QOyNDZyFU8Anlb+rA1g/tolN3t0b0dNEyFO7sEfbeWE7a9nWmRq2YB914mSQKrg/g rkKQ33qp5kgoKBccwa4uKTZCxtosrCpIexF+j8ImB8ibN8i/rV3J6gUcQG2iweo3k/l0wH UEMF/Szn0DdBOxhn5RWpI7IVybhBvq/Q/3NiBIhRLkW3L7S3yGbs08FbnEv13kopzjqLcC Z4fKvCC8LLxBcZ41JTaZgp9GwTFRP9K8mwmcHud56yMW+LhtTbhC6JozzzJQS+sO5SNO22 fbC6jcYxFQlE8KbKUknSBPJvtEOevQ3aN+HR9lQIY3OchxG6sKBZaPGCXl75dXbw== Received: by filterdrecv-65f68489c8-nnkmt with SMTP id filterdrecv-65f68489c8-nnkmt-1-6475CF4C-1D 2023-05-30 10:26:20.427004941 +0000 UTC m=+1680610.199383948 Received: from bionic.localdomain (unknown) by geopod-ismtpd-4 (SG) with ESMTP id BU3BG1K1RlCKEFu812RPPQ Tue, 30 May 2023 10:26:20.061 +0000 (UTC) From: Jonas Karlman Subject: [PATCH 0/5] rockchip: rk3568: Use dwc3-generic driver Date: Tue, 30 May 2023 10:26:20 +0000 (UTC) Message-Id: <20230530102617.3413183-1-jonas@kwiboo.se> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-SG-EID: =?us-ascii?Q?TdbjyGynYnRZWhH+7lKUQJL+ZxmxpowvO2O9SQF5CwCVrYgcwUXgU5DKUU3QxA?= =?us-ascii?Q?fZekEeQsTe+RrMu3cja6a0hyL3H=2FfNq2Pcwn3P5?= =?us-ascii?Q?WUcMwSVM=2Fmne5LvgTD+4ud2b+srMgW0aYYEOtqv?= =?us-ascii?Q?0YyJxoGeDja08ArI94nzXKE54cxii19JQMyHjRZ?= =?us-ascii?Q?CM1BMe2bZGEEZtsAZa7v0joAdq7Xx0XZpN6Svcc?= =?us-ascii?Q?jvezdIGiLttgNKba9cjShqaEYT8lt6heGbatpW?= To: Kever Yang , Simon Glass , Philipp Tomsich , Marek Vasut Cc: Jonas Karlman , Akash Gajjar , Jagan Teki , FUKAUMI Naoki , u-boot@lists.denx.de X-Entity-ID: P7KYpSJvGCELWjBME/J5tg== Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean This series add support for rk3568 in dwc3-generic driver and change to use the dwc3-generic driver for rk3568 devices having usb enabled. After these changes it should be possible to support usb gadget on rk3568 with e.g.: # CONFIG_USB_FUNCTION_FASTBOOT is not set CONFIG_DM_USB_GADGET=y CONFIG_USB_GADGET=y Patch 1 reverts addition of now unnecessary regulator-boot-on props. Patch 2 improve support for childless glue/ctrl dt node. Patch 3 relax a hard error when usb gadget support is not enabled. Patch 4 add support for the glue/ctrl dt node used by rk3568. Patch 5 change rk3568 devices to use dwc3-generic driver. This series is also available at [1] [1] https://github.com/Kwiboo/u-boot-rockchip/commits/rk3568-dwc3-generic-v1 Jonas Karlman (5): Revert "arm: dts: rockchip: radxa-cm3-io, rock-3a: enable regulators for usb" usb: dwc3-generic: Return early when there is no child node usb: dwc3-generic: Relax unsupported dr_mode check usb: dwc3-generic: Add rk3568 support rockchip: rk3568: Use dwc3-generic driver arch/arm/dts/rk3566-radxa-cm3-io-u-boot.dtsi | 4 --- arch/arm/dts/rk3568-rock-3a-u-boot.dtsi | 8 ------ configs/radxa-cm3-io-rk3566_defconfig | 2 +- configs/rock-3a-rk3568_defconfig | 2 +- drivers/usb/dwc3/dwc3-generic.c | 27 ++++++++++++++++---- 5 files changed, 24 insertions(+), 19 deletions(-) -- 2.40.1