devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RESEND PATCH 0/2] media: i2c: imx412: Add regulator control to imx412
@ 2022-04-10 16:35 Bryan O'Donoghue
  2022-04-10 16:35 ` [RESEND PATCH 1/2] media: dt-bindings: imx412: Add regulator descriptions Bryan O'Donoghue
  2022-04-10 16:35 ` [RESEND PATCH 2/2] media: i2c: imx412: Add bulk regulator support Bryan O'Donoghue
  0 siblings, 2 replies; 5+ messages in thread
From: Bryan O'Donoghue @ 2022-04-10 16:35 UTC (permalink / raw)
  To: paul.j.murphy, daniele.alessandrelli, mchehab, linux-media,
	devicetree
  Cc: robert.foss, hfink, jgrahsl, dmitry.baryshkov, vladimir.zapolskiy,
	bryan.odonoghue

The imx412 has three regulators which depending on platform may need to be
individually enabled.

- dovdd
- avdd
- dvdd

Existing code for an Intel platform doesn't appear to need to enable these
rails directly. On my reference hardware, a Qualcomm Thundercomm RB5 some
of these rails do need to be enabled individually.

Add in the above named rails as optional in the YAML in the first patch
along with code to switch them on in the second patch.

Existing imx412 users should get dummy regulators populated which the
regulator_bulk_enable()/regulator_bulk_disable() code can safely ignore.

Resend + devicetree@vger.kernel.org 

Bryan O'Donoghue (2):
  media: dt-bindings: imx412: Add regulator descriptions
  media: i2c: imx412: Add bulk regulator support

 .../bindings/media/i2c/sony,imx412.yaml       | 12 ++++++
 drivers/media/i2c/imx412.c                    | 38 +++++++++++++++++++
 2 files changed, 50 insertions(+)

-- 
2.35.1


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

end of thread, other threads:[~2022-04-11  0:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-10 16:35 [RESEND PATCH 0/2] media: i2c: imx412: Add regulator control to imx412 Bryan O'Donoghue
2022-04-10 16:35 ` [RESEND PATCH 1/2] media: dt-bindings: imx412: Add regulator descriptions Bryan O'Donoghue
2022-04-10 18:43   ` Krzysztof Kozlowski
2022-04-11  0:48     ` Bryan O'Donoghue
2022-04-10 16:35 ` [RESEND PATCH 2/2] media: i2c: imx412: Add bulk regulator support Bryan O'Donoghue

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).