From nobody Fri Sep 25 00:41:22 2026 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EAE39494835; Fri, 18 Sep 2026 10:44:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789728271; cv=none; b=kRA42JP+WC8YQxVxSuW7xKGyncesaFNcjZlnXk6N/1XI/f6D6ybKcO8gExjwAQuZuWKt+H4oVrkujokCC7VdHVhlJ2y0rVNHlpB9juFDTwX1btwcmpGZddRK46kvGqlIcYnjZNEQdEiWOKYgyVuCrrmk2WOlJm10aU50Ng9R7fo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789728271; c=relaxed/simple; bh=QFTOhaxbNKiRh+xncxOUmiTCEvJLsCL6JfpX52u6oT8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rzKiJDvHd2NzxzMZAzkfd7tr3C5P6av4yQ78ugKq2svHu5XJVkzQAObLgoafsHmFddWy8yMyT+FkCRjJIPVjSlBJ6q04S1SjRocwMPWsGOtSKd44LtL5crd5IGSFuOED4ADBJ26rKWHO8HRtiSSpAmbt9uNFj8h5ncnlPQCGRQo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=gt1fCPsX; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="gt1fCPsX" Received: from ping.linuxembedded.co.uk (cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B28CD4D76; Fri, 18 Sep 2026 12:42:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1789728158; bh=QFTOhaxbNKiRh+xncxOUmiTCEvJLsCL6JfpX52u6oT8=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=gt1fCPsXZ4h0vErLxdbZtdsO+quM2ZOZH+8tLynywdalYpFIMU4Bk48QZ7vQ3eIWk VKs7YU4dgMA+DHGMuyrLw3n8c+1jNJsZDKxwy2YnSSIwivcyXyrctGQkZXH3OqnwS5 8Md/ooGGO6LUnPeybWq1uZyfXYl/RyLlLLyA1djw= From: Kieran Bingham Date: Fri, 18 Sep 2026 11:44:13 +0100 Subject: [PATCH v6 1/6] arm64: dts: freescale: Convert to new media orientation definitions Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260918-kbingham-orientation-v6-1-5e8b1f01be29@ideasonboard.com> References: <20260918-kbingham-orientation-v6-0-5e8b1f01be29@ideasonboard.com> In-Reply-To: <20260918-kbingham-orientation-v6-0-5e8b1f01be29@ideasonboard.com> To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jacopo Mondi , Sakari Ailus , Jimmy Su , Matthias Fend , Mikhail Rudenko , Daniel Scally , Jacopo Mondi , Michael Riesch , Benjamin Mugnier , Sylvain Petinot , Laurent Pinchart , Paul Elder , Martin Kepplinger , Quentin Schulz , Tommaso Merciai , Svyatoslav Ryhel , Richard Acayan , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Bjorn Andersson , Konrad Dybcio , Geert Uytterhoeven , Magnus Damm , Heiko Stuebner , Thierry Reding , Jonathan Hunter Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux@ew.tq-group.com, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-tegra@vger.kernel.org, Kieran Bingham , Alexander Stein , David Heidelberg X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1789728257; l=2320; i=kieran.bingham@ideasonboard.com; s=20260207; h=from:subject:message-id; bh=3O+4xX7IoHfTirxspRvjf0vHNpVSxg5lGVxFyXmAfco=; b=1CysseM8OWAeLXDgndgyOPdDX0XsHkmf4ITH1x2bfMLEe4OKpAlc7cJsUQ1UxZjjLfPgkzqBH ZVnJJSqZZi8DNa/5dkJbvTHglP+iPFst/IZ1l2V+Bv4NjSUqFOY3Bni X-Developer-Key: i=kieran.bingham@ideasonboard.com; a=ed25519; pk=FVXKN7YuwHc6UtbRUeTMAmranfsQomA+vnilfglWdaY= From: Kieran Bingham The orientation property for video interface devices now has definitions to prevent hardcoded integer values for the enum options. Update the users throughout the freescale/NXP device trees to use the new definitions. Reviewed-by: Laurent Pinchart Reviewed-by: Alexander Stein Reviewed-by: David Heidelberg Signed-off-by: Kieran Bingham Reviewed-by: Thierry Reding --- .../boot/dts/freescale/imx8mp-tqma8mpql-mba8mp-ras314-imx219.dtso | 3= ++- arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 3= ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mp-ras314-i= mx219.dtso b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mp-ras314-i= mx219.dtso index e5a2b3780215..7b44ae0f19b2 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mp-ras314-imx219.d= tso +++ b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mp-ras314-imx219.d= tso @@ -9,6 +9,7 @@ =20 #include #include +#include =20 #include "imx8mp-pinfunc.h" =20 @@ -47,7 +48,7 @@ camera@10 { VANA-supply =3D <®_cam>; VDIG-supply =3D <®_cam>; VDDL-supply =3D <®_cam>; - orientation =3D <2>; + orientation =3D ; rotation =3D <0>; =20 port { diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64= /boot/dts/freescale/imx8mq-librem5.dtsi index f5d529c5baf3..178cfad93483 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi @@ -8,6 +8,7 @@ #include "dt-bindings/input/input.h" #include #include +#include #include "dt-bindings/pwm/pwm.h" #include "dt-bindings/usb/pd.h" #include "imx8mq.dtsi" @@ -1116,7 +1117,7 @@ camera_front: camera@20 { vddd-supply =3D <®_vcam_1v2>; vddio-supply =3D <®_csi_1v8>; rotation =3D <90>; - orientation =3D <0>; + orientation =3D ; =20 port { camera1_ep: endpoint { --=20 2.52.0 From nobody Fri Sep 25 00:41:22 2026 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 409844CCDEB; Fri, 18 Sep 2026 10:44:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789728280; cv=none; b=HWnqCc3cC2tCKAxU4wffdvnJLr+vU21r9XkHn96FAWUBQpbDa47t3EgseSCBIgN+hJEAqc2bNE5aw4gtmE3CvvhpXIARn2m86YNICmsu4rEex4F8y9PeSykBZ63JCB6a+xpCio+9eOY7qaOEHOyQt4bWZGXQXS+hdh3kJ1Z0+0A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789728280; c=relaxed/simple; bh=JM1OrO7785S1RFd9EW2UIqiD6tchSt3vlHgsKZaPz5o=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hpfsxToG06cnfTnptnaeSgMmhtwlUS4dK0q6JhTtH8UNDsBKNDh877NRTAttHpuDxtF4EUjvBCsm8l4u2L4fnb2IP0MTqqbTRdQMPcs1JBOIrStsrJ7B/ezB/zjPDgWImE6SJtXNBaE/haJgtGbBeEwEpZDJxN/MgHt/Ig8j1WQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=uX1rGkOo; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="uX1rGkOo" Received: from ping.linuxembedded.co.uk (cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 2EAB64D78; Fri, 18 Sep 2026 12:42:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1789728159; bh=JM1OrO7785S1RFd9EW2UIqiD6tchSt3vlHgsKZaPz5o=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=uX1rGkOoI6s/LZRE+fCO5OqvT+pRmyrDoYn6F9apWH1HjFzMywi9QeZ9+CtojCDMq +KPmtr0kffXKevcDP3chagKyY92VpFHc0wNc/f+5uLEA+0d3q2wFhZkTQtHHVGZXEJ Oa2q2/ZyteBfTsfbisHiW+AgpxhFoGpJs104pKF0= From: Kieran Bingham Date: Fri, 18 Sep 2026 11:44:14 +0100 Subject: [PATCH v6 2/6] arm64: dts: qcom: Convert to new media orientation definitions Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260918-kbingham-orientation-v6-2-5e8b1f01be29@ideasonboard.com> References: <20260918-kbingham-orientation-v6-0-5e8b1f01be29@ideasonboard.com> In-Reply-To: <20260918-kbingham-orientation-v6-0-5e8b1f01be29@ideasonboard.com> To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jacopo Mondi , Sakari Ailus , Jimmy Su , Matthias Fend , Mikhail Rudenko , Daniel Scally , Jacopo Mondi , Michael Riesch , Benjamin Mugnier , Sylvain Petinot , Laurent Pinchart , Paul Elder , Martin Kepplinger , Quentin Schulz , Tommaso Merciai , Svyatoslav Ryhel , Richard Acayan , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Bjorn Andersson , Konrad Dybcio , Geert Uytterhoeven , Magnus Damm , Heiko Stuebner , Thierry Reding , Jonathan Hunter Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux@ew.tq-group.com, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-tegra@vger.kernel.org, Kieran Bingham , Vladimir Zapolskiy , Konrad Dybcio , David Heidelberg X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1789728257; l=3298; i=kieran.bingham@ideasonboard.com; s=20260207; h=from:subject:message-id; bh=Y0ji9WJtRwlRDZpyYXEqKYUbnsF0IWYDo6VO2YsmO5g=; b=byO5QW/u+OBT2gRa8x/wpZzCTNJc12wLI/q2odrrVhaixDt6yDBmXBOH7WHgA3r3lztLXRUiA 1WrSFLkNwTwCX7liuzjqPIRhRUjJFroVzUQtXnaqcbrT8e7hHxVgIZn X-Developer-Key: i=kieran.bingham@ideasonboard.com; a=ed25519; pk=FVXKN7YuwHc6UtbRUeTMAmranfsQomA+vnilfglWdaY= From: Kieran Bingham The orientation property for video interface devices now has definitions to prevent hardcoded integer values for the enum options. Update the users throughout the qualcomm device trees to use the new definitions. Reviewed-by: Laurent Pinchart Reviewed-by: Vladimir Zapolskiy Reviewed-by: Konrad Dybcio Reviewed-by: David Heidelberg Signed-off-by: Kieran Bingham Reviewed-by: Thierry Reding --- 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 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts b/arch/arm6= 4/boot/dts/qcom/qcm6490-fairphone-fp5.dts index f41ad446a39e..e2b7f1bd05ab 100644 --- a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts +++ b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include @@ -701,7 +702,7 @@ camera@10 { pinctrl-0 =3D <&cam_mclk3_default>; pinctrl-names =3D "default"; =20 - orientation =3D <0>; /* Front facing */ + orientation =3D ; rotation =3D <270>; =20 port { diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/a= rch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index 218573a97785..3b5f6a29e969 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -11,6 +11,7 @@ #include #include #include +#include #include =20 #include "sc8280xp.dtsi" @@ -683,7 +684,7 @@ camera@10 { =20 clocks =3D <&camcc CAMCC_MCLK3_CLK>; =20 - orientation =3D <0>; /* Front facing */ + orientation =3D ; =20 avdd-supply =3D <&vreg_l6q>; dvdd-supply =3D <&vreg_l2q>; diff --git a/arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi b/arch/arm6= 4/boot/dts/qcom/sdm670-google-common.dtsi index b4854801a5f5..7880d85b52fe 100644 --- a/arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include "sdm670.dtsi" @@ -460,7 +461,7 @@ camera@1a { pinctrl-names =3D "default"; =20 rotation =3D <270>; - orientation =3D <0>; + orientation =3D ; =20 port { cam_front_endpoint: endpoint { --=20 2.52.0 From nobody Fri Sep 25 00:41:22 2026 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 71B1A4C6513; Fri, 18 Sep 2026 10:44:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789728276; cv=none; b=uZ/RXFKFK4JPATjmQsgfHOM5ZG/i8gk57+WAGm90T4QvLgj2i6Lk8ysId4mmmCvAYsEIE0VcqVIEsO2AsK92z/TzU1YXsxj3N3kWR9OKWaYxTdfo3mCebdWsmAVUyH2Po2uxubJlTRZQt7spr63GQFNMbhaq+RdG98D11gI0gwI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789728276; c=relaxed/simple; bh=JsLs0rmqu7T5B6WRc65pS0x+tFeJdvC8zGgVnTQ5qvY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=bvIoJ261aaGgss7EUbfhJrDcTv/rCnG/0TQhhB5osrBRNf2snIBqga3rdtdhhxW2o0pdXFWhgTSY2/tDGp9nPkMiXH02l6bbUAINZBW4oJvQVEE1WywDM9vT0De5/wfJ8z/cEucY//cywoAsIHchWwl3RnXbm1Sa7NE10T3q9eA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=uiHWxvRC; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="uiHWxvRC" Received: from ping.linuxembedded.co.uk (cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id AABE24D85; Fri, 18 Sep 2026 12:42:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1789728161; bh=JsLs0rmqu7T5B6WRc65pS0x+tFeJdvC8zGgVnTQ5qvY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=uiHWxvRCYZqUmXlw5ZcJaFHaDf+hUya6JYR+c06jy5Fh1Xqtuf3p43iRhT5ujErQy U1NPURrwKte37Pjo0GZgqDyYPXZmHS1ItsbetoLbgAREtA5nZC33m5VvGEF3nNwFYe kSY2Y2k4O6tTfbzWnQ0zyEEvsPiMTrySAjVzbX34= From: Kieran Bingham Date: Fri, 18 Sep 2026 11:44:15 +0100 Subject: [PATCH v6 3/6] arm64: dts: renesas: Convert to new media orientation definitions Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260918-kbingham-orientation-v6-3-5e8b1f01be29@ideasonboard.com> References: <20260918-kbingham-orientation-v6-0-5e8b1f01be29@ideasonboard.com> In-Reply-To: <20260918-kbingham-orientation-v6-0-5e8b1f01be29@ideasonboard.com> To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jacopo Mondi , Sakari Ailus , Jimmy Su , Matthias Fend , Mikhail Rudenko , Daniel Scally , Jacopo Mondi , Michael Riesch , Benjamin Mugnier , Sylvain Petinot , Laurent Pinchart , Paul Elder , Martin Kepplinger , Quentin Schulz , Tommaso Merciai , Svyatoslav Ryhel , Richard Acayan , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Bjorn Andersson , Konrad Dybcio , Geert Uytterhoeven , Magnus Damm , Heiko Stuebner , Thierry Reding , Jonathan Hunter Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux@ew.tq-group.com, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-tegra@vger.kernel.org, Kieran Bingham , Laurent Pinchart , David Heidelberg X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1789728257; l=3939; i=kieran.bingham@ideasonboard.com; s=20260207; h=from:subject:message-id; bh=XDi4hx7NWPxhoMOeoVSwhxG05epRot/I7J5vXUg/6Pw=; b=cP3OvuunAXZXZZfg0wJUFIYb1FzwqcCQTd7//iNNRYu55LdhSpCto9Ui0SciwH/jT/pR1Gq8g F4kXEDxqErMDMp0hqYA4pS5JWVJgb+1zOLahMHh0Ot8Tc/SaFuzcfWr X-Developer-Key: i=kieran.bingham@ideasonboard.com; a=ed25519; pk=FVXKN7YuwHc6UtbRUeTMAmranfsQomA+vnilfglWdaY= From: Kieran Bingham The orientation property for video interface devices now has definitions to prevent hardcoded integer values for the enum options. Update the users throughout the renesas device trees to use the new definitions. Reviewed-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart Reviewed-by: David Heidelberg Signed-off-by: Kieran Bingham Reviewed-by: Niklas S=C3=B6derlund Reviewed-by: Thierry Reding --- .../arm64/boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j1-imx219.dtso | 3= ++- .../arm64/boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j1-imx462.dtso | 3= ++- .../arm64/boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j2-imx219.dtso | 3= ++- .../arm64/boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j2-imx462.dtso | 3= ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j1-im= x219.dtso b/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j1-imx= 219.dtso index 3acaf714cf24..b816382bba0a 100644 --- a/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j1-imx219.dt= so +++ b/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j1-imx219.dt= so @@ -12,6 +12,7 @@ =20 #include #include +#include =20 &{/} { clk_cam_j1: clk-cam-j1 { @@ -44,7 +45,7 @@ cam@10 { VDIG-supply =3D <®_cam_j1>; VDDL-supply =3D <®_cam_j1>; =20 - orientation =3D <2>; + orientation =3D ; rotation =3D <0>; =20 port { diff --git a/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j1-im= x462.dtso b/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j1-imx= 462.dtso index a19bc0840392..4019b80a88b7 100644 --- a/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j1-imx462.dt= so +++ b/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j1-imx462.dt= so @@ -12,6 +12,7 @@ =20 #include #include +#include =20 &{/} { clk_cam_j1: clk-cam-j1 { @@ -46,7 +47,7 @@ cam@1a { vdda-supply =3D <®_cam_j1>; vddd-supply =3D <®_cam_j1>; =20 - orientation =3D <2>; + orientation =3D ; rotation =3D <0>; =20 port { diff --git a/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j2-im= x219.dtso b/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j2-imx= 219.dtso index 512810b861aa..fea1ef4a1178 100644 --- a/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j2-imx219.dt= so +++ b/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j2-imx219.dt= so @@ -12,6 +12,7 @@ =20 #include #include +#include =20 &{/} { clk_cam_j2: clk-cam-j2 { @@ -44,7 +45,7 @@ cam@10 { VDIG-supply =3D <®_cam_j2>; VDDL-supply =3D <®_cam_j2>; =20 - orientation =3D <2>; + orientation =3D ; rotation =3D <0>; =20 port { diff --git a/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j2-im= x462.dtso b/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j2-imx= 462.dtso index a31524b59834..177201a8a6d2 100644 --- a/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j2-imx462.dt= so +++ b/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j2-imx462.dt= so @@ -12,6 +12,7 @@ =20 #include #include +#include =20 &{/} { clk_cam_j2: clk-cam-j2 { @@ -46,7 +47,7 @@ cam@1a { vdda-supply =3D <®_cam_j2>; vddd-supply =3D <®_cam_j2>; =20 - orientation =3D <2>; + orientation =3D ; rotation =3D <0>; =20 port { --=20 2.52.0 From nobody Fri Sep 25 00:41:22 2026 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D1BE24B44AB; Fri, 18 Sep 2026 10:44:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789728278; cv=none; b=L8aoMaX9UBAKyLHWSGN0jYiMRGwI29CF0uB6kzjYiwEaMTiU0v6povlRHXzlTwBd8/sVd8w90O7zsrsZFz/C5VWuXnL7C5FBJp1xLdfBVrwStwYqtrDuI+DXPkcXOJkKSPAw20g6YUPXnNhJjkjZMQKeBSiWvV0EUhZdXd2fPK8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789728278; c=relaxed/simple; bh=rPhDyRAyM+tHXzJqze1j8KQwtrWV4VN15vjw7lB5SDI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=icsYobTlZ6ci8r1ieMs2T2TYRe4IoAd8aK3sNfqx9ZyUU/tKA86MKFgmZJOzeEpkkg53MDPs1tT8ur4XzelTJ+kaApTeVbqZC/gYKVFQviJyKbMnpfG5OA3TaFlGQmnCwQGSJlJKo4Btw/HXC2er2vzFHjalrma4mxSAnPvQuZE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=NIvjGm/v; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="NIvjGm/v" Received: from ping.linuxembedded.co.uk (cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 351414D8A; Fri, 18 Sep 2026 12:42:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1789728162; bh=rPhDyRAyM+tHXzJqze1j8KQwtrWV4VN15vjw7lB5SDI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=NIvjGm/v0m0rkx9tJlBRPQXG5EzRV7YsG3PlCkPf3iAPapDPu7/jY5H5vcpXwuq3L qlp9HLJLZMqIkXTLwzcWB+KXUFDqeG8RzeWS7QlLqKcoEWcyKta4X1UF3xos2R9KZH nuClpvYb0D08sGDWCJj6CRfEPbBiCP/Atniig2iI= From: Kieran Bingham Date: Fri, 18 Sep 2026 11:44:16 +0100 Subject: [PATCH v6 4/6] arm64: dts: rockchip: Convert to new media orientation definitions Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260918-kbingham-orientation-v6-4-5e8b1f01be29@ideasonboard.com> References: <20260918-kbingham-orientation-v6-0-5e8b1f01be29@ideasonboard.com> In-Reply-To: <20260918-kbingham-orientation-v6-0-5e8b1f01be29@ideasonboard.com> To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jacopo Mondi , Sakari Ailus , Jimmy Su , Matthias Fend , Mikhail Rudenko , Daniel Scally , Jacopo Mondi , Michael Riesch , Benjamin Mugnier , Sylvain Petinot , Laurent Pinchart , Paul Elder , Martin Kepplinger , Quentin Schulz , Tommaso Merciai , Svyatoslav Ryhel , Richard Acayan , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Bjorn Andersson , Konrad Dybcio , Geert Uytterhoeven , Magnus Damm , Heiko Stuebner , Thierry Reding , Jonathan Hunter Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux@ew.tq-group.com, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-tegra@vger.kernel.org, Kieran Bingham , Quentin Schulz , David Heidelberg X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1789728257; l=6027; i=kieran.bingham@ideasonboard.com; s=20260207; h=from:subject:message-id; bh=t+YL6VuOhlrxKcsaeiaGweU0fG6f+wWBYt5eGPrwB4Q=; b=x+HhsnrB2XSGmkBiSN+/7bYUBzTRfwkxN3EbJ2xh2Ki/SWadBG0cRbZ2KqxNIgi4WTARG+CNg Nhs3Z+pedF5BUesPFBkJHKT9oox+4jeOLhNxtmubU5N+RYaQ7ckIfW0 X-Developer-Key: i=kieran.bingham@ideasonboard.com; a=ed25519; pk=FVXKN7YuwHc6UtbRUeTMAmranfsQomA+vnilfglWdaY= From: Kieran Bingham The orientation property for video interface devices now has definitions to prevent hardcoded integer values for the enum options. Update the users throughout the rockchip device trees to use the new definitions. Reviewed-by: Laurent Pinchart Reviewed-by: Quentin Schulz # PP-1516 and Reviewed-by: David Heidelberg Signed-off-by: Kieran Bingham Reviewed-by: Thierry Reding --- v5: - Fix conflicts in rk3588-rock-5b-plus-radxa-cam4k --- 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 += +- 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/px30-pp1516.dtsi b/arch/arm64/boo= t/dts/rockchip/px30-pp1516.dtsi index 02200de695d3..3ae65dbcfffe 100644 --- a/arch/arm64/boot/dts/rockchip/px30-pp1516.dtsi +++ b/arch/arm64/boot/dts/rockchip/px30-pp1516.dtsi @@ -6,6 +6,7 @@ /dts-v1/; #include #include +#include #include #include "px30.dtsi" =20 @@ -413,7 +414,7 @@ camera@36 { dvdd-supply =3D <&vcc_cam_dvdd>; dovdd-supply =3D <&vcc_cam_dovdd>; lens-focus =3D <&focus>; - orientation =3D <0>; + orientation =3D ; pinctrl-names =3D "default"; pinctrl-0 =3D <&cif_clkout_m0 &cam_pwdn>; reset-gpios =3D <&gpio2 RK_PB0 GPIO_ACTIVE_LOW>; diff --git a/arch/arm64/boot/dts/rockchip/px30-ringneck-haikou-video-demo.d= tso b/arch/arm64/boot/dts/rockchip/px30-ringneck-haikou-video-demo.dtso index d0725595ade0..1813f06bbff5 100644 --- a/arch/arm64/boot/dts/rockchip/px30-ringneck-haikou-video-demo.dtso +++ b/arch/arm64/boot/dts/rockchip/px30-ringneck-haikou-video-demo.dtso @@ -16,6 +16,7 @@ #include #include #include +#include #include =20 &{/} { @@ -185,7 +186,7 @@ camera@36 { dvdd-supply =3D <&cam_dvdd_1v2>; dovdd-supply =3D <&cam_dovdd_1v8>; lens-focus =3D <&focus>; - orientation =3D <0>; + orientation =3D ; pinctrl-names =3D "default"; pinctrl-0 =3D <&cif_clkout_m0>; reset-gpios =3D <&pca9670 6 GPIO_ACTIVE_LOW>; diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts b/arch/a= rm64/boot/dts/rockchip/rk3399-pinephone-pro.dts index d46cdfe3f784..1a36d54ddfa2 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts @@ -13,6 +13,7 @@ #include #include #include +#include #include "rk3399-s.dtsi" =20 / { @@ -455,7 +456,7 @@ wcam: camera@1a { reg =3D <0x1a>; clocks =3D <&cru SCLK_CIF_OUT>; /* MIPI_MCLK0, derived from CIF_CLKO */ lens-focus =3D <&wcam_lens>; - orientation =3D <1>; /* V4L2_CAMERA_ORIENTATION_BACK */ + orientation =3D ; pinctrl-names =3D "default"; pinctrl-0 =3D <&camera_rst_l>; reset-gpios =3D <&gpio1 RK_PA0 GPIO_ACTIVE_LOW>; @@ -487,7 +488,7 @@ ucam: camera@36 { clocks =3D <&cru SCLK_CIF_OUT>; /* MIPI_MCLK1, derived from CIF_CLK0 */ clock-names =3D "xvclk"; dovdd-supply =3D <&vcc1v8_dvp>; - orientation =3D <0>; /* V4L2_CAMERA_ORIENTATION_FRONT */ + orientation =3D ; pinctrl-names =3D "default"; pinctrl-0 =3D <&camera2_rst_l &dvp_pdn0_h>; powerdown-gpios =3D <&gpio2 RK_PB4 GPIO_ACTIVE_LOW>; diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus-radxa-cam4k-c= am0.dtso b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus-radxa-cam4k-cam= 0.dtso index 5c7fb960b099..5420ec3fe2ed 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus-radxa-cam4k-cam0.dtso +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus-radxa-cam4k-cam0.dtso @@ -10,6 +10,7 @@ #include #include #include +#include #include =20 &{/} { @@ -51,7 +52,7 @@ imx415: camera-sensor@1a { avdd-supply =3D <&savdd_cam0>; clocks =3D <&cru CLK_MIPI_CAMARAOUT_M3>; dvdd-supply =3D <&sdvdd_cam0>; - orientation =3D <2>; /* External */ + orientation =3D ; ovdd-supply =3D <&siovdd_cam0>; pinctrl-names =3D "default"; pinctrl-0 =3D <&cam0_rstn &mipim0_camera3_clk>; diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus-radxa-cam4k-c= am1.dtso b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus-radxa-cam4k-cam= 1.dtso index 1ee9036b9095..8ef764aab73a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus-radxa-cam4k-cam1.dtso +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus-radxa-cam4k-cam1.dtso @@ -10,6 +10,7 @@ #include #include #include +#include #include =20 &{/} { @@ -51,7 +52,7 @@ cam1_imx415: camera-sensor@1a { avdd-supply =3D <&savdd_cam1>; clocks =3D <&cru CLK_MIPI_CAMARAOUT_M4>; dvdd-supply =3D <&sdvdd_cam1>; - orientation =3D <2>; /* External */ + orientation =3D ; ovdd-supply =3D <&siovdd_cam1>; pinctrl-names =3D "default"; pinctrl-0 =3D <&cam1_rstn &mipim0_camera4_clk>; --=20 2.52.0 From nobody Fri Sep 25 00:41:22 2026 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1C6CB4C10C9; Fri, 18 Sep 2026 10:44:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789728282; cv=none; b=RRBZb9JcrPEA2HuS41tA27uT51qCg5PkuYnCuqzVXaSS6UMJPzMfUCM0G+quw1qlV6or3fMSx+hhrLj3g4DZZaBUtl3KjuMvzBICsuvoszfGIuUixRr13djMdrWH/ANnbYj0nZtTd2bASswM6GVvNBl3XmCvjMSktTAeVrejzZQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789728282; c=relaxed/simple; bh=LOdjOuiDa5EMlmABS/nhDQm3v5RQfRvKfR3wfM/bt0Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=fScrdemKTRTvTFBsEhLoqvHtT+oEEpFvYsJlcnnESk1HJHH8a1/2D8anTq8DkjOt9MurGvZSERUAjresTISblBfQbqMbI+AL4q5F0o5lCt0H/yXxZuT+gIr17eI4Z1A47ZW4XfhnXLFfx+uNZSh4ax5TpCOawA7aWd6UOxCwgL8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=C+j1tgFb; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="C+j1tgFb" Received: from ping.linuxembedded.co.uk (cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B43264F03; Fri, 18 Sep 2026 12:42:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1789728164; bh=LOdjOuiDa5EMlmABS/nhDQm3v5RQfRvKfR3wfM/bt0Q=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=C+j1tgFbiXlv9Jwu1lodC3tdEbD//oroYu6nu92Lwqbe6epnQYAu2aOYC6ZKxmXgi /u1Fy8Z1BK0Eo1FuGLLMBKfJ0N0t7PQHdEgzLu0XR8WAb09zywuC0P5yFCx95ra/vZ 4X3dF0/oHtpv5C1+GeEN8L6pHaWeDt5xfwYpyu/4= From: Kieran Bingham Date: Fri, 18 Sep 2026 11:44:17 +0100 Subject: [PATCH v6 5/6] ARM: tegra: Convert to new media orientation definitions Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260918-kbingham-orientation-v6-5-5e8b1f01be29@ideasonboard.com> References: <20260918-kbingham-orientation-v6-0-5e8b1f01be29@ideasonboard.com> In-Reply-To: <20260918-kbingham-orientation-v6-0-5e8b1f01be29@ideasonboard.com> To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jacopo Mondi , Sakari Ailus , Jimmy Su , Matthias Fend , Mikhail Rudenko , Daniel Scally , Jacopo Mondi , Michael Riesch , Benjamin Mugnier , Sylvain Petinot , Laurent Pinchart , Paul Elder , Martin Kepplinger , Quentin Schulz , Tommaso Merciai , Svyatoslav Ryhel , Richard Acayan , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Bjorn Andersson , Konrad Dybcio , Geert Uytterhoeven , Magnus Damm , Heiko Stuebner , Thierry Reding , Jonathan Hunter Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux@ew.tq-group.com, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-tegra@vger.kernel.org, Kieran Bingham X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1789728257; l=4149; i=kieran.bingham@ideasonboard.com; s=20260207; h=from:subject:message-id; bh=Wjt5veqgt2cH3AYWBoFwcgxVrdtQEOScHWgKInDvv9w=; b=cjXp//9cyWoQkn+W/rTfgcsA7BFQKIKpPDJ7Jo1vuJ6qPjQ6ve9/V7yGLiKepMcNr8SYMwC+S /Fe/qkfbu+XDVlCcPuxFNt0xAvuPzqzw+kF6X0me4tx8NoGv9M1rf9h X-Developer-Key: i=kieran.bingham@ideasonboard.com; a=ed25519; pk=FVXKN7YuwHc6UtbRUeTMAmranfsQomA+vnilfglWdaY= From: Kieran Bingham The orientation property for video interface devices now has definitions to prevent hardcoded integer values for the enum options. Update the users throughout the nvidia device trees to use the new definitions. Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham Acked-by: Thierry Reding Reviewed-by: Svyatoslav Ryhel Reviewed-by: Thierry Reding --- v2: - Fix MEDIA_ORIENTATION_REAR to MEDIA_ORIENTATION_BACK --- 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 ++- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-grouper-common.dt= si b/arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-grouper-common.dtsi index 892d718294dd..a7fdd194300c 100644 --- a/arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-grouper-common.dtsi +++ b/arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-grouper-common.dtsi @@ -3,6 +3,7 @@ #include #include #include +#include #include #include =20 @@ -991,7 +992,7 @@ front-camera@48 { vdd-supply =3D <&vddio_cam>; vaa-supply =3D <&avdd_cam1>; =20 - orientation =3D <0>; /* Front camera */ + orientation =3D ; =20 assigned-clocks =3D <&tegra_car TEGRA30_CLK_VI_SENSOR>, <&tegra_car TEGRA30_CLK_CSUS>; diff --git a/arch/arm/boot/dts/nvidia/tegra30-asus-transformer-common.dtsi = b/arch/arm/boot/dts/nvidia/tegra30-asus-transformer-common.dtsi index bf1c3a31d406..76286e15684c 100644 --- a/arch/arm/boot/dts/nvidia/tegra30-asus-transformer-common.dtsi +++ b/arch/arm/boot/dts/nvidia/tegra30-asus-transformer-common.dtsi @@ -3,6 +3,7 @@ #include #include #include +#include #include =20 #include "tegra30.dtsi" @@ -1262,7 +1263,7 @@ front-camera@48 { vdd-supply =3D <&vdd_1v8_cam>; vaa-supply =3D <&avdd_2v85_fcam>; =20 - orientation =3D <0>; /* Front camera */ + orientation =3D ; =20 assigned-clocks =3D <&tegra_car TEGRA30_CLK_VI_SENSOR>, <&tegra_car TEGRA30_CLK_CSUS>; diff --git a/arch/arm/boot/dts/nvidia/tegra30-lg-p895.dts b/arch/arm/boot/d= ts/nvidia/tegra30-lg-p895.dts index 896639599c12..28680063bcc0 100644 --- a/arch/arm/boot/dts/nvidia/tegra30-lg-p895.dts +++ b/arch/arm/boot/dts/nvidia/tegra30-lg-p895.dts @@ -1,6 +1,8 @@ // SPDX-License-Identifier: GPL-2.0 /dts-v1/; =20 +#include + #include "tegra30-lg-x3.dtsi" =20 / { @@ -132,7 +134,7 @@ front-camera@48 { vdd-supply =3D <&vt_1v8_front>; vaa-supply =3D <&vt_2v8_front>; =20 - orientation =3D <0>; /* Front camera */ + orientation =3D ; =20 assigned-clocks =3D <&tegra_car TEGRA30_CLK_VI_SENSOR>, <&tegra_car TEGRA30_CLK_CSUS>; diff --git a/arch/arm/boot/dts/nvidia/tegra30-lg-x3.dtsi b/arch/arm/boot/dt= s/nvidia/tegra30-lg-x3.dtsi index 60e8a19aa70e..77cab695d3da 100644 --- a/arch/arm/boot/dts/nvidia/tegra30-lg-x3.dtsi +++ b/arch/arm/boot/dts/nvidia/tegra30-lg-x3.dtsi @@ -4,6 +4,7 @@ #include #include #include +#include #include #include =20 @@ -1216,7 +1217,7 @@ rear-camera@10 { dvdd-supply =3D <&vdd_1v2_rear>; avdd-supply =3D <&vdd_2v7_rear>; =20 - orientation =3D <1>; /* Rear camera */ + orientation =3D ; rotation =3D <90>; =20 nvmem =3D <&m24c08>; --=20 2.52.0 From nobody Fri Sep 25 00:41:22 2026 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E11A44C6EF8; Fri, 18 Sep 2026 10:44:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789728286; cv=none; b=AA9J+A2JFvmWaSHuKuul2r5xoDtr5+TtKSi6j6Fm8pz6fMW6lVXNgsTvgGkan6Q2I2ler1O4XM20gfNKwAwtV/WCpNZEqGejI+/xa4fOhE1oBbx2jt2xbGkqe8Ba3de/Zwhn9OAyZO4+P5TscaN1NmtvdysShkRwfJu5oCKVsq8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789728286; c=relaxed/simple; bh=F6TvpcEVosqVPYmYYk2zyN5vocsuBaY0vDUb/g4fM9Y=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=DKLFaKzJRiH9luj3ZZKVHa6Wlq8Y5Uo1mNFTA4085eoC02L3/dmBK7kvncBfiLzDFffRIr7d0EVZBdKkWiQK3+LslNZ2kPIj8OutdkoqZhQdhxrXudfHAE0C67jNNL/MuY6PHeS+uevA5jY4D+Rgw5OxeaQygPHmn3gpNB7rlfg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=AnhH/oE2; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="AnhH/oE2" Received: from ping.linuxembedded.co.uk (cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 2A7564F07; Fri, 18 Sep 2026 12:42:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1789728165; bh=F6TvpcEVosqVPYmYYk2zyN5vocsuBaY0vDUb/g4fM9Y=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=AnhH/oE2XOJ3Jhxmu7HdEKMMIjTcKMzZsrzIasIBLMSNJCv9a1rw2L1pXeSnEOMTp n6mE/tLr3BZdQ0OVugoqrdxvGd3KB33cpBo8CdMP+6qZAiWZfztFctaBWT/KZeYnWa X/ilA5/ogcWIMR7qu/AKEGD/uwbyfANa4JkzrXlY= From: Kieran Bingham Date: Fri, 18 Sep 2026 11:44:18 +0100 Subject: [PATCH v6 6/6] dt-bindings: media: i2c: himax,hm1246: Use video-interface-devices Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260918-kbingham-orientation-v6-6-5e8b1f01be29@ideasonboard.com> References: <20260918-kbingham-orientation-v6-0-5e8b1f01be29@ideasonboard.com> In-Reply-To: <20260918-kbingham-orientation-v6-0-5e8b1f01be29@ideasonboard.com> To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jacopo Mondi , Sakari Ailus , Jimmy Su , Matthias Fend , Mikhail Rudenko , Daniel Scally , Jacopo Mondi , Michael Riesch , Benjamin Mugnier , Sylvain Petinot , Laurent Pinchart , Paul Elder , Martin Kepplinger , Quentin Schulz , Tommaso Merciai , Svyatoslav Ryhel , Richard Acayan , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Bjorn Andersson , Konrad Dybcio , Geert Uytterhoeven , Magnus Damm , Heiko Stuebner , Thierry Reding , Jonathan Hunter Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux@ew.tq-group.com, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-tegra@vger.kernel.org, Kieran Bingham X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1789728257; l=1278; i=kieran.bingham@ideasonboard.com; s=20260207; h=from:subject:message-id; bh=zj0TRPd2r+l+CPw8KXOYUgmrO4GRMVVMAHrTLWUo4iY=; b=Hr6H/4uJ2Ofm5pjTJhZRU6jZzp9KXp8SsSLerp3e166U5M1d90/cFvvGs5guDRBlHx+joE/ec nf3mQVJ4lxnBPnrBMrnIqA9Yx+RgDsgC3UQc+I8me1Uv3ykqmv5j6Z/ X-Developer-Key: i=kieran.bingham@ideasonboard.com; a=ed25519; pk=FVXKN7YuwHc6UtbRUeTMAmranfsQomA+vnilfglWdaY= From: Kieran Bingham 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 Reviewed-by: Thierry Reding --- 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 #include + #include =20 i2c { #address-cells =3D <1>; @@ -103,7 +104,7 @@ examples: iovdd-supply =3D <&hm1246_iovdd>; dvdd-supply =3D <&hm1246_dvdd>; =20 - orientation =3D <2>; + orientation =3D ; rotation =3D <0>; =20 port { --=20 2.52.0