Re: [PATCH] net: dsa: microchip: Always set regmap stride to 1

2019-09-25 Thread Marek Vasut
On 9/25/19 1:44 PM, David Miller wrote: > From: Marek Vasut > Date: Sat, 21 Sep 2019 19:53:09 +0200 > >> The regmap stride is set to 1 for regmap describing 8bit registers already. >> However, for 16/32/64bit registers, the stride is 2/4/8 respectively. This >> is not correct, as the switch proto

Re: [PATCH] net: dsa: microchip: Always set regmap stride to 1

2019-09-25 Thread David Miller
From: Marek Vasut Date: Sat, 21 Sep 2019 19:53:09 +0200 > The regmap stride is set to 1 for regmap describing 8bit registers already. > However, for 16/32/64bit registers, the stride is 2/4/8 respectively. This > is not correct, as the switch protocol supports unaligned register reads > and write

Re: [PATCH] net: dsa: microchip: Always set regmap stride to 1

2019-09-22 Thread Florian Fainelli
On 9/21/2019 10:53 AM, Marek Vasut wrote: > The regmap stride is set to 1 for regmap describing 8bit registers already. > However, for 16/32/64bit registers, the stride is 2/4/8 respectively. This > is not correct, as the switch protocol supports unaligned register reads > and writes and the KSZ

[PATCH] net: dsa: microchip: Always set regmap stride to 1

2019-09-21 Thread Marek Vasut
The regmap stride is set to 1 for regmap describing 8bit registers already. However, for 16/32/64bit registers, the stride is 2/4/8 respectively. This is not correct, as the switch protocol supports unaligned register reads and writes and the KSZ87xx even uses such unaligned register accesses to re