From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4D8243F6C28 for ; Fri, 26 Jun 2026 13:21:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782480104; cv=none; b=UG2a+nVr2KMKbvkAC7m6vVjXR3rL1TFz2SeKfr+uUVGy001tHeYymGie6UmSofTPOlsSTp0qPgdU0BAVW6B9+1rtJ9TaCfJTgmdfTF0l2B53m5VlDGIV2bu/7ipxD9FwV7Jh7Gjerd3e0F57wCqzIkUCIwnEOVZQn5SFuN13I4A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782480104; c=relaxed/simple; bh=pDPGZpvd3IfjOFyuEjSQA4JA6xmoXsUV/fcdGa6NUG0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=EI65dc6zV0FhRZN8ndPQYdbde34Ef4ve8jLRPtpaXDUzxlqCAJDjeA3ll36yHjQtKKem7DvNEgj/1/uIhjTjDE0TBYuYcTrg7WCceV7fibkSTQCML2iJq0l6s1kfDJRfXRpQpXdY1xesEfF/jfJs0SX3wBR0uhZdiO6CojDuYsg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=B/Qw5rP6; arc=none smtp.client-ip=209.85.208.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="B/Qw5rP6" Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-39ac84e7931so453041fa.2 for ; Fri, 26 Jun 2026 06:21:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1782480099; x=1783084899; darn=vger.kernel.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=QIA0G/jpdUonaNek+iyuSn4PC2pWxZGQ0umU16wcyA4=; b=B/Qw5rP6P9E6vM8O7H5+9+I55m+myjGt97X7hm3aQv+YJIVxJiW/ss5TV+REMIC/u9 XeQIxLgXiPqER7xHieH8EoLAnDQHPl/a53LrSm5vvOB4NyYn++7Wc+3SRyJjCitTeE1k WJg5+Kh4VCWE0pVL6/LuDVQlIWZbS/ggFD4IJK0d4z9RwkGsoCNB+pHbqnPhiJWqNxZy CCVzYzvxZFIJ+oAWwr2I5T3nEch+GqxTu2g552VQtIBSG5qe23Mjcq7nU+7i7lQ6sBm3 gOD30L7a6LJ8kqSxoGZWJCz6HiyLeu8XqG8BNMhy+iKjj40bTcE//+P8w6pFCubmgCq2 P0Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782480099; x=1783084899; 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=QIA0G/jpdUonaNek+iyuSn4PC2pWxZGQ0umU16wcyA4=; b=fc9Ly/QGAJ0huxrCBGWRtRkjbAEbWAFszfz112rtP95h1Wgm91ANgxw3IdIHYito5V FPgmsTBKNDvTGtK10ST29GNGqBAV3CwOdde5hYVOkijpc4v6CxKr3x6OaCyAkVgTShGe j/dbYzciCqXyzNnwYZxMkYSedZFMT+VryAjRp+v7/Fnll4NEmKoG5AOtYn0RSlSUNETs wUJ5lE2pgg1E0a1i3aH9tDKNKyH4Y5B6tN7EFudm3YyVu5+LOrOoZBUvFO3k6SAKJXQV S0wpN0UpsWWwhSpMKWkcAy/IhmUL/Eu2xuHNgGIXJRzw3sVeDpAVoiKDe+Q/dpk73wmI TPww== X-Gm-Message-State: AOJu0YzSGR4YZo8ZkxwhL/nw8IIjzf4A6mTyv9UWbv2LgZ61LoO1sZFQ 6TnJJsuOmB/STMFOl8xrY1piAJ3ArRQzDG2D5QMYzksELC8jFoAQ9fbwd6WBJf/kug0= X-Gm-Gg: AfdE7ck/Pxu53FP3OvRTihVrx10mXMAmYlbGlQ/1ZBzOcncBlGYDJlQ+dZaiftjdGNn xqHlJAEn7v6GJCpxKPfqQaCkJSXi+gkDYkboK0sLAIIjlfzR/490rAfjfzXRpCr34xhku6nHFHP h1WLO+587n3DAyGEhLY0fzchMCQIXo6ju25FGQD/EO/IWqJGqoXwYexpOzpXoh6ML6JhEEKpUFa HDYY6E82eMKrPw/98p5RkINwZpugx0vobRc4wVoOiSbWtEVUJg4rlSxhHriqUVYYlvqSs0wFxvt c/wrOOjStUBh7zwpazpCYLTKFakZO5aDnvofA8EQxhYRB3nAhsgsqA0ddIhM5yRf+WUuO+IQ0se czg4GGYoc9Q96PxGtkN8cU9NKcOkrxOI07Sqhy2A8qMWcDudoFostkLoSDqvi9S63gmW1h5Tg/L JnPNJ8q3Lg2dAXPpebMgCI+Ue19LoWb8tnsHUTO/fOuI4Q51ruYGOcMV9FHEiinq4Tfk/6XdFyw MdYnw== X-Received: by 2002:a05:651c:1511:b0:39a:c9d5:3c65 with SMTP id 38308e7fff4ca-39acb97be3emr7979051fa.8.1782480099479; Fri, 26 Jun 2026 06:21:39 -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 38308e7fff4ca-39ae2613f76sm460481fa.30.2026.06.26.06.21.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 Jun 2026 06:21:38 -0700 (PDT) Message-ID: <2f238823-d340-4cad-b6f0-24ff86ff969b@linaro.org> Date: Fri, 26 Jun 2026 16:21:37 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/8] media: dt-bindings: video-interface-devices: add video-interface-devices.h references 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-2-47178be927b4@ideasonboard.com> From: Vladimir Zapolskiy In-Reply-To: <20260626-kbingham-orientation-v2-2-47178be927b4@ideasonboard.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 6/26/26 15:07, Kieran Bingham wrote: > Expand the documentation of the video-interface-devices orientation to > reference the include/dt-bindings/media/video-interface-devices.h header > which provides human readable defines for the orientation enum, to help > avoid hardcoding values in dts. > > Signed-off-by: Kieran Bingham > --- > .../bindings/media/video-interface-devices.yaml | 17 +++++++++++------ > 1 file changed, 11 insertions(+), 6 deletions(-) > > diff --git a/Documentation/devicetree/bindings/media/video-interface-devices.yaml b/Documentation/devicetree/bindings/media/video-interface-devices.yaml > index a81d2a155fe6..c9c3f4f16719 100644 > --- a/Documentation/devicetree/bindings/media/video-interface-devices.yaml > +++ b/Documentation/devicetree/bindings/media/video-interface-devices.yaml > @@ -392,17 +392,22 @@ properties: > The orientation of a device (typically an image sensor or a flash LED) > describing its mounting position relative to the usage orientation of the > system where the device is installed on. > + See include/dt-bindings/media/video-interface-devices.h. > + > $ref: /schemas/types.yaml#/definitions/uint32 > enum: > - # Front. The device is mounted on the front facing side of the system. For > - # mobile devices such as smartphones, tablets and laptops the front side > - # is the user facing side. > + # MEDIA_ORIENTATION_FRONT > + # The device is mounted on the front facing side of the system. For > + # mobile devices such as smartphones, tablets and laptops the front > + # side is the user facing side. > - 0 > - # Back. The device is mounted on the back side of the system, which is > + # MEDIA_ORIENTATION_BACK > + # The device is mounted on the back side of the system, which is > # defined as the opposite side of the front facing one. > - 1 > - # External. The device is not attached directly to the system but is > - # attached in a way that allows it to move freely. > + # MEDIA_ORIENTATION_EXTERNAL > + # The device is not attached directly to the system but is attached in > + # a way that allows it to move freely. > - 2 > > additionalProperties: true > Reviewed-by: Vladimir Zapolskiy -- Best wishes, Vladimir