All of lore.kernel.org
 help / color / mirror / Atom feed
From: shawnguo@kernel.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC] ARM: imx6q: add ENET_CLK_SEL mux option
Date: Fri, 20 Jul 2018 11:12:50 +0800	[thread overview]
Message-ID: <20180720031249.GB4576@dragon> (raw)
In-Reply-To: <1532029693-22764-1-git-send-email-jacopo@jmondi.org>

On Thu, Jul 19, 2018 at 09:48:13PM +0200, Jacopo Mondi wrote:
> This is just an attempt to set IOMUX_GPR1[21] bit...
> 
> Not-Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
> 
> ---
> Hello imx people (recipients list comes from get_maintainer script)
> 
>    I'm very new to this platform, so pardon me if I'm asking a question here,
> more than sending an actual patch.
> 
> Context: I have a board that needs bit 21 of register IOMUX_GPR1 set.
> This basically tells the SoC to use an internally generated clock as clock
> reference for the external PHY chip.

I think this has been handled as the default setup by function
imx6q_1588_init() in arch/arm/mach-imx/mach-imx6q.c.  Basically, it
checks 'ptp' clock setting in FEC node.  If it's the internal clock
'enet_ref', the function will set IOMUX_GPR1[21] bit.  For those board
designs using external OSC, they should overwrite the FEC node clocks
setting in their board level DTS to get 'ptp' clock point to the
external OSC.  The imx6qdl-icore.dtsi is such an example.

Shawn

  reply	other threads:[~2018-07-20  3:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-19 19:48 [RFC] ARM: imx6q: add ENET_CLK_SEL mux option Jacopo Mondi
2018-07-20  3:12 ` Shawn Guo [this message]
2018-07-20  7:02   ` jacopo mondi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180720031249.GB4576@dragon \
    --to=shawnguo@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.