From patchwork Thu Dec 24 07:34:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 1420430 X-Patchwork-Delegate: lokeshvutla@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=libero.it Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=libero.it header.i=@libero.it header.a=rsa-sha256 header.s=s2014 header.b=MmMjSJu/; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4D1hkB2VtKz9sRR for ; Thu, 24 Dec 2020 18:37:38 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9A7AA82700; Thu, 24 Dec 2020 08:36:14 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=libero.it Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=libero.it header.i=@libero.it header.b="MmMjSJu/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5690082738; Thu, 24 Dec 2020 08:35:24 +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=-0.3 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FORGED_SPF_HELO,FREEMAIL_FROM,KHOP_HELO_FCRDNS, SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from libero.it (smtp-18.italiaonline.it [213.209.10.18]) (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 5B9D682710 for ; Thu, 24 Dec 2020 08:34:56 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=libero.it Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=dariobin@libero.it Received: from passgat-Modern-14-A10M.homenet.telecomitalia.it ([79.54.115.44]) by smtp-18.iol.local with ESMTPA id sL93kry9c7QU9sL9EkXNDW; Thu, 24 Dec 2020 08:34:56 +0100 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2014; t=1608795296; bh=f2qIGft3IjbZ8oKpqia1I7tOGvtxq9zGA6uK0ESoM/c=; h=From; b=MmMjSJu/om6J9vAMdEm4v8k4iRiNwHe3THDXsaPXgLg+e/tbKLAoVOXyYmLAmjv41 ltxyhN3vSh5Y32DbTmipX3nUd3uxgKqvHQmKXIczMGQ/IdqI7coVZ8DYvItZFePWTj nQ5GizH4gNc8rf4HpWJi6aPGG+odmjq2OXn93f4mTGCCPgvkCAvV1RdRjdchEKv7QV 3lrUfYRRfhoffeCqI3y3heUUZNVEVxFLL6T77gcCNAdYOPEpSGEq2VAgcoHvrYKTbe sKr1WcPvvkkJ9StQr3YTXzgueXzm5wlD1Qtty3NCh418e3JiocRBsVWqA79EnFA8V3 NSUS7B+Txsl5g== X-CNFS-Analysis: v=2.4 cv=Y+c9DjSN c=1 sm=1 tr=0 ts=5fe444a0 cx=a_exe a=4XFUYcG0DNokufVEFeBjWw==:117 a=4XFUYcG0DNokufVEFeBjWw==:17 a=dQWp63yvFI-8AYpwEsIA:9 From: Dario Binacchi To: u-boot@lists.denx.de Cc: Lokesh Vutla , Dario Binacchi Subject: [PATCH v7 28/28] board: ti: am335x-ice: get CDCE913 clock device Date: Thu, 24 Dec 2020 08:34:06 +0100 Message-Id: <20201224073406.16764-29-dariobin@libero.it> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201224073406.16764-15-dariobin@libero.it> References: <20201224073406.16764-15-dariobin@libero.it> X-CMAE-Envelope: MS4xfKIH+IXxc1CC0+QVJjFdXkV/98Ml5hawIaOSZvuIetyKZY5FlUgV9JFj4ComUubGAjpVY9wPL8s7MzQrvQ/vvpQTLqi1JWItCu6siDOGwdtHQXiN2aC+ 9QVT67e3/KEgi8Y6GdN5yOvPwViP5t1oKmQg4U6BFRnTIPZyUkRZK2nRX8NdSU95nCvIT2PjGHSiagXj3VroGhtdmp7JxHqaXx9BUip+4rh+IAS9j+FKqS70 HzJ14t5vMeOKvlaZ98hQaeTg2Lae/VpYzocFy1uiKemOa/BxNCk8yDwCe0XiBCOJ 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.3 at phobos.denx.de X-Virus-Status: Clean With support for other clock drivers, the potentially supported CDCE913 device can no longer be probed without specifying its DT node name. Signed-off-by: Dario Binacchi --- (no changes since v1) board/ti/am335x/board.c | 2 +- board/ti/am43xx/board.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c index 984cc5e3ba..e1f64859cf 100644 --- a/board/ti/am335x/board.c +++ b/board/ti/am335x/board.c @@ -879,7 +879,7 @@ int board_late_init(void) } /* Just probe the potentially supported cdce913 device */ - uclass_get_device(UCLASS_CLK, 0, &dev); + uclass_get_device_by_name(UCLASS_CLK, "cdce913@65", &dev); return 0; } diff --git a/board/ti/am43xx/board.c b/board/ti/am43xx/board.c index de49590031..62ed37cb48 100644 --- a/board/ti/am43xx/board.c +++ b/board/ti/am43xx/board.c @@ -744,7 +744,7 @@ int board_late_init(void) #endif /* Just probe the potentially supported cdce913 device */ - uclass_get_device(UCLASS_CLK, 0, &dev); + uclass_get_device_by_name(UCLASS_CLK, "cdce913@65", &dev); return 0; }