diff options
author | Nikita Kiryanov <nikita@compulab.co.il> | 2014-10-02 17:17:24 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-10-22 10:36:55 -0600 |
commit | 8f488c1bac744bcaa8558c9d099144ea70e8316d (patch) | |
tree | 5fdb6a0adec955758dd6b33627916709ea9820df /board/embest | |
parent | c6f3f32356b21f3220cfb4a17c37645249ba6d30 (diff) |
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>
Diffstat (limited to 'board/embest')
0 files changed, 0 insertions, 0 deletions