| Message ID | 20230217115845.75303-13-jagan@amarulasolutions.com |
|---|---|
| State | New |
| Headers |
Return-Path: <linux-amarula+bncBD7MFH7A7EEBBI6YXWPQMGQEJOJXRGI@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 482CF3F07F for <linux-amarula@patchwork.amarulasolutions.com>; Fri, 17 Feb 2023 12:59:32 +0100 (CET) Received: by mail-pj1-f71.google.com with SMTP id l7-20020a17090b078700b0020a71040b4csf380286pjz.6 for <linux-amarula@patchwork.amarulasolutions.com>; Fri, 17 Feb 2023 03:59:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1676635172; cv=pass; d=google.com; s=arc-20160816; b=KPxbTtgWbyRKhSC4JWNPiEHcChSrFs7NBxQDKP9njN9274ubK+bK3bvMhC9OB3dJjR cFV7Z7+Opi4zP1BkoYiBYqd7NgEMyZIRmA8ixVFPvkYNRaW14xKn2gQdUxpd3abkCVFl WM3RosUDvdK/H8Qlt3/MQk5m28Z3zMrOwDby50ZN9npjEIpNjym7bAko6zZopclBsTWA OfXLytjP+L7BHuJDbfZckTB0oWeHJWhdU2pZ7pJNkgkvmfkvAOtOIk40xaGrL2C5MJa2 mwC2AuCS5LUAghAjxsPhuAzW5Y3EmMO13piX0UJ4IaCOD5ti8ehUbJixPhUQ+1Vq+s77 p+qw== 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=7gUIu1gjq24DvCp3mr8dd0dLKTdsiBviJhTKGtmXSuA=; b=H/O4TwRVN+sf3g1vTCsm2BAq6tKQiybuUk5F3rqV4P+uGUXsvNB7Fi5g9hfMYh6Mmg aIaKBnErH94uYO4hcj5hYwtJJEbcf61OLJZjvFpK2OH8OXj8teOYCvu/mPNwENdE6VCB 2jWv8fo3BpeU2I6lPJxXHyw9iOZyQM+4zxiwUQvbVEj9ErlHSExZc51fYizJdkxebraQ IEqEq7eOYmtp6bsE94OxEm4t6IHaLp8AChU2x8ZUDcoam7KgSlF2umCMBkACGJ+1iXDd iZITHaa0wh4GsQFPkncfhReFUbGqrv8muU6aOD7ZLWxwFryUpEeCjfEFT8WfgwkFWvDC dsZw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=eq50dYw3; 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; 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=7gUIu1gjq24DvCp3mr8dd0dLKTdsiBviJhTKGtmXSuA=; b=i2YAUp9m+nQmvPSDk+7bkQuaqFtEZiMWa57uiNd/7iUf7yFQtmYtOZXZAPLQhmv9hE bYxTfXakc3N1J+QTnPv9OPAZ9cpbUZM3onhJU6S5VZ+xG6/XOzpjaLE0ujXk3RgNsfJx PtU/kHZlBcZdTxKzyh+DV9r4nt7kgdM1u5Cfc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7gUIu1gjq24DvCp3mr8dd0dLKTdsiBviJhTKGtmXSuA=; b=R3fBB+u03Phdfy3p7LXgFfApGfY7YUcOdO6UmhgkVoCyM5qfLzD4j4BdGyb5xNt1Ef Wzhq08I6brYYYSzdFuqDxk5G/LZTpKPJOsjp4GXJLymKblt5+iDAFh+W6fQy4bWxvjFL T5ayeO7l0xIa815cGoIv+RbnkG/qqY5epsktQYG4sfcLwECChpsf5Mdm7IcYVEhUyBus DeUF1pt+ciI5/NylF+dfBT3T7goEuFvDgNzCQm3JqZMpIxPlia27ZsVnc31IyVPN8UbR s/XTMNxKbMmSR14JcL0g7NBWWxPd7ccuXK/tOzjCTXnxuAoh8Zun49Ex56XnL1irCde/ 7uew== X-Gm-Message-State: AO0yUKUqH2L5+7bXcOetsPINtL8CyKZaApcrSVGDlBt+DbldlD32MX1g SxbWTkRGBL5KLot+xGuL47uObywJS/wZHQ== X-Google-Smtp-Source: AK7set/Ha2PUZ24DSNVvsEk+bhUHG6tG4u6ZmU3TG3GlIMT2prLJImZ98VqKsJ0xwKcsnc7pip9L6w== X-Received: by 2002:aa7:83d5:0:b0:5a9:d734:7dc with SMTP id j21-20020aa783d5000000b005a9d73407dcmr335245pfn.48.1676635171869; Fri, 17 Feb 2023 03:59:31 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90b:3b86:b0:233:a692:d310 with SMTP id pc6-20020a17090b3b8600b00233a692d310ls1450932pjb.3.-pod-control-gmail; Fri, 17 Feb 2023 03:59:31 -0800 (PST) X-Received: by 2002:a17:903:283:b0:19a:9831:c8d6 with SMTP id j3-20020a170903028300b0019a9831c8d6mr1214297plr.50.1676635171013; Fri, 17 Feb 2023 03:59:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676635170; cv=none; d=google.com; s=arc-20160816; b=udv935Ev2hMUyl6KxQpTfU6r+j0RRRpomwd6yciqknw8gJqiCYYRXEwWpGiqsamFOQ 3bVWH4ur4sJemrzv398zheNwizV6K9ofyHmh7nTwPE8tf/6JYJVPYvXG90oSvVDDxM2O 8xs+9JKcppuU4TtTOotHo7VxBdT9f6MjGpzVN8py4Ocn+jOM9tXitvdqEmYAaIUNM8KS klqZoObY2VL8gCg9xq0j9QwJPRaRYLsUthixwxtdKJkcTU6WgokoFQ7YA8lvPIVX0uGA qUoy7ydWo4E5am2uifyk4zF53HwxQRmbhYYQSt+QgFeMMnZtdsF9JZM46dFWnRz/4MAS Sv0g== 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=R3EKCnwPrrq5r+mZNI6aunWFmi1D6SD4r5/3N7/X6DY=; b=Z60CsjhEvvK+laRcFYQdb9BLxBO8X6wzqXGUpU0seUF2pAgcQrsGUYMnqXfp2kujhs Iafzx3rYgqO6rongxvsVr35kiZB/Q0Cg7N/Qt3vURQEcYqnZaU0Wvcyi8wXUj52WvV6z FJGWAHHefiHSeMsYofTJPoOjTbW1lrcr9Lh4MZaH6W8iW0VaH0zSkotYyhXiU4hlukdE TXp3hn7J3zAEGke0JbKVUjpsbVjJiSQMVM80SQh8EoPFi3ZsGPQl+3Nyerp+E6bDPSUl 8jUv2y1OvqIJDAfJemC34w5gl/kJgH91JpcyGSWRTN8WJlG4C15CUcqS9tuwIH3c9l2Q xiDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=eq50dYw3; 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 jw19-20020a170903279300b0019b0d53997fsor1443886plb.180.2023.02.17.03.59.30 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Fri, 17 Feb 2023 03:59:30 -0800 (PST) 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:a17:902:d50e:b0:196:8292:e879 with SMTP id b14-20020a170902d50e00b001968292e879mr762668plg.1.1676635170684; Fri, 17 Feb 2023 03:59:30 -0800 (PST) Received: from localhost.localdomain ([183.83.141.79]) by smtp.gmail.com with ESMTPSA id ik15-20020a170902ab0f00b001991d6c6c64sm2989418plb.185.2023.02.17.03.59.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 03:59:30 -0800 (PST) From: Jagan Teki <jagan@amarulasolutions.com> To: Kever Yang <kever.yang@rock-chips.com>, Philipp Tomsich <philipp.tomsich@vrull.eu>, Simon Glass <sjg@chromium.org> Cc: u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Manoj Sai <abbaraju.manojsai@amarulasolutions.com>, Suniel Mahesh <sunil@amarulasolutions.com> Subject: [PATCH v4 12/12] rk3566: radxa-cm3: Enable USB2.0, USB3.0 support Date: Fri, 17 Feb 2023 17:28:45 +0530 Message-Id: <20230217115845.75303-13-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230217115845.75303-1-jagan@amarulasolutions.com> References: <20230217115845.75303-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=eq50dYw3; 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: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
| Series |
rockchip: Add Radxa CM3 support
|
|
Commit Message
Jagan Teki
Feb. 17, 2023, 11:58 a.m. UTC
From: Manoj Sai <abbaraju.manojsai@amarulasolutions.com> => usb start starting USB... Bus usb@fd000000: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 Bus usb@fd800000: USB EHCI 1.00 scanning bus usb@fd000000 for devices... cannot reset port 1!? 2 USB Device(s) found scanning bus usb@fd800000 for devices... 4 USB Device(s) found scanning usb for storage devices... 2 Storage Device(s) found => usb tree USB device tree: 1 Hub (5 Gb/s, 0mA) | U-Boot XHCI Host Controller | +-2 Mass Storage (5 Gb/s, 224mA) SanDisk Dual Drive 04019c9b2e1a58f24ee318c3c123aa5 1 Hub (480 Mb/s, 0mA) | u-boot EHCI Host Controller | +-2 Hub (480 Mb/s, 100mA) | USB 2.0 Hub | +-3 Mass Storage (480 Mb/s, 500mA) | JetFlash Mass Storage Device 19M7I4ZQFTSC08SU | +-4 Human Interface (12 Mb/s, 98mA) Logitech USB Receiver Co-developed-by: Suniel Mahesh <sunil@amarulasolutions.com> Signed-off-by: Suniel Mahesh <sunil@amarulasolutions.com> Signed-off-by: Manoj Sai <abbaraju.manojsai@amarulasolutions.com> --- configs/radxa-cm3-io-rk3566_defconfig | 11 +++++++++++ 1 file changed, 11 insertions(+)
Comments
On 2023/2/17 19:58, Jagan Teki wrote: > From: Manoj Sai <abbaraju.manojsai@amarulasolutions.com> > > => usb start > starting USB... > Bus usb@fd000000: Register 2000140 NbrPorts 2 > Starting the controller > USB XHCI 1.10 > Bus usb@fd800000: USB EHCI 1.00 > scanning bus usb@fd000000 for devices... cannot reset port 1!? > 2 USB Device(s) found > scanning bus usb@fd800000 for devices... 4 USB Device(s) found > scanning usb for storage devices... 2 Storage Device(s) found > => usb tree > USB device tree: > 1 Hub (5 Gb/s, 0mA) > | U-Boot XHCI Host Controller > | > +-2 Mass Storage (5 Gb/s, 224mA) > SanDisk Dual Drive 04019c9b2e1a58f24ee318c3c123aa5 > > 1 Hub (480 Mb/s, 0mA) > | u-boot EHCI Host Controller > | > +-2 Hub (480 Mb/s, 100mA) > | USB 2.0 Hub > | > +-3 Mass Storage (480 Mb/s, 500mA) > | JetFlash Mass Storage Device 19M7I4ZQFTSC08SU > | > +-4 Human Interface (12 Mb/s, 98mA) > Logitech USB Receiver > > Co-developed-by: Suniel Mahesh <sunil@amarulasolutions.com> > Signed-off-by: Suniel Mahesh <sunil@amarulasolutions.com> > Signed-off-by: Manoj Sai <abbaraju.manojsai@amarulasolutions.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> Thanks, - Kever > --- > configs/radxa-cm3-io-rk3566_defconfig | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/configs/radxa-cm3-io-rk3566_defconfig b/configs/radxa-cm3-io-rk3566_defconfig > index a79d9b25e3..2100cf2cb2 100644 > --- a/configs/radxa-cm3-io-rk3566_defconfig > +++ b/configs/radxa-cm3-io-rk3566_defconfig > @@ -38,6 +38,7 @@ CONFIG_SPL_STACK_R=y > CONFIG_SPL_ATF=y > CONFIG_CMD_GPT=y > CONFIG_CMD_MMC=y > +CONFIG_CMD_USB=y > # CONFIG_CMD_SETEXPR is not set > # CONFIG_SPL_DOS_PARTITION is not set > CONFIG_SPL_OF_CONTROL=y > @@ -57,10 +58,20 @@ CONFIG_MMC_SDHCI_SDMA=y > CONFIG_MMC_SDHCI_ROCKCHIP=y > CONFIG_ETH_DESIGNWARE=y > CONFIG_GMAC_ROCKCHIP=y > +CONFIG_PHY_ROCKCHIP_INNO_USB2=y > +CONFIG_PHY_ROCKCHIP_NANENG_COMBOPHY=y > CONFIG_REGULATOR_PWM=y > +CONFIG_DM_REGULATOR_GPIO=y > CONFIG_PWM_ROCKCHIP=y > CONFIG_SPL_RAM=y > CONFIG_BAUDRATE=1500000 > CONFIG_DEBUG_UART_SHIFT=2 > CONFIG_SYSRESET=y > +CONFIG_USB=y > +CONFIG_USB_XHCI_HCD=y > +CONFIG_USB_XHCI_DWC3=y > +CONFIG_USB_EHCI_HCD=y > +CONFIG_USB_EHCI_GENERIC=y > +CONFIG_USB_DWC3=y > +CONFIG_USB_DWC3_GENERIC=y > CONFIG_ERRNO_STR=y
diff --git a/configs/radxa-cm3-io-rk3566_defconfig b/configs/radxa-cm3-io-rk3566_defconfig index a79d9b25e3..2100cf2cb2 100644 --- a/configs/radxa-cm3-io-rk3566_defconfig +++ b/configs/radxa-cm3-io-rk3566_defconfig @@ -38,6 +38,7 @@ CONFIG_SPL_STACK_R=y CONFIG_SPL_ATF=y CONFIG_CMD_GPT=y CONFIG_CMD_MMC=y +CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set # CONFIG_SPL_DOS_PARTITION is not set CONFIG_SPL_OF_CONTROL=y @@ -57,10 +58,20 @@ CONFIG_MMC_SDHCI_SDMA=y CONFIG_MMC_SDHCI_ROCKCHIP=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y +CONFIG_PHY_ROCKCHIP_INNO_USB2=y +CONFIG_PHY_ROCKCHIP_NANENG_COMBOPHY=y CONFIG_REGULATOR_PWM=y +CONFIG_DM_REGULATOR_GPIO=y CONFIG_PWM_ROCKCHIP=y CONFIG_SPL_RAM=y CONFIG_BAUDRATE=1500000 CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYSRESET=y +CONFIG_USB=y +CONFIG_USB_XHCI_HCD=y +CONFIG_USB_XHCI_DWC3=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_GENERIC=y +CONFIG_USB_DWC3=y +CONFIG_USB_DWC3_GENERIC=y CONFIG_ERRNO_STR=y