[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9cc52176-0e9a-48b5-a044-bc13e39d13ec@lunn.ch>
Date: Sun, 20 Oct 2024 17:47:25 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Shenghao Yang <me@...nghaoyang.info>
Cc: netdev@...r.kernel.org, f.fainelli@...il.com, olteanv@...il.com,
pavana.sharma@...i.com, ashkan.boldaji@...i.com, kabel@...nel.org,
edumazet@...gle.com, pabeni@...hat.com, richardcochran@...il.com,
kuba@...nel.org
Subject: Re: [PATCH net v3 2/3] net: dsa: mv88e6xxx: read cycle counter
period from hardware
On Sun, Oct 20, 2024 at 02:38:29PM +0800, Shenghao Yang wrote:
> Instead of relying on a fixed mapping of hardware family to cycle
> counter frequency, pull this information from the
> MV88E6XXX_TAI_CLOCK_PERIOD register.
>
> This lets us support switches whose cycle counter frequencies depend on
> board design.
>
> Fixes: de776d0d316f ("net: dsa: mv88e6xxx: add support for mv88e6393x family")
> Suggested-by: Andrew Lunn <andrew@...n.ch>
> Signed-off-by: Shenghao Yang <me@...nghaoyang.info>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists