On Wed, Oct 02, 2024 at 06:28:05PM +0200, Kory Maincent wrote: > From: Kory Maincent (Dent Project) <kory.maincent@xxxxxxxxxxx> > > This patch extends the PSE callbacks by adding support for the newly > introduced pi_set_prio() callback, enabling the configuration of PSE PI > priorities. The current port priority is now also included in the status > information returned to users. > > Signed-off-by: Kory Maincent <kory.maincent@xxxxxxxxxxx> > --- > drivers/net/pse-pd/tps23881.c | 57 +++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 57 insertions(+) .... > > static const char fw_parity_name[] = "ti/tps23881/tps23881-parity-14.bin"; > @@ -1106,6 +1162,7 @@ static int tps23881_i2c_probe(struct i2c_client *client) > priv->pcdev.dev = dev; > priv->pcdev.types = ETHTOOL_PSE_C33; > priv->pcdev.nr_lines = TPS23881_MAX_CHANS; > + priv->pcdev.pis_prio_max = 1; This controller supports 1 bit and 3 bit prios, it will be good to know why 1 bit mode is used. -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |