net: phy: Add BIT macro for Motorcomm yt8521/yt8531 gigabit ethernet phy 01/291101/2
authorFrank Sae <Frank.Sae@motor-comm.com>
Thu, 2 Feb 2023 03:00:34 +0000 (11:00 +0800)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 10 Apr 2023 04:15:00 +0000 (13:15 +0900)
commite660d317a4550bd0d1370bf4ff013d65239c130f
treec32abb1beb776d8f657e6f00ba06773dff5236bc
parent9876760593277b10977b3f8337bb9ea50bf4f7ff
net: phy: Add BIT macro for Motorcomm yt8521/yt8531 gigabit ethernet phy

Add BIT macro for Motorcomm yt8521/yt8531 gigabit ethernet phy.
 This is a preparatory patch. Add BIT macro for 0xA012 reg, and
 supplement for 0xA001 and 0xA003 reg. These will be used to support dts.

Signed-off-by: Frank Sae <Frank.Sae@motor-comm.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: Ia86f4b51b61329bcc4b585ec4cfa26fe80943d02
drivers/net/phy/motorcomm.c