[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170315044505.20660-1-javier@osg.samsung.com>
Date: Wed, 15 Mar 2017 01:44:48 -0300
From: Javier Martinez Canillas <javier@....samsung.com>
To: linux-kernel@...r.kernel.org
Cc: Javier Martinez Canillas <javier@....samsung.com>,
linux-iio@...r.kernel.org,
Sanchayan Maity <maitysanchayan@...il.com>,
Yong Li <sdliyong@...il.com>, Marek Vasut <marex@...x.de>,
Ge Gao <ggao@...ensense.com>, Peter Rosin <peda@...ntia.se>,
Marc Titinger <mtitinger@...libre.com>,
Hans de Goede <hdegoede@...hat.com>,
Giorgio Dal Molin <giorgio.nicole@...or.de>,
Bhumika Goyal <bhumirks@...il.com>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>,
Peter Meerwald-Stadler <pmeerw@...erw.net>,
Constantin Musca <constantin.musca@...el.com>,
Tomas Novotny <tomas@...otny.cz>,
Wolfram Sang <wsa@...-dreams.de>,
Wei Yongjun <weiyongjun1@...wei.com>,
Alison Schofield <amsfield22@...il.com>,
Julia Lawall <julia.lawall@...6.fr>,
Daniel Baluta <daniel.baluta@...el.com>,
Hartmut Knaack <knaack.h@....de>,
Martin Klepplinger <martink@...teo.de>,
Jonathan Cameron <jic23@...nel.org>,
Slawomir Stepien <sst@...zta.fm>,
Irina Tirdea <irina.tirdea@...el.com>,
Gregor Boirie <gregor.boirie@...rot.com>,
Fengguang Wu <fengguang.wu@...el.com>,
Lars-Peter Clausen <lars@...afoo.de>,
Amitoj Kaur Chawla <amitoj1606@...il.com>,
Crestez Dan Leonard <leonard.crestez@...el.com>,
Matt Ranostay <mranostay@...il.com>,
Crt Mori <cmo@...exis.com>,
Dan Carpenter <dan.carpenter@...cle.com>
Subject: [PATCH v2 00/17] iio: Add OF device table to I2C drivers that are missing it
Hello,
This series add OF device ID tables to IIO I2C drivers whose devices are
either used in Device Tree source files or are listed in binding docs as
a compatible string.
That's done because the plan is to change the I2C core to report proper OF
modaliases instead of always reporting a MODALIAS=i2c:<foo> regardless if
a device was registered via DT or using the legacy platform data mechanism.
So these patches will make sure that IIO I2C drivers modules will continue
to be autoloaded once the I2C core is changed to report proper OF modalias.
Changes in v2:
- Avoid using of_match_ptr() macro which leads to build warnings when
CONFIG_OF is not enabled (Arnd Bergmann).
Best regards,
Javier
Javier Martinez Canillas (17):
iio: adc: ina2xx: Add OF device ID table
iio: mlx96014: Add OF device ID table
iio: magnetometer: bmc150_magn_i2c: Add OF device ID table
iio: dac: mcp4725: Add OF device ID table
iio: light: us5182d: Add OF device ID table
iio: light: tsl2563: Add OF device ID table
iio: pressure: hp03: Add OF device ID table
iio: imu: inv_mpu6050: Add OF device ID table
iio: accel: bma180: Add OF device ID table
iio: light: apds9960: Add OF device ID table
iio: dac: max5821: Set .of_match_table to OF device ID table
iio: adc: ti-ads1015: Add OF device ID table
iio: magnetometer: mag3110: Add OF device ID table
iio: accel: mma7455_i2c: Add OF device ID table
iio: pressure: mpl3115: Add OF device ID table
iio: accel: mma7660: Add OF device ID table
iio: gyro: itg3200: Add OF device ID table
drivers/iio/accel/bma180.c | 24 +++++++++++++++++--
drivers/iio/accel/mma7455_i2c.c | 8 +++++++
drivers/iio/accel/mma7660.c | 7 ++++++
drivers/iio/adc/ina2xx-adc.c | 34 +++++++++++++++++++++++++-
drivers/iio/adc/ti-ads1015.c | 24 +++++++++++++++++--
drivers/iio/dac/max5821.c | 1 +
drivers/iio/dac/mcp4725.c | 24 +++++++++++++++++--
drivers/iio/gyro/itg3200_core.c | 7 ++++++
drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c | 38 ++++++++++++++++++++++++++----
drivers/iio/light/apds9960.c | 7 ++++++
drivers/iio/light/tsl2563.c | 10 ++++++++
drivers/iio/light/us5182d.c | 7 ++++++
drivers/iio/magnetometer/bmc150_magn_i2c.c | 9 +++++++
drivers/iio/magnetometer/mag3110.c | 7 ++++++
drivers/iio/pressure/hp03.c | 7 ++++++
drivers/iio/pressure/mpl3115.c | 7 ++++++
drivers/iio/temperature/mlx90614.c | 7 ++++++
17 files changed, 217 insertions(+), 11 deletions(-)
--
2.9.3
Powered by blists - more mailing lists