• H
    iio: light: cm32181: Add support for the CM3218 · 02cdab2a
    Hans de Goede 提交于
    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: NAndy Shevchenko <andy.shevchenko@gmail.com>
    Signed-off-by: NHans de Goede <hdegoede@redhat.com>
    Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
    02cdab2a
cm32181.c 9.9 KB