Message ID | 20201019165257.14904-28-dariobin@libero.it |
---|---|
State | Superseded |
Delegated to: | Lokesh Vutla |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> 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=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) 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=XaOjBxu4; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4CFNDv2dP8z9sS8 for <incoming@patchwork.ozlabs.org>; Tue, 20 Oct 2020 03:55:59 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 21BE18249C; Mon, 19 Oct 2020 18:54:13 +0200 (CEST) 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="XaOjBxu4"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 00B628244A; Mon, 19 Oct 2020 18:53:57 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FORGED_SPF_HELO,FREEMAIL_FROM,SPF_HELO_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from libero.it (smtp-34.italiaonline.it [213.209.10.34]) (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 3E38382431 for <u-boot@lists.denx.de>; Mon, 19 Oct 2020 18:53:53 +0200 (CEST) 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.31.32.113]) by smtp-34.iol.local with ESMTPA id UYPbkIEJimMFTUYPxkHfWC; Mon, 19 Oct 2020 18:53:53 +0200 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2014; t=1603126433; bh=f2qIGft3IjbZ8oKpqia1I7tOGvtxq9zGA6uK0ESoM/c=; h=From; b=XaOjBxu4oVuUTgYs0LKNV1siZJ34qhzI/WJ5WVX8DTsVDEN8BjQUzC/lWAAcR6cGK FnCDqjeqw/JdNKDWgwUlENffNJM9GhYA6D9dvSmNSwCQe/+zVBv0TS4NmuRp/cW8cm qTkj4B1il7iXdVYtj7/TRA8VX9dD5+CgyqzWywqS2geCj+OnF7LxayQftZWL5kkYT6 k3FnRw3W6wrk4dQ74qDsJ2FgpHgE9TpCfcnfnDlKJjEwE/N6n0/mIQJStyIlLlHR9V itVBjdoqc+2e0C47Qg0I4cjyHPoIG4FnXxjWEz9gShQP8OG/dQbzo1YnSDjz8MBQEr 0Dt/RMRu8xqig== X-CNFS-Analysis: v=2.4 cv=KetsDSUD c=1 sm=1 tr=0 ts=5f8dc4a1 a=9myQFBeCGQ66/mXSe6vdPA==:117 a=9myQFBeCGQ66/mXSe6vdPA==:17 a=dQWp63yvFI-8AYpwEsIA:9 From: Dario Binacchi <dariobin@libero.it> To: u-boot@lists.denx.de Cc: Dario Binacchi <dariobin@libero.it>, Lokesh Vutla <lokeshvutla@ti.com> Subject: [PATCH v4 27/27] board: ti: am335x-ice: get CDCE913 clock device Date: Mon, 19 Oct 2020 18:52:57 +0200 Message-Id: <20201019165257.14904-28-dariobin@libero.it> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201019165257.14904-15-dariobin@libero.it> References: <20201019165257.14904-15-dariobin@libero.it> X-CMAE-Envelope: MS4xfGHvbD595cXAQoS6/XYimqgQ5KtnyDKWIHDnoMizOoZLj/eV6VNI1fjcqka3zLRBkvOdDg+n7WceuL0rHZRi1R+wwIOOqUAwLSU9mpEhq37fp6jt0+PJ cTfauS+BCs+Ec1cqMGnOhRbVyIjvNMrbqjguCSrtNtx9u3Em0b6HmzijayClNvBoqRlHDHSMhimbijbwbTx1qEnvytbeu0yRuw/bSzQTEjW1J59DnUAYD9p4 z0sPNQ2rdbFSJgbl8u5h27xgli1f0EjpCUVc4aE8M8jN5Qej7uqQ2eQZWLvY0y7p X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
Add DM support for omap PWM backlight
|
expand
|
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; }
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 <dariobin@libero.it> --- (no changes since v1) board/ti/am335x/board.c | 2 +- board/ti/am43xx/board.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)