From patchwork Sun Feb 26 13:22:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manoj Sai X-Patchwork-Id: 1748093 X-Patchwork-Delegate: ykai007@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=iCD5gjfJ; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PPkpB4DSSz240p for ; Mon, 27 Feb 2023 00:22:56 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 75B288575D; Sun, 26 Feb 2023 14:22:49 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="iCD5gjfJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EECBC8591C; Sun, 26 Feb 2023 14:22:47 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3D68D8547B for ; Sun, 26 Feb 2023 14:22:45 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=abbaraju.manojsai@amarulasolutions.com Received: by mail-pl1-x634.google.com with SMTP id bh1so4066101plb.11 for ; Sun, 26 Feb 2023 05:22:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1677417763; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=coX6jpopxp3zufOl1us5okhXEhlxyYLwFHiEzcmMEao=; b=iCD5gjfJHlLjkXVbUBPhFnRcOag7qy7ggqe2vMWek2l99nptSMR8yQfDA5hRPnQ55s Q/6UTSZrFikHs8f98cBKLhdZvuRbj6ny3ngT0tg5Y3e/UQ0VjTg75ujoQnGqWoRC4FX0 yKCzpaTCFkeAzeDGFRJ8SybcxPlnvoIBwDjmw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677417763; h=content-transfer-encoding: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=coX6jpopxp3zufOl1us5okhXEhlxyYLwFHiEzcmMEao=; b=6vt6xyzlq27lMDehnat6tH9z+J3M/rMD5WXIdKW8+qUSxmZVqnhgBCPPpHeU93NGWO V+KWyf882MczlzTkf6Zje3ZakJwImrhpZo77ewd0FoWz/UocDBsmjlLogc/phUp7OBeK MAMr4fWabtuK0hU/IZB3GlNf5SUPbJWLEgcN3k9TgisMFl5YSSvevL5jng+QocIZGUNG 3fgHvSWsJHoYzO2Ygk43JR3TwYZgxQboyR/arGoG4o/CE3Sl991F9HvVvDIjy6W7lySR eDBM4AvtmeOLmf75GMuDggsGaSltQhVGDaTXrcA9Bvl0073pADh2/IilJQpGhw2L49YT NSwQ== X-Gm-Message-State: AO0yUKUhZ9EWrQT+lOgWJZYE18RDgwaxkcHV7unBHWBiKfCXAj4BE/Ee dC2z3QlpBtzYhxxC3HV1lgzIyw== X-Google-Smtp-Source: AK7set/O+iZiJGUmgsvRDESblJ/JJI9LK+n7YY9XoTKWT9f+JLDhGToAbqv4VZljliK+p3JlY+DZzg== X-Received: by 2002:a05:6a20:691d:b0:cb:8885:5650 with SMTP id q29-20020a056a20691d00b000cb88855650mr20639103pzj.55.1677417763443; Sun, 26 Feb 2023 05:22:43 -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.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Feb 2023 05:22:42 -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 1/3] arm: dts: rockchip: rk3566: Enable USB OTG for Radxa CM3 Date: Sun, 26 Feb 2023 18:52:32 +0530 Message-Id: <20230226132234.31949-1-abbaraju.manojsai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230223163553.647775-1-abbaraju.manojsai@amarulasolutions.com> References: <20230223163553.647775-1-abbaraju.manojsai@amarulasolutions.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Enable USB OTG support for Radxa Compute Module 3 IO Board Signed-off-by: Manoj Sai Reviewed-by: Kever Yang --- Changes for v2 :- - None. Note: Above changeset has sent to kernel mailing list, which is currently under review. https://lore.kernel.org/linux-arm-kernel/20230223135929.630787-1-abbaraju.manojsai@amarulasolutions.com/T/#u --- arch/arm/dts/rk3566-radxa-cm3-io.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/rk3566-radxa-cm3-io.dts b/arch/arm/dts/rk3566-radxa-cm3-io.dts index d89d5263cb..5e4236af4f 100644 --- a/arch/arm/dts/rk3566-radxa-cm3-io.dts +++ b/arch/arm/dts/rk3566-radxa-cm3-io.dts @@ -254,6 +254,14 @@ status = "okay"; }; +&usb2phy0_otg { + status = "okay"; +}; + +&usb_host0_xhci { + status = "okay"; +}; + &vop { assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>; assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>; From patchwork Sun Feb 26 13:22:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manoj Sai X-Patchwork-Id: 1748094 X-Patchwork-Delegate: ykai007@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=F21qq4Va; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PPkpV266dz240p for ; Mon, 27 Feb 2023 00:23:14 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6C7B385947; Sun, 26 Feb 2023 14:22:55 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="F21qq4Va"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 83BFC85945; Sun, 26 Feb 2023 14:22:52 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B37DA85927 for ; Sun, 26 Feb 2023 14:22:49 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=abbaraju.manojsai@amarulasolutions.com Received: by mail-pl1-x62b.google.com with SMTP id p6so3252242plf.0 for ; Sun, 26 Feb 2023 05:22:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1677417768; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=oVwC4k6m64mBO2MXSs55L/7Jl2eFBYIP0uWLqBSFpIQ=; b=F21qq4VawhCZfu2g1EExhzDxJiUVF9SLbnZZ+b2g45aOn1SubtMQQgmmHgAo7cmoHv NiY60M8oKYBgw8dva7mo3u9uXpyC7uNrZTqltMovdcS/FICy6zMfskGfGZJLEVIfC2xk q4osrdPK5+g3yEKi04aw5g5AAZOHtzOnSRr70= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677417768; h=content-transfer-encoding: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=oVwC4k6m64mBO2MXSs55L/7Jl2eFBYIP0uWLqBSFpIQ=; b=U4IWUVPrHnJZNvtZvYI1minvYNVuD36AhsWBM1hd1PVwVrhsZURJxpWYg4WizgaPC1 4Fg0Moep8dorLgg4I6MsE3LUqNrXREaLU/QdeZzQuSU6GG8Bx2kf3dg4Lr4AP1sxF4aH tRIvb6SIUB83PpRPnqPrqabskybRQ7u3pZ33SG4G374ZpN/scI9Qwr94QgfFo2L+AIiN k07dLbtHkXZyW1MZEU12/Sa9QONmEgYFHZIHuKNpISZALCdcD/bCzrk+cCQoKXrVUnWS RJ9SC7DPso+xtPf3kjGYVhdEsxnRMKCH2CZpxqajgOMPWIJunMufiJEEC3UqGoIicoAy 2oPA== X-Gm-Message-State: AO0yUKV9xQZ3jdQctKEU94B8ouXDaaPlkjPp02yts9lL68TTDXCGuL5u GkbszzQjlFzlnKwgHzKoPJNcPw== X-Google-Smtp-Source: AK7set9qrQguBiW75SwGKuqGc45Ngk2xEJwAbvxI748XN0EunrBW5MYrJBAe26jUWyRFEdnb6gaTbA== X-Received: by 2002:a05:6a20:4417:b0:cd:4ad1:cffb with SMTP id ce23-20020a056a20441700b000cd4ad1cffbmr351045pzb.51.1677417768107; Sun, 26 Feb 2023 05:22:48 -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.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Feb 2023 05:22:47 -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 2/3] rockchip: rk356x: update the dwc3_device register offset Date: Sun, 26 Feb 2023 18:52:33 +0530 Message-Id: <20230226132234.31949-2-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-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean update the dwc3_device register offset in board_usb_init() for rk3568 platforms. Signed-off-by: Manoj Sai Reviewed-by: Jagan Teki --- Changes for v2:- - None --- arch/arm/mach-rockchip/board.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-rockchip/board.c b/arch/arm/mach-rockchip/board.c index f1f70c81d0..c7729c966a 100644 --- a/arch/arm/mach-rockchip/board.c +++ b/arch/arm/mach-rockchip/board.c @@ -300,6 +300,9 @@ int usb_gadget_handle_interrupts(int index) int board_usb_init(int index, enum usb_init_type init) { + if (IS_ENABLED(CONFIG_ROCKCHIP_RK3568)) + dwc3_device_data.base = 0xfcc00000; + return dwc3_uboot_init(&dwc3_device_data); } #endif /* CONFIG_USB_DWC3_GADGET */ 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: 1748095 X-Patchwork-Delegate: ykai007@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=HjrluFGe; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PPkpg6WDnz240p for ; Mon, 27 Feb 2023 00:23:23 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B2D5985982; Sun, 26 Feb 2023 14:23:01 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="HjrluFGe"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1D33585953; Sun, 26 Feb 2023 14:22:57 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8090685927 for ; Sun, 26 Feb 2023 14:22:54 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=abbaraju.manojsai@amarulasolutions.com Received: by mail-pf1-x430.google.com with SMTP id c10so1350608pfv.13 for ; Sun, 26 Feb 2023 05:22:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1677417773; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=a2SdEunKSLhDhAuX7CUU1j1TLlJy+Tc3vK7RMupM93c=; b=HjrluFGepxtvdHS70rtyzRdRaPY3SF7GdieH8r3j5NldN2IDJFyaPKHdb+JwSkUT8w sGEI/PI51XYBeaHudZesfIYIBmAJRZE/2olpCRp3XmqQP4vLljc741V6RUdXRCCvQvRu HGQDaLoOJOUEK0mrQgK8/iuEys/QdxsEmgUPA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677417773; h=content-transfer-encoding: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=a2SdEunKSLhDhAuX7CUU1j1TLlJy+Tc3vK7RMupM93c=; b=8PNSQqDJpMUlKsLIBZEhKwK5IgM4zKH8NQwNsUQhb7Y7jY//jV0pFqplOaMD15foVw GRez/+ACpECvFaqNNShpGezI8Lus/4/eoFlVW1CBSdByeIMkjpGeaXiaET4jrzEDY3i2 2Hj0opiFZaRjaT+0gRAUoEZPgPqUpdA+8fPvwoxvSfunbxrwEVJqoEePUEq+VKt5Stp+ aoMJvf23WVlFuj0qs/EZ/D58uA615piZi9Dl7tNEEWCIwot1YhqNi8X0+LEoHe1SHYra 7ZDiViKl1o0MTgzRgZVaRwM+nTxAkjcvaLuDz19G8kTbjmF+6/CEMGOeyBm6Gyi8jJ2H ViaA== X-Gm-Message-State: AO0yUKWueIg2dO4DcZvbWTWTT7hcdZAFXOJ+X0RFmhdsRc6kvghayyXO btmYALniola9si0x7OKF6UHAuw== X-Google-Smtp-Source: AK7set970Xdpqe07Nmi4eJVVP+dZ3VhgapGFkvcpPE65nr8hEpG3C1stE6W+e+cMPlmytdminW8ryQ== 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-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean 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