[PATCH v2 6/9] spi: bcm63xx-hsspi: Fix multi-bit mode setting

Jagan Teki jagan at amarulasolutions.com
Fri Jun 2 07:47:54 CEST 2023


On Wed, May 3, 2023 at 12:29 AM William Zhang
<william.zhang at broadcom.com> wrote:
>
> Currently the driver always sets the controller to dual data bit mode
> for both tx and rx data in the profile mode control register even for
> single data bit transfer. Luckily the opcode is set correctly according
> to SPI transfer data bit width so it does not actually cause issues.
>
> This change fixes the problem by setting tx and rx data bit mode field
> correctly according to the actual SPI transfer tx and rx data bit width.
>
> Fixes: 29cc4368ad4b ("dm: spi: add BCM63xx HSSPI driver")
>
> Port from linux patch:
> Link: https://lore.kernel.org/r/20230209200246.141520-11-william.zhang@broadcom.com
>
> Signed-off-by: William Zhang <william.zhang at broadcom.com>
> ---

Reviewed-by: Jagan Teki <jagan at amarulasolutions.com>


More information about the U-Boot mailing list