From: David Miller <davem@davemloft.net>
To: michael@walle.cc
Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org,
netdev@vger.kernel.org, jdelvare@suse.com, linux@roeck-us.net,
andrew@lunn.ch, f.fainelli@gmail.com, hkallweit1@gmail.com,
linux@armlinux.org.uk
Subject: Re: [PATCH net-next v3 2/3] net: phy: add Broadcom BCM54140 support
Date: Wed, 22 Apr 2020 12:15:27 -0700 (PDT) [thread overview]
Message-ID: <20200422.121527.1094957328830405366.davem@davemloft.net> (raw)
In-Reply-To: <20200420182113.22577-2-michael@walle.cc>
From: Michael Walle <michael@walle.cc>
Date: Mon, 20 Apr 2020 20:21:12 +0200
> The Broadcom BCM54140 is a Quad SGMII/QSGMII Copper/Fiber Gigabit
> Ethernet transceiver.
>
> This also adds support for tunables to set and get downshift and
> energy detect auto power-down.
>
> The PHY has four ports and each port has its own PHY address.
> There are per-port registers as well as global registers.
> Unfortunately, the global registers can only be accessed by reading
> and writing from/to the PHY address of the first port. Further,
> there is no way to find out what port you actually are by just
> reading the per-port registers. We therefore, have to scan the
> bus on the PHY probe to determine the port and thus what address
> we need to access the global registers.
>
> Signed-off-by: Michael Walle <michael@walle.cc>
Applied.
next prev parent reply other threads:[~2020-04-22 19:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-20 18:21 [PATCH net-next v3 1/3] net: phy: broadcom: add helper to write/read RDB registers Michael Walle
2020-04-20 18:21 ` [PATCH net-next v3 2/3] net: phy: add Broadcom BCM54140 support Michael Walle
2020-04-20 19:57 ` Andrew Lunn
2020-04-22 19:15 ` David Miller [this message]
2020-04-20 18:21 ` [PATCH net-next v3 3/3] net: phy: bcm54140: add hwmon support Michael Walle
2020-04-20 19:58 ` Andrew Lunn
2020-04-22 19:15 ` David Miller
2020-04-22 19:15 ` [PATCH net-next v3 1/3] net: phy: broadcom: add helper to write/read RDB registers David Miller
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=20200422.121527.1094957328830405366.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=andrew@lunn.ch \
--cc=f.fainelli@gmail.com \
--cc=hkallweit1@gmail.com \
--cc=jdelvare@suse.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=linux@roeck-us.net \
--cc=michael@walle.cc \
--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).