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 61125C43458 for ; Fri, 26 Jun 2026 13:22:38 +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:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=oQ23aqtvHk/KnAoTWB/JH/fphJ2pYqYtw5YHFybaZsQ=; b=a3/pvbY4U0QzYq+cCl1xSQPQfs dXlbHYrHVWHKaOIGKUcv9dsnMf0TLjrduE2CP97j3GmKl80RDyUSG9dCJFUf2aliqVg6Eily5uNn5 W/Ln5SDBggXFH68fsjhf+M5ihUW7LMjhk5Sr2OneRc6EeF5rhX39G4CAtgN6aZWuXii60+k6FBvcS tdTC00os9UzTXdsT3UPSI77TYSWjpGfJuaPew5EJhFwsF1Qg3c35OHHU2RMhbQRzkaLGjPcUMHaI8 1lgaxp9ja6unJ/FK1mP6Qf8wbPsJZ+kaw/x4vlu15ke3vVb/DqQ0NREwb3ZFZjc6gfVFGI9Q+c+V1 +7TDpULA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wd6Vr-0000000BMvS-4ArY; Fri, 26 Jun 2026 13:22:31 +0000 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wd6Vo-0000000BMsj-13JO for linux-arm-kernel@lists.infradead.org; Fri, 26 Jun 2026 13:22:30 +0000 Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-5ad699b182dso99586e87.0 for ; Fri, 26 Jun 2026 06:22:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1782480146; x=1783084946; darn=lists.infradead.org; h=content-transfer-encoding:content-type:in-reply-to:from:references :cc:to:subject:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to:content-type; bh=oQ23aqtvHk/KnAoTWB/JH/fphJ2pYqYtw5YHFybaZsQ=; b=AsvlPAEGSMX7lSS5jIKel1vfgDTBVRGXVvsCYabBihALBjE82Nr7miQWoJTJU1dKQJ KRIA/Wy4VukTj2cF9FhDWfokgqNb/Y5F0n/TS/XvVYlH2uf6m6NcZOt6BwZ3T0eh9UCx Jlx7yPxlRV/j97BNYv4S9dJxbh9QR0rhA/xIdHgP8uMiGuWe4RyiWVr5lh9UJ3lZHNqn 0ASkCb5mfGWYALhfk6Obli1hfd/lheZ37Rrg4phdplylO8jUddhxIqXUQJxh2RvkvVBW VZvMUzF/CEsV+qFYa9X3dEypPxBjE1519jTv4JMymuRHfAjJJ6JlRRAhvWxCaQvpTNEl nhwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782480146; x=1783084946; h=content-transfer-encoding:content-type:in-reply-to:from:references :cc:to:subject:user-agent:mime-version:date:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=oQ23aqtvHk/KnAoTWB/JH/fphJ2pYqYtw5YHFybaZsQ=; b=Z1gGXz3hQZcZVtf6TIXZh9ufGyzMdb+fR4qiD4VCliUZTkLOhnCunZmJ2lPsKZB+Cc Kzfh+Lg008xuWfnprZRTy4Jy3CM5UZDlJPPNo27fGEl692qLuHbbOpk8zHyS/NVT1vBn N5Zt6jPbYeb3jEHcgNyf6xxm54tHmH5hAjQ79GV2Bcey5tS0pa7k5jXuo+EUX56lha3X Em3j5DsGiPlBX7ZlelBWGqlacSVkLmfFZhTuM3l+aXE+pbIq5Wj2DI7mfHFgwt+el8a7 6g8JD5Oun8EjBpp7SphcmYgf4+Ci59mrXY9d845ZpOCd5Qa3z1w2dsxjZbYyUOBtH892 PYtA== X-Forwarded-Encrypted: i=1; AHgh+RoggnpNedc7Z3sy83NZRDpFlCDPiaedlyPC7G3UIN6jFt864wMo7ZqZv2wLbCRY6xUAXlAB62UBQlstHt1S59z1@lists.infradead.org X-Gm-Message-State: AOJu0YycPn1/sEZ3B3L9/6E5yHeMRl0Vj/pGBFXVWpdhg3nPTaWYSdlo Pqd2CKm2EzIfLNK0VkAF4RLJMOf2Cgvfb3Nn+RGkL/ApYklpDya2IaMDKjCbkwluJa0= X-Gm-Gg: AfdE7cnvqCvVF74gMJDwDegYZVGL339KBOor3jZBL+reUef/kK68i4wQmzXvIYoPrPn 57+3nn4238/7WBgZyiL81+EEeQl2bvBZtBK8um71he3Bveo5WSsp82GOY9mtU0fsjgOX0s3YlKJ 8ANxLTem06UzOG76EjDnUz9RS+y3aFC1p8nqhjb9eEZfI+LY9TYNp/2vDzXNqV7DBpTngbpcA4B aJq86WEQ1QXRp/iqUEk3RqSDs+RB7R73C6m2fQttF4QWXkWVN2A63CcTgncZR7n/mZDSaFKH4Gn LAzpsy20UO057yHaQrF/0iAbKFqRsi/665K9kxLFvkDvFinShkxC47DQoo/Rl5b0G4nfeHyPThR IRi/b+OIxxyMQjtPoBy55bQPXhgSIuSlV5hAebhJw3GD281Ni8oIaLs0pyYA+tYMXQ3/O0oIR/6 ELckZWNO7pUZyY5MQnYxfKzcc1qpiustI9M9rSn8H3heT23XuwWij+7UAsfYcJ24eTDfo= X-Received: by 2002:a05:6512:1252:b0:5ad:4ead:72d7 with SMTP id 2adb3069b0e04-5aea1f630cbmr1249234e87.5.1782480146180; Fri, 26 Jun 2026 06:22:26 -0700 (PDT) Received: from [192.168.1.100] (91-159-24-186.elisa-laajakaista.fi. [91.159.24.186]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5aea5195050sm816328e87.83.2026.06.26.06.22.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 Jun 2026 06:22:25 -0700 (PDT) Message-ID: Date: Fri, 26 Jun 2026 16:22:24 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 6/8] arm64: dts: qcom: Convert to new media orientation definitions To: Kieran Bingham , 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 , Thierry Reding , Jonathan Hunter , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Bjorn Andersson , Konrad Dybcio , Geert Uytterhoeven , Magnus Damm , Heiko Stuebner Cc: 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 References: <20260626-kbingham-orientation-v2-0-47178be927b4@ideasonboard.com> <20260626-kbingham-orientation-v2-6-47178be927b4@ideasonboard.com> From: Vladimir Zapolskiy In-Reply-To: <20260626-kbingham-orientation-v2-6-47178be927b4@ideasonboard.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260626_062228_329414_E330CA95 X-CRM114-Status: GOOD ( 16.22 ) 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 6/26/26 15:07, 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 > --- > 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 { > Reviewed-by: Vladimir Zapolskiy -- Best wishes, Vladimir