aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf609
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/mach-bf609')
-rw-r--r--arch/blackfin/mach-bf609/boards/ezkit.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf609/boards/ezkit.c b/arch/blackfin/mach-bf609/boards/ezkit.c
index cc03ae2e559c..9afc39cffce6 100644
--- a/arch/blackfin/mach-bf609/boards/ezkit.c
+++ b/arch/blackfin/mach-bf609/boards/ezkit.c
@@ -1873,6 +1873,16 @@ static const struct mcp23s08_platform_data bfin_mcp23s08_soft_switch1 = {
1873static const struct mcp23s08_platform_data bfin_mcp23s08_soft_switch2 = { 1873static const struct mcp23s08_platform_data bfin_mcp23s08_soft_switch2 = {
1874 .base = 140, 1874 .base = 140,
1875}; 1875};
1876# if IS_ENABLED(CONFIG_VIDEO_ADV7842)
1877static const struct mcp23s08_platform_data bfin_adv7842_soft_switch = {
1878 .base = 150,
1879};
1880# endif
1881# if IS_ENABLED(CONFIG_VIDEO_ADV7511) || IS_ENABLED(CONFIG_VIDEO_ADV7343)
1882static const struct mcp23s08_platform_data bfin_adv7511_soft_switch = {
1883 .base = 160,
1884};
1885# endif
1876#endif 1886#endif
1877 1887
1878static struct i2c_board_info __initdata bfin_i2c_board_info0[] = { 1888static struct i2c_board_info __initdata bfin_i2c_board_info0[] = {
@@ -1907,6 +1917,18 @@ static struct i2c_board_info __initdata bfin_i2c_board_info0[] = {
1907 I2C_BOARD_INFO("mcp23017", 0x23), 1917 I2C_BOARD_INFO("mcp23017", 0x23),
1908 .platform_data = (void *)&bfin_mcp23s08_soft_switch2 1918 .platform_data = (void *)&bfin_mcp23s08_soft_switch2
1909 }, 1919 },
1920# if IS_ENABLED(CONFIG_VIDEO_ADV7842)
1921 {
1922 I2C_BOARD_INFO("mcp23017", 0x26),
1923 .platform_data = (void *)&bfin_adv7842_soft_switch
1924 },
1925# endif
1926# if IS_ENABLED(CONFIG_VIDEO_ADV7511) || IS_ENABLED(CONFIG_VIDEO_ADV7343)
1927 {
1928 I2C_BOARD_INFO("mcp23017", 0x25),
1929 .platform_data = (void *)&bfin_adv7511_soft_switch
1930 },
1931# endif
1910#endif 1932#endif
1911}; 1933};
1912 1934