[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201204014957.GB2414548@lunn.ch>
Date: Fri, 4 Dec 2020 02:49:57 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Aleksander Jan Bajkowski <olek2@...pl>
Cc: hauke@...ke-m.de, vivien.didelot@...il.com, f.fainelli@...il.com,
olteanv@...il.com, davem@...emloft.net, kuba@...nel.org,
robh+dt@...nel.org, netdev@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Aleksander Jan Bajkowski <A.Bajkowski@...d.elka.pw.edu.pl>
Subject: Re: [PATCH 1/2] net: dsa: lantiq: allow to use all GPHYs on xRX300
and xRX330
> static const struct of_device_id gswip_of_match[] = {
> { .compatible = "lantiq,xrx200-gswip", .data = &gswip_xrx200 },
> + { .compatible = "lantiq,xrx300-gswip", .data = &gswip_xrx300 },
> + { .compatible = "lantiq,xrx330-gswip", .data = &gswip_xrx300 },
> {},
Is there an ID register which allows you to ask the silicon what it
is?
It would be good to verify the compatible string against the hardware,
if that is possible.
Andrew
Powered by blists - more mailing lists