The ADV748x has 12 pages mapped on to I2C addresses. The existing implementation only has 11 of these in the map enumeration, and this can cause an off-by-one error when programming the map addresses. This short series simplifies the regmap configuration tables, and adds the missing CBUS page to better model the device, and remove the off by one error. Once the tables are corrected, we add support for overriding the default map addresses through the device tree using i2c_new_secondary_device(). Kieran Bingham (3): media: i2c: adv748x: Simplify regmap configuration media: i2c: adv748x: Add missing CBUS page media: i2c: adv748x: Add support for i2c_new_secondary_device drivers/media/i2c/adv748x/adv748x-core.c | 185 ++++++++++--------------------- drivers/media/i2c/adv748x/adv748x.h | 14 +-- 2 files changed, 58 insertions(+), 141 deletions(-) -- 2.7.4