diff mbox series

[4/4] dt-bindings: iio: accel: mc3230: document mc3510c

Message ID 20250111-mainlining-mc3510c-v1-4-57be503addf8@gmail.com (mailing list archive)
State Changes Requested
Headers show
Series iio: accel: mc3230: add mount matrix, of match and mc3510c support | expand

Commit Message

Vasiliy Doylov via B4 Relay Jan. 11, 2025, 8:11 p.m. UTC
From: Vasiliy Doylov <nekodevelopper@gmail.com>

The MC3510C is a 3 asix digital accelerometer.
It handled by the same driver as MC3230.
Document it as a trivial device.

Signed-off-by: Vasiliy Doylov <nekodevelopper@gmail.com>
---
 Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++
 1 file changed, 2 insertions(+)

Comments

Markuss Broks Jan. 11, 2025, 10:46 p.m. UTC | #1
Hey Vasiliy,

On 1/11/25 10:11 PM, Vasiliy Doylov via B4 Relay wrote:
> From: Vasiliy Doylov <nekodevelopper@gmail.com>
>
> The MC3510C is a 3 asix digital accelerometer.
> It handled by the same driver as MC3230.
> Document it as a trivial device.
>
> Signed-off-by: Vasiliy Doylov <nekodevelopper@gmail.com>
> ---
>   Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
> index fadbd3c041c8c39faedfe62874d4eba25a0bf30e..6c34e4c0dcc6df5a4d8edc5effb80980de820db9 100644
> --- a/Documentation/devicetree/bindings/trivial-devices.yaml
> +++ b/Documentation/devicetree/bindings/trivial-devices.yaml
> @@ -187,6 +187,8 @@ properties:
>             - maxim,max6621
>               # mCube 3-axis 8-bit digital accelerometer
>             - mcube,mc3230
> +            # mCube 3-axis 8-bit digital accelerometer
> +          - mcube,mc3510c
>               # Measurement Specialities I2C temperature and humidity sensor
>             - meas,htu21
>               # Measurement Specialities I2C pressure and temperature sensor

DT bindings changes are supposed to be on top of the series for the ease 
of picking them by DT bindings maintainers.

- Markuss
Jonathan Cameron Jan. 12, 2025, 11:03 a.m. UTC | #2
On Sun, 12 Jan 2025 00:46:09 +0200
Markuss Broks <markuss.broks@gmail.com> wrote:

> Hey Vasiliy,
> 
> On 1/11/25 10:11 PM, Vasiliy Doylov via B4 Relay wrote:
> > From: Vasiliy Doylov <nekodevelopper@gmail.com>
> >
> > The MC3510C is a 3 asix digital accelerometer.
> > It handled by the same driver as MC3230.
> > Document it as a trivial device.
> >
> > Signed-off-by: Vasiliy Doylov <nekodevelopper@gmail.com>
> > ---
> >   Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++
> >   1 file changed, 2 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
> > index fadbd3c041c8c39faedfe62874d4eba25a0bf30e..6c34e4c0dcc6df5a4d8edc5effb80980de820db9 100644
> > --- a/Documentation/devicetree/bindings/trivial-devices.yaml
> > +++ b/Documentation/devicetree/bindings/trivial-devices.yaml
> > @@ -187,6 +187,8 @@ properties:
> >             - maxim,max6621
> >               # mCube 3-axis 8-bit digital accelerometer
> >             - mcube,mc3230
> > +            # mCube 3-axis 8-bit digital accelerometer
> > +          - mcube,mc3510c
> >               # Measurement Specialities I2C temperature and humidity sensor
> >             - meas,htu21
> >               # Measurement Specialities I2C pressure and temperature sensor  
> 
> DT bindings changes are supposed to be on top of the series for the ease 
> of picking them by DT bindings maintainers.
True they should be earlier, but not that the DT binding maintainers
pick them up.  They review them and then they almost always go with the
patch through the subsystem tree in question.

Jonathan

> 
> - Markuss
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
index fadbd3c041c8c39faedfe62874d4eba25a0bf30e..6c34e4c0dcc6df5a4d8edc5effb80980de820db9 100644
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -187,6 +187,8 @@  properties:
           - maxim,max6621
             # mCube 3-axis 8-bit digital accelerometer
           - mcube,mc3230
+            # mCube 3-axis 8-bit digital accelerometer
+          - mcube,mc3510c
             # Measurement Specialities I2C temperature and humidity sensor
           - meas,htu21
             # Measurement Specialities I2C pressure and temperature sensor