net: dsa: microchip: add ksz_prmw32() helper
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Tue, 20 Jun 2023 11:38:53 +0000 (13:38 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 23 Jun 2023 02:48:37 +0000 (19:48 -0700)
commitece28ecbec9f63e3f722d7c9a99fb965cbeafc1b
tree44429e4378266808f410954970b286b6da86761e
parent3b42fbd5951171bce5ecd22ad72d6a16fefaa704
net: dsa: microchip: add ksz_prmw32() helper

This will be used in a subsequent patch fixing an errata for writes to
certain PHY registers.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Acked-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Link: https://lore.kernel.org/r/20230620113855.733526-3-linux@rasmusvillemoes.dk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/microchip/ksz_common.h