Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1453329
| From | Guenter Roeck <groeck@google.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v4 1/4] iio: cros_ec_sensors_core: Add common functions for the ChromeOS EC Sensor Hub. |
| Date | 2016-08-01 19:10 +0200 |
| Message-ID | <s1oT0-Iy-29@gated-at.bofh.it> (permalink) |
| References | <s1iaR-4Cd-11@gated-at.bofh.it> <s1iaS-4Cd-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Aug 1, 2016 at 2:54 AM, Enric Balletbo i Serra <enric.balletbo@collabora.com> wrote: > Add the core functions to be able to support the sensors attached behind > the ChromeOS Embedded Controller and used by other IIO cros-ec sensor > drivers. > > The cros_ec_sensor_core driver matches with current driver in ChromeOS > 4.4 tree, so it includes all the fixes at the moment. The support for > this driver was made by Gwendal Grignou. The original patch and all the > fixes has been squashed and rebased on top of mainline. > > Signed-off-by: Gwendal Grignou <gwendal@chromium.org> > Signed-off-by: Guenter Roeck <groeck@chromium.org> > [eballetbo: split, squash and rebase on top of mainline the patches > found in ChromeOS tree] > Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Nitpick below. Please only address if you need to resend for a different reason. Reviewed-by: Guenter Roeck <linux@roeck-us.net> > --- > [ ... ] > --- /dev/null > +++ b/drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c > @@ -0,0 +1,450 @@ > +/* > + * cros_ec_sensors_core - Common function for Chrome OS EC sensor driver. > + * > + * Copyright (C) 2016 Google, Inc > + * > + * This software is licensed under the terms of the GNU General Public > + * License version 2, as published by the Free Software Foundation, and > + * may be copied, distributed, and modified under those terms. > + * > + * This program is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. > + */ > + > +#include <linux/delay.h> > +#include <linux/device.h> > +#include <linux/iio/buffer.h> > +#include <linux/iio/iio.h> > +#include <linux/iio/kfifo_buf.h> > +#include <linux/iio/trigger_consumer.h> > +#include <linux/kernel.h> > +#include <linux/mfd/cros_ec.h> > +#include <linux/mfd/cros_ec_commands.h> > +#include <linux/module.h> > +#include <linux/slab.h> > +#include <linux/sysfs.h> > +#include <linux/platform_device.h> Alphabetic oder.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v4 1/4] iio: cros_ec_sensors_core: Add common functions for the ChromeOS EC Sensor Hub. Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2016-08-01 12:00 +0200 Re: [PATCH v4 1/4] iio: cros_ec_sensors_core: Add common functions for the ChromeOS EC Sensor Hub. Guenter Roeck <groeck@google.com> - 2016-08-01 19:10 +0200
csiph-web