Re: [PATCH 0/2] parse horizontal/vertical flip properties

From: Jacopo Mondi
Date: Wed Jul 23 2025 - 05:18:00 EST


Hi Fabian

On Wed, Jul 23, 2025 at 10:58:28AM +0200, Fabian Pfitzner wrote:
> There are cameras containing a mirror on their optical path e. g. when
> mounted upside down.

How is this different from 'rotation = 180' ?

>
> 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@xxxxxxxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxx>
>