From nobody Wed Dec 17 12:18:34 2025 Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (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 6F2652836B1 for ; Mon, 3 Nov 2025 14:56:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762181815; cv=none; b=EMY1l0k4nNlpuL7pBz9uizM784uhr9wOqgAH6xDT6Sd7hUnqDJhajl66eC0BEGcO98vAwm9GPY0dBBeUpanZTkGUsbU8LsMO8eDo1+JggNlCNf+78qd+FFM3a22Y/n5AzaDz7DAoWXCwLfYTpaemBxKbs2IyEOTFK6BJSG4HIpE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762181815; c=relaxed/simple; bh=Cwc487Q7TuN+iZw77LSuYBkO6zlPKMprgNtjBsX8sk4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=QmBgHZI96swCYcLKUUppFvIUjuT+CP4cU7bDMY1oDZZF+VyAPgpI3h67LlogQ5hQLiOGKOUK9pfbf8XOx4+JzTW33Turlt5uNGRaGcxa7fG/xkBhcShihaNogQVHW9jWKtzQIrTViNWbat+63TTEWgcqMCKPvlinSytFSGcscP4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=BPr2eF4T; arc=none smtp.client-ip=209.85.208.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BPr2eF4T" Received: by mail-lj1-f175.google.com with SMTP id 38308e7fff4ca-378d710caedso40696561fa.3 for ; Mon, 03 Nov 2025 06:56:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1762181810; x=1762786610; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=uRJylgA5tDh6J0HyV09+y5kblN0Saxh3CxXH4UQ+jfc=; b=BPr2eF4TjcjIxpq41SCmA4OJzGueFBpbSRuueOmCVKZc31GYxWEw4hxxrqd81aHkn8 JLpQAqrvzNuR5xt9FYRxCplPZMbzNnIArons6dSp9EreobQr9XNzn38fTE8WBh+83fyM xYuZresJJ8EYu7q2rWorFazzWfxdcjUai9eg4ppxl++87UNb5EuZR5vRiXe/Dq8BDgP+ QnVfWRpyMjrRXN+2Q4viUGC4SzEoz8lwlRhbr3mVb+kif3plTGnUcZvZC4DF/m/mVm/t SpN/4UvFsWEaYiMlpSejUwKdIcGgF0EwOHA/I4JvD1Rva5iPYOagfpOt97iGgxN0pVie kIqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762181810; x=1762786610; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uRJylgA5tDh6J0HyV09+y5kblN0Saxh3CxXH4UQ+jfc=; b=CyhQipnsoyTtCAWTSFuSi52HCZjbItlWYYUZgIbXRUrDMgyGhKgoPj52HRKxQA6OiS 6rppO9czeHIRi6TdNtGZ4rFVo3vYG37ycnF+G8HspffNhNcgWvBLu9GP2ZshhpVfbQrs hkciDyY9Y/dD01obOIzdNAJ6XjmiQObRNd3iTGSI877NzV6Miaf6K4tVrCeeq02Qis4J vLZav7K+23yYABAd8WaziyklfX7Iok1eOG/iEgP7ux3OhrVZ19rdmkB2dGbpvyC4J/eV VPS4oMkRGgFZVSDeQ3CrfSYRKQ5EXq1esPvn/JonJx/d324GSVRaHPvsOAf+vZ556lhl DfJQ== X-Forwarded-Encrypted: i=1; AJvYcCWNhE9iHPk2Q4lKN6TDkisZHuEMFxvBH0TsAykHsdywfltSXnGDoiPolubj1fPXGmzsswor8zXj3SSk/xE=@vger.kernel.org X-Gm-Message-State: AOJu0YwQ44+loFtFMHaMy+ltYKRxUQpu+E4j3Tjn9bVius5tqmjOhQpM fNjhoJjDt+3k5cC/5khWREsx463BZj9UV0XADAD+qFSYapNlMqeKAEuT X-Gm-Gg: ASbGnct0toQfxjhPeH1cR7gayRNXYhXnkhr26qnv/5TPW+xdFXsk//ukO914TW4/ai4 C9StOnkcUw6RCjVv2BWnBE0kljZJEqsFyZ7WThQ2q5U7cIk2pVkU3Qh/LxEhqCoKmQGR2xMbysG MydQWXNkBSIs0oAZtYIynuKF5LCMmYLHpLkA5wPnTGqbAaR6m4Xk41awLq4o6Ac3i7sdDhfWvl2 b+/eTryM/IBUkYWMbV7t7RKBEYF5Tx7XbfIO54DcjhC4vkCeg22dKYuvrvG5SQeDe5W5zifAM+W 2L1+vgBtsUZsmkKPxZq7oFDZnk5fd+VzhRQaDYH2UyrCjy24CZTZ3EdieUOlUkovJ+src5yx/zU GS0NGNZN82Qe9umlvG79WfHzz7CWeud+IbrCw0/HGiPuN2FyXTzP1jDAT3AmbEuYos3jc+mcFce LO X-Google-Smtp-Source: AGHT+IGJeEBnjP4R5psIFnDlYx1WzqziKeHDlwCz84CqG5SR2VgxHltzzwJIDJwksgTuiJMuglMA9Q== X-Received: by 2002:a2e:b8c1:0:b0:37a:2c11:2c7b with SMTP id 38308e7fff4ca-37a2c11330dmr21136541fa.18.1762181810210; Mon, 03 Nov 2025 06:56:50 -0800 (PST) Received: from xeon ([188.163.112.61]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-37a414d58b3sm937061fa.18.2025.11.03.06.56.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Nov 2025 06:56:49 -0800 (PST) From: Svyatoslav Ryhel To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sakari Ailus , Svyatoslav Ryhel , Hans Verkuil , Hans de Goede , =?UTF-8?q?Andr=C3=A9=20Apitzsch?= , Sylvain Petinot , Benjamin Mugnier , Dongcheng Yan , Heimir Thor Sverrisson , Tarang Raval Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 1/2] dt-bindings: media: i2c: document Sony IMX111 CMOS sensor Date: Mon, 3 Nov 2025 16:56:28 +0200 Message-ID: <20251103145629.21588-2-clamor95@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251103145629.21588-1-clamor95@gmail.com> References: <20251103145629.21588-1-clamor95@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add bindings for Sony IMX111 CMOS Digital Image Sensor found in LG Optimus 4X (P880) and Optimus Vu (P895) smartphones. Signed-off-by: Svyatoslav Ryhel Reviewed-by: Conor Dooley --- .../bindings/media/i2c/sony,imx111.yaml | 105 ++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/sony,imx111= .yaml diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx111.yaml b= /Documentation/devicetree/bindings/media/i2c/sony,imx111.yaml new file mode 100644 index 000000000000..20f48d5e9b2d --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx111.yaml @@ -0,0 +1,105 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/i2c/sony,imx111.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sony IMX111 8MP CMOS Digital Image Sensor + +maintainers: + - Svyatoslav Ryhel + +description: + IMX111 sensor is a Sony CMOS active pixel digital image sensor with an a= ctive + array size of 2464H x 3280V. It is programmable through I2C interface. I= mage + data is sent through MIPI CSI-2, through 1 or 2 lanes. + +allOf: + - $ref: /schemas/media/video-interface-devices.yaml# + - $ref: /schemas/nvmem/nvmem-consumer.yaml# + +properties: + compatible: + const: sony,imx111 + + reg: + maxItems: 1 + + clocks: + description: EXTCLK with possible frequency from 6 to 54 MHz + maxItems: 1 + + reset-gpios: + maxItems: 1 + + iovdd-supply: + description: Digital IO power supply (1.8V) + + dvdd-supply: + description: Digital power supply (1.2V) + + avdd-supply: + description: Analog power supply (2.7V) + + port: + additionalProperties: false + $ref: /schemas/graph.yaml#/$defs/port-base + + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + unevaluatedProperties: false + + required: + - data-lanes + - link-frequencies + + required: + - endpoint + +required: + - compatible + - reg + - clocks + - port + +unevaluatedProperties: false + +examples: + - | + #include + #include + + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + camera@10 { + compatible =3D "sony,imx111"; + reg =3D <0x10>; + + clocks =3D <&imx111_clk>; + + iovdd-supply =3D <&camera_vddio_1v8>; + dvdd-supply =3D <&camera_vddd_1v2>; + avdd-supply =3D <&camera_vdda_2v7>; + + orientation =3D <1>; + rotation =3D <90>; + + nvmem =3D <&eeprom>; + flash-leds =3D <&led>; + lens-focus =3D <&vcm>; + + reset-gpios =3D <&gpio 84 GPIO_ACTIVE_LOW>; + + port { + imx111_output: endpoint { + data-lanes =3D <1 2>; + link-frequencies =3D /bits/ 64 <542400000>; + remote-endpoint =3D <&csi_input>; + }; + }; + }; + }; +... --=20 2.51.0