diff mbox series

[v2,3/3] dt-bindings: iio: pressure: meas,ms5611: add max SPI frequency to the example

Message ID 20221021135827.1444793-4-mitja@lxnav.com (mailing list archive)
State Accepted
Headers show
Series ms5611 sensor value bug fix; dt-binding fix | expand

Commit Message

Mitja Špes Oct. 21, 2022, 1:58 p.m. UTC
Added max SPI frequency setting to the example. It is now honored by the
driver.

Signed-off-by: Mitja Spes <mitja@lxnav.com>
---
 Documentation/devicetree/bindings/iio/pressure/meas,ms5611.yaml | 1 +
 1 file changed, 1 insertion(+)

Comments

Krzysztof Kozlowski Oct. 21, 2022, 2:08 p.m. UTC | #1
On 21/10/2022 09:58, Mitja Spes wrote:
> Added max SPI frequency setting to the example. It is now honored by the
> driver.
> 

This could be there regardless of driver support (because it does not
matter)... anyway:

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

Best regards,
Krzysztof
Jonathan Cameron Oct. 23, 2022, 11:14 a.m. UTC | #2
On Fri, 21 Oct 2022 10:08:42 -0400
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote:

> On 21/10/2022 09:58, Mitja Spes wrote:
> > Added max SPI frequency setting to the example. It is now honored by the
> > driver.
> >   
> 
> This could be there regardless of driver support (because it does not
> matter)... anyway:
> 
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Having the max frequency specified is certainly a valid addition, so I've
applied this patch to the togreg branch (targetting next merge window).
The other two are fixes so will go in quicker.

Jonathan

> 
> Best regards,
> Krzysztof
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/pressure/meas,ms5611.yaml b/Documentation/devicetree/bindings/iio/pressure/meas,ms5611.yaml
index 4f06707450bf..08bd06e6dabe 100644
--- a/Documentation/devicetree/bindings/iio/pressure/meas,ms5611.yaml
+++ b/Documentation/devicetree/bindings/iio/pressure/meas,ms5611.yaml
@@ -52,6 +52,7 @@  examples:
             compatible = "meas,ms5611";
             reg = <0>;
             vdd-supply = <&ldo_3v3_gnss>;
+            spi-max-frequency = <20000000>;
         };
     };
 ...