Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp174656ybt; Mon, 6 Jul 2020 06:49:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjCvWDtOQ4n5ssHd4EcoXEq6NQak51CbQTsDxSq3rk1CSrcysZ5sneR1aoNgrLyQBoRE7R X-Received: by 2002:a17:906:a84d:: with SMTP id dx13mr36628783ejb.246.1594043373868; Mon, 06 Jul 2020 06:49:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594043373; cv=none; d=google.com; s=arc-20160816; b=FM6DQxZzOqk9uw6d8HC1k+5ymYDuYv4KY9iP5t5yYsjP4eOBKImm4HdfnAji9gkDUF /EX+ytlHXb3WxHgWLv47BR4uBD7rR9ZIhuCVyrtKBRf2EG8vP0qQbIIbtvDvPjllLN/Q P6RWeYWFRx34xH4dfbnKAj1gMOToGFmNvpzyDvqKw6bwPfuzyWhSdoL8x2sAOK+b5Hom RsimfhdFxJYTnJIJv7iFitP3uGIdiOOIG9Pa7JaOBGdboPYk7Ex8cklqefMCmatOUAvX AZqJiLRU7HsjwA/3xMQVbyEmYmVyB54S4hcW9uNPEBB1oUJUv5OO9UUtfxcKqGfn9HAc bHxw== 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=ujWmFeI6Flmp+c/ywUJ1ekXf+PPGZevFkwBhKsOKkZ4=; b=y0jQkVsYLi5lEvmQzG1/mwDLqH3Qo2HM9vs/2KOy3NO6IqhJZ41tOB9r9TPiak75/r aa/tNLVU7ov9V2PQZwDUtIHrI7zXtNj49JG77eWAy6SdMiblmKZKWMrUIQ9uMOV948HV 5U9iHKjAzEMMbdf/bZY+PJ51sAs+eGmPvv2hfsdj3o+wiCBGOOOaptZp6VYLcFHAMwXA +CE03d9LNQKRRfnXxtrkvT0cKqXx27WywBT0HPcxrs3IgwdTesk2MUsPH6syiQJtuyLO nFvsPNYf9PBsHe+HInTmYFVBqJ7n/mltjtcR8XtSsBPKqQcG6Sjo3mcj1dZfgsepvU1c m1Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tz4jIaQh; 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 u25si13802793ejr.632.2020.07.06.06.49.11; Mon, 06 Jul 2020 06:49:33 -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=tz4jIaQh; 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 S1729272AbgGFNqi (ORCPT + 99 others); Mon, 6 Jul 2020 09:46:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728961AbgGFNqi (ORCPT ); Mon, 6 Jul 2020 09:46:38 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C10B0C061755; Mon, 6 Jul 2020 06:46:37 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id t25so40835051lji.12; Mon, 06 Jul 2020 06:46:37 -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=ujWmFeI6Flmp+c/ywUJ1ekXf+PPGZevFkwBhKsOKkZ4=; b=tz4jIaQhaEshDqBeV8lgZXacy8neCsIUEtB8PrcSndWYQM09hRLZxtkWLy1+VlciKC vpOyb/4xTb/CZM++lUZzllbuM4pr8d8oykqgW20mN3Eww+N7nx7QTzmCs+ZaiTqZNRdl Tbr1pMhMm4Ha0iEbtNc5hN2oVAqDhiZPt8mXcKMMBgNIh5VzmT5n9M4YzCNr0j7tMoKE uf1+rtAdxiVt9IzqxMC5TyE2UuPVrBdVzbW6+6lT4xRTI/6bX42U/UZZ/gxq08ugrWj2 Cpb4nVTUQ9mHs+o8mKQDbiXw3hUwHk5c7EkXbbpgB5XtlVXgGct4Ha8CjT9+o90JHFrl aACQ== 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=ujWmFeI6Flmp+c/ywUJ1ekXf+PPGZevFkwBhKsOKkZ4=; b=ZgTI8XUxZqO5Aw2IStdTIaK1B3TOaAkFBVel9LcF+6MfoDa+wNqphQNzkl+nVfcslR NT+WdJKOgfU5d6vSDlGfiq26Dek031+CJXUxUnK4Jy08e7VqZ7vjbx2C+OVzR+NPjEe5 aKg2HGd/XN67dz/bH+2E+ljBz0tpWHN0G88qYLRcSzSkE7HI4Xh8tZDXT92DawdAna3j f3sioJhscdRZWibl772HPYymWyF12+RVYLUxQLKVlRNfcfS4lhcdzKCwmgvnMQnR0brT BZ6crNWbixYyEjkje9ehK/kljDWeUAsKIesTkGiQgVxpnTl0yNTu2gt3yBVTfpAhwRRA uZYw== X-Gm-Message-State: AOAM532YjId119q0uEKyQaYLRHQRIj1y/jQ4MYQZ5fSdhZF/RlA0WRUo z0fem8SelTpujEezkcGfpgsGrI7pj3YWjI3KTFo= X-Received: by 2002:a2e:808d:: with SMTP id i13mr24444142ljg.452.1594043196179; Mon, 06 Jul 2020 06:46:36 -0700 (PDT) MIME-Version: 1.0 References: <20200702175352.19223-1-TheSven73@gmail.com> <20200702175352.19223-3-TheSven73@gmail.com> In-Reply-To: From: Fabio Estevam Date: Mon, 6 Jul 2020 10:46:24 -0300 Message-ID: Subject: Re: [EXT] Re: [PATCH v5 3/3] ARM: imx6plus: optionally enable internal routing of clk_enet_ref To: Andy Duan Cc: Sven Van Asbroeck , 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 On Mon, Jul 6, 2020 at 2:30 AM Andy Duan wrote: > > From: Sven Van Asbroeck Sent: Sunday, July 5, 2020 11:34 PM > > > > ext phy---------| \ > > | | > > enet_ref-o------|M |----pad------| \ > > | |_/ | | > > | |M |----mac_gtx > > | | | > > o-----------------------|_/ > > > > > > How do we tell the clock framework that clk_pad has a mux that can be > > connected to _any_ external clock? and also enet_ref? > > 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. > > To make thing simple, we can just control the second "M" that is controlled > by gpr bit. Would it make sense to use compatible = "mmio-mux"; like we do on imx7s, imx6qdl.dtsi and imx8mq.dtsi?