On 11/30/20 10:50 PM, Andrew Lunn wrote:
>> +static int am65_cpsw_port_stp_state_set(struct am65_cpsw_port *port,
>> +struct switchdev_trans *trans, u8 state)
>> +{
>> +struct am65_cpsw_common *cpsw = port->common;
>> +u8 cpsw_state;
>> +int ret =
> +static int am65_cpsw_port_stp_state_set(struct am65_cpsw_port *port,
> + struct switchdev_trans *trans, u8 state)
> +{
> + struct am65_cpsw_common *cpsw = port->common;
> + u8 cpsw_state;
> + int ret = 0;
> +
> + if (switchdev_trans_ph_prepare(
J721e, J7200 and AM64 have multi port switches which can work in multi
mac mode and in switch mode. Add support for configuring this HW in
switch mode using devlink and switchdev notifiers.
Support is similar to existing CPSW switchdev implementation of TI's 32 bit
platform like DRA7xx.
To enable