[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250911-radiant-rigorous-magpie-eaf3f8@kuoka>
Date: Thu, 11 Sep 2025 09:31:02 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Petre Rodan <petre.rodan@...dimension.ro>
Cc: Jonathan Cameron <jic23@...nel.org>,
David Lechner <dlechner@...libre.com>, Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko <andy@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>,
Jonathan Cameron <Jonathan.Cameron@...wei.com>, linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 02/14] dt-bindings: iio: accel: bosch,bma220 setup SPI
clock mode
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@...dimension.ro>
> ---
> ChangeLog:
> - split out from a bigger patch file
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Best regards,
Krzysztof
Powered by blists - more mailing lists