Message ID | 20191210002041.3388-1-festevam@gmail.com |
---|---|
State | Superseded |
Delegated to: | Stefano Babic |
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=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="fHxM7KM1"; 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 47X11z2M0Rz9sP6 for <incoming@patchwork.ozlabs.org>; Tue, 10 Dec 2019 11:21:11 +1100 (AEDT) Received: from phobos.denx.de (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B134981644; Tue, 10 Dec 2019 01:21:00 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="fHxM7KM1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4CAFA81644; Tue, 10 Dec 2019 01:20:59 +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.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ua1-x941.google.com (mail-ua1-x941.google.com [IPv6:2607:f8b0:4864:20::941]) (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 7304D8074A for <u-boot@lists.denx.de>; Tue, 10 Dec 2019 01:20:56 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=festevam@gmail.com Received: by mail-ua1-x941.google.com with SMTP id w20so6509223uap.1 for <u-boot@lists.denx.de>; Mon, 09 Dec 2019 16:20:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=i23xOxQdwY0MlNGh86HTlBh9hx5R4NZRftoDDR53b28=; b=fHxM7KM1xCVcUL/JRB+AL8uh6+cX7GqMehsFgug1379gQQv8yavG/f9rC2UYs62h4A w2y2EvBKUkIEjfulZKxLFRHYIFey6iIsiPi6Cb71IPc15ViHqYDVIA2cJ2QmuFn1rYIL D7xnv6A1wI1JsKXWdU1l6icSa/LHqkblMtaRurJF4X7bY0yQHNXTeTyvmm/wNjyV7egB kQi6SngKZeYC0L9ZDM6XEokzBGmnmFolCUsUzLdsRg28ZuuAFXvfXileCMkQ+HmfViRQ aooBOtNBig5beKdpeyHiKsxH7mga7h79GQlIRuDWEvCzxJ9See+xvdLcKLXZfgdtP0SW htbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=i23xOxQdwY0MlNGh86HTlBh9hx5R4NZRftoDDR53b28=; b=p8j1OHBskfadfvvddCSQzpIGJz8FGJ7H1k+a35B47+NYnt4qyXYGPeBXVVWvkl03CC xaqPzKPHAVl4b7rWaPYCH/HeW8nyrl+uGXrqz8cxJnOnXcjE38kVw5Ytj9UedEpSTTLg yaPLA2qC55Ilc4R1isjSB9YkcUTovN+KAY1m6sTbEOxpn7ALkND9ayEBswJBYfMDpB7E InDBM8VcjJkzv0Ls5IRqp+BpwLzc65qM4eBw9u+ZDr97pIrkwv/DzforQU7hqW8lshgF sRRUPEDlK5ZgP482nHTjU4VN8hEZcxSFZ8NeULNskQBMZq/SwuqVosKDYzxe1o8jEh+n 5UeQ== X-Gm-Message-State: APjAAAVV3MKUTpdkrVACFljxLOAA+92uJ2YBTGJngvy0/E3HiPkujfYt lfk7SUh3QQH17Qj1pfgfM7w= X-Google-Smtp-Source: APXvYqzkzRwundZ4tkrm/EG0d2kcodMpUc1aWLA1R5eAzGakg/+ZKdlyDQk0qC+mYEkrToYa37QEgw== X-Received: by 2002:a9f:3772:: with SMTP id a47mr27056755uae.53.1575937255067; Mon, 09 Dec 2019 16:20:55 -0800 (PST) Received: from fabio-Latitude-E5450.nxp.com ([2804:14c:482:5bb::2]) by smtp.gmail.com with ESMTPSA id i4sm927614ual.14.2019.12.09.16.20.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Dec 2019 16:20:54 -0800 (PST) From: Fabio Estevam <festevam@gmail.com> To: sbabic@denx.de Subject: [PATCH v2 1/3] wandboard: Fix the DM_PMIC conversion Date: Mon, 9 Dec 2019 21:20:39 -0300 Message-Id: <20191210002041.3388-1-festevam@gmail.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 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> Cc: u-boot@lists.denx.de, uboot-imx@nxp.com, trini@konsulko.com Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.101.4 at phobos.denx.de X-Virus-Status: Clean |
Series |
[v2,1/3] wandboard: Fix the DM_PMIC conversion
|
expand
|
diff --git a/board/wandboard/wandboard.c b/board/wandboard/wandboard.c index 6c1e4ef27d..b2f961a7f0 100644 --- a/board/wandboard/wandboard.c +++ b/board/wandboard/wandboard.c @@ -363,7 +363,7 @@ int power_init_board(void) puts("PMIC: "); - ret = pmic_get("pfuze100", &dev); + ret = pmic_get("pfuze100@8", &dev); if (ret < 0) { printf("pmic_get() ret %d\n", ret); return 0;
Commit ec837c82d709 ("imx6: wandboard: convert to DM_PMIC") caused the following pmic_get() error: CPU: Freescale i.MX6QP rev1.0 at 792 MHz Reset cause: POR DRAM: 2 GiB PMIC: pmic_get() ret -19 ... and since the PMIC presence is used to determine the board D1 revision, the following error is seen when booting a board rev D1: WARNING: Could not determine dtb to use and the kernel does not boot at all. Fix the regression by passing "pfuze100@8" as the correct parameter to the pmic_get() function in the DM case. Fixes: ec837c82d709 ("imx6: wandboard: convert to DM_PMIC") Signed-off-by: Fabio Estevam <festevam@gmail.com> --- Changes since v1: - Remove a double 'the' in the Subject board/wandboard/wandboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)