[{"id":1765732,"web_url":"http://patchwork.ozlabs.org/comment/1765732/","msgid":"<CAPnjgZ0fo-+iEhiNjdRCVOAsxBX0st5rT9oiNgD9qnqQ5xL1ew@mail.gmail.com>","list_archive_url":null,"date":"2017-09-09T04:55:06","subject":"Re: [U-Boot] [PATCH v3 1/2] dm: core: add clocks node scan","submitter":{"id":6170,"url":"http://patchwork.ozlabs.org/api/people/6170/","name":"Simon Glass","email":"sjg@chromium.org"},"content":"On 4 September 2017 at 06:55,  <patrice.chotard@st.com> wrote:\n> From: Patrice Chotard <patrice.chotard@st.com>\n>\n> Currently, all fixed-clock declared in \"clocks\" node in device tree\n> can be binded by clk_fixed_rate.c driver only if each of them have\n> the \"simple-bus\" compatible string.\n> This constraint has been invoked here [1].\n>\n> This patch offers a solution to avoid adding \"simple-bus\" compatible\n> string to nodes that are not busses.\n>\n> [1] https://patchwork.ozlabs.org/patch/558837/\n>\n> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>\n> ---\n>\n> v3:     _ rename dm_extended_scan_dt() to dm_extended_scan_fdt() to insure\n>           function naming consistency\n>         _ update dm_extended_scan_fdt() description\n>\n>  drivers/core/root.c | 34 ++++++++++++++++++++++++++++++++--\n>  include/dm/root.h   | 14 ++++++++++++++\n>  2 files changed, 46 insertions(+), 2 deletions(-)\n\nReviewed-by: Simon Glass <sjg@chromium.org>","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>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=google.com header.i=@google.com\n\theader.b=\"IsQwyPbZ\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"CGGP/XN8\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xq2L75h2Zz9sBZ\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat,  9 Sep 2017 15:09:35 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 8609DC21F64; Sat,  9 Sep 2017 05:03:28 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 2989BC21F9D;\n\tSat,  9 Sep 2017 04:57:33 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid C928DC21FBD; Sat,  9 Sep 2017 04:56:34 +0000 (UTC)","from mail-qt0-f182.google.com (mail-qt0-f182.google.com\n\t[209.85.216.182])\n\tby lists.denx.de (Postfix) with ESMTPS id A8F59C21F1D\n\tfor <u-boot@lists.denx.de>; Sat,  9 Sep 2017 04:55:28 +0000 (UTC)","by mail-qt0-f182.google.com with SMTP id q8so10592585qtb.5\n\tfor <u-boot@lists.denx.de>; Fri, 08 Sep 2017 21:55:28 -0700 (PDT)","by 10.200.37.200 with HTTP; Fri, 8 Sep 2017 21:55:06 -0700 (PDT)"],"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\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=20161025; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=31PmtjbdKQCa3cdqK0B/i3ogMqf1Q1QUxFzk/lWomE8=;\n\tb=IsQwyPbZGDjNrzoLE8NNnVBOplcXHtjLSlobCpcntexxkvp2Oumz5K8N6CwqW/0jQD\n\t3YuvV4MxMeTaWNnfSa8QS4SYovbITKzmutmCjb1JbnTiY5WcCGYDeYVKC3UZfRfewncT\n\tmHGJIj56tahSwymn2djHjb7RU3NMpjIK7zKy2DS7NR3q7VkQKjeILTHjsdy3KThPS1sq\n\tRj9sn8qObGlCkxv5fUWNawqGJ3RX8UF09zm/yZy2Ivrbsz6xHLzLJfq1W+06A/+iiLu3\n\tI4srnyJugHpdyhexjg054QxhtMw9Jt0NXfbC1RaYyHFRd9+pGV0fHFp36WuNEunybucA\n\tztOw==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org;\n\ts=google; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=31PmtjbdKQCa3cdqK0B/i3ogMqf1Q1QUxFzk/lWomE8=;\n\tb=CGGP/XN8vU/Ixofr72nH2qPvjKnNQjpD1gbtiymXUh1I6v8XRP5N5WlZZkqyoWMjA6\n\tdfgwZ7rhUpUWqEqTLYuZMhbtpmn8bOcgd2Zw4AcAq8ntWPf1MrLssiCPRhcOg2XZyYO4\n\tGOwe9Co8KNpckEdDy/719UsHA0QLH7O+YSUZU="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:sender:in-reply-to:references:from\n\t:date:message-id:subject:to:cc;\n\tbh=31PmtjbdKQCa3cdqK0B/i3ogMqf1Q1QUxFzk/lWomE8=;\n\tb=dGbfEPu/zDD+nCzSSDdfjHsGDnYGZzOyQo1X1sSj5nh3q7vALEOGagK0dDFaSBCtwX\n\tQWvMVEyv4Lo6dDdGNW17W1wtCKRoNpPuAi7CWABBxo0vU8HKIuib2eqo6YGreMsD6P0V\n\txnNq8is6yLUc/5uYPbhcOgZWT1MKtvLmlq2T1dm2ttBAF3uwE+mzMOzmQiIlnO9//iMq\n\t/8LaKSMnY6CYj8miv8WjzuOW2XQtLkeIvRk5pnszVD57t6GZO79QFYDZI+S6lgd63fjK\n\tMZAM5cVdhvZ/Q0ohdAlLV58yHY3WkMGx+XtOQax6WhVi77cYPgMWxKIlzaL9U5ugD0ZL\n\tghBg==","X-Gm-Message-State":"AHPjjUgEgNzwe+bBx63VR11k5bM/0HuJPEX62ZSR2lHZXsmFEwd96euz\n\tayFqAUIbtW3BHUloOhCvM7iaGDlVShssw0rl+mc/8Q==","X-Google-Smtp-Source":"AOwi7QCDTqiCtaooAcyji5GxdmxPXPmRxqFmVWKD11xAEbqSC4G36uLvmo1Qtyp17nwwt9X1g3r5V5vRhLZ9FITBWA4=","X-Received":"by 10.200.5.132 with SMTP id a4mr7518781qth.318.1504932927372;\n\tFri, 08 Sep 2017 21:55:27 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<1504529757-10843-2-git-send-email-patrice.chotard@st.com>","References":"<1504529757-10843-1-git-send-email-patrice.chotard@st.com>\n\t<1504529757-10843-2-git-send-email-patrice.chotard@st.com>","From":"Simon Glass <sjg@chromium.org>","Date":"Fri, 8 Sep 2017 22:55:06 -0600","X-Google-Sender-Auth":"B34fhTlQPD1uTqVSMz_l3mPJDWg","Message-ID":"<CAPnjgZ0fo-+iEhiNjdRCVOAsxBX0st5rT9oiNgD9qnqQ5xL1ew@mail.gmail.com>","To":"Patrice Chotard <patrice.chotard@st.com>","Cc":"U-Boot Mailing List <u-boot@lists.denx.de>","Subject":"Re: [U-Boot] [PATCH v3 1/2] dm: core: add clocks node scan","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>"}},{"id":1766880,"web_url":"http://patchwork.ozlabs.org/comment/1766880/","msgid":"<CAPnjgZ02ZDpu3DPBcjHbbBQm50-bZsNJxX5-2NEc0i1erOX8xA@mail.gmail.com>","list_archive_url":null,"date":"2017-09-12T10:52:29","subject":"Re: [U-Boot] [PATCH v3 1/2] dm: core: add clocks node scan","submitter":{"id":12501,"url":"http://patchwork.ozlabs.org/api/people/12501/","name":"Simon Glass","email":"sjg@google.com"},"content":"On 4 September 2017 at 06:55,  <patrice.chotard@st.com> wrote:\n> From: Patrice Chotard <patrice.chotard@st.com>\n>\n> Currently, all fixed-clock declared in \"clocks\" node in device tree\n> can be binded by clk_fixed_rate.c driver only if each of them have\n> the \"simple-bus\" compatible string.\n> This constraint has been invoked here [1].\n>\n> This patch offers a solution to avoid adding \"simple-bus\" compatible\n> string to nodes that are not busses.\n>\n> [1] https://patchwork.ozlabs.org/patch/558837/\n>\n> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>\n> ---\n>\n> v3:     _ rename dm_extended_scan_dt() to dm_extended_scan_fdt() to insure\n>           function naming consistency\n>         _ update dm_extended_scan_fdt() description\n>\n>  drivers/core/root.c | 34 ++++++++++++++++++++++++++++++++--\n>  include/dm/root.h   | 14 ++++++++++++++\n>  2 files changed, 46 insertions(+), 2 deletions(-)\n\nReviewed-by: Simon Glass <sjg@chromium.org>\n\nApplied to u-boot-dm, thanks!","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>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=google.com header.i=@google.com\n\theader.b=\"qQgxuRDv\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xs1rL1Lp8z9s82\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 20:54:10 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid D9217C22002; Tue, 12 Sep 2017 10:52:54 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 2A9CFC21FBD;\n\tTue, 12 Sep 2017 10:52:34 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid DEBFDC21EEB; Tue, 12 Sep 2017 10:52:31 +0000 (UTC)","from mail-qk0-f169.google.com (mail-qk0-f169.google.com\n\t[209.85.220.169])\n\tby lists.denx.de (Postfix) with ESMTPS id 4A113C21E66\n\tfor <u-boot@lists.denx.de>; Tue, 12 Sep 2017 10:52:31 +0000 (UTC)","by mail-qk0-f169.google.com with SMTP id z143so24099193qkb.3\n\tfor <u-boot@lists.denx.de>; Tue, 12 Sep 2017 03:52:31 -0700 (PDT)","from 480794996271 named unknown by gmailapi.google.com with\n\tHTTPREST; Tue, 12 Sep 2017 03:52:29 -0700"],"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=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID,\n\tUNPARSEABLE_RELAY\n\tautolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=20161025; \n\th=mime-version:sender:from:in-reply-to:references:date:message-id\n\t:subject:to:cc;\n\tbh=O1ixIz4akxUZpwUX1BQmV1MLGH2g5sSxZL1C9V+q5RM=;\n\tb=qQgxuRDvGbBq5krA99mDdHARpi1inTbJDY6b8mERCh8LP2d3u5NduyuGnCclyFHqaQ\n\t8EcgGPOdGHeIjHhwllH9u38YOFrRl5mOgbHQ9FkGY0lTYX3emZ5z5XORDwWzTGmC7hEc\n\tea5VWgxvHf1Md1qSRj/SM5cZ96i28tXF+qgh8AGu3pwfJAGY+XRZa6zNUOP6zbmHNPCc\n\t1hejcd1/ZRU+3ktV3LYs9h3gc2S9EbvvRmND+TaU/yVMkxDqU8L0gkfO4ISTnJ8kOdkw\n\tosAMS3hD0XfCV6dSWRKqIokwwHc1APUbKK5TFRpft4VMLFQZX2DUAyrQbinUPblQhi2M\n\t/fGw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:sender:from:in-reply-to:references\n\t:date:message-id:subject:to:cc;\n\tbh=O1ixIz4akxUZpwUX1BQmV1MLGH2g5sSxZL1C9V+q5RM=;\n\tb=MMca9WaR5Og0CqWBg/bIYLzB0AoMfepsRGU4bRLGMshiis/muzIfx6jwz9cvt4g7Du\n\tP09BvVXgJg2qC3oOfskGKbz/SZvWrj9hKrFqO6lF9JkmOSW/3HUXanVVGLQUkEMUZ+Mq\n\tSate/Y0O5DcJN8vmPGq7nrB+qbryitVIP/kZxzjbHcLwIbxG0Me6dMx+0f3+6XoJBsSa\n\t1pakwwEwPH7OflNeOqSWxPYjxy8QFlu+D1DdgQ2XkEA17Qji6t6Vr/gpo949SEhAtiFM\n\t1Bjq899VhDAK9h1HUv3EnpAc2fY3nBbgXWYEkOpBqUPLHUkbMJ+hRZbF/4XEBSQTjM5n\n\t96UA==","X-Gm-Message-State":"AHPjjUgHmbmF5vOInfJ5p7x9x0VwVTX93prsNLVeE+K++zta4vibGCnl\n\t6tFWUk6KqGY4gA5pmd6UjNpA5CY/XScfD4oZqt2tMQ==","X-Google-Smtp-Source":"AOwi7QCadpjrCREElxE1msTFI+HePyEgM/PVWr1UqQYte0Unp/Fc68yif0s+ppP5tNfL2ikNGhWGXp1LXw8EX2kmP0k=","X-Received":"by 10.55.81.215 with SMTP id f206mr17720124qkb.188.1505213549854;\n\tTue, 12 Sep 2017 03:52:29 -0700 (PDT)","MIME-Version":"1.0","From":"sjg@google.com","In-Reply-To":"<CAPnjgZ0fo-+iEhiNjdRCVOAsxBX0st5rT9oiNgD9qnqQ5xL1ew@mail.gmail.com>","References":"<CAPnjgZ0fo-+iEhiNjdRCVOAsxBX0st5rT9oiNgD9qnqQ5xL1ew@mail.gmail.com>\n\t<1504529757-10843-1-git-send-email-patrice.chotard@st.com>\n\t<1504529757-10843-2-git-send-email-patrice.chotard@st.com>","Date":"Tue, 12 Sep 2017 03:52:29 -0700","X-Google-Sender-Auth":"Ea76iaFNYrMlCVSUGmPWNajh5vo","Message-ID":"<CAPnjgZ02ZDpu3DPBcjHbbBQm50-bZsNJxX5-2NEc0i1erOX8xA@mail.gmail.com>","To":"Simon Glass <sjg@chromium.org>","Cc":"U-Boot Mailing List <u-boot@lists.denx.de>","Subject":"Re: [U-Boot] [PATCH v3 1/2] dm: core: add clocks node scan","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>"}}]