[PATCH 00/13] rtc: Add OF device table to I2C drivers that are missing it

From: Javier Martinez Canillas
Date: Fri Mar 03 2017 - 09:33:55 EST


Hello,

This series add OF device ID tables to RTC 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.

So these patches will make sure that RTC I2C drivers modules will continue
to be autoloaded once the I2C core is changed to report proper OF modalias.

Best regards,
Javier


Javier Martinez Canillas (13):
rtc: rv8803: Add OF device ID table
rtc: rv3029: Add OF device ID table
rtc: bq32k: Add OF device ID table
rtc: ds1307: Add OF device ID table
rtc: rx8010: Add OF device ID table
rtc: ds3232: Add OF device ID table
rtc: rtc-ds1672: Add OF device ID table
rtc: ds1374: Set .of_match_table to OF device ID table
rtc: isl1208: Add OF device ID table
rtc: s35390a: Add OF device ID table
rtc: rx8581: Add OF device ID table
rtc: m41t80: Add OF device ID table
rtc: rs5c372: Add OF device ID table

drivers/rtc/rtc-bq32k.c | 7 +++++
drivers/rtc/rtc-ds1307.c | 68 +++++++++++++++++++++++++++++++++++++++++++++-
drivers/rtc/rtc-ds1374.c | 1 +
drivers/rtc/rtc-ds1672.c | 9 +++++-
drivers/rtc/rtc-ds3232.c | 7 +++++
drivers/rtc/rtc-isl1208.c | 12 ++++++--
drivers/rtc/rtc-m41t80.c | 63 ++++++++++++++++++++++++++++++++++++++++--
drivers/rtc/rtc-rs5c372.c | 37 ++++++++++++++++++++++++-
drivers/rtc/rtc-rv3029c2.c | 9 ++++++
drivers/rtc/rtc-rv8803.c | 21 +++++++++++++-
drivers/rtc/rtc-rx8010.c | 7 +++++
drivers/rtc/rtc-rx8581.c | 7 +++++
drivers/rtc/rtc-s35390a.c | 8 ++++++
13 files changed, 248 insertions(+), 8 deletions(-)

--
2.9.3