summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/elf.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-07-13 14:15:34 +0800
committerShawn Guo <shawn.guo@linaro.org>2012-08-17 12:35:09 +0800
commit2c7c2c1d01a2559d452c0f0aa5e6f6ca2643e6b1 (patch)
treef2ec81a772baaa2e65986864c30a9bf503fd9e04 /arch/arm/kernel/elf.c
parentaef35104a9e5b8555cdaeebd4563df9921f6d605 (diff)
downloadop-kernel-dev-2c7c2c1d01a2559d452c0f0aa5e6f6ca2643e6b1.zip
op-kernel-dev-2c7c2c1d01a2559d452c0f0aa5e6f6ca2643e6b1.tar.gz
ARM: mxs: tx28: reset fec phy for device tree boot
For non-DT boot, function tx28_add_fec0 configures all ENET0 pins into gpio mode for resetting fec phy, and then reconfigures those pins into ENET function after that. For DT boot, all the pin configuration is done by pinctrl subsystem. Ideally, when gpio_request gets called, GPIO subsystem should call pinctrl to configure pins into gpio mode automatically, and have pins freed up from pinctrl subsystem when gpio_free is called. But right now, this cooperation between gpio and pinctrl hasn't been available. As the result, we have to explicitly call pinctrl_get_select and pinctrl_put for device tree boot. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Lothar Waßmann <LW@KARO-electronics.de>
Diffstat (limited to 'arch/arm/kernel/elf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud