Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F1EFEC7EE24 for ; Fri, 2 Jun 2023 15:27:39 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6FE2D865B3; Fri, 2 Jun 2023 17:27:12 +0200 (CEST) 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="M2foM8CY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4321A86449; Fri, 2 Jun 2023 17:27:11 +0200 (CEST) Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) (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 14068865BD for ; Fri, 2 Jun 2023 17:27:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jagan@amarulasolutions.com Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-653f9c7b3e4so56027b3a.2 for ; Fri, 02 Jun 2023 08:27:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1685719625; x=1688311625; 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=+Y2pWAcr4WkY+YsgZ/AHaVHEREo9hbuGbNuHfpfVulM=; b=M2foM8CY63XTO+v6ukHUkq9KAbQEeN86K+buTxrglD4VK2CFR4uhnFVut5lFqFWBtF 3eMfxAamvxvvamE0IZHwf72L1acXrwfjpXgII6FrbdpdqWqnK9Ynuzw4ElzBVU2s9ikf Pe3SrWrVmYdvZohSRRwhBQogUClOSTgnObwLk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685719625; x=1688311625; 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=+Y2pWAcr4WkY+YsgZ/AHaVHEREo9hbuGbNuHfpfVulM=; b=WQf1TfjFn+cbvF6yt/Hum7leDmKCroKgqnCqVXzukP3HnAquf6Spau9d2w06Ah0flx 1eme5BlW7rMt5FlDfY1rHzvlyLyh2K5m5eJY9kmEoSHspkOXYNow2SYLNy2+vqmmMC+F sSyTVgUHW9RFpz/iSTL4wjFAGgQv4zqy60SNClmcWh09pPm4zQh2n7ihOqtwuBB/Pd3v gbbHGT2wSm4JYKmg12U0LjnZGIo+QGOMmv7Oa7gysRVNFB3H7dmenBr/5NNEZV5yq3Y/ pWQkd1aKSw96Eq3ye/YSZjZ7quZr56dLmad1DLYpqSJW6mlqwxmCMypMyqbqt3ECQA8X guRg== X-Gm-Message-State: AC+VfDwA4CR3LM8Kv/vcLd4hFPVnEGMJ4/cVaRvPBPxu50TMB5uoWGyH L7kgu8xcynI0XFDx4jsxByFXqw== X-Google-Smtp-Source: ACHHUZ4/SVILlO/j++eOyrzYAf4RTFk1/bvS1gHsCB1pVapfg4jYuwYQEypuYySDQNVS2A16oPQaLg== 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 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 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 Content-Transfer-Encoding: 8bit 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.8 at phobos.denx.de X-Virus-Status: Clean 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 Signed-off-by: Jagan Teki --- 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(-) 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" }, -- 2.25.1