t210: make vii2c and i2cslow required by vi
Chien-Yu Chen [Sun, 31 Aug 2014 00:39:52 +0000 (17:39 -0700)]
vii2c and i2cslow are required by vi for programming viic
in vi channel.

bug 1546183

Change-Id: Idd3bf9ad47025293750c3785a367435773caa331
Signed-off-by: Chien-Yu Chen <chichen@nvidia.com>
Reviewed-on: http://git-master/r/494254
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Tested-by: Arto Merilainen <amerilainen@nvidia.com>

drivers/platform/tegra/tegra21_clocks.c
drivers/video/tegra/host/t210/t210.c

index aa91152..b839f94 100644 (file)
@@ -9129,7 +9129,9 @@ struct clk_duplicate tegra_clk_duplicates[] = {
        CLK_DUPLICATE("ispa.isp.cbus", "tegra_isp.0", "isp"),
        CLK_DUPLICATE("ispb.isp.cbus", "tegra_isp.1", "isp"),
        CLK_DUPLICATE("vii2c", "tegra_vi-i2c", "vii2c"),
+       CLK_DUPLICATE("vii2c", "tegra_vi", "vii2c"),
        CLK_DUPLICATE("i2cslow", "tegra_vi-i2c", "i2cslow"),
+       CLK_DUPLICATE("i2cslow", "tegra_vi", "i2cslow"),
        CLK_DUPLICATE("mclk3", NULL, "cam_mclk1"),
        CLK_DUPLICATE("mclk1", NULL, "cam_mclk2"),
        CLK_DUPLICATE("mclk2", NULL, "cam_mclk3"),
index f0bfd14..322e6e3 100644 (file)
@@ -129,7 +129,9 @@ struct nvhost_device_data t21_vi_info = {
                {"csi", 0},
                {"cilab", 102000000},
                {"cilcd", 102000000},
-               {"cile", 102000000} },
+               {"cile", 102000000},
+               {"vii2c", 86400000},
+               {"i2cslow", 1000000} },
        .ctrl_ops               = &tegra_vi_ctrl_ops,
        .num_channels           = 4,
        .bond_out_id            = BOND_OUT_VI,