From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 21894C43458 for ; Fri, 26 Jun 2026 14:34:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=81HuifvOgsIYNzvQ7y5mCWNCn6BVHrcsGzoGRKZY/2Q=; b=MqbHxIg4wIWy9+kzyfI8FoPxB0 vmQ7YRlnNQxvy1cX7sEDwG0tykAtkig7cAqTNAnrhUwgvOaVdNkY5Fu4fM06BUbet5IYCrmGj5hjD hc0LiQRxRkXvwA3/Q+aIqrMmIARL/f9sjOjPluzdDKOm6uooMsjt61+cEGV53qgQMBe7xKmChRcXW KwCivlZNdfee4TkTPG+b9t17WiU0UyvmzhF1bW7rmKiRsWgsin4MYkZ7PvuMfQf4ZEr3bo9ylfex5 vhSkbQz3cwWjlKtzmm6g4OT7DezXyuadVHaADrayVG9FAeVLpkKpQACkeLWkzbGWxPX0+Wpw/FTck 6VwdTa4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wd7dY-0000000BSzg-3FIp; Fri, 26 Jun 2026 14:34:32 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wd7dW-0000000BSz4-1plV; Fri, 26 Jun 2026 14:34:31 +0000 Received: from killaraus.ideasonboard.com (2001-14ba-70f3-e800--a06.rev.dnainternet.fi [IPv6:2001:14ba:70f3:e800::a06]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id C52FD174; Fri, 26 Jun 2026 16:33:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1782484428; bh=1erlWfCNAY3Eh/umXADQj3nVHo6sEd94vScjsNXkfEE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fTOnTUZPwnSs1Wc8xqpZFNR5jGRb1RLBI0B1rTdYqGAX44a4xN7BNUBPn6NERfLDq kdGvd/8BWddWBLVeqSnANJ3fSIVZc5gIOLGtZUpGh71Z24tDZp3+fqZJ5EWcbjNntf ku8swds9stBdOsnrn3ugxEGAXWg7WBIrfbDCGvt0= Date: Fri, 26 Jun 2026 17:34:27 +0300 From: Laurent Pinchart To: Kieran Bingham Cc: 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 , Paul Elder , Martin Kepplinger , Quentin Schulz , Tommaso Merciai , Svyatoslav Ryhel , Richard Acayan , Thierry Reding , Jonathan Hunter , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Bjorn Andersson , Konrad Dybcio , Geert Uytterhoeven , Magnus Damm , Heiko Stuebner , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-tegra@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 Subject: Re: [PATCH v2 6/8] arm64: dts: qcom: Convert to new media orientation definitions Message-ID: <20260626143427.GH2363897@killaraus.ideasonboard.com> References: <20260626-kbingham-orientation-v2-0-47178be927b4@ideasonboard.com> <20260626-kbingham-orientation-v2-6-47178be927b4@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20260626-kbingham-orientation-v2-6-47178be927b4@ideasonboard.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260626_073430_628658_B0B4B28D X-CRM114-Status: GOOD ( 15.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Jun 26, 2026 at 01:07:58PM +0100, Kieran Bingham wrote: > 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. > > Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart > --- > 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/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts > index 04cb9230d29f..d79be22108c8 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 = <&cam_mclk3_default>; > pinctrl-names = "default"; > > - orientation = <0>; /* Front facing */ > + orientation = ; > rotation = <270>; > > port { > diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts > index abd9c5a67b9f..543fc691fd3c 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 > > #include "sc8280xp.dtsi" > @@ -682,7 +683,7 @@ camera@10 { > > clocks = <&camcc CAMCC_MCLK3_CLK>; > > - orientation = <0>; /* Front facing */ > + orientation = ; > > avdd-supply = <&vreg_l6q>; > dvdd-supply = <&vreg_l2q>; > diff --git a/arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi b/arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi > index 0f57b915186b..375b3c0edea7 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 = "default"; > > rotation = <270>; > - orientation = <0>; > + orientation = ; > > port { > cam_front_endpoint: endpoint { -- Regards, Laurent Pinchart