Message ID | 20230602152631.106887-4-jagan@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBD7MFH7A7EEBBSUU5CRQMGQEI5BP42A@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id F38893F076 for <linux-amarula@patchwork.amarulasolutions.com>; Fri, 2 Jun 2023 17:27:07 +0200 (CEST) Received: by mail-pg1-f197.google.com with SMTP id 41be03b00d2f7-53425d37f33sf1027036a12.3 for <linux-amarula@patchwork.amarulasolutions.com>; Fri, 02 Jun 2023 08:27:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685719626; cv=pass; d=google.com; s=arc-20160816; b=HFY7lggwpmX7+LUCXaU/UDQATiRYsbzKOhgu5hmSXjLcXUrXsLrxXQXZNfbnwpL+WS sRF59JnICnDXt5OGh4/zXeIgUwJheOPCsj8Z2GiVsXGctVLsybbf0Up1NklfJXaVV++9 f0QYVFij9CaLXGNJgUtw9D+rpJZ6dzESkltJtX7/6KYPYagplwbf6hpZV+jr9bGMKXhx yh/10t9b+IPxMHasi6O52KiyHTxBZFcWYyy0bbCjYrMVpdnVnJCAq4SSwMgLiKvxx7+F 0KW7Zq8oxDWTffkkdEpYa1BdiIcspdtPVi8o2ZLeT+UPlJ6dPUWl7W3f8cii45kbjype e5Lg== 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=aCHbB3kaMQ625JOjmGLIRwXXyagkBXR5MbXGikl8sDE=; b=DdMTnFSMjVycP3Av2lqBg81+TJ6ga3a8sFQIscvO0/3LESUPBKeo1sDNi1ik9N2kgi kLWXT4MjWJapVjcKWsiZdbzgVtwKqSOGPAYjGAHEXa004RijiL3Sn7375zoUoQl97R3U 634vdDysBGgasJTm0CI/KgOptAbvIcZ4K5o9NJPSwITs/n6sTLDWfc8jDLsEKR6s7dZo qmQvrFt8X+aNdlbAClsiGHsHobpmKXwcyBfGfC/1x+G5lm7ILC7w8KebxWr41imxC6yD KlB0k7lvAwSh+gdeFG7yDKDF+64GWCQ1bElNGX9UBe0YiCnUtUM24FC4WCWQcT9HSiu0 eeLg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=M2foM8CY; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@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; t=1685719626; x=1688311626; 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=aCHbB3kaMQ625JOjmGLIRwXXyagkBXR5MbXGikl8sDE=; b=SaVxl08MZGFKrJPvcFX/t2eta749PO3nlWyLRNTJJanS8A00c92InIwFmJJyWjdBB8 ZpUZQliS0lKs1eITQFKT5bxZ1DvMnaM5uy0JgOAzVW7JWM8CS1Hq4SL6PNFNMOqXJLb0 D6BdnWEoh2yldpUoevgfl0lzQY57mqEf53i6M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685719626; x=1688311626; 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-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aCHbB3kaMQ625JOjmGLIRwXXyagkBXR5MbXGikl8sDE=; b=WGoOv4Hr0p7b3kjfKcLuVMRJoWttNKqWI5L1oswRlOBLYwZKIC4gGayTs0GVWNLqjn SS0sS8gvD5m6HXZl2qDctfjawzog10ewuoHl0oDsbki4AwJAuU3ezvdRClxRIZKqPHG7 iUJ7hUd2uxOWkMdAoscVi8PqOJVmrZy6mNhplpS953SM3j6yJCtG6hvAouzWVNSIVLE7 ioGWyHKuXdwgCi54Se3LYQJ7E/BudPbxdEz/bQYbKyn9EBPgEkUxhc2sPseZrKBGgiAF BBWINqDuMFdKgzk/kc8GkXRRRqILXTaysAo803qmRXFe5pRD7n1S1lgrSUrW1FKOItS9 69+w== X-Gm-Message-State: AC+VfDwNjOB06WuzwlrnpFbYgsDL5ButvmrftVbddr30Zp2wMVBCGh3R r7UnHQw9QvhBgWqG/V2OcSbAnB1u6JBamSl5 X-Google-Smtp-Source: ACHHUZ5vkRzkRT9mF67hT6i6IzAupAIsXLBq9f0GxYpIKg4leVhCKeaHBo8f31EiRs7TZg/xQxu8FA== X-Received: by 2002:a05:6a20:4325:b0:10a:e73d:2572 with SMTP id h37-20020a056a20432500b0010ae73d2572mr11691678pzk.3.1685719626721; Fri, 02 Jun 2023 08:27:06 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:828a:0:b0:653:7d2a:7e8a with SMTP id w132-20020a62828a000000b006537d2a7e8als257557pfd.1.-pod-prod-04-us; Fri, 02 Jun 2023 08:27:06 -0700 (PDT) X-Received: by 2002:a05:6a00:8d3:b0:652:faa8:a5d1 with SMTP id s19-20020a056a0008d300b00652faa8a5d1mr1798610pfu.27.1685719625724; Fri, 02 Jun 2023 08:27:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685719625; cv=none; d=google.com; s=arc-20160816; b=bW7j/Z+lYjgkl7d54nJ6dc4hB6zpnCmFLrBGTGo69PEz1mSr/1veJsrfGB9KfwB2s1 2iSAXvq8xoJusQIrNRgf97lHr8+D9kEU6ej3msadY1Ed8GfF3mFXGT/JFPhx+uUQgSSj ftEaGFJuFjZ7DNa9zS37OuShioL0W8f3MW7+rXn44c1Be8X86/Rx4jicm0WeQRjMkOM9 lhr5ilhCxe4u4aIRMPu/eV2H4YbzXJjqgyr3uIyDoP1pln/PZBstEBr+qeJWvzZizrH0 +uWAgftMqRtem4yBDWZE2Asvxqamsk2NUk/xiPTqFACjApTuS9VzfPQDj48RIAa0vpst +OLw== 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=+Y2pWAcr4WkY+YsgZ/AHaVHEREo9hbuGbNuHfpfVulM=; b=iCOonlR6DjGjSexUiO7Zj5fIu9g/PPmrJJTfbi1AJxpnHnowxyCzSk6jsYVA5fDY6N 6xVfWE4iHOTbN3EsCmVevd7CZmOxk6+G3OXjTgDdrsR2tvJInyrddfm4GSDqHAixSt/C Sod8Hvlld2ZQO/P+c5MlX2wP5JSEOHoKW7psGiiX+cV8cHZqk+baC92uCZ94v7rjkzGN lTc66PqPmoUzn0gK5BI7ceZuD+D32JxAaH9NDUTf2kFVH3xfzGPWh+UjvsgY+dV+Zw5W gqQav5zsFAZa9jvJEFlwj1KzFEe/Pbm0zTVW7gBdMAaP6M4omfDyYemjoNt71MaxksmR hlRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=M2foM8CY; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@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 p6-20020a622906000000b006410a66b32csor400063pfp.1.2023.06.02.08.27.05 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Fri, 02 Jun 2023 08:27:05 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a05:6a00:390c:b0:645:ac97:5295 with SMTP id fh12-20020a056a00390c00b00645ac975295mr10111619pfb.9.1685719625269; Fri, 02 Jun 2023 08:27:05 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:2003:4e14:c7e6:b770:ced9:e760]) by smtp.gmail.com with ESMTPSA id l3-20020a62be03000000b0063afb08afeesm1154124pff.67.2023.06.02.08.27.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jun 2023 08:27:04 -0700 (PDT) From: Jagan Teki <jagan@amarulasolutions.com> To: Kever Yang <kever.yang@rock-chips.com>, Simon Glass <sjg@chromium.org>, Philipp Tomsich <philipp.tomsich@vrull.eu> Cc: Jonas Karlman <jonas@kwiboo.se>, u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki <jagan@amarulasolutions.com>, Marek Vasut <marex@denx.de> Subject: [PATCH 3/7] usb: dwc3-generic: Restrict single ctrl node for RK3328 Date: Fri, 2 Jun 2023 20:56:27 +0530 Message-Id: <20230602152631.106887-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230602152631.106887-1-jagan@amarulasolutions.com> References: <20230602152631.106887-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=M2foM8CY; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@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 |
|
Related |
show
|
On 6/2/23 17:26, Jagan Teki wrote: > Like Rockchip RK3568, the RK3328 also have single node to > represent the glue and ctrl for USB 3.0. > > So, use the driver data to use single ctrl for RK3328 DWC3. > > Cc: Marek Vasut <marex@denx.de> > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Reviewed-by: Marek Vasut <marex@denx.de>
diff --git a/drivers/usb/dwc3/dwc3-generic.c b/drivers/usb/dwc3/dwc3-generic.c index 5f8c2613a4..dcf420bafd 100644 --- a/drivers/usb/dwc3/dwc3-generic.c +++ b/drivers/usb/dwc3/dwc3-generic.c @@ -621,7 +621,7 @@ static const struct udevice_id dwc3_glue_ids[] = { { .compatible = "ti,dwc3", .data = (ulong)&ti_ops }, { .compatible = "ti,am437x-dwc3", .data = (ulong)&ti_ops }, { .compatible = "ti,am654-dwc3" }, - { .compatible = "rockchip,rk3328-dwc3" }, + { .compatible = "rockchip,rk3328-dwc3", .data = (ulong)&rk_ops }, { .compatible = "rockchip,rk3399-dwc3" }, { .compatible = "rockchip,rk3568-dwc3", .data = (ulong)&rk_ops }, { .compatible = "qcom,dwc3" },
Like Rockchip RK3568, the RK3328 also have single node to represent the glue and ctrl for USB 3.0. So, use the driver data to use single ctrl for RK3328 DWC3. Cc: Marek Vasut <marex@denx.de> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> --- Note: It has dependency with https://patchwork.ozlabs.org/project/uboot/patch/20230530102617.3413183-5-jonas@kwiboo.se/ drivers/usb/dwc3/dwc3-generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)