From: Marco Felsch <m.felsch@pengutronix.de>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 3/3] ARM: i.MX: setup ENET_CLK_SEL in imx6_init for every imx6q/imx6d
Date: Mon, 10 Aug 2020 10:38:55 +0200 [thread overview]
Message-ID: <20200810083855.u3aeqdner7nhesyn@pengutronix.de> (raw)
In-Reply-To: <20200810071614.GW31536@pengutronix.de>
On 20-08-10 09:16, Sascha Hauer wrote:
> Hi Marco,
>
> On Thu, Aug 06, 2020 at 11:29:19AM +0200, Marco Felsch wrote:
> > Setup the ENET TX reference clk to get it from the internal clock from
> > anatop. This is the default value for newer imx6 processors like: 6sx,
> > 6ul, 6ull. So it should be safe to set it as default for imx6q/d too.
>
> I don't follow this reasoning. We only ever know the boards that are
> unhappy with the reset default, because these are the ones that change
> it. Now if we change the register default we can't know which boards
> stop working because they relied on the previous reset default value.
>
> Here is an example from U-Boot where this bit is explicitly cleared:
>
> board/tqc/tqma6/tqma6_mba6.c:85: clrbits_le32(&iomuxc_regs->gpr[1], IOMUXC_GPR1_ENET_CLK_SEL_MASK);
>
> We support this board in barebox as well and it might break with your
> change, so I don't think this patch is a good idea.
Okay, after talking with Oleksij I thought this would be the common
case instead of using an external osc and it would drop confusions
why it's working 'magicaly' out of the box for all other imx devices.
Anyway got your point.
Regards,
Marco
> Sascha
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2020-08-10 8:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-06 9:29 [PATCH 1/3] ARM: i.MX6 dtsi: add enet_out clock Marco Felsch
2020-08-06 9:29 ` [PATCH 2/3] ARM: imx6ul: add fec bits to GPR syscon definition Marco Felsch
2020-08-06 9:29 ` [PATCH 3/3] ARM: i.MX: setup ENET_CLK_SEL in imx6_init for every imx6q/imx6d Marco Felsch
2020-08-10 7:16 ` Sascha Hauer
2020-08-10 8:38 ` Marco Felsch [this message]
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=20200810083855.u3aeqdner7nhesyn@pengutronix.de \
--to=m.felsch@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox