]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
media: i2c: adv7511: Fix use with DT
authorMatthew Fornero <mfornero@mathworks.com>
Tue, 29 Mar 2016 14:36:03 +0000 (10:36 -0400)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 1 Apr 2016 10:46:00 +0000 (12:46 +0200)
commit3a3bd8e15a1fd49b842ac9ea11b1c7fe7333500d
treebc3f455eaf53f03eab8c823d079f29ef269e9904
parent546139cecfbf85d334923bffb305b90824ffe86a
media: i2c: adv7511: Fix use with DT

The DT bindings added in commit:

b983a5a3303f68a2b9422deb452ff5e5cd3b806c
("media: i2c: adv7511: Add DT binding to this driver")

were added before support for infoframes were added in commit:

b4dbad8fe3b60466e0d364b34c075117757838f2
("[media] adv7511: log the currently set infoframes")

With the infoframes added, DT based use of the driver will fail to find
the pktmem I2C device and fail to load.

Add a pktmem-addr device tree binding (similar to the edid-addr)
to enable this address to be specified.

Add a cec-addr device tree binding as well, for future use.

Signed-off-by: Matthew Fornero <mfornero@mathworks.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/media/i2c/adv7511.c