ar71xx: add a helper function for external LNA GPIO setup
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 10 Jan 2014 09:37:57 +0000 (09:37 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 10 Jan 2014 09:37:57 +0000 (09:37 +0000)
commitc5576cabbe47ce589463b23a9aa6c883a7da3c28
tree91aabbf1ca7e57b92f4bcf56da417642fb448b38
parent7e476243b91a1cddbe26ade01dcaa38d483eeac4
ar71xx: add a helper function for external LNA GPIO setup

The built-in wireless MAC of the AR934x SoC can handle
external LNAs and the control signal of the LNAs can be
routed to any GPIO line. Add a helper function which
can be used to configure the GPIO lines.

The helper function will be used for AR934x boards
which are using externel LNAs to improve sensitivity.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39215 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/patches-3.10/601-MIPS-ath79-add-more-register-defines.patch
target/linux/ar71xx/patches-3.10/613-MIPS-ath79-add-ath79_wmac_setup_ext_lna_gpio-helper.patch [new file with mode: 0644]