18a30e9184
Convert pms7003 sensor driver to utilize device tree. DTS would look something like the following for the pms7003: uart { pms7003: pms7003 { status = "okay"; compatible = "plantower,pms7003"; label = "pms7003"; }; }; Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
11 lines
275 B
Plaintext
11 lines
275 B
Plaintext
# PMS7003 particulate matter sensor configuration options
|
|
|
|
# Copyright (c) 2017 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config PMS7003
|
|
bool "PMS7003 particulate matter sensor"
|
|
depends on SERIAL
|
|
help
|
|
Enable driver for pms7003 particulate matter sensor.
|