Browse Source
Use the same wording in description for both I2C and SPI variants to improve consistency. Create st,lsm6dsl-common.yaml to include common binding properties from I2C and SPI variants. Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>pull/57795/head
3 changed files with 17 additions and 15 deletions
@ -0,0 +1,10 @@ |
|||||||
|
# Copyright (c) 2017, Linaro Limited |
||||||
|
# Copyright (c) 2023, Marcin Niestroj |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
include: sensor-device.yaml |
||||||
|
|
||||||
|
properties: |
||||||
|
irq-gpios: |
||||||
|
# This signal is active high when produced by the sensor |
||||||
|
type: phandle-array |
@ -1,13 +1,10 @@ |
|||||||
# Copyright (c) 2017, Linaro Limited |
# Copyright (c) 2017, Linaro Limited |
||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
description: STMicroelectronics LSM6DSL 6-axis accelerometer and gyrometer |
description: | |
||||||
|
STMicroelectronics LSM6DSL 6-axis accelerometer and gyrometer accessed through |
||||||
|
I2C bus |
||||||
|
|
||||||
compatible: "st,lsm6dsl" |
compatible: "st,lsm6dsl" |
||||||
|
|
||||||
include: [sensor-device.yaml, i2c-device.yaml] |
include: ["i2c-device.yaml", "st,lsm6dsl-common.yaml"] |
||||||
|
|
||||||
properties: |
|
||||||
irq-gpios: |
|
||||||
# This signal is active high when produced by the sensor |
|
||||||
type: phandle-array |
|
||||||
|
Loading…
Reference in new issue