platform/x86: x86-android-tablets: Add ALS sensor support for Yoga Tablet 2 1050/830 series
The Yoga Tablet 2 1050/830 series have an AL3320A ambient light sensor, add this to the list of i2c_clients to instantiate on these models. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20230429105057.7697-1-hdegoede@redhat.com
This commit is contained in:
parent
f4a31a428d
commit
d2beb6f22f
@ -267,6 +267,14 @@ static struct x86_i2c_client_info lenovo_yoga_tab2_830_1050_i2c_clients[] __init
|
||||
.dev_name = "lsm303d",
|
||||
},
|
||||
.adapter_path = "\\_SB_.I2C5",
|
||||
}, {
|
||||
/* AL3320A ambient light sensor */
|
||||
.board_info = {
|
||||
.type = "al3320a",
|
||||
.addr = 0x1c,
|
||||
.dev_name = "al3320a",
|
||||
},
|
||||
.adapter_path = "\\_SB_.I2C5",
|
||||
}, {
|
||||
/* bq24292i battery charger */
|
||||
.board_info = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user