[PATCH v6 6/6] dt-bindings: media: i2c: himax,hm1246: Use video-interface-devices

From: Kieran Bingham

Date: Fri Sep 18 2026 - 07:31:28 EST


From: Kieran Bingham <kieran.bingham+renesas@xxxxxxxxxxxxxxxx>

The orientation property for video interface devices now has definitions
to prevent hardcoded integer values for the enum options.

Update the example binding documentation.

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@xxxxxxxxxxxxxxxx>

---
v6:
- Actually use the correct orientation!
---
Documentation/devicetree/bindings/media/i2c/himax,hm1246.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/media/i2c/himax,hm1246.yaml b/Documentation/devicetree/bindings/media/i2c/himax,hm1246.yaml
index a65488fcc643..9994105552e7 100644
--- a/Documentation/devicetree/bindings/media/i2c/himax,hm1246.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/himax,hm1246.yaml
@@ -86,6 +86,7 @@ examples:
- |
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/media/video-interfaces.h>
+ #include <dt-bindings/media/video-interface-devices.h>

i2c {
#address-cells = <1>;
@@ -103,7 +104,7 @@ examples:
iovdd-supply = <&hm1246_iovdd>;
dvdd-supply = <&hm1246_dvdd>;

- orientation = <2>;
+ orientation = <MEDIA_ORIENTATION_EXTERNAL>;
rotation = <0>;

port {

--
2.52.0