Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp224598ybt; Mon, 6 Jul 2020 07:54:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBKCNN9JdgJj7d1hPpwrx/gVY9yVh8ZRWGTZvD6N7MHhsOhhQ6TcX+KmnQrK7RVYm2Hfcl X-Received: by 2002:a17:906:e25a:: with SMTP id gq26mr42533225ejb.152.1594047249563; Mon, 06 Jul 2020 07:54:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594047249; cv=none; d=google.com; s=arc-20160816; b=TorWUwONKWKVIPj88V/FfG2G7imKp4W3pwrbASeY7ch/G09tT/QFPjcWicrIVAEL6W w6qc+4B0qXVYzfoMN4QDCrIdiWhCfXkAwiGAtmnM9/nl4l5b8kY5CqauQqwPLjYRiSay M8x7qNm+C8RlEKCCV65CC3JNqCulEjo4FnpQGNi+oU3x0pad5zX3TW3lP8CJQtWGjCFV 2s7/qBLvNa5Q5iRSB6ff2DZFx0jbEL0kKOFOpcsqMhnFiREDc/CHvxnsuBjF8F6Ktd8+ mGJP33JGQSqhxOonu0LjgEkkPzhAN0WGEGzApiX6qQtkulmsz+S5/hjBTTEU6PQ6KLah nMrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=GFpfVj0m9GIjBHaPOWNr/J7dthCRMh3m8RTK3vZekkY=; b=rW4ETkGmXXdYQXhGE5nMX488Y4LyEXrA9iS4d51igi7J80XvndWKWCrwaSgDkTKVVp MhxNyp5dkkdHOL5f8p8Tz2AGqw2KG4H+D3HhBqEIroyKOAYFvrGWXprN2A0ZZ+Jm6ImN EM/6WJMu6IOdcRGOjThs1g3i6t6iIb+aN1cJDnBeJn+FBt2jg3eZlLyYlsXxy8ZC0Xg9 Bn4hEWsQovIi3HcQDA47HRgYn03AypeAfIpNoyDFeYhHG06zRlRUv68jkZZOntqLgaek Wl7V42zHWHX+o5n59qu5O8x6zFl7je4eNvNm52NdJkgsC277VW0P9SJ4h7kOuQe1/RVR fNGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FG6yNBsd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id co28si13178072edb.540.2020.07.06.07.53.46; Mon, 06 Jul 2020 07:54:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FG6yNBsd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729397AbgGFOxg (ORCPT + 99 others); Mon, 6 Jul 2020 10:53:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729323AbgGFOxg (ORCPT ); Mon, 6 Jul 2020 10:53:36 -0400 Received: from mail-oi1-x244.google.com (mail-oi1-x244.google.com [IPv6:2607:f8b0:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4665DC061755; Mon, 6 Jul 2020 07:53:36 -0700 (PDT) Received: by mail-oi1-x244.google.com with SMTP id w17so31503717oie.6; Mon, 06 Jul 2020 07:53:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GFpfVj0m9GIjBHaPOWNr/J7dthCRMh3m8RTK3vZekkY=; b=FG6yNBsdFyaLnOU8mBfBB/Q8Je3J9Eas3f8oj2nCD10CZkPUTBuNVP9U8M+fIaEKb6 nhKqT8qm22ivfb9lCGijiCLP+VL+cKM0JfVx9i2ziczDfH3cm8b6w9uguuTaPtDYzTGv 5qgwmBhNs223mkQP+r8ujZc27qYWMSJVJE9BEF5sqYKir+CEr+kerUWXpxslq7sEaZiS KNoknGRBZJZz/j7I0NJ7pwrEirrh8rZ3FaRhGRa1hwWSB3pMhyFzZEMXw7LTdHQ6X9Iu 6DjHGByAClVQs7vBe4bBr5zImS0HpTYSyROQaeG3naIHVNlCV336B1q/uKOP+DGfn77C rmbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GFpfVj0m9GIjBHaPOWNr/J7dthCRMh3m8RTK3vZekkY=; b=iNpxyx9nAKV1kpdbO2cwXcBokOglOXhK3C4Lyh+dnBdRMIw2j/HAdaYiLhJN+Jt3Gl N3+YTM6Kzc8kk6sJsQH50VCn31ViJbrh4Bd2NPfv/cbk0RvKXm/Wl8cSi3jiMLpsKkZV mg/eoI902cYuxqYdNtHBxMkrr+vurS8qkqAz1p+qgiwDxzp/4928GtzSMhodKhd97O5T j3Pn3Yl9GmoawbCfL9IXxg+q7QnwILS9m5vT6UTBDmh7hqWuuDkC4Nr/VoxekapZm0H/ /AKGirV+DLwjQRSONJwpUqEjDZkkp7zcWJ+XJe3DBFKOacstJ++QE0mvHuXSjMtFsrgg Zu9Q== X-Gm-Message-State: AOAM5301eSXfjHh4q5aCqcrWELD+mFICYTEwhvHxrs963civW1cNwTKX Y6RIpmH1A8U+ym7TUEf6gjFutgFKv+6jOFN6Pl4= X-Received: by 2002:aca:ecc7:: with SMTP id k190mr34028677oih.92.1594047215580; Mon, 06 Jul 2020 07:53:35 -0700 (PDT) MIME-Version: 1.0 References: <20200702175352.19223-1-TheSven73@gmail.com> <20200702175352.19223-3-TheSven73@gmail.com> In-Reply-To: From: Sven Van Asbroeck Date: Mon, 6 Jul 2020 10:53:24 -0400 Message-ID: Subject: Re: [EXT] Re: [PATCH v5 3/3] ARM: imx6plus: optionally enable internal routing of clk_enet_ref To: Andy Duan Cc: Fabio Estevam , Shawn Guo , Rob Herring , "David S. Miller" , Jakub Kicinski , netdev , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Sascha Hauer , Pengutronix Kernel Team , dl-linux-imx , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andy, On Mon, Jul 6, 2020 at 1:30 AM Andy Duan wrote: > > The clock depends on board design, HW refer guide can describe the clk > usage in detail and customer select one clk path as their board design. > Yes, I agree. But how does a board designer practically describe this in the devicetree? Example: mac_gtx -> clk_pad (the default) Imagine I have a fixed oscillator on the board: phy_ref_clk: oscillator { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <50000000>; }; How can I now make <&phy_ref_clk> the parent of <&clks CLK_PAD> ?