| Message ID | 20230226132234.31949-2-abbaraju.manojsai@amarulasolutions.com |
|---|---|
| State | New |
| Headers |
Return-Path: <linux-amarula+bncBC63LVWFWQIBBKN25WPQMGQEXUXXBEI@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 99C5C3F1DF for <linux-amarula@patchwork.amarulasolutions.com>; Sun, 26 Feb 2023 14:22:50 +0100 (CET) Received: by mail-pl1-f198.google.com with SMTP id z1-20020a170902d54100b00198bc9ba4edsf2294689plf.21 for <linux-amarula@patchwork.amarulasolutions.com>; Sun, 26 Feb 2023 05:22:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1677417769; cv=pass; d=google.com; s=arc-20160816; b=rdEGsHWMSK43hPlnXABJhdxWfFoNQbwwOUz7GJNOk+/upvFQIF9KTnHYjCrp9qHKAY SvHIHcu0m2ORdcRrk6YYRYayCiqPFsZ8qPzzR/iaER7MsbFKtcehjnfDRixcJ2+Udcso 8yxdalBx5OjY03SBWVjyIO6WY7AR7keqIuyAnsRlRuc+xq804qcKl9g/DLE9hjUcA1WS PJpkx5RhCq6Cjxfufqw89O5hMLH1lUjYGRMM4zkbr6Wju9awcTIn/1Fh1W2g3aOH9Rsk Ch6Etfo6PyJw1ax5w12TcmgmVCfwmJ5TtrlB3NnNPzUIUQp7P2mjW+jnRvojuDFk7Dzt F05g== 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=ipHwR4zq5XbvLLRDWCRmYO+o/Zv59a0LzqvbGjSY42Y=; b=dd/RBd8Z8GYGg9FMlxeN5S/Q83OQDdZ4Dp8HN6dvve5DMOZiJYzmhSe8E8iNC0s/+H LDbnwjS7B5CbO8pvID3l18NSIPCtYI26wBQGAqfEFsUIqjKIq0nnjug8WYfmLMXAswT4 skybVzXik9kbyr5dfVjrA+UgmixyZqniqgAS81Y9h9rVuX4S7X1kffe4nVzwbrVA3GGd enz71+oJKLoR/ePAwgoVT5IHnislIsVc7rnMkX3R2/HOa3J7e2c4mLfPsDeOhvZqQ6A4 8X7j5kgDiRbn5r+hQeYC2s99vLV3HVAGMsEr1Ni0hfZVG+lHZ7/4Z0614Hj7hOLnIJiA f3Mg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=F21qq4Va; 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=ipHwR4zq5XbvLLRDWCRmYO+o/Zv59a0LzqvbGjSY42Y=; b=CofH94h70iinvQ56oJjRf/dmRVOhomZXE7XSCFqenphZKt6BGgOtSeDZsv8om46KmY Eqef2TODSgoimjJntOUkUqEgjksu+XyLpOUVU3tsO58rAUnrnzU3nB2OkQWEi8VOeHh5 DvffQdlWeIgShdpbdUvoCGgYEa6/qoknDShrk= 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=ipHwR4zq5XbvLLRDWCRmYO+o/Zv59a0LzqvbGjSY42Y=; b=GmeKLV9RcBW3stuqr876/v+Jx5AdrkpaZSRj8Vq8DFL512im5cICVvKqH5Jsmz0ntg D/pT7C5Jno+jL5zxzW2xrBYUNfkStws1PtdtRRr36/y3fryu0adCmEpE+7h7BYJm1GZB s4qGJPZ7CfJ7XCe7RJe6Gkh3R7i8ypwu4lRIbACUHHTKf7IQQlpvIjOTy7tUY5xD4zwL BEty+Jg3GcFVa5r1Cmr0JWJfwhoEMHBXkGoc71bxRWAqybOwkCgoC1CwYKCyQ3iqr2y9 Dy+jPyT5Z9pTb8Gnaz3mPnxPUiBT4voVL7N6SIetLv6NzpUGyqbfr7QEvzGIQx9ELPfL +spQ== X-Gm-Message-State: AO0yUKVFApJP9KcID4sbw5dM8gzUcCWwQw0SHa69S22Gtni+YTioAJYS F7yyKkgQb6CzsH+t9ErggIR1+nfu X-Google-Smtp-Source: AK7set+yu01Au8pNSZEL6pIOgTlRWvfNaCVY5FOJSRiErh4Qj7GZd0Eo2rs8yJV+tNcFf5dQMGBm3A== X-Received: by 2002:a17:903:330e:b0:19a:afc4:2300 with SMTP id jk14-20020a170903330e00b0019aafc42300mr5015167plb.6.1677417769363; Sun, 26 Feb 2023 05:22:49 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:f542:b0:199:182b:34bf with SMTP id h2-20020a170902f54200b00199182b34bfls7783782plf.3.-pod-prod-gmail; Sun, 26 Feb 2023 05:22:48 -0800 (PST) X-Received: by 2002:a17:903:41c3:b0:19b:e73:809b with SMTP id u3-20020a17090341c300b0019b0e73809bmr28012653ple.25.1677417768428; Sun, 26 Feb 2023 05:22:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677417768; cv=none; d=google.com; s=arc-20160816; b=nLMO2jt9Czm2bIVDzvi/OQaGzKK1kVODMNohYVZU2ybZfqXpcsQUH/RIaTU8wVSkiH qtUDgKnAcLrdFlw1xlxQI+khXsFmP+Z7nvh4EtvoUz/WvV05NgaCCmwtebcqdpEl00p5 MGqoKLtoP90+uRrEVQPjTa/DrUaF6kVxfm4z1T2F8rKBHHv6UyVuKIPDx5W+T2/J1hhc HPvPJW0aUYBI4tXsq4zrCjBiUs8xlBgXoH2kGiG8J6viVbXH6QNeGImNbcmJ7q4F/9iI wZqYD601cVUJOuhf6/1JT6Y7/z4mR9orPF4x+QPdIgPLmgdhteXPFjsH+xPYLxnfVKj2 vY0A== 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=oVwC4k6m64mBO2MXSs55L/7Jl2eFBYIP0uWLqBSFpIQ=; b=q83kg/WyDmlaJAfwRgSCaL4OL3ZX8eImCFPgH0RvwfW4zZSrS63xv3VhLwtLo+MPix axdjbUkfYUrzv1X1AE4erkFmwMO2o2pFwKFmuVlT37Rq3fc0AQ+igHZkaV4Rvn+imVL+ Y5YK8PoqnAB2/C3D44+uTWq8L7tlPpZvwIrW/kMJTu9dg7AvknblyZwJ2R5ZfA90bpm6 y6GbXaHn6ksaMuYx1B5ri2Wkjl8Bh9ZjFjE2FT2GNOt7I3goBPcSO9BZc9nDXLNYMhyy GTlACKx8IBcpKida5UDRN5huRGleI9nFJwZ2sl0wxkSHv9/vipMF6mmoO11g2ZhDMRIY WGtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=F21qq4Va; 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 a7-20020a170902ecc700b0019c91defbcbsor1270915plh.38.2023.02.26.05.22.48 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Sun, 26 Feb 2023 05:22:48 -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: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 <abbaraju.manojsai@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, Jagan Teki <jagan@amarulasolutions.com>, Manoj Sai <abbaraju.manojsai@amarulasolutions.com> 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-Original-Sender: abbaraju.manojsai@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=F21qq4Va; 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: <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 |
[v2,1/3] arm: dts: rockchip: rk3566: Enable USB OTG for Radxa CM3
|
|
Commit Message
Manoj Sai
Feb. 26, 2023, 1:22 p.m. UTC
update the dwc3_device register offset in board_usb_init() for rk3568 platforms. Signed-off-by: Manoj Sai <abbaraju.manojsai@amarulasolutions.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com> --- Changes for v2:- - None --- arch/arm/mach-rockchip/board.c | 3 +++ 1 file changed, 3 insertions(+)
Comments
Hi Manoj, This functions has been update, please check the latest version. Thanks, - Kever On 2023/2/26 21:22, Manoj Sai wrote: > update the dwc3_device register offset in board_usb_init() > for rk3568 platforms. > > Signed-off-by: Manoj Sai <abbaraju.manojsai@amarulasolutions.com> > Reviewed-by: Jagan Teki <jagan@amarulasolutions.com> > --- > 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 */
hi, could you tell me current status of this patch? -- FUKAUMI Naoki On 2/26/23 22:22, Manoj Sai wrote: > update the dwc3_device register offset in board_usb_init() > for rk3568 platforms. > > Signed-off-by: Manoj Sai <abbaraju.manojsai@amarulasolutions.com> > Reviewed-by: Jagan Teki <jagan@amarulasolutions.com> > --- > 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 */
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 */