From patchwork Tue Mar 9 12:27:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 395974 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp2557942jai; Tue, 9 Mar 2021 04:54:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxlXsFOixA4R0YAlYOpiAKL1fIuGmnPKHSoHZCp1w68mLU7nzEOLswdhcWd9Pak/D/hUwEh X-Received: by 2002:a17:907:72d5:: with SMTP id du21mr11890626ejc.167.1615294483441; Tue, 09 Mar 2021 04:54:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615294483; cv=none; d=google.com; s=arc-20160816; b=NlN7M53jEiCNRY0ZaGqkpeLfruYY+UPUrZNPd+OHlJb7kkjoW9xdnwks/AVSrgyK7/ nW1VzsCYyZq9WRHbLUqI4s+rsPWuYpJuccOtJwGAFwQw8xaclC+UStwxZpkCExK77Xa7 x5Ryx4FGkwRAcrzw11kN1YHTkzgKDZw1ADwzNtl662IwPae/DIdDuXU9n/+Qs50HySgj /aXA1Ut7z8sXzKj9gYhmXNBDAmY9AtB5AWUOlPlnAyjqtfwyNpu4NOd0K0RNBrE6GaOq hro+hSSBwzBxD3p451bKUr6yNVogOSkmwogFGAHBuy9w4wzElPn728Ooi8ZohfKe0nly Zh6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=NEMR3tVQdcM9k88d/4J9zA3vopX+jZ4YZKa2oOgHXv4=; b=QvTBa66FET8Kvg3zXvpTZVqfclIGlT3Pg4eHAIqvi22Iuscy19N0ZJdVqq9Mf6muX4 UCXbmgXyJzxDKWWm1K9TG7hQDgFmeX3lBph1GW/1jh6fyzs3EZXspGRpf4Wp81+aNB4z SzhYVbceMtjMRdjmVv5YnWq5uy57+yjIDwK2k1APX1+YSQLqi0i9desU1KJSES3jYCN4 F5ikHPQc0+bWU3/SCiTBX8timEGAD+DZB+C1gWso6GV5j8DaqFIPW3cs4Etb7h041FVN AySEk3Vdlf7S6yCnJLgWmc0bkd6euW6sCXJoehgTJ5bwc+bc+zb8k1IH6OfeGkpj0OHV 8EZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Sc4Rhfow; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id v24si8836571edy.357.2021.03.09.04.54.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Mar 2021 04:54:43 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Sc4Rhfow; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4555C8280F; Tue, 9 Mar 2021 13:53:50 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.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=ti.com header.i=@ti.com header.b="Sc4Rhfow"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 16834827AA; Tue, 9 Mar 2021 13:28:14 +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.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 380C7825F4 for ; Tue, 9 Mar 2021 13:28:11 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=kishon@ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 129CS9nb071203; Tue, 9 Mar 2021 06:28:09 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1615292889; bh=NEMR3tVQdcM9k88d/4J9zA3vopX+jZ4YZKa2oOgHXv4=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Sc4RhfowO0cYFZ1O9S7THtq8jaikvf4+S0u5RWNj7vw7ex3UfIieqCVFL28uT6TBj KRgab44k/UHZH+bCp2KUIAnb1mPW0jEzexJ2jTsy4Xgr4ImuwkkwFMhdlyNkiTX2Bw hnbWZ/z2zQ0m/VIoQ6oiKAcHGqCSGIT2WcPxlH8A= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 129CS9pt103128 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 9 Mar 2021 06:28:09 -0600 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Tue, 9 Mar 2021 06:28:09 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Tue, 9 Mar 2021 06:28:09 -0600 Received: from a0393678-ssd.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 129CRncU119584; Tue, 9 Mar 2021 06:28:07 -0600 From: Kishon Vijay Abraham I To: Lokesh Vutla , Simon Glass , Aswath Govindraju CC: Subject: [PATCH 07/16] usb: cdns3: cdns3-ti: Fix clk_get_by_name() to get the correct name Date: Tue, 9 Mar 2021 17:57:39 +0530 Message-ID: <20210309122748.31842-8-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210309122748.31842-1-kishon@ti.com> References: <20210309122748.31842-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Mailman-Approved-At: Tue, 09 Mar 2021 13:53:37 +0100 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.4 at phobos.denx.de X-Virus-Status: Clean Upstream device tree got updated to use clock name as "ref" instead of "usb2_refclk". Fix cdns3-ti.c to use the correct name. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/cdns3/cdns3-ti.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/usb/cdns3/cdns3-ti.c b/drivers/usb/cdns3/cdns3-ti.c index 7b205c5656..43171678ee 100644 --- a/drivers/usb/cdns3/cdns3-ti.c +++ b/drivers/usb/cdns3/cdns3-ti.c @@ -101,7 +101,7 @@ static int cdns_ti_probe(struct udevice *dev) if (!data->usbss) return -EINVAL; - ret = clk_get_by_name(dev, "usb2_refclk", &usb2_refclk); + ret = clk_get_by_name(dev, "ref", &usb2_refclk); if (ret) { dev_err(dev, "Failed to get usb2_refclk\n"); return ret;