Re: [PATCH v2 02/14] dt-bindings: iio: accel: bosch,bma220 setup SPI clock mode

Krzysztof Kozlowski
2025-09-11T07:31:04Z

On Wed, Sep 10, 2025 at 10:57:07AM +0300, Petre Rodan wrote:
> Assert CPOL for a high-idle clock signal and CPHA for sampling on the
> trailing (rising) edge.
>
> Quoting from the datasheet:
>
> "During the transitions on CSB, SCK must be high. SDI and SDO are driven
> at the falling edge of SCK and should be captured at the rising edge of
> SCK."
>
> The sensor does not function with the default SPI clock mode.
>
> Signed-off-by: Petre Rodan <petre.rodan@subdimension.ro>
> ---
> ChangeLog:
> - split out from a bigger patch file

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof