From: Danila Tikhonov <danila@mainlining.org>
To: Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Kate Hsuan <hpa@redhat.com>,
Sakari Ailus <sakari.ailus@linux.intel.com>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Eugene Lepshy <fekz115@gmail.com>,
Vasiliy Doylov <neko@altlinux.org>,
Achill Gilgenast <achill@achill.org>,
Luca Weiss <luca.weiss@fairphone.com>
Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
~postmarketos/upstreaming@lists.sr.ht,
Danila Tikhonov <danila@mainlining.org>
Subject: [PATCH 1/4] dt-bindings: media: i2c: Add Sony IMX471 CMOS Image Sensor
Date: Wed, 05 Aug 2026 22:54:24 +0300 [thread overview]
Message-ID: <20260805-imx471-v1-1-7be79f539ed8@mainlining.org> (raw)
In-Reply-To: <20260805-imx471-v1-0-7be79f539ed8@mainlining.org>
Document the Sony IMX471 CMOS Image Sensor.
Signed-off-by: Danila Tikhonov <danila@mainlining.org>
---
.../devicetree/bindings/media/i2c/sony,imx471.yaml | 123 +++++++++++++++++++++
1 file changed, 123 insertions(+)
diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx471.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx471.yaml
new file mode 100644
index 000000000000..9c6c7c55746f
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/i2c/sony,imx471.yaml
@@ -0,0 +1,123 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/media/i2c/sony,imx471.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Sony IMX471 CMOS Image Sensor
+
+maintainers:
+ - Danila Tikhonov <danila@mainlining.org>
+
+description: |-
+ The Sony IMX471 is a diagonal 5.822 mm (Type 1/3.09) 16-megapixel
+ back-illuminated stacked CMOS active pixel image sensor with a 4656 x 3496
+ active pixel array and 1.0 um square pixels. It uses a Quad Bayer color filter
+ array, is programmable through an I2C interface, and outputs image data
+ through MIPI CSI-2.
+
+allOf:
+ - $ref: /schemas/media/video-interface-devices.yaml#
+
+properties:
+ compatible:
+ const: sony,imx471
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ description: External input clock (19.2 MHz)
+ maxItems: 1
+
+ vana-supply:
+ description: Analog power supply (2.8 V)
+
+ vdig-supply:
+ description: Digital core power supply (1.05 V)
+
+ vif-supply:
+ description: I/O interface power supply (1.8 V)
+
+ reset-gpios:
+ description: Sensor reset (XCLR) GPIO
+ maxItems: 1
+
+ port:
+ $ref: /schemas/graph.yaml#/$defs/port-base
+ unevaluatedProperties: false
+
+ properties:
+ endpoint:
+ $ref: /schemas/media/video-interfaces.yaml#
+ unevaluatedProperties: false
+
+ properties:
+ data-lanes:
+ items:
+ - const: 1
+ - const: 2
+ - const: 3
+ - const: 4
+
+ link-frequencies:
+ maxItems: 1
+ items:
+ const: 200000000
+
+ required:
+ - data-lanes
+ - link-frequencies
+
+ required:
+ - endpoint
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - vana-supply
+ - vdig-supply
+ - vif-supply
+ - port
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/clock/qcom,camcc-sc7280.h>
+ #include <dt-bindings/gpio/gpio.h>
+
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ camf_imx471: camera@1a {
+ compatible = "sony,imx471";
+ reg = <0x1a>;
+
+ vana-supply = <&vreg_camf_vana_2p8>;
+ vdig-supply = <&vreg_camf_vdig_1p1>;
+ vif-supply = <&vreg_cam_vio_1p8>;
+
+ clocks = <&camcc CAM_CC_MCLK0_CLK>;
+ assigned-clocks = <&camcc CAM_CC_MCLK0_CLK>;
+ assigned-clock-rates = <19200000>;
+
+ reset-gpios = <&tlmm 20 GPIO_ACTIVE_LOW>;
+ pinctrl-0 = <&cam_mclk0_default>;
+ pinctrl-names = "default";
+
+ orientation = <0>;
+ rotation = <270>;
+
+ port {
+ camera_imx471_ep: endpoint {
+ data-lanes = <1 2 3 4>;
+ link-frequencies = /bits/ 64 <200000000>;
+ remote-endpoint = <&csiphy0_ep>;
+ };
+ };
+ };
+ };
+...
--
2.55.0
next prev parent reply other threads:[~2026-08-05 19:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-05 19:54 [PATCH 0/4] Add front-facing camera support for Nothing Phone (1) Danila Tikhonov
2026-08-05 19:54 ` Danila Tikhonov [this message]
2026-08-06 10:33 ` [PATCH 1/4] dt-bindings: media: i2c: Add Sony IMX471 CMOS Image Sensor Sakari Ailus
2026-08-05 19:54 ` [PATCH 2/4] drivers: media: i2c: imx471: Add vdig and vif power supplies Danila Tikhonov
2026-08-05 19:54 ` [PATCH 3/4] drivers: media: i2c: imx471: Add Device Tree matching support Danila Tikhonov
2026-08-05 20:37 ` sashiko-bot
2026-08-05 19:54 ` [PATCH 4/4] arm64: dts: qcom: sm7325-nothing-spacewar: Add front camera support Danila Tikhonov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260805-imx471-v1-1-7be79f539ed8@mainlining.org \
--to=danila@mainlining.org \
--cc=achill@achill.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=fekz115@gmail.com \
--cc=hpa@redhat.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=luca.weiss@fairphone.com \
--cc=mchehab@kernel.org \
--cc=neko@altlinux.org \
--cc=robh@kernel.org \
--cc=sakari.ailus@linux.intel.com \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox