• Hans de Goede's avatar
    iio: light: cm32181: Add support for the CM3218 · 02cdab2a
    Hans de Goede authored
    Add support for the CM3218 which is an older version of the
    CM32181.
    
    This is based on a newer version of cm32181.c, with a copyright of:
    
     * Copyright (C) 2014 Capella Microsystems Inc.
     * Author: Kevin Tsai <ktsai@capellamicro.com>
     *
     * This program is free software; you can redistribute it and/or modify it
     * under the terms of the GNU General Public License version 2, as published
     * by the Free Software Foundation.
    
    Which is floating around on the net in various places, but the changes
    from this newer version never made it upstream.
    
    This was tested on an Asus T100TA and an Asus T100CHI, which both come
    with the CM3218 variant of the light sensor.
    Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
    Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
    Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
    02cdab2a
cm32181.c 9.92 KB