From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f51.google.com (mail-qv1-f51.google.com [209.85.219.51]) (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 4658B189906 for ; Thu, 11 Dec 2025 01:48:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765417727; cv=none; b=X4J4825ZoeXKXX7R2NUoDfBf9s/H0bBcmuXMILAJTgB8DhGfBp6V0GzoMdvCZ9rqQQ/U2r5Sh+L8t2zINKQd8fYbjLg6CPPfcjGCQg1EaJ9DBkWjCoHgrMmcdHrxNnF5tYRWxgWVf8B6Owje7rFoazlZTQ1TRg2kJH7D4qh4eog= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765417727; c=relaxed/simple; bh=QdBqqfDNOpAQKzHE1tQ4FXPnpRF6omQ4FeX1zj4ON8Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=U+Nx7xwlMi9bZttxosoy5bQQdraVQ5l180OAbPqmK4jwPCzGNOTvf6S0ARPLX8pXkBw6iXsPHsXNK7p+WiB1R7nJboL/ihKwTcbI3Eiy+AmCH03x+jGV7ZLgsuaGy0ysIeQm/IAlL3nr1G3iUusYnIsfUZ7M1DM9FtcTN/AHh0M= 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=ROEdoZCK; arc=none smtp.client-ip=209.85.219.51 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="ROEdoZCK" Received: by mail-qv1-f51.google.com with SMTP id 6a1803df08f44-882399d60baso4782186d6.0 for ; Wed, 10 Dec 2025 17:48:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765417725; x=1766022525; 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=N9JNq6bdKybb9IZDvi+Tj4qzsFHfQp3SJjSyhV6i1LE=; b=ROEdoZCKcpUcMfoNWlYucBsZstynwC5H//tUeipKwtXSlssdUvP/KPmdTMDDDfEFNR 8kIafsCJOOXbJQJl8WJAnFRPFuF5HGzWAhfQJn6sCgm/y5LzKQDbZ7xgD252DVyohvUN +uL7fK+MZms1oySz4zlHKBLCP9YvBEeKqHTjM0ZlSNnyB9Tn/VTNwWfCIcxzmg4SIyRi YCEgDYeM1hVOIAdREpEWKUr/KT/Tm6LclpzpcVu7eW5xcdjxfjPhmpqRcL1il0wGAaiQ ebjuNEH6kV5VdkRQk47EM/YQwhyRu/nmmcqZNvmIHxi+fXmVUENhFCu2ET7Kr/5Z+C7i 3Opg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765417725; x=1766022525; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=N9JNq6bdKybb9IZDvi+Tj4qzsFHfQp3SJjSyhV6i1LE=; b=lsN+zvTqI/de+YXeRrs1NWxkHn3xBbEsRJcDCo1cEf8RfEH9ifYl3COFJzY6Ts4Hs9 1ycIxIDhuQVuPN8ZuXMy5WhmLEGEvicsvnjK1liDuRYZEsmlB7RJ0ivyt1aSUvp30qxx L2qR+MIGDl7Fb4UrutfCpwurfmvmyDjCQAuKhm13+JBLKMRum7LVk/CuYNRSNJkoDlM1 q8486dwZuOfG3C/+xUiSSs7t5mqCE/kntXLvyJGUeoC4bf4ReKQqc5xQ6AJWi7+JGD8a OaqOhhB/ejwVYYp0ahs4Cc9F2Ak/EvKCdRdo58bmoPz1FJqcwL5/L24sF/NV0oKZoaUs CUrw== X-Forwarded-Encrypted: i=1; AJvYcCW7118iKdye1Laz1cE4I8UWjLzUP7qYM/cpLCl+xEW1HvOOc0YDoy7cS3+A3rXusjV9Aw4oVU0clnnmaSH9@vger.kernel.org X-Gm-Message-State: AOJu0YyoMuuCXjzSwgmJmoWrQrP0oWtEzXVmCe+1xU0PccRdHMLMimI0 W8d7nv2KReHNootI27JYZhHOZetXdizK/bNJah3nQTPaAg2l9pLVO+8Q X-Gm-Gg: AY/fxX4MZDj9ES2n3J4hUWcDk8qQDgLqM8uycDmuE4X+p6e1U1pWABBmj1qrm9aKtv4 8D1H374fkX4Hrom6+Ee8nEyBznNOy08L6gpOqbrfULoXfFN427mc3Hfi8IVNOSbZBF+KRioriug rZ/yZINHi+lB/BYnIPQJpeb+kW5HYW5yjaNthY7h09fp+aQ0eOqGMK2rRqrao2NimshO3e0w7Qq 1rl2lfhb0fh75bN5eAguTVWQPJL4nLoT9iSuiRwLMeVzkAr9c0f5jd52HCuL9GY7JdT9sa9cpBX XTczUt2/iVrK8afP3BC7qUr1IXNXw3AQxQ8YfZaVYIxokdO3Ap7K+qeMpXbAo2XtzXLSmtiWnJy +LgL24oS6o9XtbtoWNsV/wV/c/tIriEhmeTV8Jtaiad24IlwE/SSHcI7BRY/1e3Bu0XottLlfzF AZq+qk4QZ2yjujBg== X-Google-Smtp-Source: AGHT+IHta5f0o4nkTV1MWaD9SlMxgp6rPn3E487tqAL2Uwjh7PWbhQIgGGj1rxIaKt3XO107B3L7Ng== X-Received: by 2002:a05:6214:5091:b0:880:2b54:2b91 with SMTP id 6a1803df08f44-88863ae1ef2mr73086226d6.36.1765417725218; Wed, 10 Dec 2025 17:48:45 -0800 (PST) Received: from localhost ([184.144.58.243]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-8886ec2f32esm11054626d6.11.2025.12.10.17.48.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Dec 2025 17:48:44 -0800 (PST) From: Richard Acayan To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sakari Ailus , Tianshu Qiu , Mauro Carvalho Chehab , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-media@vger.kernel.org Cc: Robert Mader , Vladimir Zapolskiy , Richard Acayan Subject: [PATCH v4 1/5] dt-bindings: media: i2c: Add Sony IMX355 Date: Wed, 10 Dec 2025 20:48:42 -0500 Message-ID: <20251211014846.16602-2-mailingradian@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251211014846.16602-1-mailingradian@gmail.com> References: <20251211014846.16602-1-mailingradian@gmail.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The IMX355 camera sensor is a camera sensor that can be found as the front camera in some smartphones, such as the Pixel 3, Pixel 3 XL, Pixel 3a, and Pixel 3a XL. It already has a driver, but needs support for device tree. Document the IMX355 to support defining it in device tree. Signed-off-by: Richard Acayan --- .../bindings/media/i2c/sony,imx355.yaml | 119 ++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/sony,imx355.yaml diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx355.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx355.yaml new file mode 100644 index 000000000000..9aa2c7b7ea71 --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx355.yaml @@ -0,0 +1,119 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) + +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/i2c/sony,imx355.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sony IMX355 Sensor + +maintainers: + - Richard Acayan + +description: + The IMX355 sensor is a 3280x2464 image sensor, commonly found as the front + camera in smartphones. + +allOf: + - $ref: /schemas/media/video-interface-devices.yaml# + +properties: + compatible: + const: sony,imx355 + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + const: mclk + + avdd-supply: + description: Analog power supply. + + dvdd-supply: + description: Digital power supply. + + dovdd-supply: + description: Interface power supply. + + reset-gpios: + maxItems: 1 + + port: + $ref: /schemas/graph.yaml#/$defs/port-base + additionalProperties: false + + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml + unevaluatedProperties: false + + data-lanes: + items: + - const: 0 + - const: 1 + - const: 2 + - const: 3 + + required: + - link-frequencies + - data-lanes + + required: + - endpoint + +required: + - compatible + - reg + - clocks + - clock-names + - avdd-supply + - dvdd-supply + - dovdd-supply + - port + +unevaluatedProperties: false + +examples: + - | + #include + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + camera@1a { + compatible = "sony,imx355"; + reg = <0x1a>; + + clocks = <&camcc CAM_CC_MCLK2_CLK>; + clock-names = "mclk"; + + assigned-clocks = <&camcc CAM_CC_MCLK2_CLK>; + assigned-clock-rates = <24000000>; + + reset-gpios = <&tlmm 9 GPIO_ACTIVE_HIGH>; + + avdd-supply = <&cam_front_ldo>; + dvdd-supply = <&cam_front_ldo>; + dovdd-supply = <&cam_vio_ldo>; + + pinctrl-names = "default"; + pinctrl-0 = <&cam_front_default>; + + rotation = <270>; + orientation = <0>; + + port { + cam_front_endpoint: endpoint { + data-lanes = <0 1 2 3>; + link-frequencies = /bits/ 64 <360000000>; + remote-endpoint = <&camss_endpoint1>; + }; + }; + }; + }; -- 2.52.0