From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) (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 137EC24DCF9 for ; Wed, 7 Jan 2026 04:30:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767760229; cv=none; b=Pu5et/BK66G4eSiCOMvnJJF59xbC8oR8nJh+3HcwJUCj0yIUp+ZvLXtRQV6TmowWtzyCl7aJqzzub0ysCVf6JCe4Hj3Osv3X8LeoXVdvi7cwbvXbWZXCuo3LDkfQtEhUlU5hi+uL9DVI9rd6NdwNrD4omFPb9DYRKCqlY0uq2Yk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767760229; c=relaxed/simple; bh=2mAOAFc/agjI54Nr7+sfnOZzAwJp3gIykYm59KR+z7k=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=oDHK7AUajBFzoGjhEr4BngFXx7DfBRc2335xFfXKqxeZxuXE7wtdpgDegmOxagiWIaKY2Q9d/gH+Lk5AIbeh8OhXu852cCxbmqwPOiQInvGNDgtCDBp2piGfHwKsjg+ivCvlfF7la/vDrIhcyFon/lRTzS+T9B0xDeqHxCNmlWY= 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=Oe6x5Cyp; arc=none smtp.client-ip=209.85.222.182 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="Oe6x5Cyp" Received: by mail-qk1-f182.google.com with SMTP id af79cd13be357-8b220ddc189so213890485a.0 for ; Tue, 06 Jan 2026 20:30:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1767760227; x=1768365027; 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=fiyoDmK3zuMseKoGDWF5UAGrYB5nGzeQ8RVPJ0LAKdg=; b=Oe6x5CypS5rislHeRkKnLmPD0UiVL6J7idHaI+WDs31xWKh/lr0y1sl0gju/gxoRVi 3K+x5nVXBs7CP6LndF0POB51Nh4Zlt6EW6+2VGtvJlZuS2eLI1mtIkoStMs3FBVIu4IB kyNVaXIQDSSwm9tg0R6a7XZSy+iemSqd2qNvPHxskGAfpc2HcHn1Wv/5AmDhBgoniPtR pipdaGIWebQ+kn4jSFr7mMkLe+5rRiFny/swPernsRvTjfPb2yvHJe36Ii83fdOiLAr1 TIKi3SQ3DAJjbX1Voxu73wFXFUvlj3PK4ykXZg71ee0gQ8c6B6eq9R3pBCe+Cl93vOaI 7Glg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767760227; x=1768365027; 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=fiyoDmK3zuMseKoGDWF5UAGrYB5nGzeQ8RVPJ0LAKdg=; b=OEFFFVpd0GRrn+wsyuxPQFDam1si/PL5F1DPPyWAZVuaMptNCck+i0YHIyVm5R/Zp7 YNplJk0zTp2ScDaY3+xjU6fm0DuxaztpScqOW7LxZC5KG6GFYv/um0th/tjmuuJSPgLw 0Iwoqvkf4/VkLXAjZVxADf4e8IFwcDVZVXQDRAU2+v8WXKfuSfBgcxKXmcgNEWLxNoPw 0a++13SSx1ApJ9exqMi8cDKkB3OqBI7woEiMLbGxhhzIuq+oE6rAiemNZEeWWvWb6Vie CFDAiBd6l0k98dP4QdVht385/frsTGfLN5tLjeWASjopRqts1HJpafHowHBpJj+kGBAH HNaA== X-Forwarded-Encrypted: i=1; AJvYcCVayKnf+S0kFam0xVjhY11B3Obn0jAdNfKUVXNTezedcGSpI8Xo+LviAPmH5Tequ4Zl8xGpGO0f4WN+ARlM@vger.kernel.org X-Gm-Message-State: AOJu0YyvSDX79q4FgZMImEOuDTURi8zN8h9bytiVsikRjsDc5jiXSboO SlG/ldtr5eLoU+eW43kwoLD6bKsm99XnMmF+DXS9f2/G3aKScXOojX0p X-Gm-Gg: AY/fxX6le9yeO1sh/BULkz7Wk8SvjWWo8q8p6B4ZnzIVtmov0dmaZMRrlhuALxlQ8gb sUCkYXlMmOMImDkgYtojuuiNjwdV4KVIVoQyqdzETGoYJB0jMNYDUsCSGUD57Z5wi0RJBaHRMMB WsPcD1yuAmTrkieO1jbVKlG1IppfGqzsmCiYyG4sG+th5KDr3lNrtWTJr0+RG7pWAH/1L/gYIgt UQLbbc+SMeyB7DBsUh7UCg7nfAmnI2qRR67ZTUJ328kFJ9Lwg7SH7upP8gZuPymKhmDvabMCQ4d xmFH0UCxfUdrlG4ICYSt/0B5/Ct8o28seL5VenVXiSNbNmWvFVjh2ZR23z/uwmqW+7/Bc9XwHzh OIzV/BfS23ewAdc6jiuiSL+W768CM0SCYjldpWf+gLhewgdEbMTTKuAuenapSpidMzrTHD8RCen O35Rj+twOEX29mmQiCbCvQkb+LzndTviEQMCHdbuJkjT8zhcVyiuBPlVhJu45LPiDHYzGldPOy6 iQ= X-Google-Smtp-Source: AGHT+IHWMHIfFGCqFRydG39OHjSg67TX+mHLBysALb8NVfLYBS1bljpRTSn7qx48KsV/yjCdVs+q2w== X-Received: by 2002:a05:620a:298c:b0:8b2:e986:2704 with SMTP id af79cd13be357-8c389369d72mr167201785a.6.1767760226868; Tue, 06 Jan 2026 20:30:26 -0800 (PST) Received: from localhost (bras-base-toroon21-grc-75-184-144-58-243.dsl.bell.ca. [184.144.58.243]) by smtp.gmail.com with ESMTPSA id af79cd13be357-8c37f4a794bsm308762285a.9.2026.01.06.20.30.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jan 2026 20:30:26 -0800 (PST) From: Richard Acayan To: Mauro Carvalho Chehab , Rob Herring , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Sakari Ailus , Tianshu Qiu , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Krzysztof Kozlowski , Robert Mader , Bryan O'Donoghue , Vladimir Zapolskiy , David Heidelberg , phone-devel@vger.kernel.org, Richard Acayan Subject: [PATCH v6 1/5] dt-bindings: media: i2c: Add Sony IMX355 Date: Tue, 6 Jan 2026 23:30:40 -0500 Message-ID: <20260107043044.92485-2-mailingradian@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260107043044.92485-1-mailingradian@gmail.com> References: <20260107043044.92485-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 | 115 ++++++++++++++++++ 1 file changed, 115 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..33d253ca0e4f --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx355.yaml @@ -0,0 +1,115 @@ +# 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 + + avdd-supply: + description: Analog power supply. + + dvdd-supply: + description: Digital power supply. + + dovdd-supply: + description: Interface power supply. + + reset-gpios: + description: Reset GPIO (active low). + maxItems: 1 + + port: + $ref: /schemas/graph.yaml#/$defs/port-base + additionalProperties: false + + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml + unevaluatedProperties: false + + properties: + data-lanes: + items: + - const: 1 + - const: 2 + - const: 3 + - const: 4 + + required: + - link-frequencies + + required: + - endpoint + +required: + - compatible + - reg + - clocks + - 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>; + + assigned-clocks = <&camcc CAM_CC_MCLK2_CLK>; + assigned-clock-rates = <24000000>; + + reset-gpios = <&tlmm 9 GPIO_ACTIVE_LOW>; + + 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 = <1 2 3 4>; + link-frequencies = /bits/ 64 <360000000>; + remote-endpoint = <&camss_endpoint1>; + }; + }; + }; + }; -- 2.52.0