From patchwork Tue Jun 6 17:09:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 2904 Return-Path: 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 80E2D3F042 for ; Tue, 6 Jun 2023 19:09:51 +0200 (CEST) Received: by mail-pg1-f197.google.com with SMTP id 41be03b00d2f7-543a4c481b1sf859874a12.2 for ; Tue, 06 Jun 2023 10:09:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686071390; cv=pass; d=google.com; s=arc-20160816; b=Md7ARycLBc+AMeb2z+kk6r1g245yFxR3mfd2RKW9XcQUFIzbFm1QIC/4ol6Gx3+no4 83+DL+CkWfoRMZIr919DgTVa1hcBXjCw9WmJy/W45B8SqoS9rgdWD6tBTzu/oN4cjhKj Ar9++HFihVws/leZY1N6hIUkmKXX6GGYg8SJcejj+vKpq9Z+uIgtJsKYjqYBK2S+Yn0z NPoyQsQVk04Uc2edBCyfda6kSWinyczRChCsaKyKDvNnxDoJz8M4m3SOrGCRwnQQpj7c dWVigS7oYD34UdxZnL6hLtpEQSNseXIM1BF4u9DvN2KmLm2MxpThFV4vHle0F2EovHCs 7IMA== 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=bqW2loBntY1GMy1Xk87YeB8TOI7ESHqhQ1pi5vAXdkA=; b=u1c8UmmEZ5DeN0OUl1TRL7UU3RdQpbHzbbQNNyey50+blCoar+/P64TNbTJrOo4klW ixgVPEZSUHeAh994vqPULcW3NkSskGq+tLO9LjHrt4PIt5ZLYdK0Oe3oIcjz2cUVkKBy OrB8vT6rsNVL3zzMCgkCArDWTGUt1Oh/Tmx8otl1a72lCJ7KyFR89wvFg+xyh0mc2bsg EE+oECg9kmRUCMxRofdeoLWRmRgXuFVjhiODnSzkg5kMkcHbN0zEWeChUPXZaFQCEZJ7 TZjN6R2iQFMN0yH9EIA1WNQF9dIMeISmjtLes26OPaGcJOwTUTeybMZ15hLpG4o0Ppew FRVw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Qihe9Z7L; 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=1686071390; x=1688663390; 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=bqW2loBntY1GMy1Xk87YeB8TOI7ESHqhQ1pi5vAXdkA=; b=nBJ9Dftd2we0tQib5zIkXeK4Nb3LL3DrG1d78UPEfM1sB/5DrDCXkHqL1zIxAVAbOh CmdDsf3gmaQ0DnVlLID++6RAXFpsRdqjd0EhDREfiXOiSWe/0yCvI7ubcFp9ycL+XL8m YOJmT5t/d/+lzVO42xlzBd+McRhNbCVyjmHa0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686071390; x=1688663390; 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=bqW2loBntY1GMy1Xk87YeB8TOI7ESHqhQ1pi5vAXdkA=; b=f1GMUwDEZT6IYM0/3N0ddOaXKQaAwhsMvODLRz0dWpeuTsj7p06ZuIc8PZChEolJGD A6Ja4LVNw/1Wuwv1IyDK9t4nUESmwiBzQBPjqiwGgA3I7hXYOf8JuGAvKtrsY8CxodtT 1xmC3sxdk0eg2U3kC9G0FLYfFzTTgGsVm65rH93kQodsLMA5+jr04KycNJLB62ffRBp6 MIiXGloO0MKC+HdUvrXQ0lLuahPY3a4xp8fPteU4y2v+z+x66vn03JvB4chUgz9NXtQu E+zlqzWoX3aqJnEe8XulK8+BLUttUOW1f00ojXY6zT/aUyc2ICNb7eRsSCnrLjafKgf1 4G1w== X-Gm-Message-State: AC+VfDxMB1SpmkyiOldqZSsrORsMCsjzjVZes0PPZWhuxXLZc+rAn43i Ni5H/jtnwOGSoxKgOUBc0nI8Ls2X X-Google-Smtp-Source: ACHHUZ6Q30iizyD7c3f2Prre5hPoqjWs4Y4YJ6A7qBlL0LURZhBrHL/UxBd8IyFyMAllU7p9EdvEGA== X-Received: by 2002:a05:6a21:3394:b0:115:10d0:f189 with SMTP id yy20-20020a056a21339400b0011510d0f189mr297128pzb.26.1686071390159; Tue, 06 Jun 2023 10:09:50 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:903:41c7:b0:1b0:32ba:92d4 with SMTP id u7-20020a17090341c700b001b032ba92d4ls2907430ple.1.-pod-prod-09-us; Tue, 06 Jun 2023 10:09:49 -0700 (PDT) X-Received: by 2002:a05:6a20:440f:b0:10f:9317:1539 with SMTP id ce15-20020a056a20440f00b0010f93171539mr268392pzb.32.1686071389134; Tue, 06 Jun 2023 10:09:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686071389; cv=none; d=google.com; s=arc-20160816; b=VXViL0hponzCL4xbhAy25jJLaZ4ZJgvmSJasS+peFgPei0Xq75mA4YIoaPyK+Jfio2 9lQIk1GbUtycNzjx1k+N0G33ogNpg729/WawhhfRqIrkT64d89Gk1mQRpsTDirmyrcBq DnCBMMaR4Zb9A4LPbIITcTjBKUuJfNiNKJyDQmwPyWkdJF6Q/WUSpauKG2kg2TtUHSY2 2+9ltGbTZYslhY/qcgqrcc+bb4R+O+6RWh2KdqpVOlwvpwBwQSCOdedkfP4WPDt1VlA6 qLXEV1AkJN6txHx0JPY3a4fvZSw9CfHqqnF9LW+idp5pcBscgPFGs3KV4eYkKi8o6tUL YDdw== 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=x5KIKqgQLBxv++/n2VT9Oei2mLKl8tH2ZW875+oFCC0=; b=lCfyM1KUeYMp9ldSQwk/5jTugj+FSq2KcnPMQ9eAldV0WHZzpP2sm7qLYE5x+GwF17 CkQbhbMzvFoiTiI9R8SS2JuH3hRMjDtFK1p6vi8wIBCPuNJiVLC6aYafEOX9ZVc8/jvv E7ZhrYMGpWRA97rr2lWAmBbcnFZcdBcEkPM5d5aR1lPHvSwDGE0IwXRwP+1LNM/1kIzo IMxg7RKIqAlKpWFosb0yNx5beDrn6t/Sn/pH8sxuGe6LYUVQCKwqrMELuBDdbGtStAsW o+xIUOAFLRHoxYOxneX7QrwgEOLvs/NAv5ZEpeLe1PLRS5QlrGljdcVNYXl4WM0+5QPi YRAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Qihe9Z7L; 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 y19-20020a170902e19300b001b02d9733e0sor2309855pla.15.2023.06.06.10.09.49 for (Google Transport Security); Tue, 06 Jun 2023 10:09:49 -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:a17:902:d314:b0:1af:b049:b32e with SMTP id b20-20020a170902d31400b001afb049b32emr1210671plc.56.1686071388809; Tue, 06 Jun 2023 10:09:48 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:2001:f7d3:5b78:1d82:fb5f:608c]) by smtp.gmail.com with ESMTPSA id bc8-20020a170902930800b001ab0159b9edsm8695129plb.250.2023.06.06.10.09.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jun 2023 10:09:48 -0700 (PDT) From: Jagan Teki To: Kever Yang , Simon Glass , Philipp Tomsich Cc: Jonas Karlman , u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki , Marek Vasut Subject: [PATCH v2 3/7] usb: dwc3-generic: Restrict single ctrl node for RK3328 Date: Tue, 6 Jun 2023 22:39:14 +0530 Message-Id: <20230606170918.45581-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230606170918.45581-1-jagan@amarulasolutions.com> References: <20230606170918.45581-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=Qihe9Z7L; 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: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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. Reviewed-by: Marek Vasut Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Changes for v2: - collect Marek RB drivers/usb/dwc3/dwc3-generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" },