From: David S. Miller Date: Wed, 9 Nov 2022 13:06:01 +0000 (+0000) Subject: Merge branch 'dsa-microchip-checking' X-Git-Tag: v6.6.7~3913^2~255 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b96c7b4cbeecbcf009b70d734f5bbdd2a886949f;p=platform%2Fkernel%2Flinux-starfive.git Merge branch 'dsa-microchip-checking' Rakesh Sankaranarayanan says: ==================== net: dsa: microchip: ksz_pwrite status check for lan937x and irq and error checking updates for ksz series This patch series include following changes, - Add KSZ9563 inside ksz_switch_chips. As per current structure, KSZ9893 is reused inside ksz_switch_chips structure, but since there is a mismatch in number of irq's, new member added for KSZ9563 and sku detected based on Global Chip ID 4 Register. Compatible string from device tree mapped to KSZ9563 for spi and i2c mode probes. - Assign device interrupt during i2c probe operation. - Add error checking for ksz_pwrite inside lan937x_change_mtu. After v6.0, ksz_pwrite updated to have return type int instead of void, and lan937x_change_mtu still uses ksz_pwrite without status verification. - Add port_nirq as 3 for KSZ8563 switch family. - Use dev_err_probe() instead of dev_err() to have more standardized error formatting and logging. v1 -> v2: - Removed regmap validation patch from the series, planning to take up in future after checking for any better approach and studying the actual need for this change. - Resolved error reported in ksz8863_smi.c file. ==================== Signed-off-by: David S. Miller --- b96c7b4cbeecbcf009b70d734f5bbdd2a886949f