media: i2c: imx258: add support for binding via device tree
authorKrzysztof Kozlowski <krzk@kernel.org>
Wed, 27 Jan 2021 17:46:33 +0000 (18:46 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 6 Feb 2021 08:36:10 +0000 (09:36 +0100)
commit9d14932d3eb0644684aa85b4f2dd5a90c455b2be
treeec541527780aece575f77df108163c042796f9f0
parentd899e5f1db7aa67cad01f4835286cb985890a3da
media: i2c: imx258: add support for binding via device tree

The IMX258 can be used also on embedded designs using device tree so
allow the sensor to bind to a device tree node.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/imx258.c