Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 52024f31 authored by Gustavo Solaira's avatar Gustavo Solaira
Browse files

input: sensors: Add support for cm36682 in cm36283 driver



Sensor cm36682 is compatible with the cm36283 driver,
so add the compatible string for device tree matching.

Change-Id: I760923e986dc03bfdc625896bd1f26c3a3a29c5d
Signed-off-by: default avatarGustavo Solaira <gustavos@codeaurora.org>
parent c9748221
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ Capella cm36283 L/P sensor

Required properties:

 - compatible		: Should be "capella,cm36283".
 - compatible		: Should be "capella,cm36283" or "capella,cm36682".
 - reg				: i2c slave address of the device.
 - interrupt-parent	: Parent of interrupt.
 - interrupts		: L/P sample interrupt to indicate new data ready.
+1 −0
Original line number Diff line number Diff line
@@ -2062,6 +2062,7 @@ static const struct i2c_device_id cm36283_i2c_id[] = {

static struct of_device_id cm36283_match_table[] = {
	{ .compatible = "capella,cm36283",},
	{ .compatible = "capella,cm36682",},
	{ },
};