diff options
author | Bhanu Murthy V <bmurthyv@nvidia.com> | 2017-03-17 18:16:23 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-03-24 19:36:01 -0400 |
commit | 6407dc04bf9b78cf3d7857de8bc8de48ccd919da (patch) | |
tree | c61e6fda351b539ec94b74bd5f7c18e9ab935da1 /drivers/i2c | |
parent | 3ac9fe75fbe9cc17d17cee4f5b35c88b14ed606a (diff) |
nvidia: Add Kconfig and Makefile support
Add Kconfigs and Makefiles in sub-folders to
compile code.
Bug 1856401
Change-Id: Ice5c0b4a8a25dc28b1faac1df32bae04b7391506
Signed-off-by: Bhanu Murthy V <bmurthyv@nvidia.com>
Reviewed-on: http://git-master/r/1324565
Reviewed-by: Frank Chen <frankc@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/Makefile.nvidia | 1 | ||||
-rw-r--r-- | drivers/i2c/busses/Kconfig.nvidia | 9 | ||||
-rw-r--r-- | drivers/i2c/busses/Makefile.nvidia | 1 |
3 files changed, 11 insertions, 0 deletions
diff --git a/drivers/i2c/Makefile.nvidia b/drivers/i2c/Makefile.nvidia new file mode 100644 index 000000000..0717b752f --- /dev/null +++ b/drivers/i2c/Makefile.nvidia | |||
@@ -0,0 +1 @@ | |||
obj-y += busses/ | |||
diff --git a/drivers/i2c/busses/Kconfig.nvidia b/drivers/i2c/busses/Kconfig.nvidia new file mode 100644 index 000000000..385e6ada4 --- /dev/null +++ b/drivers/i2c/busses/Kconfig.nvidia | |||
@@ -0,0 +1,9 @@ | |||
1 | |||
2 | config I2C_TEGRA_VI | ||
3 | tristate "NVIDIA Tegra internal VII2C controller" | ||
4 | depends on ARCH_TEGRA | ||
5 | default y | ||
6 | select I2C_ALGOBIT | ||
7 | help | ||
8 | If you say yes to this option, support will be included for the | ||
9 | I2C controller embedded in NVIDIA Tegra SOCs | ||
diff --git a/drivers/i2c/busses/Makefile.nvidia b/drivers/i2c/busses/Makefile.nvidia new file mode 100644 index 000000000..2836f3f1b --- /dev/null +++ b/drivers/i2c/busses/Makefile.nvidia | |||
@@ -0,0 +1 @@ | |||
obj-$(CONFIG_I2C_TEGRA_VI) += i2c-tegra-vi.o | |||