[PATCH v8 0/7] arm64: dts: renesas: Enable MAX9286 on Eagle and Condor
From: Jacopo Mondi <jacopo+renesas@jmondi.org>
Date: 2021-12-16 16:33:59
Also in:
linux-media, linux-renesas-soc
Hello,
v8 is rebased on lates renesas-drivers.
Minor changes compared to v7: address Geert's comments on the 'gpio-poc'
property parsing and power enable/disable routine.
The new property parsing logic reads like
ret = of_property_read_u32_array();
if (ret == -EVINAL) {
/* Use regulator */
return 0;
}
/* Make sure the property is well formed. */
if (ret || gpio_poc[0] > 1 && (gpio_poc[1] != HIGH/LOW)
return -EINVAL;
return 0;
Same as in v7:
I have removed depencies on the post_register() v4l2 subdev operation to have
this integrated separately.
This change upports BSP 5.1 commit
https://github.com/renesas-rcar/linux-bsp/commit/28fdde07b28d5ae17ad6fb472ff4b52a4835cbee
The usual note about condor:
Condor has 2 GMSL channels, something the current version of the MAX9286 driver
does not support. However the DTS integration can be upstreamed but a single
channel can be used at a time.
Integration of the new "maxim,gpio-poc" property required for Eagle/Condor is
fully reviewed and can be eventually fast-tracked.
The series has been tested on Eagle V3H board, while only compile tested for
Condor.
Jacopo Mondi (4):
dt-bindings: media: max9286: Re-indent example
dt-bindings: media: max9286: Define 'maxim,gpio-poc'
media: i2c: max9286: Use "maxim,gpio-poc" property
arm64: dts: renesas: condor: Enable MAX9286
Kieran Bingham (3):
arm64: dts: renesas: eagle: Enable MAX9286
arm64: dts: renesas: Add GMSL cameras .dtsi
DNI: arm64: dts: renesas: eagle: Include eagle-gmsl
.../bindings/media/i2c/maxim,max9286.yaml | 275 +++++++++------
arch/arm64/boot/dts/renesas/gmsl-cameras.dtsi | 332 ++++++++++++++++++
.../arm64/boot/dts/renesas/r8a77970-eagle.dts | 112 ++++++
.../boot/dts/renesas/r8a77980-condor.dts | 193 ++++++++++
drivers/media/i2c/max9286.c | 124 +++++--
5 files changed, 899 insertions(+), 137 deletions(-)
create mode 100644 arch/arm64/boot/dts/renesas/gmsl-cameras.dtsi
--
2.33.1