summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorBhanu Murthy V <bmurthyv@nvidia.com>2017-03-17 18:16:23 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-03-24 19:36:01 -0400
commit6407dc04bf9b78cf3d7857de8bc8de48ccd919da (patch)
treec61e6fda351b539ec94b74bd5f7c18e9ab935da1 /drivers/i2c
parent3ac9fe75fbe9cc17d17cee4f5b35c88b14ed606a (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.nvidia1
-rw-r--r--drivers/i2c/busses/Kconfig.nvidia9
-rw-r--r--drivers/i2c/busses/Makefile.nvidia1
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
2config 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