Skip to content
  • Hans de Goede's avatar
    Input: add new sun4i-lradc-keys driver · af6a5af8
    Hans de Goede authored
    
    
    Allwinnner sunxi SoCs have a low resolution adc (called lradc) which is
    specifically designed to have various (tablet) keys (ie home, back, search,
    etc). attached to it using a resistor network. This adds a driver for this.
    
    There are 2 channels, currently this driver only supports chan0 since there
    are no boards known to use chan1.
    
    This has been tested on an olimex a10s-olinuxino-micro, a13-olinuxino, and
    a20-olinuxino-micro.
    
    Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
    Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
    af6a5af8