mraa: Add flags to not setup bus pinmux
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Fri, 11 Dec 2015 16:25:06 +0000 (16:25 +0000)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Mon, 14 Dec 2015 10:52:27 +0000 (10:52 +0000)
commite14534b071b499d2c6e360cacfc7bbaf7f0626b3
tree0a3954a720e0de5381cb0a0b58758dee2a640972
parent5cf54fdbc26be56b9ac19887d0f86223bfe21c8d
mraa: Add flags to not setup bus pinmux

This is an attempt to make the mraa work on wide boards with minimal
board setup.

Most of the arm boards with latest kernel have pinmux already setup by
the driver and its really not necessary for mraa to check each pin and
icheck if the pinmux is required or not. Having this flag would cut lot
of code in board support and its possible to add some generic board
support which can make use of mraa easily.

Without this patch each board support has to have pins setup in there
bus structure.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
include/mraa_internal_types.h