From patchwork Sun Feb 26 13:22:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manoj Sai X-Patchwork-Id: 2739 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 622753F1DF for ; Sun, 26 Feb 2023 14:22:55 +0100 (CET) Received: by mail-pf1-f199.google.com with SMTP id t12-20020aa7938c000000b005ac41980708sf1920294pfe.7 for ; Sun, 26 Feb 2023 05:22:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1677417774; cv=pass; d=google.com; s=arc-20160816; b=DS+f+12eKXLWP/PeiDyA9xups+6lL3plC5e16MsA2JNJK8N2alSr6Pey4CtaKfA6Do l8RsAsjNKyCK6CNJL8jtTArBBiEAWtPu9PoqndpxQpWjudsylOL+Gvjq6S6Bs74sEfTl 4MXQqxmaksdI32nZcmvMhUJW34XvblvfDJjhEUUihV62QKjmQPA3A4Lb5T3UP0lJD7Yl I4W2q2+XTcx8wZcH+GcdJ0qTsz2xXr4dzXSvl5FOsWy7T4feBhSsWCaaMk0Vk4a6ezGs iQoQ6sE0RBDfYCypP8wYiJdPZmZLpjQmVITpoaMxyz7+joLZrnHnwaJpDaz8QWLqhi2O GrCA== 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=vuBKMvjn2fB1IKk+PO8oDJT13xOVsoyhCq3TPDOJXi4=; b=Uaq2wOl51pp1ErVi4mlO0qXXiOpsN5ZHkDwUoomuwqLOVcn0OXI+8IZ0mpsbtpBoTb l7W0h9YKcDeeaRXn1x/Ct0EXOfLtakZTNewLKl9QnUAG4V91cIGg/kJsM8lYSy5y1BXm A1XNe/zQRFNSkRN0GdO4tIJe9fkFvHxflR+ePorZknC4nWg1/xYVrcafC4XgXiw8eULf UWPmypPmhZuqFktUX1lxVl7adHDeTGgv3QNZCJwDqoRnUVh5MO0oAiBIaKtMv/Z7ngiX dR09D/ue3y8cQcKZpvvwiciLDp+q8D95tf4yKOGgNQoPjqnqskOeBgxKt1iN/ExFJayZ ILSg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HjrluFGe; 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:message-id:reply-to; bh=vuBKMvjn2fB1IKk+PO8oDJT13xOVsoyhCq3TPDOJXi4=; b=aEUX6kOE4k6q3izG3TJA+XJcPyzmZP7kF0jAzLQsESMqPDjxO8minYPdasKGPnxiqd ZZVsBY2ddC28TIZjtCfigFVJDEEgKS03+wWj4r6ZM42axk2PhrllhgmfCG5MUWysn5uZ +3jzb6xzK9rviKx9RB+9CcaFoDcK8qwIjsoMM= 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=vuBKMvjn2fB1IKk+PO8oDJT13xOVsoyhCq3TPDOJXi4=; b=OzkQduW/MLO6N8MHI8SViXh9ZWdnwktOcVjC6RCO7JcbmiQkGARDx4qrNXBWPu2759 Nf2hxjGlolj2CvsERMxgcVsS+vo24UF3lfEkWRK7oLOwXOTXGNBKXqn2/VaGLJpF6/Cl SHQsa1s42dEvDsfxv+4pbzoyiyBeaNt6k4afVhkBDxlKcnD9uGj/ogNSvV4Xu7vXWSwX UQvGAwa5EYL2i+8DDxwZvlZFw/dA/+vbT/fdXuizrij8uMxIkRjtdgocFxC1pHgEDwMR +wOZ23zf6XgL1pXlA8VZYhKeGfzZdDLhYwLerpmDVV/fo4xQ1G/pDk7Lw0eAjV75xt4v lFTg== X-Gm-Message-State: AO0yUKXICqbuljE8T9A5lVeA7x42YirWGLvHoOepyyTFkQHElGM+AT8D zczizLq95oLpKyhYe4HeUDoU2h/t X-Google-Smtp-Source: AK7set8c2M+yO4DKSrRmT06ELYIifgRsE2BuDs0kJbiXv9BGK39EQPmylaW1AXelI6VnsGcjQ9HgPA== X-Received: by 2002:a17:90b:ec6:b0:234:6a5:5e3e with SMTP id gz6-20020a17090b0ec600b0023406a55e3emr3669112pjb.7.1677417774005; Sun, 26 Feb 2023 05:22:54 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:8489:0:b0:5a9:bb64:6e83 with SMTP id u9-20020aa78489000000b005a9bb646e83ls2314350pfn.7.-pod-prod-gmail; Sun, 26 Feb 2023 05:22:53 -0800 (PST) X-Received: by 2002:a62:1aca:0:b0:5a8:d407:60f9 with SMTP id a193-20020a621aca000000b005a8d40760f9mr19165687pfa.29.1677417773093; Sun, 26 Feb 2023 05:22:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677417773; cv=none; d=google.com; s=arc-20160816; b=Od1rCUNIUxVDrA60SPoQ4yFSyecEYr0Oq9bnGHJAnSFomSYdm73wCt/Bgd4rvOqiLm cxlqR0NFh5bvQ7Z6FCLI+aN6LdckqkTZ1+m04ifYXRpEz13+k14Pfu0JBDdjxGK5b0Rc w2XQ66Bb5FHEt2R8ntYkj5qV/BNBMpCwvpk9fspXQbaClerqGsprTF3vLmrgZXbcRMHu Z6Ns76OfCZ0eShg85t/NZaFQ2MSljcf3vDonmJgaJZUyWiaqZ4ZnR9vaOr80FQcXCeb4 RP1DgUZO0NrP3buRdyjgRu30Sx42xwp6L+b/HN21mh2fLa6QdX54OUbkRv86co6IhEkS Xmpg== 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=a2SdEunKSLhDhAuX7CUU1j1TLlJy+Tc3vK7RMupM93c=; b=Sm1XX4LTBayOhViC47Akt9SXY9QwRzLrqJMHMCTjWiTi+K3b27OSPF2jdS73JV4bU+ Eu7TwyH7N7P6LRvG1xh+8q2YTPQ2pldFBpk2NVFkxcBTCo4/hroiXq8OpvvXrN1Ba1uQ ITS4Ey5ZADIsva0mnTjOn1/awDi0PGHAxdiawaq03rH6YnjFL1oKp+ECmqcihDjnIaIP LPBWLMIniWgg9/LlMqz8YW4nMZ89JUnuxB+ujAmhiG65PlKLKLvMFxwbWHAIjnidPgQY y55BxuqMuzHOykZ45tdSpY5zQcq/jbYbCFUeDr9wXrzq3ItFO62NQJAagUdMt/TVazq1 id1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HjrluFGe; 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 h63-20020a628342000000b0058e23ca2145sor1280980pfe.15.2023.02.26.05.22.53 for (Google Transport Security); Sun, 26 Feb 2023 05:22:53 -0800 (PST) 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:a62:8494:0:b0:5a8:9fc6:6fb5 with SMTP id k142-20020a628494000000b005a89fc66fb5mr23349530pfd.16.1677417772782; Sun, 26 Feb 2023 05:22:52 -0800 (PST) Received: from localhost.localdomain ([49.205.253.60]) by smtp.gmail.com with ESMTPSA id e21-20020a656795000000b00502f017657dsm2324657pgr.83.2023.02.26.05.22.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Feb 2023 05:22:52 -0800 (PST) From: Manoj Sai To: Kever Yang , Philipp Tomsich , Simon Glass Cc: u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki , Manoj Sai Subject: [PATCH v2 3/3] rk3566: radxa-cm3: Enable USB OTG Date: Sun, 26 Feb 2023 18:52:34 +0530 Message-Id: <20230226132234.31949-3-abbaraju.manojsai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230226132234.31949-1-abbaraju.manojsai@amarulasolutions.com> References: <20230223163553.647775-1-abbaraju.manojsai@amarulasolutions.com> <20230226132234.31949-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=HjrluFGe; 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 USB OTG support and update the fastboot buffer address for Radxa Compute Module 3 IO Board. This would help to use fastboot by default. Signed-off-by: Manoj Sai --- Changes for v2 :- - Updated the fastboot buffer address in drivers/fastboot/Kconfig. --- configs/radxa-cm3-io-rk3566_defconfig | 2 ++ drivers/fastboot/Kconfig | 1 + 2 files changed, 3 insertions(+) diff --git a/configs/radxa-cm3-io-rk3566_defconfig b/configs/radxa-cm3-io-rk3566_defconfig index 2100cf2cb2..aba3a65e7f 100644 --- a/configs/radxa-cm3-io-rk3566_defconfig +++ b/configs/radxa-cm3-io-rk3566_defconfig @@ -21,6 +21,7 @@ CONFIG_DEBUG_UART_BASE=0xFE660000 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_SYS_LOAD_ADDR=0xc00800 CONFIG_DEBUG_UART=y +# CONFIG_ANDROID_BOOT_IMAGE is not set CONFIG_FIT=y CONFIG_FIT_VERBOSE=y CONFIG_SPL_LOAD_FIT=y @@ -74,4 +75,5 @@ CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_DWC3=y CONFIG_USB_DWC3_GENERIC=y +CONFIG_USB_GADGET=y CONFIG_ERRNO_STR=y diff --git a/drivers/fastboot/Kconfig b/drivers/fastboot/Kconfig index eefa34779c..53f0b3a659 100644 --- a/drivers/fastboot/Kconfig +++ b/drivers/fastboot/Kconfig @@ -41,6 +41,7 @@ config FASTBOOT_BUF_ADDR default 0x800800 if ROCKCHIP_RK3288 || ROCKCHIP_RK3329 || \ ROCKCHIP_RK3399 default 0x280000 if ROCKCHIP_RK3368 + default 0xc00800 if ROCKCHIP_RK3568 default 0x100000 if ARCH_ZYNQMP default 0 if SANDBOX help