From patchwork Fri Jun 2 15:26:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 2897 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 884863F076 for ; Fri, 2 Jun 2023 17:27:15 +0200 (CEST) Received: by mail-pf1-f197.google.com with SMTP id d2e1a72fcca58-6537ff2c93fsf213583b3a.2 for ; Fri, 02 Jun 2023 08:27:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685719634; cv=pass; d=google.com; s=arc-20160816; b=D4VHNz4tDyXjU6ePwqEfPdswY6WYv83hI3R4ho+4/RZU4FuFeGomNkXlzdaV1UmxzA GGck7ugfqCjxye3Upot+Bw5sJnX71yIPZrFzQ198RBdo7KephpsR9uD1z5q9Kr+kf9Ld SB/APWFfPNR6XsuCIWmFKJU9qKbWmKrZCmUYrjGMVIHUTefi3iYnXYag/5HpTSXdaelS tQoT4nXJIm4Dl1oa/cxZx9YMojlm2GKgz9livvb6IEbfSk8xE38RJZuqJZMtLdYeAlpV 9ncdzcJXMbKsWeMa6rl5oNBPdcLcZ7Ipk8nYWRQFK7JxrOz2btoeX0Qnhu8N1CjALRXA wAUg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=CkpZ7TlsFyikL4KTxMsqhkEJw6jm7zbUZhnJ6a7gTWY=; b=SjgiPF1MoBDdShfugfyF0qocSxtb80WxpRPCMZG10UjW/ACO/J2hQxCYEN4yzhRzwK 53XkA6BaumCCmdJ5S6ZJwD/+wLiIqaTgadlPTBJR8G7erctKYYTqANef1QraIzNHUbsZ RtDdlEyutyzT/nS/Beh+HzgmPk0HBMZ2KVJ1o51T5pVGrxpvKSOgZWXhmq0IsPBE8gbM of4/iQ+kbBIQLU685rDfpYpUE+AOP9Di/vJzx0d6mfhmKzq/bfRbU7eHpzOmlINCyRCV JNUCptWy7uKXP5ICDcl4/yjWsjjUnM74KB7Bg9Y+JT7oQLKnEiDapagqngBRGD7/FUBe 9Huw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HrwieaVI; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1685719634; x=1688311634; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=CkpZ7TlsFyikL4KTxMsqhkEJw6jm7zbUZhnJ6a7gTWY=; b=EVNE2C5uhTrvQAB7sc2xvoVsuyHtIVSy8JRSSEWr2KmORXgXyRcBiv2NxmLBULswwr tJ8gA2bf0kliBgnIJ2mkIqEQR5FddJTOIsO9Lud0WTT78Fo2Rlen9TxTdsDb486TknKk v2XGeFxeUgWmDOSw4ZWZPgnU8+8GB+syteITI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685719634; x=1688311634; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CkpZ7TlsFyikL4KTxMsqhkEJw6jm7zbUZhnJ6a7gTWY=; b=ORjUlh1252XFWwtaxcIhiuOwdISiE6r8f/mybf1Nn4Mi1ouctQ8R3Jd3bOxTlLw+yu 2eFp72LQz5ogmVm7B4y8MA9wh86stuGS65/1LoKirxxcentX/0yYTPgJ1fk7oE2jfcn+ XRvQ5SY/0WGggNrLjoiH8pTMLYdBzyjbdAsYkd3o+zwf9QcGVXjY4dBuwWVeWa74kWAh FkC8DXyUyZleXTG0PhKUbSm5+p5dK9bk0yus25gKRcAqdi7J8uvdZmlbDdK896ETi2lt t0bqVVE1UOVDAT0d8swLWeV9jIbaQDfFnjEixFPO6sCjVnigZ2Wh43a0ERVqkTqKFEMp C7Gg== X-Gm-Message-State: AC+VfDwFRhhWXLI65IO86nveSe8/rlvm5UqZuVUsCBKnmk9TZ0wacKHG R5vZ7KXEum8z17FXYN9XCDFJlE+W X-Google-Smtp-Source: ACHHUZ4Wg9cQ5Jj1K1zSRUM+37NVxZduyZUT/s/pseJ/swo0nC3JYzg2c0/GX6UxOls5i3CbRQkdxw== X-Received: by 2002:a05:6a00:22d4:b0:63d:5de3:b3f2 with SMTP id f20-20020a056a0022d400b0063d5de3b3f2mr11272837pfj.18.1685719634257; Fri, 02 Jun 2023 08:27:14 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:8183:0:b0:653:8a1d:b391 with SMTP id t125-20020a628183000000b006538a1db391ls201721pfd.0.-pod-prod-02-us; Fri, 02 Jun 2023 08:27:13 -0700 (PDT) X-Received: by 2002:a05:6a00:181e:b0:63d:641f:5048 with SMTP id y30-20020a056a00181e00b0063d641f5048mr11077931pfa.16.1685719633265; Fri, 02 Jun 2023 08:27:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685719633; cv=none; d=google.com; s=arc-20160816; b=sxGmYFlmyH7CV+23CWuFf+WpXNb9RUR2flVcj04Uk2KIRSNiws55MhUMSzSLAmleWu 6vu0iesAr/I8Gctak+HHeSlB7qUOl2nXaxXaPjMMwsWvtpsm17n9ejjiU1yJdOIAs6Oq rc83rQbs85ZNH2gQkvkqDJssz6mTvqvFXN6/WgvQEdR3w78VXGY8dJ5oSLzoXuVnV80O 17TcPUN3nfuCNq4cVcNMVCECyeu0PmFHbHQqtbCiSpLHJ9K7flgJBx4iWx/PGVqFaPgp c5I/+bj5dnjnKYWZnaI2O2tGwTNKBJgQhargl9hyc2+SGEYD40dkwEMUkV0WAB2erlv5 /5bQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=HVWD4X4gEtfPyrol4SKfUjO9qNt2IVFWILce5t4/6c0=; b=n+L4suPyl7ktcABfSHxQ2ALzX5J9Dew2+CqoWqRLnIvupWZ/akYYaGp2ywc28Mc+DN Xweo6DQ9YnNi34D2tE4WlN7ApWXw+MERAzTML4FZFZ8smmBN80pxrFNcqkCDJHTAR9nz IKuNx6eOOfTqYq3vcuMIiFrWiNcHGaqPULOXqPj7JZf5giGYd601/aXgcEvAh5i9/OT4 wa5UudU2tvDC9K9GFpn/OtlLovYeLHhRihomupC8MNviP3p/QxEP9em51XdEV5NtPaKc s14xInbC1AI+gDXvIWvFVgJZf7Z9CcXpme21n4mgmD9hdU4/agzbVpaV5Iq68pM1R7QG IDCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HrwieaVI; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id w82-20020a627b55000000b0064d122613d8sor335062pfc.2.2023.06.02.08.27.13 for (Google Transport Security); Fri, 02 Jun 2023 08:27:13 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a05:6a20:4286:b0:10b:235c:d8c3 with SMTP id o6-20020a056a20428600b0010b235cd8c3mr11550748pzj.36.1685719632879; Fri, 02 Jun 2023 08:27:12 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:2003:4e14:c7e6:b770:ced9:e760]) by smtp.gmail.com with ESMTPSA id l3-20020a62be03000000b0063afb08afeesm1154124pff.67.2023.06.02.08.27.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jun 2023 08:27:12 -0700 (PDT) From: Jagan Teki To: Kever Yang , Simon Glass , Philipp Tomsich Cc: Jonas Karlman , u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki , Tianling Shen , David Bauer , Loic Devulder , Chen-Yu Tsai , Banglang Huang , "Matwey V . Kornilov" Subject: [PATCH 4/7] configs: Enable DWC3 USB 3.0 on RK3328 boards Date: Fri, 2 Jun 2023 20:56:28 +0530 Message-Id: <20230602152631.106887-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230602152631.106887-1-jagan@amarulasolutions.com> References: <20230602152631.106887-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HrwieaVI; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Enable USB 3.0 in all RK3328 boards. => usb start starting USB... Bus usb@ff5c0000: ehci_generic usb@ff5c0000: Failed to get clocks (ret=-19) Port not available. Bus usb@ff5d0000: USB OHCI 1.0 Bus usb@ff600000: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 Bus usb@ff580000: 1 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found => usb tree USB device tree: 1 Hub (12 Mb/s, 0mA) U-Boot Root Hub 1 Hub (5 Gb/s, 0mA) | U-Boot XHCI Host Controller | +-2 Mass Storage (5 Gb/s, 224mA) SanDisk Dual Drive 040130e3ee554b7078843f4eb331646 1 Hub (480 Mb/s, 0mA) U-Boot Root Hub Cc: Tianling Shen Cc: David Bauer Cc: Loic Devulder Cc: Chen-Yu Tsai Cc: Banglang Huang Cc: Matwey V. Kornilov Signed-off-by: Jagan Teki --- configs/evb-rk3328_defconfig | 2 ++ configs/nanopi-r2c-rk3328_defconfig | 2 ++ configs/nanopi-r2s-rk3328_defconfig | 2 ++ configs/roc-cc-rk3328_defconfig | 2 ++ configs/rock-pi-e-rk3328_defconfig | 2 ++ configs/rock64-rk3328_defconfig | 2 ++ 6 files changed, 12 insertions(+) diff --git a/configs/evb-rk3328_defconfig b/configs/evb-rk3328_defconfig index 5ab7abff9e..5183d65451 100644 --- a/configs/evb-rk3328_defconfig +++ b/configs/evb-rk3328_defconfig @@ -69,6 +69,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x800800 CONFIG_FASTBOOT_CMD_OEM_FORMAT=y CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_ETH_DESIGNWARE=y @@ -100,6 +101,7 @@ CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_DWC2=y CONFIG_USB_DWC3=y # CONFIG_USB_DWC3_GADGET is not set +CONFIG_USB_DWC3_GENERIC=y CONFIG_USB_GADGET=y CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_SPL_TINY_MEMSET=y diff --git a/configs/nanopi-r2c-rk3328_defconfig b/configs/nanopi-r2c-rk3328_defconfig index 6af874ca2c..fb0b8719fb 100644 --- a/configs/nanopi-r2c-rk3328_defconfig +++ b/configs/nanopi-r2c-rk3328_defconfig @@ -71,6 +71,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x800800 CONFIG_FASTBOOT_CMD_OEM_FORMAT=y CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_ETH_DESIGNWARE=y @@ -104,6 +105,7 @@ CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_DWC2=y CONFIG_USB_DWC3=y # CONFIG_USB_DWC3_GADGET is not set +CONFIG_USB_DWC3_GENERIC=y CONFIG_USB_GADGET=y CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_SPL_TINY_MEMSET=y diff --git a/configs/nanopi-r2s-rk3328_defconfig b/configs/nanopi-r2s-rk3328_defconfig index 7b0fadbce9..79cb17d751 100644 --- a/configs/nanopi-r2s-rk3328_defconfig +++ b/configs/nanopi-r2s-rk3328_defconfig @@ -71,6 +71,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x800800 CONFIG_FASTBOOT_CMD_OEM_FORMAT=y CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_ETH_DESIGNWARE=y @@ -104,6 +105,7 @@ CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_DWC2=y CONFIG_USB_DWC3=y # CONFIG_USB_DWC3_GADGET is not set +CONFIG_USB_DWC3_GENERIC=y CONFIG_USB_GADGET=y CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_SPL_TINY_MEMSET=y diff --git a/configs/roc-cc-rk3328_defconfig b/configs/roc-cc-rk3328_defconfig index 477179e80e..f5912ceca9 100644 --- a/configs/roc-cc-rk3328_defconfig +++ b/configs/roc-cc-rk3328_defconfig @@ -72,6 +72,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x800800 CONFIG_FASTBOOT_CMD_OEM_FORMAT=y CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_PHY_REALTEK=y @@ -109,6 +110,7 @@ CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_DWC2=y CONFIG_USB_DWC3=y # CONFIG_USB_DWC3_GADGET is not set +CONFIG_USB_DWC3_GENERIC=y CONFIG_USB_GADGET=y CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_SPL_TINY_MEMSET=y diff --git a/configs/rock-pi-e-rk3328_defconfig b/configs/rock-pi-e-rk3328_defconfig index 633d5417a9..e86a6f7b1a 100644 --- a/configs/rock-pi-e-rk3328_defconfig +++ b/configs/rock-pi-e-rk3328_defconfig @@ -73,6 +73,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x800800 CONFIG_FASTBOOT_CMD_OEM_FORMAT=y CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_ETH_DESIGNWARE=y @@ -101,6 +102,7 @@ CONFIG_SYSINFO=y CONFIG_SYSINFO_SMBIOS=y CONFIG_SYSRESET=y # CONFIG_TPL_SYSRESET is not set +CONFIG_USB_DWC3_GENERIC=y CONFIG_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_EHCI_HCD=y diff --git a/configs/rock64-rk3328_defconfig b/configs/rock64-rk3328_defconfig index ae761d08a1..4acbca0140 100644 --- a/configs/rock64-rk3328_defconfig +++ b/configs/rock64-rk3328_defconfig @@ -71,6 +71,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x800800 CONFIG_FASTBOOT_CMD_OEM_FORMAT=y CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_SPI_FLASH_GIGADEVICE=y @@ -107,6 +108,7 @@ CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_DWC2=y CONFIG_USB_DWC3=y # CONFIG_USB_DWC3_GADGET is not set +CONFIG_USB_DWC3_GENERIC=y CONFIG_USB_GADGET=y CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_SPL_TINY_MEMSET=y