From patchwork Tue Jan 9 09:11:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jorge Ramirez-Ortiz, Gmail" X-Patchwork-Id: 857457 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="nPajfZAa"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3zGBVr0jsjz9s4s for ; Tue, 9 Jan 2018 23:37:39 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id A6117C21FC6; Tue, 9 Jan 2018 12:34:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 18DEAC21FF0; Tue, 9 Jan 2018 12:34:36 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 21110C2203C; Tue, 9 Jan 2018 09:11:33 +0000 (UTC) Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by lists.denx.de (Postfix) with ESMTPS id C10E0C21F98 for ; Tue, 9 Jan 2018 09:11:32 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id 141so2267066wme.3 for ; Tue, 09 Jan 2018 01:11:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=1WhXHGWiQyTnJzuA2gWTmgyrO++NMA4EScWTU+SZCoo=; b=nPajfZAaO/6F+tF0I8TJRqJy7bKBJDtzHbRCItoMFNAKyjC864XWugz1C4dZvDS1R+ bbV2+1HZjNwQPfhnFjs5hdkiNCvg4sL/8HAoylVJbrgq8omWvfn9LGTTTohASXk44lq2 jlrleEWYuTIH7XwRpDtoyza1CwZzx+RFT8d2irGWCxxlN515VE7guhmWaSDM0vfT0MUf BDUWPSDmXIc2HPTxJHy1I/SEM8rE2qMW8D9MO4Zi9qPI3g1E+/KoZlNplMaDfu3AjfXb RzJOwHFYrYteQoWOefki3MJnoF+kYcE13WxYdgliXitxd3jpF4ZdKhreSR8rbSpj4COE d20w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=1WhXHGWiQyTnJzuA2gWTmgyrO++NMA4EScWTU+SZCoo=; b=lhy2nvt+QVL3HndJanRCPMgIr6Zqy0CefIa/AwXjjkSrWLMtFFnEx+1+h1jew6Jx3Q gv7FN9HWIl84fEvWqugffaKMKFb5S1CisAQYGRWuNZISURmf8+F7trL0qcVhTDfLEUld d70qL2L7eb/ujrrCoY6CCXzAJ+XZz8HpOuwq6yR883h9zF/GRUnB+yNlxFjS3lHnPE4h PH68lWgZha1gEiXmNIugVrZMr18w+F0h6FTo/SYYMj8wpTSQRQkm9cXVVghAjq8xfi/8 vFv+8CsZRL8Z/EMofQLJhEWskBe5qSdgeZQrM6tzLMY4a6NU64OffedmOAcPqSrYIX9f bXaw== X-Gm-Message-State: AKGB3mIBXJOz/JrWb+8VgQdqotsovq4p/Byxyx+yp5hqARzhBHRDQgTH Y1Gl5FF2s/KBlVmmWFVF/w0= X-Google-Smtp-Source: ACJfBovkZ/ZsRSR//uigB7rinkidkG1W56s0Gc/vCCoEIHE5BQp6xutzYdkxTlqjRJFDM0eF1LdGKQ== X-Received: by 10.28.175.18 with SMTP id y18mr10817278wme.111.1515489092533; Tue, 09 Jan 2018 01:11:32 -0800 (PST) Received: from igloo.80.58.61.254 (141.pool85-51-114.dynamic.orange.es. [85.51.114.141]) by smtp.gmail.com with ESMTPSA id e132sm15617520wmd.40.2018.01.09.01.11.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 Jan 2018 01:11:31 -0800 (PST) From: Jorge Ramirez-Ortiz To: jorge.ramirez.ortiz@gmail.com, pbrobinson@gmail.com, U-Boot@lists.denx.de Date: Tue, 9 Jan 2018 10:11:26 +0100 Message-Id: <1515489088-6755-1-git-send-email-jorge.ramirez.ortiz@gmail.com> X-Mailer: git-send-email 2.7.4 X-Mailman-Approved-At: Tue, 09 Jan 2018 12:34:31 +0000 Subject: [U-Boot] [PATCH 01/03] spmi: msm: display the PMIC Arb version (debug) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Jorge Ramirez-Ortiz Signed-off-by: Jorge Ramirez-Ortiz --- drivers/spmi/spmi-msm.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/drivers/spmi/spmi-msm.c b/drivers/spmi/spmi-msm.c index c226913..e9bfbb0 100644 --- a/drivers/spmi/spmi-msm.c +++ b/drivers/spmi/spmi-msm.c @@ -17,6 +17,11 @@ DECLARE_GLOBAL_DATA_PTR; + +/* PMIC Arbiter configuration registers */ +#define PMIC_ARB_VERSION 0x0000 +#define PMIC_ARB_VERSION_V2_MIN 0x20010000 + #define ARB_CHANNEL_OFFSET(n) (0x4 * (n)) #define SPMI_CH_OFFSET(chnl) ((chnl) * 0x8000) @@ -148,6 +153,8 @@ static int msm_spmi_probe(struct udevice *dev) struct udevice *parent = dev->parent; struct msm_spmi_priv *priv = dev_get_priv(dev); int node = dev_of_offset(dev); + u32 hw_ver; + bool is_v1; int i; priv->arb_chnl = devfdt_get_addr(dev); @@ -155,6 +162,12 @@ static int msm_spmi_probe(struct udevice *dev) dev_of_offset(parent), node, "reg", 1, NULL, false); priv->spmi_obs = fdtdec_get_addr_size_auto_parent(gd->fdt_blob, dev_of_offset(parent), node, "reg", 2, NULL, false); + + hw_ver = readl(priv->arb_chnl + PMIC_ARB_VERSION - 0x800); + is_v1 = (hw_ver < PMIC_ARB_VERSION_V2_MIN); + + dev_dbg(dev, "PMIC Arb Version-%d (0x%x)\n", (is_v1 ? 1 : 2), hw_ver); + if (priv->arb_chnl == FDT_ADDR_T_NONE || priv->spmi_core == FDT_ADDR_T_NONE || priv->spmi_obs == FDT_ADDR_T_NONE) From patchwork Tue Jan 9 09:11:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jorge Ramirez-Ortiz, Gmail" X-Patchwork-Id: 857460 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="f4265IU9"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3zGBXf60qxz9s4s for ; Tue, 9 Jan 2018 23:39:14 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id F41BAC2200D; Tue, 9 Jan 2018 12:35:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 5D1D6C22016; Tue, 9 Jan 2018 12:34:38 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 2C631C2203C; Tue, 9 Jan 2018 09:11:34 +0000 (UTC) Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by lists.denx.de (Postfix) with ESMTPS id D15F1C21F98 for ; Tue, 9 Jan 2018 09:11:33 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id i186so2627447wmi.4 for ; Tue, 09 Jan 2018 01:11:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=LwjxcxtfKRRR3LeSI0YyNWoICxHub0vg3jjJX1xqOsQ=; b=f4265IU9UxU3q7TLL3QWwJXlMOvc50O9WKwxS9UPrvrgH8GJRnC+52eJ+J4Lhqg+vD wCKlHgBha6OcbZxMREgAXi26YXfumYnQBAGMEtBkcreEVus8o2Xa80L21cpttgkfZ3fW AXCP01Z8UGBdBpczJrnpHnOdQztPlITNDGOCVH57k2SXCuezGc2D1GxNLJG4/j/bqnZp Y984+3lExXU+kpf4aCxsgBfjiU4wDtNGpU1np+S4f7O4jCKPMmpHnOP9vSRKwTUVeCkE gmqeWJFrFfDpJ3WtiG2JYBdAgXcDkXZY367vbcyIgip0Adi5k3CE7nkXs6MIhsOp+vg+ gFtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=LwjxcxtfKRRR3LeSI0YyNWoICxHub0vg3jjJX1xqOsQ=; b=efIhGZLM4m8Vyslw/Wh/GEkCPODsGWIm9ZCfcXu89UJLfMO7XPJSBVKJnYMF2gl//W LPUrvxivh5FBBYL9Rc2+Tb/YhNC2PuTgNXVoYuGRlq1J3mKywMG5IVxcabTV4rpn6sbd oYmQVMvSPH4o40mnkrZ91dNnAgZxqCLhfUmxHyrZ9nMyGQNVFPd8fq2TenBtvpS++rbz SvfyPNR5aWqqI5jlw2DeueU/zD/pt0uFtHFtyw2aI/WZr/Cig+isxe7WqTJp6YfOwhEG Sl5u6eGDyJC7DrdQlX9AWhmu70wkHrHxi+1lgc0j29H/EW935GtH5ZsDOGEfTKvgE8Gu FpYQ== X-Gm-Message-State: AKwxytfTmWyBUl1JTxy1PDDE2/6TmcED3q6Ev2FTOBY5A2Xms5hmt846 KMpvdlCiyBPT80m16qJro7g= X-Google-Smtp-Source: ACJfBotNFXUQIESVlhLIGO9I6NNsm5Gk29gqDaymvSy880ioFW8H8qYxlJJS+bvbn8zcgfdxI94fSg== X-Received: by 10.28.169.197 with SMTP id s188mr772303wme.15.1515489093592; Tue, 09 Jan 2018 01:11:33 -0800 (PST) Received: from igloo.80.58.61.254 (141.pool85-51-114.dynamic.orange.es. [85.51.114.141]) by smtp.gmail.com with ESMTPSA id e132sm15617520wmd.40.2018.01.09.01.11.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 Jan 2018 01:11:33 -0800 (PST) From: Jorge Ramirez-Ortiz To: jorge.ramirez.ortiz@gmail.com, pbrobinson@gmail.com, U-Boot@lists.denx.de Date: Tue, 9 Jan 2018 10:11:27 +0100 Message-Id: <1515489088-6755-2-git-send-email-jorge.ramirez.ortiz@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1515489088-6755-1-git-send-email-jorge.ramirez.ortiz@gmail.com> References: <1515489088-6755-1-git-send-email-jorge.ramirez.ortiz@gmail.com> X-Mailman-Approved-At: Tue, 09 Jan 2018 12:34:31 +0000 Subject: [U-Boot] [PATCH 02/03] poplar: configs: increase gunzip buffer size for the kernel X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Jorge Ramirez-Ortiz Signed-off-by: Jorge Ramirez-Ortiz --- include/configs/poplar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/poplar.h b/include/configs/poplar.h index 1c39ed1..8a12b52 100644 --- a/include/configs/poplar.h +++ b/include/configs/poplar.h @@ -18,7 +18,7 @@ #define CONFIG_NR_DRAM_BANKS 2 /* SYS */ -#define CONFIG_SYS_BOOTM_LEN 0x1400000 +#define CONFIG_SYS_BOOTM_LEN SZ_64M #define CONFIG_SYS_INIT_SP_ADDR 0x200000 #define CONFIG_SYS_LOAD_ADDR 0x800000 #define CONFIG_SYS_MALLOC_LEN SZ_32M From patchwork Tue Jan 9 09:11:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jorge Ramirez-Ortiz, Gmail" X-Patchwork-Id: 857461 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="LKy4KPOC"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3zGBbs11Htz9ryT for ; Tue, 9 Jan 2018 23:42:00 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id AB525C21FDD; Tue, 9 Jan 2018 12:35:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 2F1C8C21FD4; Tue, 9 Jan 2018 12:34:40 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 4479CC21F98; Tue, 9 Jan 2018 09:11:35 +0000 (UTC) Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by lists.denx.de (Postfix) with ESMTPS id E113AC2203C for ; Tue, 9 Jan 2018 09:11:34 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id g1so1127899wmg.2 for ; Tue, 09 Jan 2018 01:11:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=9pFfsSHGvEpykZaFmJYB2ofWm6ZDsM39EBqArbAirYE=; b=LKy4KPOCglFyy7qlHfIPdDasaZFRBqpXj0ch+P8oIOU/m1GLXZTxt4Izm2t+VeSQpu orWa0NIcfnEXhENBNwenXc3vLKvIIpu7uSz3gqq+sSBt4sX6vOPAb87TbXcO9e5BdUfe nnGC/D0Hj+CnRuupPLu0IvskgD3dbVQo5mshvErgAyy0XiZfUPUiGUTqBo4E0pGfbzEp +n0n0SPx3i10DzriEy5LcdmnKkuyi0BXwykh2z0pUHWZxSvIxly6U0x1KpI00Rrh+hAd oZuL20fabI8RPQXSNTi9v2pedalAyM+Dy4abgmF7qD/Sf+Kenu6XTL9ZaJFh3cV1sln3 jRcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=9pFfsSHGvEpykZaFmJYB2ofWm6ZDsM39EBqArbAirYE=; b=CGYiST3nSS4kA1dBp/A4m0prr9qRcz/3hVwHIZ4r8zZLFmjoDnorNMENWkmXVDvzco Bij4VMl+b2lTfaUed8fW9VvSc2ov6fIchHCZn0PtuEQDBXqkuq4mDmjTnA+vUMtAhwcJ e9XxwSTBOlMPW4CAjl/vYbIAdTfKx3gGHNFqnyXjGW9TkNQ2fYHrkV2I6Lbgx3SfLfQR bI74Av/AbwwMMOaH7gHUDOSCUKtfwPWc8SLrPILT5lkKLbict/eQ81PC3W/kbU3eTe88 GYtYuOgiXFmSiqacqhSW3qzJ/6zUykv71x0dZ+qKZZsBI3QpbJxrqOPl4/laYF5R8G8k h7RQ== X-Gm-Message-State: AKwxytfUdhtCsXGfsWDPoZabtJWykv38iF9bx865nhAhxbVkNgSKriit 9DZvdso9NUhAjaQ1tAGpH+c= X-Google-Smtp-Source: ACJfBosBN+sGXHfNF0qzcN5CuNOAAQE9POUo0QjK+OWR7Kg2ob5DxXlaA7+DJmRgHk5SAEzxYHs2tw== X-Received: by 10.28.134.193 with SMTP id i184mr711904wmd.57.1515489094633; Tue, 09 Jan 2018 01:11:34 -0800 (PST) Received: from igloo.80.58.61.254 (141.pool85-51-114.dynamic.orange.es. [85.51.114.141]) by smtp.gmail.com with ESMTPSA id e132sm15617520wmd.40.2018.01.09.01.11.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 Jan 2018 01:11:34 -0800 (PST) From: Jorge Ramirez-Ortiz To: jorge.ramirez.ortiz@gmail.com, pbrobinson@gmail.com, U-Boot@lists.denx.de Date: Tue, 9 Jan 2018 10:11:28 +0100 Message-Id: <1515489088-6755-3-git-send-email-jorge.ramirez.ortiz@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1515489088-6755-1-git-send-email-jorge.ramirez.ortiz@gmail.com> References: <1515489088-6755-1-git-send-email-jorge.ramirez.ortiz@gmail.com> X-Mailman-Approved-At: Tue, 09 Jan 2018 12:34:31 +0000 Subject: [U-Boot] [PATCH 03/03] dm: core: parse chosen node X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Rob Clark This is the node that would contain, for example, the framebuffer setup by an earlier stage. Signed-off-by: Rob Clark --- arch/sandbox/dts/test.dts | 7 +++++++ drivers/core/root.c | 12 ++++++++++++ test/dm/bus.c | 2 +- test/dm/test-fdt.c | 2 +- 4 files changed, 21 insertions(+), 2 deletions(-) diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index e67d428..3f9e788 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -478,6 +478,13 @@ wdt0: wdt@0 { compatible = "sandbox,wdt"; }; + + chosen { + chosen-test { + compatible = "denx,u-boot-fdt-test"; + reg = <9 1>; + }; + }; }; #include "sandbox_pmic.dtsi" diff --git a/drivers/core/root.c b/drivers/core/root.c index 976e2c4..5a1c599 100644 --- a/drivers/core/root.c +++ b/drivers/core/root.c @@ -266,6 +266,18 @@ static int dm_scan_fdt_node(struct udevice *parent, const void *blob, for (offset = fdt_first_subnode(blob, offset); offset > 0; offset = fdt_next_subnode(blob, offset)) { + + /* "chosen" node isn't a device itself but may contain some: */ + if (!strcmp(fdt_get_name(blob, offset, NULL), "chosen")) { + pr_debug("parsing subnodes of \"chosen\"\n"); + + err = dm_scan_fdt_node(parent, blob, offset, + pre_reloc_only); + if (err && !ret) + ret = err; + continue; + } + if (pre_reloc_only && !dm_fdt_pre_reloc(blob, offset)) continue; diff --git a/test/dm/bus.c b/test/dm/bus.c index 7006d41..1da398a 100644 --- a/test/dm/bus.c +++ b/test/dm/bus.c @@ -105,7 +105,7 @@ UCLASS_DRIVER(testbus) = { /* Test that we can probe for children */ static int dm_test_bus_children(struct unit_test_state *uts) { - int num_devices = 6; + int num_devices = 7; struct udevice *bus; struct uclass *uc; diff --git a/test/dm/test-fdt.c b/test/dm/test-fdt.c index dcc2ef8..920ccbf 100644 --- a/test/dm/test-fdt.c +++ b/test/dm/test-fdt.c @@ -167,7 +167,7 @@ int dm_check_devices(struct unit_test_state *uts, int num_devices) /* Test that FDT-based binding works correctly */ static int dm_test_fdt(struct unit_test_state *uts) { - const int num_devices = 6; + const int num_devices = 7; struct udevice *dev; struct uclass *uc; int ret;