diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2016-07-01 15:41:19 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-07-02 19:34:50 +0200 |
commit | 70afc0bdd1fb0474b864998f7674316a00954715 (patch) | |
tree | 2147e44ccd87cf793500809f5fdf7ba8019761be /package/kernel/mac80211/patches/910-01-add-support-for-mt7620.patch | |
parent | 7b7ea91e24618313fdb990d000655f3afd07fe0f (diff) | |
download | upstream-70afc0bdd1fb0474b864998f7674316a00954715.tar.gz upstream-70afc0bdd1fb0474b864998f7674316a00954715.tar.bz2 upstream-70afc0bdd1fb0474b864998f7674316a00954715.zip |
kernel: mac80211: set the parent of the ath9k gpio_chip
This allows gpiolib to re-use ath9k's devicetree node as GPIO
controller.
Example:
ath9k: ath9k@0 {
#gpio-cells = <2>;
gpio-controller;
}
Now the ath9k node can be used just like any other GPIO controller:
gpios = <&ath9k 1 GPIO_ACTIVE_HIGH>;
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Diffstat (limited to 'package/kernel/mac80211/patches/910-01-add-support-for-mt7620.patch')
0 files changed, 0 insertions, 0 deletions