mbox series

[0/2] media: rcar-vin: Add "renesas,id" to V3H

Message ID 20190412113832.30075-1-jacopo+renesas@jmondi.org (mailing list archive)
Headers show
Series media: rcar-vin: Add "renesas,id" to V3H | expand

Message

Jacopo Mondi April 12, 2019, 11:38 a.m. UTC
These two patches add the mandatory "renesas,id" property to
V3H device tree.

As the property is mandatory and the driver checks for its presence,
this might actually fix VIN probe on V3H boards.

In order to support V3H, which has 16 VIN instances, modify the way the
VIN driver handles the maximum number of VIN, making it a per-SoC property.

As explained in the commit message of [2/2] if anyone with an V3H board could
provide a Tested-by tag, these two patches might actually be tagged as fixes.

Tested on Salvator-x M3-W and Ebisu E3.

Thanks
  j

Jacopo Mondi (2):
  media: rcar-vin: Make the number of VIN SoC-dependent
  arm64: dts: renesas: r8a77980: Add "renesas,id" to VIN

 arch/arm64/boot/dts/renesas/r8a77980.dtsi   | 16 ++++++++++++++
 drivers/media/platform/rcar-vin/rcar-core.c | 23 +++++++++++++++------
 drivers/media/platform/rcar-vin/rcar-vin.h  |  5 ++++-
 3 files changed, 37 insertions(+), 7 deletions(-)

--
2.21.0