devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v8 0/7] arm64: dts: renesas: Enable MAX9286 on Eagle and Condor
@ 2021-12-16 16:34 Jacopo Mondi
  2021-12-16 16:34 ` [PATCH v8 1/7] dt-bindings: media: max9286: Re-indent example Jacopo Mondi
                   ` (7 more replies)
  0 siblings, 8 replies; 16+ messages in thread
From: Jacopo Mondi @ 2021-12-16 16:34 UTC (permalink / raw)
  To: Geert Uytterhoeven, Magnus Damm, Laurent Pinchart, Kieran Bingham,
	Niklas Söderlund
  Cc: Jacopo Mondi, linux-renesas-soc, linux-media, devicetree

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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2022-01-20 10:24 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-16 16:34 [PATCH v8 0/7] arm64: dts: renesas: Enable MAX9286 on Eagle and Condor Jacopo Mondi
2021-12-16 16:34 ` [PATCH v8 1/7] dt-bindings: media: max9286: Re-indent example Jacopo Mondi
2021-12-16 16:34 ` [PATCH v8 2/7] dt-bindings: media: max9286: Define 'maxim,gpio-poc' Jacopo Mondi
2022-01-17 11:57   ` Kieran Bingham
2021-12-16 16:34 ` [PATCH v8 3/7] media: i2c: max9286: Use "maxim,gpio-poc" property Jacopo Mondi
2021-12-16 16:34 ` [PATCH v8 4/7] arm64: dts: renesas: condor: Enable MAX9286 Jacopo Mondi
2022-01-17 12:09   ` Kieran Bingham
2022-01-20  9:14   ` Geert Uytterhoeven
2022-01-20 10:25     ` Jacopo Mondi
2021-12-16 16:34 ` [PATCH v8 5/7] arm64: dts: renesas: eagle: " Jacopo Mondi
2022-01-17 12:00   ` Kieran Bingham
2022-01-20  9:22   ` Geert Uytterhoeven
2021-12-16 16:34 ` [PATCH v8 6/7] arm64: dts: renesas: Add GMSL cameras .dtsi Jacopo Mondi
2022-01-20  9:24   ` Geert Uytterhoeven
2021-12-16 16:34 ` [PATCH v8 7/7] DNI: arm64: dts: renesas: eagle: Include eagle-gmsl Jacopo Mondi
2021-12-17 14:30 ` [v8.1 3/7] media: i2c: max9286: Use "maxim,gpio-poc" property Jacopo Mondi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).