From: Heiner Kallweit <hkallweit1@gmail.com>
To: Daniel Gomez <dagmcr@gmail.com>, andrew@lunn.ch, f.fainelli@gmail.com
Cc: davem@davemloft.net, netdev@vger.kernel.org, javier@dowhile0.org,
"linux-spi@vger.kernel.org" <linux-spi@vger.kernel.org>,
Mark Brown <broonie@kernel.org>
Subject: Re: [PATCH 1/2] spi: Micrel eth switch: declare missing of table
Date: Tue, 23 Apr 2019 08:04:48 +0200 [thread overview]
Message-ID: <d4376323-36b7-d463-dc75-56970f750d35@gmail.com> (raw)
In-Reply-To: <1555960084-8462-1-git-send-email-dagmcr@gmail.com>
On 22.04.2019 21:08, Daniel Gomez wrote:
> Add missing <of_device_id> table for SPI driver relying on SPI
> device match since compatible is in a DT binding or in a DTS.
>
> Before this patch:
> modinfo drivers/net/phy/spi_ks8995.ko | grep alias
> alias: spi:ksz8795
> alias: spi:ksz8864
> alias: spi:ks8995
>
> After this patch:
> modinfo drivers/net/phy/spi_ks8995.ko | grep alias
> alias: spi:ksz8795
> alias: spi:ksz8864
> alias: spi:ks8995
> alias: of:N*T*Cmicrel,ksz8795C*
> alias: of:N*T*Cmicrel,ksz8795
> alias: of:N*T*Cmicrel,ksz8864C*
> alias: of:N*T*Cmicrel,ksz8864
> alias: of:N*T*Cmicrel,ks8995C*
> alias: of:N*T*Cmicrel,ks8995
>
> Reported-by: Javier Martinez Canillas <javier@dowhile0.org>
> Signed-off-by: Daniel Gomez <dagmcr@gmail.com>
> ---
> drivers/net/phy/spi_ks8995.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
I wonder why this SPI driver is under drivers/net/phy. Just because
the SPI IP is found on an ethernet switch chip? And even then it
would be wrong, I see no link to a PHY at all. I'd say the driver
belongs to drivers/spi. Shouldn't we move it?
next parent reply other threads:[~2019-04-23 6:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1555960084-8462-1-git-send-email-dagmcr@gmail.com>
2019-04-23 6:04 ` Heiner Kallweit [this message]
2019-04-23 12:28 ` [PATCH 1/2] spi: Micrel eth switch: declare missing of table Andrew Lunn
2019-04-23 17:33 ` Heiner Kallweit
2019-04-25 18:04 ` Mark Brown
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=d4376323-36b7-d463-dc75-56970f750d35@gmail.com \
--to=hkallweit1@gmail.com \
--cc=andrew@lunn.ch \
--cc=broonie@kernel.org \
--cc=dagmcr@gmail.com \
--cc=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=javier@dowhile0.org \
--cc=linux-spi@vger.kernel.org \
--cc=netdev@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).