pinctrl: sh-pfc: r8a7795: Add I2C pin support
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 4 Oct 2017 15:52:52 +0000 (17:52 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 4 Oct 2017 15:57:52 +0000 (17:57 +0200)
commitf62d4c9efd809b9eff28fb755d7249716d98a7af
treee87dc0419188b62f3c0aa53df36bed2532d396eb
parent47bb129679cc4cf0bdeb145694082fc0b074c947
pinctrl: sh-pfc: r8a7795: Add I2C pin support

Since pinmuxing for I2C is equal on H3 ES1.0 and later versions, copy
the I2C settings from ES1.0. Fixes this error in upstream for
Salvator-XS:

sh-pfc e6060000.pin-controller: function 'i2c2' not supported
sh-pfc e6060000.pin-controller: invalid function i2c2 in map table
i2c-rcar: probe of e6510000.i2c failed with error -22

Now, the bus works the same as with other Salvator boards.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/sh-pfc/pfc-r8a7795.c