summaryrefslogtreecommitdiffstats
path: root/lib/fdt_ro.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2014-07-07 11:47:00 +0200
committerJonathan Cameron <jic23@kernel.org>2014-07-07 14:11:28 +0200
commit3ce85cc4fbb71739f98806b9c9d63950a60cd8ae (patch)
tree96e7c0234115285149f1976c79fa370e93c68eac /lib/fdt_ro.c
parentiio: imu: adis16480 switch sampling frequency attr to core support (diff)
downloadlinux-3ce85cc4fbb71739f98806b9c9d63950a60cd8ae.tar.xz
linux-3ce85cc4fbb71739f98806b9c9d63950a60cd8ae.zip
iio: st_sensors: get platform data from device tree
Currently the STMicroelectronics sensors only support one single platform data item: configuration of the DRDY (data ready) pin for a particular design. Augment the core to prioritize and take this information from the device tree if the parent device has an assigned device node, else fall back to passed in platform data (usually the default data). Cc: Lee Jones <lee.jones@linaro.org> Cc: Denis CIOCCA <denis.ciocca@st.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'lib/fdt_ro.c')
0 files changed, 0 insertions, 0 deletions