common: oftree: Add autoenable functionality
This patch adds an API to automatically enable either hardware components
with existing device drivers or i2c clients. All functions take a device
tree path to find the hardware and will fix up the node status in the
kernel device tree, if it's accessible.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent f34d137 commit 7a6239529b93cb2a18d691d118ff830b14af7fdc
@Daniel Schultz Daniel Schultz authored on 3 Nov 2017
Sascha Hauer committed on 7 Nov 2017
Showing 2 changed files
View
common/oftree.c
View
include/of.h