{"id":809670,"url":"http://patchwork.ozlabs.org/api/1.0/patches/809670/?format=json","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.0/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<1504529757-10843-3-git-send-email-patrice.chotard@st.com>","date":"2017-09-04T12:55:57","name":"[U-Boot,v3,2/2] dm: test: replace dm_scan_dt() by of dm_extended_scan_fdt() in dm_do_test","commit_ref":"ee87a097b0f66158ce2985940a5f28ba15a3552d","pull_url":null,"state":"accepted","archived":false,"hash":"c4a6b757b6f3540a8ad89ac316bd8be57b0be319","submitter":{"id":63958,"url":"http://patchwork.ozlabs.org/api/1.0/people/63958/?format=json","name":"Patrice CHOTARD","email":"patrice.chotard@st.com"},"delegate":{"id":3184,"url":"http://patchwork.ozlabs.org/api/1.0/users/3184/?format=json","username":"sjg","first_name":"Simon","last_name":"Glass","email":"sjg@chromium.org"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/1504529757-10843-3-git-send-email-patrice.chotard@st.com/mbox/","series":[{"id":1373,"url":"http://patchwork.ozlabs.org/api/1.0/series/1373/?format=json","date":"2017-09-04T12:55:55","name":"dm: core: add clocks node scan","version":3,"mbox":"http://patchwork.ozlabs.org/series/1373/mbox/"}],"check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/809670/checks/","tags":{},"headers":{"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;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xm8zX14Dfz9sNr\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon,  4 Sep 2017 22:58:32 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid BEE5FC21F25; Mon,  4 Sep 2017 12:57:17 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id A6B71C21F09;\n\tMon,  4 Sep 2017 12:56:47 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 0366FC21EA5; Mon,  4 Sep 2017 12:56:42 +0000 (UTC)","from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com\n\t[91.207.212.93])\n\tby lists.denx.de (Postfix) with ESMTPS id 9FEF8C21CEC\n\tfor <u-boot@lists.denx.de>; Mon,  4 Sep 2017 12:56:42 +0000 (UTC)","from pps.filterd (m0046660.ppops.net [127.0.0.1])\n\tby mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv84ClAfp022439; Mon, 4 Sep 2017 14:56:41 +0200","from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35])\n\tby mx08-00178001.pphosted.com with ESMTP id 2cqhs528wq-1\n\t(version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT);\n\tMon, 04 Sep 2017 14:56:41 +0200","from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9])\n\tby beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 20E9834;\n\tMon,  4 Sep 2017 12:56:41 +0000 (GMT)","from Webmail-eu.st.com (sfhdag6node3.st.com [10.75.127.18])\n\tby zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 0B0F9293E;\n\tMon,  4 Sep 2017 12:56:41 +0000 (GMT)","from localhost (10.75.127.44) by SFHDAG6NODE3.st.com (10.75.127.18)\n\twith Microsoft SMTP Server (TLS) id 15.0.1178.4;\n\tMon, 4 Sep 2017 14:56:40 +0200"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW\n\tautolearn=unavailable autolearn_force=no version=3.4.0","From":"<patrice.chotard@st.com>","To":"<sjg@chromium.org>, <yamada.masahiro@socionext.com>","Date":"Mon, 4 Sep 2017 14:55:57 +0200","Message-ID":"<1504529757-10843-3-git-send-email-patrice.chotard@st.com>","X-Mailer":"git-send-email 1.9.1","In-Reply-To":"<1504529757-10843-1-git-send-email-patrice.chotard@st.com>","References":"<1504529757-10843-1-git-send-email-patrice.chotard@st.com>","MIME-Version":"1.0","X-Originating-IP":"[10.75.127.44]","X-ClientProxiedBy":"SFHDAG4NODE2.st.com (10.75.127.11) To SFHDAG6NODE3.st.com\n\t(10.75.127.18)","X-Proofpoint-Virus-Version":"vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-09-04_08:, , signatures=0","Cc":"u-boot@lists.denx.de","Subject":"[U-Boot] [PATCH v3 2/2] dm: test: replace dm_scan_dt() by of\n\tdm_extended_scan_fdt() in dm_do_test","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://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>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"From: Patrice Chotard <patrice.chotard@st.com>\n\nThis allows to scan the DT including all \"clocks\" node's sub-nodes\nin which fixed-clock are defined.\nAll fixed-clock should be defined inside a clocks node which collect all\nexternal oscillators. Until now, all clocks sub-nodes can't be binded except\nif the \"simple-bus\" compatible string is added which is a hack.\n\nUpdate test.dts by moving clk_fixed node inside clocks.\n\nSigned-off-by: Patrice Chotard <patrice.chotard@st.com>\nReviewed-by: Simon Glass <sjg@chromium.org>\n---\n\n\n arch/sandbox/dts/test.dts | 10 ++++++----\n test/dm/test-main.c       |  2 +-\n 2 files changed, 7 insertions(+), 5 deletions(-)","diff":"diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts\nindex 65b2f8e..e67d428 100644\n--- a/arch/sandbox/dts/test.dts\n+++ b/arch/sandbox/dts/test.dts\n@@ -127,10 +127,12 @@\n \t\tcompatible = \"denx,u-boot-fdt-test\";\n \t};\n \n-\tclk_fixed: clk-fixed {\n-\t\tcompatible = \"fixed-clock\";\n-\t\t#clock-cells = <0>;\n-\t\tclock-frequency = <1234>;\n+\tclocks {\n+\t\tclk_fixed: clk-fixed {\n+\t\t\tcompatible = \"fixed-clock\";\n+\t\t\t#clock-cells = <0>;\n+\t\t\tclock-frequency = <1234>;\n+\t\t};\n \t};\n \n \tclk_sandbox: clk-sbox {\ndiff --git a/test/dm/test-main.c b/test/dm/test-main.c\nindex 9d88d31..4478e6b 100644\n--- a/test/dm/test-main.c\n+++ b/test/dm/test-main.c\n@@ -92,7 +92,7 @@ static int dm_do_test(struct unit_test_state *uts, struct unit_test *test,\n \tif (test->flags & DM_TESTF_PROBE_TEST)\n \t\tut_assertok(do_autoprobe(uts));\n \tif (test->flags & DM_TESTF_SCAN_FDT)\n-\t\tut_assertok(dm_scan_fdt(gd->fdt_blob, false));\n+\t\tut_assertok(dm_extended_scan_fdt(gd->fdt_blob, false));\n \n \t/*\n \t * Silence the console and rely on console reocrding to get\n","prefixes":["U-Boot","v3","2/2"]}