Changeset 32677


Ignore:
Timestamp:
2012-07-12T10:34:20+02:00 (6 years ago)
Author:
juhosg
Message:

ar71xx: unifi reset button support

This patch adds support for reset button to Ubiquiti UniFi AP.

[juhosg: fold the patch into 608-MIPS-ath79-ubnt-xm-add-more-boards.patch]

Signed-off-by: Rocco Folino <lordzen@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/patches-3.3/608-MIPS-ath79-ubnt-xm-add-more-boards.patch

    r32676 r32677  
    5858        ath79_register_leds_gpio(-1, ARRAY_SIZE(ubnt_xm_leds_gpio), 
    5959                                 ubnt_xm_leds_gpio); 
    60 @@ -79,9 +85,103 @@ static void __init ubnt_xm_init(void) 
     60@@ -79,9 +85,107 @@ static void __init ubnt_xm_init(void) 
    6161  
    6262        ath79_register_m25p80(NULL); 
     
    158158+       ath79_register_leds_gpio(-1, ARRAY_SIZE(ubnt_unifi_leds_gpio), 
    159159+                                ubnt_unifi_leds_gpio); 
     160+ 
     161+       ath79_register_gpio_keys_polled(-1, UBNT_XM_KEYS_POLL_INTERVAL, 
     162+                                        ARRAY_SIZE(ubnt_xm_gpio_keys), 
     163+                                        ubnt_xm_gpio_keys); 
    160164+} 
    161165+ 
Note: See TracChangeset for help on using the changeset viewer.