]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
drivers: camera: DT parsing for sensor modes
authorBhanu Murthy V <bmurthyv@nvidia.com>
Fri, 3 Mar 2017 17:47:41 +0000 (09:47 -0800)
committermobile promotions <svcmobile_promotions@nvidia.com>
Thu, 23 Mar 2017 01:32:04 +0000 (18:32 -0700)
commit45ebda9625c8fe324d6192ec9ec9b7b3c21dc5cf
tree32e8157fd3c0371faacb473705cdf308085d8c71
parent56885fabba61cbd1765c0b734e6d2cb357b187ee
drivers: camera: DT parsing for sensor modes

Add DT parsing for sensor modes in sensor common
to extract all sensor properties.
PCL will get the properties from kernel driver
rather than from the DT directly.
These properties can be used by sensor drivers to
populate the required information.

Jira CHWI-821
Bug 1882049

Change-Id: Ic809dcfd3ea95a04f5c6aa7733a3d754f48f0181
Signed-off-by: Bhanu Murthy V <bmurthyv@nvidia.com>
Reviewed-on: http://git-master/r/1312819
(cherry picked from commit 0c389622c660eb35bacd48aa2b62f4575271e34f)
Reviewed-on: http://git-master/r/1325569
Reviewed-by: Hu He <hhe@nvidia.com>
Tested-by: Hu He <hhe@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
drivers/media/platform/tegra/camera/Makefile
drivers/media/platform/tegra/camera/sensor_common.c [new file with mode: 0644]