From patchwork Fri Sep 2 08:24:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manoj Sai X-Patchwork-Id: 2341 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 90C8F3F057 for ; Fri, 2 Sep 2022 10:25:14 +0200 (CEST) Received: by mail-pj1-f70.google.com with SMTP id a17-20020a17090abe1100b001fda49516e2sf2767770pjs.2 for ; Fri, 02 Sep 2022 01:25:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1662107113; cv=pass; d=google.com; s=arc-20160816; b=X1wa5va7hEoRgd5JuS2OJX8rXRuDUfOVS3vqHhTA/9oeCLFDq9QcLDmMSo94QvS7H3 CaJKnVV5JLucmefgddrtDhjbvqEz69icf4tPHQCCAKFVCt2f8k5R7QEc7a6cRczT+cZV x1Iwi/ZhIhguGaqAy9TKLJQ2yFfGwmE2g2xAI5KJIrIlfs+uF7fXSRBE9AJ0MmpCYobq n7D42IxAiA62AAPoHnBHHtLQiZ+83kMQtkz+uKJc3KKUVhCb5dlGO2lTAssjGtRCo1pU bQRTd0jEXEhPUJEhdS3Rfjt75VfMj+fPCJdTcLZRD069tVye0szS71HnPzj5+cO6szGe O/7Q== 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=l+tz7MsudskiMu01rvQAPeDVQJYwXk2wpAcEQzcFAho=; b=TvDvKOqMd4fyeKgwro2xZex7pUzivPZZnHSb39w/hvU17E8pRmQUkE10kT5MkNp5CP YCowiuAygcLPLIx0grzkqafVGImphvASBYPeR7qOr+NncA2eYSfG8SUvW3PYStbe0yEN uSItMmZvQOsGDyVaImutfZGI/pUyKmUJugzfkf5Zj7aLPHS/yk+uebG7te6XcpKB1klQ 4ZQAzuthkc5YPHb7jn66xRnlL3hbY0ESWY/aoIAov0p0XV1sdIC443oRrbDlZ86SntrZ R1zZFPde+JkkgcKc78lKY3duwHP0LhvW3Qd14t6yenR7Su2ncbwo85pXxQEIA2BAH/U/ aKfA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=MOePzqcs; 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=l+tz7MsudskiMu01rvQAPeDVQJYwXk2wpAcEQzcFAho=; b=Rz1DL5ErwTo/ajLq6NWwGP/AemdGZF8H40QrL1HeRTSNi22f89THpuXKl5xeOu+/LL rysgeMZRpVo689DjUtnsWEO/72rubw3IgYsAksr6G8I3ToPO0t/veFJcO0ISPUtP98j1 3lKNbUFsKwOKbfJdFU4YYFeoF1oLxChyLPmuc= 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=l+tz7MsudskiMu01rvQAPeDVQJYwXk2wpAcEQzcFAho=; b=NRoTO4IwjQWypcz6y3cGZprZtw+JX+uafLVzeVYH/s/2T3fVqwWHqQizq3maguhrvK IF8WqrO/Uq/p82O+0MaUVZZ7nCKGjkRBX6ab2fqZjgQmZ54ZAEwyhdR1SV/0JJNtLSQY bmG9yeVjkUnWlBRDgpNI2LJL6eWZQiWrry0tVhLUEgu09cVyk5lKIv+6WrGLRfhvyEt6 btNS5TT5w8emy/UWPWkt3RdazrgmVjD/Ojdc0xg4imYX5ITQG08e8g372omYvCyaq7Pj HETlHy5D1GrT8jeMAVBDLM7OeCXkpv/SEo2fD1w77kZ+jKcMxNpB5cQRHSLsIpXBFD9n uU8A== X-Gm-Message-State: ACgBeo09wa51dbfG/5q80gdvIQ0kwQNE2qyleAL6F0pjd8C7BcR4RWV7 3Qgh2pI2cG8rzfEIlW44xb4Tvws8 X-Google-Smtp-Source: AA6agR5LH9gf1H20v64FXz9q/+VfB8mghLrSkyAG8y2rxc+M31OcuM0qV8MAkQAh3/Iquq+/7LmwUw== X-Received: by 2002:a17:90a:e293:b0:1fd:7a55:9e1d with SMTP id d19-20020a17090ae29300b001fd7a559e1dmr3662156pjz.113.1662107113152; Fri, 02 Sep 2022 01:25:13 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:1b64:b0:1fe:2dcc:657a with SMTP id q91-20020a17090a1b6400b001fe2dcc657als5043306pjq.3.-pod-canary-gmail; Fri, 02 Sep 2022 01:25:12 -0700 (PDT) X-Received: by 2002:a17:90a:b007:b0:1f1:d31e:4914 with SMTP id x7-20020a17090ab00700b001f1d31e4914mr3690253pjq.36.1662107112310; Fri, 02 Sep 2022 01:25:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662107112; cv=none; d=google.com; s=arc-20160816; b=hcXjo4vDEDfcHRNFmr/6nSmz1bZsFUHcSdXfE1Cz7P3Juab1Xea3V2Ne2C3EvXVqyO ZQZqgUwuwEtUgb/4/gqwsHLQ8YuVaD1nEeADMOMH6wF35zZWCT2CX7MOuTBmND6wfA66 /jVYla7q5BIcfXw7lsYI0OiuJt144tR3YHrcQFsj2U+bN0jKAdng7BtO5LpYahQto5sp 4Q52+sg3xvW+A1rAuXSJgkmCPE/TH/qTg55L41ggnKU9cPPjY5eInZ63KhyZmOOn6Ue4 xkV8AAkgdiwx6vjV4F+SDq3n+s4C+++QMVXDMmAl4nIiY9J7X+xKvjWqdxbmXedNgcnW HobA== 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=M5JrtVLN941urS3h/hKVXnp5xsHrMV0YKXP/bHiRETk=; b=XxmcDNYa4ToIcABA4wzstGhYqArAGjUUMczWIijEo00OplT6ElUlz2uCx0dlsWJxBu HX5bz/4TAwof6imY1YUyU0Rj3gInjGghVjWy4tPbmEKObyX573U/sSVPX1TO6ClEWdWI MsgKbrCN4A6R3hi2tJe9i4D4eLEZ0BJSTPDrb48sKHGSPkz0VfFaZZzFCODyPm306DPW 198cP4phMpdcuiu+NmDYr/0347arBdaDBMTsf7zOJjBW02lkcsxc1bWWRYaHXfxtLl2q 7cQDIDPi8trg/V9RsMGqoTPOo4tO42+yLohfgGGJiPeOwjNq+dKxy6lY2Drn6pzQwm8B fsTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=MOePzqcs; 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 i1-20020a170902cf0100b00174469fb5ffsor680785plg.16.2022.09.02.01.25.12 for (Google Transport Security); Fri, 02 Sep 2022 01:25:12 -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:a17:902:e547:b0:175:376:875 with SMTP id n7-20020a170902e54700b0017503760875mr18368884plf.147.1662107112057; Fri, 02 Sep 2022 01:25:12 -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.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Sep 2022 01:25:11 -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 1/4] configs:roc-pc-rk3399 :Enable CONFIG_USE_PREBOOT Date: Fri, 2 Sep 2022 13:54:41 +0530 Message-Id: <20220902082444.83788-2-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=MOePzqcs; 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: , use preboot configuration to enable usb devices Signed-off-by: Manoj Sai Signed-off-by: Da Xue --- configs/roc-pc-rk3399_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/roc-pc-rk3399_defconfig b/configs/roc-pc-rk3399_defconfig index 4625e47537..84e82da3cf 100644 --- a/configs/roc-pc-rk3399_defconfig +++ b/configs/roc-pc-rk3399_defconfig @@ -20,6 +20,7 @@ CONFIG_DEBUG_UART=y CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x300000 # CONFIG_ANDROID_BOOT_IMAGE is not set +CONFIG_USE_PREBOOT=y CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-roc-pc.dtb" CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_SPL_MAX_SIZE=0x2e000 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 From patchwork Fri Sep 2 08:24:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manoj Sai X-Patchwork-Id: 2343 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id A98B23F057 for ; Fri, 2 Sep 2022 10:25:27 +0200 (CEST) Received: by mail-pl1-f200.google.com with SMTP id o12-20020a170902d4cc00b0016e81c62cc8sf900199plg.13 for ; Fri, 02 Sep 2022 01:25:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1662107126; cv=pass; d=google.com; s=arc-20160816; b=KfG+w288IYlJvrWW7oagBjxfqqMpLj80k+UHgTZGne/uGfoCGroVG83PbbpBP4piP4 rGBwd8sxW8rhEn7IxiN7RhZnC1GhjS9hL9vysKyR9bGp+17+k1jfKERc58GWWunpk8ag CLXSedKl7cb1y6TmXSp2Ie4mgYWQVuGAizVQgE/BpcpRxyKQleTPoWXDD2QEFTg0Mr21 oj+SCGWqVU5USz1g8fpSHhFqJue+ZOLb5NBExJrliOBWvVQiPKQeEbwSzEz1APkgztLm a5VHc81ca3+h5Hbju5ZRLXATol19AV9ijnvTyOWlWbo84N2GmNRyYAc9BcCxfl3flTjQ FbTg== 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=CY539yqOsPzemx4V69tTjGwXBIeQZUNwpF0pR3yUxco=; b=Y9pSEHeRaJ09VJtf0ctt7+OQsIIO2OX9Iw1TLsGV7M/TY6KmFai2niHS2Ejfq0sguD eks+NNP0RYRuUimLP2UG5vOq454WJ4ag/L8RM6rHvBt9M8xkPJsNxDvCHIprziBv9CiN zbnuddLcKQYQpAd3uqbEuLsfFy+REHvmK69l5zrNoTKGwzfuY42foraipVRoP34A0NC4 6OO7BPoz+MG8kVXvIgnbdEeq6q/av3czBh8C0LjOINUT7LjFzoj/5sGTt+tRSR7COpGO HqN7Z/6byu2pjzsjtgJMcllRzigkHyyMqPCxgYQ0SqadniFaBrx9P8xMJhvc/tJJDRRQ 1Ang== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gOJWVlQ5; 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=CY539yqOsPzemx4V69tTjGwXBIeQZUNwpF0pR3yUxco=; b=eRpwX6padRiKlXGRETshvZ60rsKzI+sVwOX2ILlN2nBj3vEUip2oK71FGMQyv7jNC3 v6KqTiR0ce4vHyEPIU0wubBoG/KoSi2V5jspQUyGgj2qxSujwC1i2Tt1LvaaBlo209bp v2odzHpxtKQrj3ntNUkd4dHD82NeIgOKm/A2k= 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=CY539yqOsPzemx4V69tTjGwXBIeQZUNwpF0pR3yUxco=; b=o6nFMQL9s2ydCY1mmW9Z2H8AHg86t1Q8iYJDcO8H6pdoNkBWr5kjtWabvWwx6Jnoxp AmyJF3mIfBcCE1vMB9BPZTHOo5ynF+WXDfK4K8HPaLsSCZ/HxEIOGi/Tm6p1SQZW/AKw j75GksxaXnqVQWMW0KvyhwQgbsS/Esn7g9+Nbf2VgtVSrBWcZzyZxin/fXgunhNxh14v rBcz8pJV0EE7G4vfKVPfCxVlDW7vFxufPcXcIs6rOlczfAGQi/SWytbOfShkUDmu6i9K 2IQjxoFaByCluKxrL6E17ZhUM6fs7SUdv4sn4BdNlRiJAc7zsF7Qvz7gn3oYK9lf57W9 flWA== X-Gm-Message-State: ACgBeo3F+YmYJsqlWwJFgDQeGqy1owj9d/d080t48n1XJU21GZjRnm8F cahGNlxvOT9h/BcVjTOvZSK2e5eW X-Google-Smtp-Source: AA6agR7oKAKJ7bZhbOMoHEehJeMME3TVgUj/nMMEuxngDX3tObSJAErv/yXFmbAQwJRoPRB2e4OrSQ== X-Received: by 2002:a17:902:f105:b0:173:37d3:799e with SMTP id e5-20020a170902f10500b0017337d3799emr34650880plb.88.1662107126493; Fri, 02 Sep 2022 01:25:26 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:1c8e:0:b0:538:2c07:9c98 with SMTP id c136-20020a621c8e000000b005382c079c98ls2397319pfc.6.-pod-prod-gmail; Fri, 02 Sep 2022 01:25:25 -0700 (PDT) X-Received: by 2002:a63:784f:0:b0:42b:4c9d:79ee with SMTP id t76-20020a63784f000000b0042b4c9d79eemr29036238pgc.65.1662107125635; Fri, 02 Sep 2022 01:25:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662107125; cv=none; d=google.com; s=arc-20160816; b=g5LnZaKunIFfe1E4bJH0wkdRadPGJ+tgjpt/9i+1LNLt9852m2PCtgM41kfXuQowi/ htf7C1WPFL+jhjnzZD5GzU0auLWUtOJFB2h1mN8lBH359I943+bNXk1tXJiaoepDFUcj hIDLW+w30wW1zhj9W+GLJ1XlMkNQvxRT8zGR3uBgkQShLuDZUk+ZnbwvW3K/xFKmj+2q XxKeA5s9Nu3mBDJNvNM7lgJD8G1H1wLskNWJZT+v0dFz4ntPUNuuG8uN3zy/4PBKP3iF oC1wA3htRz6LgPnJeeHijljPqOMPmm4/uWut55uqwUeYvbhfxEYNN8knWght7E5ETIu7 S2gA== 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=7pkwKf/r5dX90s3ArNJ4CnB+Ej65UiSr/egkKwP+Nxo=; b=GCciZnvG0s9LC31dgqv2naDqyMfx2ISXWrsdIRb8+FikuDWh+VzzntwR1RVdu+ZVS5 ew0s0WhsYP8iEv0OciQ1B63c9wVnAjdGadtMdXOAF7nVc69b+CEkFJAnRiLAzmiRxu43 HdtKIy5W6Wk+NP3cmlnXSHexGeOefkOrVB9Cm/L9WLg7rIyKxE5jb0eiwL1R7H/DnZR3 DXYmVv86HvtOoJ6OsxrQS6gU/ZBUitW9f+PMsPSmeDefNdZ1D+wCqmjJ6BxcBvPTsuM3 kNbZv+CXvN6jX4lM2KNSc77pxSxJ3pQhxQkiy0ydd7J+SF7jsPMncqDHvuuu3wzDJg+A 0wCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gOJWVlQ5; 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 m8-20020a655648000000b0042bd8130818sor596583pgs.80.2022.09.02.01.25.25 for (Google Transport Security); Fri, 02 Sep 2022 01:25:25 -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:5824:0:b0:430:af90:1090 with SMTP id m36-20020a635824000000b00430af901090mr2210766pgb.172.1662107124898; Fri, 02 Sep 2022 01:25:24 -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.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Sep 2022 01:25:24 -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 3/4] configs:roc-pc-rk3399 :Enable crypto RNG support Date: Fri, 2 Sep 2022 13:54:43 +0530 Message-Id: <20220902082444.83788-4-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=gOJWVlQ5; 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: , enable crypto RNG support for roc-pc-rk3399. Signed-off-by: Manoj Sai Signed-off-by: Da Xue Signed-off-by: dsx724 X-Patchwork-Id: 2344 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 3A2643F057 for ; Fri, 2 Sep 2022 10:25:34 +0200 (CEST) Received: by mail-pj1-f70.google.com with SMTP id ng1-20020a17090b1a8100b001f4f9f69d48sf2760770pjb.4 for ; Fri, 02 Sep 2022 01:25:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1662107133; cv=pass; d=google.com; s=arc-20160816; b=KrBh3E3a7gB+o3GXApafgcZhWmcezYdZRWfWSYNJFHDJvKtmKhKfWsxvkmvPu1dZD7 0q1XobrHeyfmHdNP9wBQF8uP+1fLF/q+cXVFv7tCRdgfZU0JrnidTSbcoGUPWaE5ic4H uiwq8BBdlr/+eq2qBnNh44AWnCPW2tSKO21mR41Ob0YXBwfdjVfaCfvNZ9nlcESiL8vs OHLW3w3q0QdutGwo6qlkWcEk3QgXMnb9TlktTgeKgbo/+7h2Nu4VejkIs1Qdr/CshU9+ vchTrwjcp4MYXTFiXbHRSRUsJ7XGMEPoWNg97v0pXXD82pkkZi3mTK+QM+9gPaOAd6t8 9mRw== 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=Lm9amcr0b0Y1J8Jv0sauFAsDBrripHbrGCIP/x3YkGQ=; b=Zf0P/n7tLyCHEFxulqKS1Fk8A8LZ2F4n65fX75bxis4kJ9CpiYAa5KZjtZQOwMj+cP Dr58UnkhFaZwhYliCPWlNsudqbRS6bzEckOx+30Kqmidk1eRp91qfdkw4mlrL+3wlyTs WnkGCvUvUXVZZFHyAc4JC8Ep03e/J0B+MnCXOZTpK+xdU2VXqlEeF5h4BOdun44M9jQQ Bs9y5svBD5gSCdIsvYswFNkYVEo5jeLrxvbnE6kSVSl4RahTbA3RtzAEf2eDmUUpOGL6 onZ6tHFzRvAGMk+yWWLKShBOg9qX867SzrveLneAkcPNkcrjqcSYcQi8/MuhE1EH+tRe 4Q6w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bwUul3bo; 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=Lm9amcr0b0Y1J8Jv0sauFAsDBrripHbrGCIP/x3YkGQ=; b=eifqSgLX5GVHLVc3wiwkMfIWKg1yKhTmQdvO2M4XjUIcywjfYGnizWik0N7EWkLLOF 27xnVs9FRPgtTGHprVuENn3epV2XTrYNhJo5cbViiEhKoJ8Rxa8TzG2LFmf++Sj2E36u 74eIVw9bojd44kmPnC+27wwDHlMJWroWA+vew= 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=Lm9amcr0b0Y1J8Jv0sauFAsDBrripHbrGCIP/x3YkGQ=; b=lL4KfGjdY5RC1rMvbhLHO8jc746f043Cwdk77XMl81tC0sMejUvCqYAfKpZHFK9LOb r4AqC1i4C2Xtrd9TE69dU2ohyXC4q/mbYsKdkjJhG3jxD/uA9BVszKZ9ekrMtv7zzPqM ed1I8RXbS85XzI4JhBid9Lva3MXi4RLk5wbTPNERP+EaGP2B6Cs5Qp5zLf7q7xqOQHSU JN3/pQY6rhD4jJKtdVujYQ94lWB9bA+rKMNQ+HAOVRkJLmQ/XrwJFjrVT1adga24a//u 8V7dJkZEA1qIlfCPmrCCYRUJlpcON8H7jn2QpC+jBcOs/cBbeoXT5bAXcxge8nslU4LF Np9g== X-Gm-Message-State: ACgBeo2gx5G1Wb7rx2726HLdUJ/5tKE5CR+gtBNjKYSe+M74VwZhiqLf 4T622BCGyBDWbtK77ee6YWCsx7H0 X-Google-Smtp-Source: AA6agR4kOEBaBGvxm9yEke+H2IWrsqO/cPrCx2IC3hfJTACCWsbXruZnlnooaoqLl3QiuPw/QZKibA== X-Received: by 2002:a17:90b:3a8c:b0:1fd:e8a7:165 with SMTP id om12-20020a17090b3a8c00b001fde8a70165mr3563567pjb.179.1662107133033; Fri, 02 Sep 2022 01:25:33 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:8d10:b0:1f3:1fa8:829d with SMTP id c16-20020a17090a8d1000b001f31fa8829dls3168120pjo.3.-pod-control-gmail; Fri, 02 Sep 2022 01:25:32 -0700 (PDT) X-Received: by 2002:a17:902:e884:b0:174:9834:53 with SMTP id w4-20020a170902e88400b0017498340053mr26128214plg.2.1662107132180; Fri, 02 Sep 2022 01:25:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662107132; cv=none; d=google.com; s=arc-20160816; b=T9NKJscRebKp1n6/IcQjATc9eKvCrwccivmYiqXfq9bDbues2UIxkfhEAhENAgKza8 E/m9G2EgbLgdTS6vZweu+/MgYqRrg7nv5Vb9OQIzxCDRhJrnxFe6XAG/RVx9p5txxwnR oQjBKwEynDrmZmWTiE+xjVn9ELzfhSeksli3vkNa7XR9IrZd1so0+s/QfoyP3C39lAmS EbntwFlaZpfHTQ0TDO8Afp5bBkXWyNxYJCyPibEafv54ZChLLlCuc8wOqSVLPw1C63g9 U/seo44U2J+JM3ndyXyuSryizQcqF7T2jPjN1akTZexVVSEMz/qe5sGyCgm693yfNTSU Wrvw== 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=npINOhOr3vfRRSuSz/nSaDBRFUpOjuCEDDm8d7nVZDA=; b=tBilyZ0kCiVXjqSHvcrEuJbu6p7JKlaohjV0D9/TwI0X0aDXsnwyuEaOeymLZVEt6B 31cglhIFRbB53Ma5qjOwtsdxA3W6zcfrj+ZvBVLbay5NVV/dSTaB1I7XTD+d07+ZiOU3 h3xwVM5xDCrI56E1Id1bknvbRTFcn+IOJfl4dXhkM8/ROe+iKtx06aWPDBx/T+4I2s1Q IWxCzd6yMT/r8Km4aL5LHNxQeewa6JsGoh7YYiKNymtFAMrwnli3b2KRtVi7JzLgbwT0 WlH7ESgOjw+kf0PFfJCOc0XBeFJrRLaYiaVLjS5j/AoowLfYgK5J/Wtw8Nxy+qKG9fbG QUDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bwUul3bo; 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 w5-20020a634745000000b0042c65f56606sor613083pgk.33.2022.09.02.01.25.32 for (Google Transport Security); Fri, 02 Sep 2022 01:25:32 -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:2304:0:b0:42c:60ce:8bb7 with SMTP id j4-20020a632304000000b0042c60ce8bb7mr17383434pgj.250.1662107131896; Fri, 02 Sep 2022 01:25:31 -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.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Sep 2022 01:25:31 -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 4/4] configs: roc-pc-rk3399:Set the maximum slave SPI speed to 30MHz Date: Fri, 2 Sep 2022 13:54:44 +0530 Message-Id: <20220902082444.83788-5-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=bwUul3bo; 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: , -While the SPI controller speed is defined by DTS, the maximum slave speed (connected devices) is limited by the pre-defined configuration value CONFIG_SF_DEFAULT_SPEED from 10 MHz to 30Mhz. -set the Value of SPI flash max frequency for environment to 30Mhz. This patch increases this maximum SPI slave device speed and SPI flash max frequency for environment to 30MHz . difference in time of erase and update a region of SPI flash from memory with 10Mhz and 30Mhz frequencey range updation : => sf update 0x300000 0x800000 0x400000 with 10 Mhz frequency updation :- 4194304 bytes written, 0 bytes skipped in 36.819s, speed 119837 B/s with 30Mhz frequency updation :- 4194304 bytes written, 0 bytes skipped in 20.319s, speed 220752 B/s Signed-off-by: Manoj Sai Signed-off-by: Da Xue Signed-off-by: dsx724 --- configs/roc-pc-rk3399_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/roc-pc-rk3399_defconfig b/configs/roc-pc-rk3399_defconfig index 84e72e8b60..7754cb8388 100644 --- a/configs/roc-pc-rk3399_defconfig +++ b/configs/roc-pc-rk3399_defconfig @@ -45,6 +45,7 @@ CONFIG_CMD_TIME=y CONFIG_SPL_OF_CONTROL=y CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents" CONFIG_ENV_IS_IN_SPI_FLASH=y +CONFIG_ENV_SPI_MAX_HZ=30000000 CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_SPL_DM_SEQ_ALIAS=y CONFIG_ROCKCHIP_GPIO=y @@ -55,6 +56,7 @@ CONFIG_MMC_DW_ROCKCHIP=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ROCKCHIP=y CONFIG_SF_DEFAULT_BUS=1 +CONFIG_SF_DEFAULT_SPEED=30000000 CONFIG_SPI_FLASH_WINBOND=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y