Home
last modified time | relevance | path

Searched hist:"8 f488c1bac744bcaa8558c9d099144ea70e8316d" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/board/compulab/cm_fx6/
H A Dcm_fx6.c8f488c1bac744bcaa8558c9d099144ea70e8316d Thu Oct 02 14:17:24 UTC 2014 Nikita Kiryanov <nikita@compulab.co.il> arm: mx6: cm_fx6: use gpio request

Use gpio_request for all the gpios that are utilized by various
subsystems in cm-fx6, and refactor the relevant init functions
so that all gpios are requested during board_init(), not during
subsystem init, thus avoiding the need to manage gpio ownership
each time a subsystem is initialized.

The new division of labor is:
During board_init() muxes are setup and gpios are requested.
During subsystem init gpios are toggled.

Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>