[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJ+vNU0sEv_5B-2w-25HtkP1mubbHOYi278prqsDar23Sz80pw@mail.gmail.com>
Date: Fri, 23 Sep 2016 08:40:10 -0700
From: Tim Harvey <tharvey@...eworks.com>
To: netdev <netdev@...r.kernel.org>
Subject: device-tree support for writing to phy registers?
Greetings,
I've got a TI DP83867 GbE phy that requires some register writes to
configure its refclock output. Is there a generic device-tree API for
writing to raw registers or is that something that would be need to be
added to a specific phy driver with a device-tree binding? There is a
DP83867 phy driver but it doesn't contain anything related to
configuring its CLKOUT via register 0x170.
Alternatively, is it generally considered 'ok' to take care of this in
the bootloader and not provide the MAC driver the gpio for phy-reset
so that bootloader configuration persists through the kernel?
Regards,
Tim
Powered by blists - more mailing lists