From patchwork Fri Sep 2 08:24:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manoj Sai X-Patchwork-Id: 2342 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 59E0D3F057 for ; Fri, 2 Sep 2022 10:25:21 +0200 (CEST) Received: by mail-pf1-f198.google.com with SMTP id v65-20020a626144000000b0052f89472f54sf733621pfb.11 for ; Fri, 02 Sep 2022 01:25:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1662107120; cv=pass; d=google.com; s=arc-20160816; b=s3wx5EhwQ22RQjLbdg1UoIHJWPOet90u3rapr/f/wynSH+wZUHjTJBdGslZScPMyf+ 1tZryma+lGJYd3e9jkpjIy0IoKYK/CPOJPc49LWP4Sm8kJh2eFSISnC46uHxTO1V5zJg sIidwj8hsOhnCgHYtff2N62Y8UmsI97LS03WTR89S9EtzN0gLTa9R45ilX5m5XPdHd63 eeJE55BHliDqo1afjO6HUbr6LBGinqBjpw9SXPCtgJApSb1w9lSAeZPM6k8geJ9HnWrw MniCo+A+AEKMboWvxmuFtByx2aVjf9bBXX2XW4vj7ZPVIW0t3AQIfJ4M11qwIqSGZ3At kbrw== 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=R2A80DyrXMIwMvKDLD8+8ap6llCtj8wOxebt0p4T1as=; b=goIeoOHQ+urM6Zgx45TIG96igaXQUNOlnAbnHlC5wvTRrvoDyLf8WXhRtMaj+rNSu8 Q6Q0mau/OZD5g4R1ZkNERQvaK7HD64Sz8PS6ACTSA+dgEPm/9l3oMkL8JAUc6H/X9Okp fvtjvL/W/jvAM5LUFmhgqp8X81FL1Vx4/3+WStEIzWnVEekG2vC2RWn2mMmHI/gqwxjP IqzpcpYwt83PbMadH0e1Dm0vYBQq8GWK7vps5ALXO9IagaVziQLG8wWf93Iu+SddFRuS 8P0tMXoX7SAJ/+h9JbkEbKIDwl0Ow+7KJnUXbccX8Kyx3Kfpwgv97j/ZyTEaWEERv+Z7 VHrQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=altaMQoj; spf=pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=abbaraju.manojsai@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; bh=R2A80DyrXMIwMvKDLD8+8ap6llCtj8wOxebt0p4T1as=; b=UGO4vowejMf1YOUteEC0xqd+yEz9Rj6N/htyTy2MychbSEff0HD9UOpyYgdGni8Yt8 seYKQbL5kVrzcm2WGKZTHS+9V24ZH/lboH/XdeodO7cZrDLC5MIETHhXKy4AtiKy/kX4 yicTYC2UnkS4t1M96o/O3J5aG7M8L4sU/s4+8= 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; bh=R2A80DyrXMIwMvKDLD8+8ap6llCtj8wOxebt0p4T1as=; b=lhPW+R93mkgQH9w7l8Uw5ji14MdZywhi4Itldwg2FBMNZrugqrvAzXAB96HcbMsyQg iL0tSy9kR4J1x8qeA6YGJ58Ei2HSYX4pmls8JZXBd/etziv6nQDiYKmHznBXGyXHBpWB nskuSuM9iz9WgQBwKrxsfRCn67JgfHofycwPp4Xe45+DAx0u0mwsRebNJ/LrsARGZi2t ZNHYIia4yyTKCzC5KjVIMUOhHEkJyk3RGjOGJmfnwl44N3B4BDtPZs/Md128y85+SlqR YFVBUlX+KQivUnQQvGufve5oAHNgpoq176jwCSlb4QerA+DM6fI7/CYeAApfuXCw92E9 gdFw== X-Gm-Message-State: ACgBeo39t1ihrohyYZUb8HIRYQElajRtM+2hjsbhkuSbt6pkkfqxVgyp qP2xu105FooswnqkhWeD6nuSZX6N X-Google-Smtp-Source: AA6agR6nz5pJr9O+K2na6PaWk3ODzTSaeq3r5X0g18Sv01xmKTONKVaUMS7H8Tq1DrOnVk5OuWZuuA== X-Received: by 2002:a17:902:b94b:b0:170:c9d6:a06d with SMTP id h11-20020a170902b94b00b00170c9d6a06dmr34914695pls.105.1662107120032; Fri, 02 Sep 2022 01:25:20 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6a00:acf:b0:536:9915:e9f8 with SMTP id c15-20020a056a000acf00b005369915e9f8ls2400402pfl.4.-pod-prod-gmail; Fri, 02 Sep 2022 01:25:19 -0700 (PDT) X-Received: by 2002:a65:5941:0:b0:41d:a203:c043 with SMTP id g1-20020a655941000000b0041da203c043mr29094682pgu.483.1662107119150; Fri, 02 Sep 2022 01:25:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662107119; cv=none; d=google.com; s=arc-20160816; b=KPiXl1hXLZjINTaV2HLRve+qtfD7/Zdeh+rgs1bgMobvpx3NAmkxZvD0205kkYlOf1 /KKEhuSTECaS9CfVH8PSsTlVbGe44dRvJhRQRLPnasKzuYW9CX/kIwN7FsjbgtK2rfKf JVBydeOd/5QuVId/+a6YCI4vHz3TvqAN+BPqfvTrxklOY6cFfOwg2aCgCiAOe1KvgdwS QgMap7NBHdGxECELEUBM/YfBPh5l4MronfajoAEXMTCOhQbxwNuEfZTr5KCI5llBTQwd 6XDRYarjTDIJmvsryW+8T5wX4Cq4i6SY38TMYDfjw/Vs6E4nzTA7pu2DzxqB2bB+4PW2 z1Jg== 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=3e+lsm3rFMVwTOswmta55+B4LLAPiDrrmTP6p4kEkrw=; b=jyWe+LDI9FGB/p6nstL/11+YsclioQHdHwcQ527YlkW1QqDsA0O4s3ck0zAau3ZvO0 PrnkHjBZzzjX9Gk1a5O3qpMM88JiAYS6Nd4CwhGQUJx11EF5yHiHjKBysCPuQJuoJ/G9 7J9A2Lrm4wZh0RASoqg3aUTfv1sx2BZ4YTDcbnWDd8LrcLP7lCRgNthH1ZqoVntNYubG xBW8zEHwFnwd39pwUqyIbKGq8CBaV5r/nvn29mg7WNHZdSomLZ8DyRATCXIGtSGRH/GG WM546Vr4/18nRKM5SGPb0kp/uaq6IKf7GFJI+nsysYyS8JSrk1F1O0fPvAcXFHdpK+E5 +f6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=altaMQoj; spf=pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=abbaraju.manojsai@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 t74-20020a635f4d000000b00429f8e14731sor646053pgb.24.2022.09.02.01.25.19 for (Google Transport Security); Fri, 02 Sep 2022 01:25:19 -0700 (PDT) Received-SPF: pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a63:1a45:0:b0:42a:88e8:f14 with SMTP id a5-20020a631a45000000b0042a88e80f14mr29652144pgm.17.1662107118725; Fri, 02 Sep 2022 01:25:18 -0700 (PDT) Received: from localhost.localdomain ([183.83.136.224]) by smtp.gmail.com with ESMTPSA id r1-20020aa79ec1000000b00536fc93b8c8sm1063671pfq.20.2022.09.02.01.25.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Sep 2022 01:25:18 -0700 (PDT) From: Manoj Sai To: Simon Glass , Philipp Tomsich , Kever Yang , Johan Jonker , Alper Nebi Yasak , "Marty E . Plummer" Cc: Da Xue , dsx724 , linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki , Suniel Mahesh , Michael Nazzareno Trimarchi , Manoj Sai Subject: [PATCH 2/4] configs: roc-pc-rk3399:fix up USB support Date: Fri, 2 Sep 2022 13:54:42 +0530 Message-Id: <20220902082444.83788-3-abbaraju.manojsai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220902082444.83788-1-abbaraju.manojsai@amarulasolutions.com> References: <20220902082444.83788-1-abbaraju.manojsai@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: abbaraju.manojsai@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=altaMQoj; spf=pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=abbaraju.manojsai@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: , - Fix up USB config options so keyboards and other USB devices work . - Update the number of ports of the Usb root hub to configuration of CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS . USB device tree: 1 Hub (12 Mb/s, 0mA) U-Boot Root Hub 1 Hub (12 Mb/s, 0mA) | U-Boot Root Hub | +-2 Hub (12 Mb/s, 100mA) USB 2.0 Hub [MTT] 1 Hub (5 Gb/s, 0mA) U-Boot XHCI Host Controller Signed-off-by: Manoj Sai Signed-off-by: Da Xue Signed-off-by: dsx724 --- configs/roc-pc-rk3399_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/roc-pc-rk3399_defconfig b/configs/roc-pc-rk3399_defconfig index 84e82da3cf..ffd809687b 100644 --- a/configs/roc-pc-rk3399_defconfig +++ b/configs/roc-pc-rk3399_defconfig @@ -76,6 +76,9 @@ CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_GENERIC=y +CONFIG_USB_OHCI_HCD=y +CONFIG_USB_OHCI_GENERIC=y +CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2 CONFIG_USB_DWC3=y CONFIG_USB_DWC3_GENERIC=y CONFIG_USB_KEYBOARD=y