devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Fabian Pfitzner <f.pfitzner@pengutronix.de>
To: Mauro Carvalho Chehab <mchehab@kernel.org>,
	 Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	Jacopo Mondi <jacopo@jmondi.org>,
	 Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org,
	 linux-kernel@vger.kernel.org, entwicklung@pengutronix.de,
	 Fabian Pfitzner <f.pfitzner@pengutronix.de>
Subject: [PATCH 0/2] parse horizontal/vertical flip properties
Date: Wed, 23 Jul 2025 10:58:28 +0200	[thread overview]
Message-ID: <20250718-fpf-media-dt-flip-v1-0-75b3a938b4be@pengutronix.de> (raw)

There are cameras containing a mirror on their optical path e. g. when
mounted upside down.

Introduce two options to change the device's flip property via device tree.

As there is already support for the panel-common driver [1], add it for cameras in the same way.

[1] commit 3c0ecd83eee9 ("dt-bindings: display: panel: Move flip properties to panel-common")

Signed-off-by: Fabian Pfitzner <f.pfitzner@pengutronix.de>
---
Fabian Pfitzner (2):
      media: dt-bindings: add flip properties
      media: v4l: fwnode: parse horizontal/vertical flip properties

 .../devicetree/bindings/media/video-interface-devices.yaml        | 8 ++++++++
 drivers/media/v4l2-core/v4l2-fwnode.c                             | 3 +++
 include/media/v4l2-fwnode.h                                       | 4 ++++
 3 files changed, 15 insertions(+)
---
base-commit: 6832a9317eee280117cd695fa885b2b7a7a38daf
change-id: 20250718-fpf-media-dt-flip-7fcad30bcfb7

Best regards,
-- 
Fabian Pfitzner <f.pfitzner@pengutronix.de>


             reply	other threads:[~2025-07-23  8:58 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-23  8:58 Fabian Pfitzner [this message]
2025-07-23  8:58 ` [PATCH 1/2] media: dt-bindings: add flip properties Fabian Pfitzner
2025-07-23  8:58 ` [PATCH 2/2] media: v4l: fwnode: parse horizontal/vertical " Fabian Pfitzner
2025-07-23  9:17 ` [PATCH 0/2] " Jacopo Mondi
2025-07-23  9:29   ` Fabian Pfitzner
2025-07-23  9:44     ` Jacopo Mondi
2025-07-23 10:09       ` Fabian Pfitzner
2025-07-23 12:21         ` Jacopo Mondi
2025-07-23 12:50           ` Fabian Pfitzner
2025-07-23 13:00           ` Dave Stevenson
2025-07-23 13:48             ` Fabian Pfitzner
2025-07-23 14:33               ` Dave Stevenson
2025-07-24  9:56                 ` Laurent Pinchart
2025-07-23 13:02         ` Hans de Goede
2025-07-23 13:02         ` Hans de Goede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250718-fpf-media-dt-flip-v1-0-75b3a938b4be@pengutronix.de \
    --to=f.pfitzner@pengutronix.de \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=entwicklung@pengutronix.de \
    --cc=jacopo@jmondi.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=robh@kernel.org \
    --cc=sakari.ailus@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).