dts: sensor: Add dts yaml bindings for the fxos8700 sensor

Adds dts yaml bindings for the fxos8700 sensor to allow the sensor
driver name, i2c driver name, and i2c address to be extracted from dts
instead of kconfig.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
Maureen Helm 2018-01-16 07:45:27 -06:00 committed by Kumar Gala
commit 88d5949b94
2 changed files with 27 additions and 1 deletions

View file

@ -0,0 +1,22 @@
#
# Copyright (c) 2018, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: FXOS8700 6-axis accelerometer/magnetometer
id: nxp,fxos8700
version: 0.1
description: >
This is a representation of the FXOS8700 6-axis accelerometer/magnetometer
sensor
inherits:
!include i2c-device.yaml
properties:
compatible:
constraint: "nxp,fxos8700"
...