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

2019-09-27 Thread Marek Vasut
On 9/26/19 3:52 PM, George McCollister wrote: > On Wed, Sep 25, 2019 at 5:08 PM 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 protoco

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

2019-09-27 Thread David Miller
From: Marek Vasut Date: Thu, 26 Sep 2019 00:08:42 +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 V2] net: dsa: microchip: Always set regmap stride to 1

2019-09-26 Thread George McCollister
On Wed, Sep 25, 2019 at 5:08 PM 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 an

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

2019-09-25 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