Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1722198
| From | Pavel Machek <pavel@ucw.cz> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] DSA support for Micrel KSZ8895 |
| Date | 2017-08-29 09:50 +0200 |
| Message-ID | <ujJrz-8de-5@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <uf7ux-8bJ-3@gated-at.bofh.it> <uj519-7Ez-21@gated-at.bofh.it> <uj8Ln-1K5-3@gated-at.bofh.it> <ujmlk-2xk-11@gated-at.bofh.it> <ujsTM-6zH-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Mon 2017-08-28 16:09:27, Andrew Lunn wrote: > > I may be confused here, but AFAICT: > > > > 1) Yes, it has standard layout when accessed over MDIO. > > > Section 4.8 of the datasheet says: > > All the registers defined in this section can be also accessed > via the SPI interface. > > Meaning all PHY registers can be access via the SPI interface. So you > should be able to make a standard Linux MDIO bus driver which performs > SPI reads. As far as I can tell (and their driver confirms) -- yes, all those registers can be accessed over the SPI, they are just shuffled around... hence MDIO emulation code. I copied it from their code (see the copyrights) so no, I don't believe there's nicer solution. Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH] DSA support for Micrel KSZ8895 Andrew Lunn <andrew@lunn.ch> - 2017-08-27 18:40 +0200
Re: [PATCH] DSA support for Micrel KSZ8895 Pavel Machek <pavel@ucw.cz> - 2017-08-28 09:10 +0200
Re: [PATCH] DSA support for Micrel KSZ8895 Andrew Lunn <andrew@lunn.ch> - 2017-08-28 16:10 +0200
Re: [PATCH] DSA support for Micrel KSZ8895 Maxim Uvarov <muvarov@gmail.com> - 2017-08-28 16:50 +0200
Re: [PATCH] DSA support for Micrel KSZ8895 Pavel Machek <pavel@ucw.cz> - 2017-08-29 09:50 +0200
Re: [PATCH] DSA support for Micrel KSZ8895 Andrew Lunn <andrew@lunn.ch> - 2017-08-29 14:30 +0200
Re: [PATCH] DSA support for Micrel KSZ8895 Pavel Machek <pavel@ucw.cz> - 2017-08-29 23:20 +0200
Re: [PATCH] DSA support for Micrel KSZ8895 Florian Fainelli <f.fainelli@gmail.com> - 2017-08-29 23:30 +0200
Re: [PATCH] DSA support for Micrel KSZ8895 Maxim Uvarov <muvarov@gmail.com> - 2017-08-30 12:10 +0200
Re: [PATCH] DSA support for Micrel KSZ8895 Pavel Machek <pavel@ucw.cz> - 2017-08-29 09:50 +0200
RE: [PATCH] DSA support for Micrel KSZ8895 <Tristram.Ha@microchip.com> - 2017-08-30 23:40 +0200
Re: [PATCH] DSA support for Micrel KSZ8895 Andrew Lunn <andrew@lunn.ch> - 2017-08-31 00:10 +0200
Re: [PATCH] DSA support for Micrel KSZ8895 Pavel Machek <pavel@ucw.cz> - 2017-09-01 14:20 +0200
Re: [PATCH] DSA support for Micrel KSZ8895 Florian Fainelli <f.fainelli@gmail.com> - 2017-09-02 00:20 +0200
Re: [PATCH] DSA support for Micrel KSZ8895 Pavel Machek <pavel@ucw.cz> - 2017-09-02 17:50 +0200
Re: [PATCH] DSA support for Micrel KSZ8895 Maxim Uvarov <muvarov@gmail.com> - 2017-09-06 11:20 +0200
RE: [PATCH] DSA support for Micrel KSZ8895 <Tristram.Ha@microchip.com> - 2017-09-06 18:50 +0200
Re: [PATCH] DSA support for Micrel KSZ8895 Andrew Lunn <andrew@lunn.ch> - 2017-09-06 19:10 +0200
csiph-web