Commit 184a99de authored by Jonathan Cameron's avatar Jonathan Cameron
Browse files

dt-bindings:iio:magnetometer:memsic,mmc35240: move to trivial-devices.yaml



Extremely simple binding so no need to maintain a separate file.

Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Cc: Jandy Gou <qingsong.gou@ck-telecom.com>
Link: https://lore.kernel.org/r/20201031182922.743153-7-jic23@kernel.org
parent 76e11a05
Loading
Loading
Loading
Loading
+0 −13
Original line number Diff line number Diff line
* MEMSIC MMC35240 magnetometer sensor

Required properties:

  - compatible : should be "memsic,mmc35240"
  - reg : the I2C address of the magnetometer

Example:

mmc35240@30 {
        compatible = "memsic,mmc35240";
        reg = <0x30>;
};
+2 −0
Original line number Diff line number Diff line
@@ -142,6 +142,8 @@ properties:
          - maxim,max31730
            # mCube 3-axis 8-bit digital accelerometer
          - mcube,mc3230
            # MEMSIC magnetometer
          - memsic,mmc35240
            # MEMSIC 2-axis 8-bit digital accelerometer
          - memsic,mxc6225
            # Measurement Specialities I2C temperature and humidity sensor