Documentation/devicetree/bindings/media/i2c/himax,hm1246.yaml | 3 ++- arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-grouper-common.dtsi | 3 ++- arch/arm/boot/dts/nvidia/tegra30-asus-transformer-common.dtsi | 3 ++- arch/arm/boot/dts/nvidia/tegra30-lg-p895.dts | 4 +++- arch/arm/boot/dts/nvidia/tegra30-lg-x3.dtsi | 3 ++- .../boot/dts/freescale/imx8mp-tqma8mpql-mba8mp-ras314-imx219.dtso | 3 ++- arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 3 ++- arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 3 ++- arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 3 ++- arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi | 3 ++- .../boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j1-imx219.dtso | 3 ++- .../boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j1-imx462.dtso | 3 ++- .../boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j2-imx219.dtso | 3 ++- .../boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j2-imx462.dtso | 3 ++- arch/arm64/boot/dts/rockchip/px30-pp1516.dtsi | 3 ++- arch/arm64/boot/dts/rockchip/px30-ringneck-haikou-video-demo.dtso | 3 ++- arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts | 5 +++-- .../boot/dts/rockchip/rk3588-rock-5b-plus-radxa-cam4k-cam0.dtso | 3 ++- .../boot/dts/rockchip/rk3588-rock-5b-plus-radxa-cam4k-cam1.dtso | 3 ++- 19 files changed, 40 insertions(+), 20 deletions(-)
Add a new dt-bindings/media/video-interface-devices.h header that
initially supports the Orientation types and convert existing users
throughout the code base.
v3 collects tags, and fixes the typo, but drops all hunks that do not
apply on the media-next tree so that these changes can be merged. Once
the core feature is accepted a second sweep will convert remaining (new)
additions of the orientation field.
v2:
- Now expands from the original v1 "dt-bindings: media: Add macros for
video interface devices" to update
Documentation/devicetree/bindings/media/video-interface-devices.yaml
and extend to actually change all users to the new types.
- Link to v2: https://lore.kernel.org/r/20260626-kbingham-orientation-v2-0-47178be927b4@ideasonboard.com
v3:
- Fix the arch/arm/boot/dts/nvidia/tegra30-lg-x3.dtsi
MEDIA_ORIENTATION_REAR to MEDIA_ORIENTATION_BACK
- Though this patch is dropped from this series to post the main
integration through the media tree.
- Drop (temporarily) changes to:
- arch/arm/boot/dts/nvidia/tegra30-lg-x3.dtsi
- arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi
- arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus-radxa-cam4k-cam0.dtso
- arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus-radxa-cam4k-cam1.dtso
- Non applying changes will be re-posted after the core feature
lands in linux-next, or after those changes appear in media-next.
-v4:
- Rebased media-committers/next (v7.2-rc1)
- Reintroduced updates to:
- arch/arm/boot/dts/nvidia/tegra30-lg-x3.dtsi
- arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi
- arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus-radxa-cam4k-cam0.dtso
- arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus-radxa-cam4k-cam1.dtso
- Squash header introduction and bindings updates
- Link to v4: https://lore.kernel.org/r/20260804-kbingham-orientation-v4-0-336998dd63b4@ideasonboard.com
-v5:
- Definitions now accepted in linux-media, rebased to get conversions in.
- Converts new himax,hm1246 binding
- Link to v5: https://lore.kernel.org/r/20260918-kbingham-orientation-v5-0-e1a134326988@ideasonboard.com
-v6:
- Keep himax,hm1246 example as MEDIA_ORIENTATION_EXTERNAL
---
Kieran Bingham (6):
arm64: dts: freescale: Convert to new media orientation definitions
arm64: dts: qcom: Convert to new media orientation definitions
arm64: dts: renesas: Convert to new media orientation definitions
arm64: dts: rockchip: Convert to new media orientation definitions
ARM: tegra: Convert to new media orientation definitions
dt-bindings: media: i2c: himax,hm1246: Use video-interface-devices
Documentation/devicetree/bindings/media/i2c/himax,hm1246.yaml | 3 ++-
arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-grouper-common.dtsi | 3 ++-
arch/arm/boot/dts/nvidia/tegra30-asus-transformer-common.dtsi | 3 ++-
arch/arm/boot/dts/nvidia/tegra30-lg-p895.dts | 4 +++-
arch/arm/boot/dts/nvidia/tegra30-lg-x3.dtsi | 3 ++-
.../boot/dts/freescale/imx8mp-tqma8mpql-mba8mp-ras314-imx219.dtso | 3 ++-
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 3 ++-
arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 3 ++-
arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 3 ++-
arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi | 3 ++-
.../boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j1-imx219.dtso | 3 ++-
.../boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j1-imx462.dtso | 3 ++-
.../boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j2-imx219.dtso | 3 ++-
.../boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j2-imx462.dtso | 3 ++-
arch/arm64/boot/dts/rockchip/px30-pp1516.dtsi | 3 ++-
arch/arm64/boot/dts/rockchip/px30-ringneck-haikou-video-demo.dtso | 3 ++-
arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts | 5 +++--
.../boot/dts/rockchip/rk3588-rock-5b-plus-radxa-cam4k-cam0.dtso | 3 ++-
.../boot/dts/rockchip/rk3588-rock-5b-plus-radxa-cam4k-cam1.dtso | 3 ++-
19 files changed, 40 insertions(+), 20 deletions(-)
---
base-commit: aedd77ea8168f00687c1248cdf115071e869cf93
change-id: 20260608-kbingham-orientation-20afc0fb6957
Best regards,
--
--
Kieran
Hi Kieran,
On Fri, 18 Sept 2026 at 12:55, Kieran Bingham
<kieran.bingham@ideasonboard.com> wrote:
> Add a new dt-bindings/media/video-interface-devices.h header that
> initially supports the Orientation types and convert existing users
> throughout the code base.
Just noticed these are already in since commit 6ab5acfb8dd38729
("dt-bindings: media: Add macros for video interface devices") in
media/master (next-20260903 and later)?
> v3 collects tags, and fixes the typo, but drops all hunks that do not
[...]
> v2:
Interesting changelog order ;-)
[...]
> v3:
[...]
> -v4:
[...]
> -v5:
> - Definitions now accepted in linux-media, rebased to get conversions in.
Oh, you say so here ;-)
> arm64: dts: renesas: Convert to new media orientation definitions
So it's been safe for me to pick this up since v5?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
On Mon, 21 Sept 2026 at 09:05, Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>
> Hi Kieran,
>
> On Fri, 18 Sept 2026 at 12:55, Kieran Bingham
> <kieran.bingham@ideasonboard.com> wrote:
> > Add a new dt-bindings/media/video-interface-devices.h header that
> > initially supports the Orientation types and convert existing users
> > throughout the code base.
>
> Just noticed these are already in since commit 6ab5acfb8dd38729
> ("dt-bindings: media: Add macros for video interface devices") in
> media/master (next-20260903 and later)?
>
> > v3 collects tags, and fixes the typo, but drops all hunks that do not
>
> [...]
>
> > v2:
>
> Interesting changelog order ;-)
>
> [...]
>
> > v3:
>
> [...]
>
> > -v4:
>
> [...]
>
>
> > -v5:
> > - Definitions now accepted in linux-media, rebased to get conversions in.
>
> Oh, you say so here ;-)
>
> > arm64: dts: renesas: Convert to new media orientation definitions
>
> So it's been safe for me to pick this up since v5?
No it's not, there is a hard dependency.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
On Mon, Sep 21, 2026 at 09:07:01AM +0200, Geert Uytterhoeven wrote:
> On Mon, 21 Sept 2026 at 09:05, Geert Uytterhoeven wrote:
> > On Fri, 18 Sept 2026 at 12:55, Kieran Bingham wrote:
> > > Add a new dt-bindings/media/video-interface-devices.h header that
> > > initially supports the Orientation types and convert existing users
> > > throughout the code base.
> >
> > Just noticed these are already in since commit 6ab5acfb8dd38729
> > ("dt-bindings: media: Add macros for video interface devices") in
> > media/master (next-20260903 and later)?
> >
> > > v3 collects tags, and fixes the typo, but drops all hunks that do not
> >
> > [...]
> >
> > > v2:
> >
> > Interesting changelog order ;-)
> >
> > [...]
> >
> > > v3:
> >
> > [...]
> >
> > > -v4:
> >
> > [...]
> >
> >
> > > -v5:
> > > - Definitions now accepted in linux-media, rebased to get conversions in.
> >
> > Oh, you say so here ;-)
> >
> > > arm64: dts: renesas: Convert to new media orientation definitions
> >
> > So it's been safe for me to pick this up since v5?
>
> No it's not, there is a hard dependency.
The whole series needs to be postponed by one kernel cycle :-/ It's not
urgent so it's not a big deal. Kieran will have the priviledge of
rebasing and sending a v7 :-)
--
Regards,
Laurent Pinchart
On Mon, Sep 21, 2026 at 10:35:38AM +0300, Laurent Pinchart wrote:
> On Mon, Sep 21, 2026 at 09:07:01AM +0200, Geert Uytterhoeven wrote:
> > On Mon, 21 Sept 2026 at 09:05, Geert Uytterhoeven wrote:
> > > On Fri, 18 Sept 2026 at 12:55, Kieran Bingham wrote:
> > > > Add a new dt-bindings/media/video-interface-devices.h header that
> > > > initially supports the Orientation types and convert existing users
> > > > throughout the code base.
> > >
> > > Just noticed these are already in since commit 6ab5acfb8dd38729
> > > ("dt-bindings: media: Add macros for video interface devices") in
> > > media/master (next-20260903 and later)?
> > >
> > > > v3 collects tags, and fixes the typo, but drops all hunks that do not
> > >
> > > [...]
> > >
> > > > v2:
> > >
> > > Interesting changelog order ;-)
> > >
> > > [...]
> > >
> > > > v3:
> > >
> > > [...]
> > >
> > > > -v4:
> > >
> > > [...]
> > >
> > >
> > > > -v5:
> > > > - Definitions now accepted in linux-media, rebased to get conversions in.
> > >
> > > Oh, you say so here ;-)
> > >
> > > > arm64: dts: renesas: Convert to new media orientation definitions
> > >
> > > So it's been safe for me to pick this up since v5?
> >
> > No it's not, there is a hard dependency.
>
> The whole series needs to be postponed by one kernel cycle :-/ It's not
> urgent so it's not a big deal. Kieran will have the priviledge of
> rebasing and sending a v7 :-)
If all platform maintainers Ack this series, they could go through the
media tree where the shared include was already merged. Alternatively
the media maintainers could provide a shared branch for everyone to pull
into their platform trees.
But given that this is simply replacing a literal with a preprocessor
macro, maybe not worth the extra hassle.
Thierry
Quoting Thierry Reding (2026-09-21 12:33:54)
> On Mon, Sep 21, 2026 at 10:35:38AM +0300, Laurent Pinchart wrote:
> > On Mon, Sep 21, 2026 at 09:07:01AM +0200, Geert Uytterhoeven wrote:
> > > On Mon, 21 Sept 2026 at 09:05, Geert Uytterhoeven wrote:
> > > > On Fri, 18 Sept 2026 at 12:55, Kieran Bingham wrote:
> > > > > Add a new dt-bindings/media/video-interface-devices.h header that
> > > > > initially supports the Orientation types and convert existing users
> > > > > throughout the code base.
> > > >
> > > > Just noticed these are already in since commit 6ab5acfb8dd38729
> > > > ("dt-bindings: media: Add macros for video interface devices") in
> > > > media/master (next-20260903 and later)?
> > > >
> > > > > v3 collects tags, and fixes the typo, but drops all hunks that do not
> > > >
> > > > [...]
> > > >
> > > > > v2:
> > > >
> > > > Interesting changelog order ;-)
> > > >
> > > > [...]
> > > >
> > > > > v3:
> > > >
> > > > [...]
> > > >
> > > > > -v4:
> > > >
> > > > [...]
> > > >
> > > >
> > > > > -v5:
> > > > > - Definitions now accepted in linux-media, rebased to get conversions in.
> > > >
> > > > Oh, you say so here ;-)
> > > >
> > > > > arm64: dts: renesas: Convert to new media orientation definitions
> > > >
> > > > So it's been safe for me to pick this up since v5?
> > >
> > > No it's not, there is a hard dependency.
> >
> > The whole series needs to be postponed by one kernel cycle :-/ It's not
> > urgent so it's not a big deal. Kieran will have the priviledge of
> > rebasing and sending a v7 :-)
>
> If all platform maintainers Ack this series, they could go through the
> media tree where the shared include was already merged. Alternatively
> the media maintainers could provide a shared branch for everyone to pull
> into their platform trees.
>
> But given that this is simply replacing a literal with a preprocessor
> macro, maybe not worth the extra hassle.
Indeed, I'm not personally worried here. I thought that because Sakari
had accepted the main patches these could go in now, so I refreshed the
series.
I don't really care which route they go, or when. I'd rather not have to
re-re-rebase again in two months ... but I can cope whatever :D There's
certainly no urgency here.
--
Kieran
>
> Thierry
On Mon, Sep 21, 2026 at 12:47:23PM +0100, Kieran Bingham wrote:
> Quoting Thierry Reding (2026-09-21 12:33:54)
> > On Mon, Sep 21, 2026 at 10:35:38AM +0300, Laurent Pinchart wrote:
> > > On Mon, Sep 21, 2026 at 09:07:01AM +0200, Geert Uytterhoeven wrote:
> > > > On Mon, 21 Sept 2026 at 09:05, Geert Uytterhoeven wrote:
> > > > > On Fri, 18 Sept 2026 at 12:55, Kieran Bingham wrote:
> > > > > > Add a new dt-bindings/media/video-interface-devices.h header that
> > > > > > initially supports the Orientation types and convert existing users
> > > > > > throughout the code base.
> > > > >
> > > > > Just noticed these are already in since commit 6ab5acfb8dd38729
> > > > > ("dt-bindings: media: Add macros for video interface devices") in
> > > > > media/master (next-20260903 and later)?
> > > > >
> > > > > > v3 collects tags, and fixes the typo, but drops all hunks that do not
> > > > >
> > > > > [...]
> > > > >
> > > > > > v2:
> > > > >
> > > > > Interesting changelog order ;-)
> > > > >
> > > > > [...]
> > > > >
> > > > > > v3:
> > > > >
> > > > > [...]
> > > > >
> > > > > > -v4:
> > > > >
> > > > > [...]
> > > > >
> > > > >
> > > > > > -v5:
> > > > > > - Definitions now accepted in linux-media, rebased to get conversions in.
> > > > >
> > > > > Oh, you say so here ;-)
> > > > >
> > > > > > arm64: dts: renesas: Convert to new media orientation definitions
> > > > >
> > > > > So it's been safe for me to pick this up since v5?
> > > >
> > > > No it's not, there is a hard dependency.
> > >
> > > The whole series needs to be postponed by one kernel cycle :-/ It's not
> > > urgent so it's not a big deal. Kieran will have the priviledge of
> > > rebasing and sending a v7 :-)
> >
> > If all platform maintainers Ack this series, they could go through the
> > media tree where the shared include was already merged. Alternatively
> > the media maintainers could provide a shared branch for everyone to pull
> > into their platform trees.
> >
> > But given that this is simply replacing a literal with a preprocessor
> > macro, maybe not worth the extra hassle.
>
> Indeed, I'm not personally worried here. I thought that because Sakari
> had accepted the main patches these could go in now, so I refreshed the
> series.
>
> I don't really care which route they go, or when. I'd rather not have to
> re-re-rebase again in two months ... but I can cope whatever :D There's
> certainly no urgency here.
You already have my Acked-by and I'm fine with anyone picking up the
Tegra DT changes. I don't think there's going to be any conflict with
any other work in the Tegra tree. If they don't get applied, I'll pick
it up for the next release.
Thierry
© 2016 - 2026 Red Hat, Inc.