From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172]) (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 04DFD31280C for ; Sat, 17 Jan 2026 04:06:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768622804; cv=none; b=QqMpCifLN+keb8PHHzaF8YvvHsgkCJ/wV8OvxgAwEr6q0hTadvohg2YLlcjtKHQSC7tZfyCq9Rh9vq7CtMHLi/GjD5F6q8mmd15wR/A/efRf1C2vO+v/VUJg5qLq4KsMlsP1eGZbYIj9PY0R2hZAtPPceNxUvLbmNDAw1ZKtVnw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768622804; c=relaxed/simple; bh=q6Zcg5OxkKLFI3E5a9irtIExZJ+tzYy2eTeqFd6joyk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=pZCYvZdDaBRWAEGduEcZ74nmjAtLim/twayw06Rus32aRLfdz43YNfDhZCmtXiWTm2JNT22YEVYNOb+u573DzSkgY+RevtRlW1DNcy132jkY2klUgEGX7b3X79fSFktz/fKhCiu+hcxo7scXKrs8CXXOaHLAWx0hpcTUUaJ7Jhc= 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=cFpKNqc5; arc=none smtp.client-ip=209.85.222.172 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="cFpKNqc5" Received: by mail-qk1-f172.google.com with SMTP id af79cd13be357-8c530866cf0so267688485a.1 for ; Fri, 16 Jan 2026 20:06:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768622801; x=1769227601; 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=Nsoz6EWM7qD9/4dVYsGLR4Pmvjatyh5Pk5C2o5rnB9c=; b=cFpKNqc5oBsRmw0vkllHTs1mHoWxXD5XF4BGivccm//Ej2uHfkFgU0uFCKDNAMvOEC a7Gs2D4tbhU4eZa+kMaVPHb4VH2LDIURrqZCGIRip3t7UVtuaYz103ApufEHqalo0KtS P8yWFKayyT/jjhIEtaoj3X0j6NcLUYOW4kXuAs07CrdGqZyu5dmqzGMhW6BcQEH6Wb6h oGeZLY/LjtUxRMNC89h0EJnapBXGxLJU/JvUA5rEVwNyc3d6njMy2kxgEFnigezu4bkr BSyFfLzYpkZJmABdYXurxF9WmwAod2FyAGuxfka4s+Q1lF0uVONxFIwNj2JwPUTaPQtK 26yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768622801; x=1769227601; 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=Nsoz6EWM7qD9/4dVYsGLR4Pmvjatyh5Pk5C2o5rnB9c=; b=qk8XfBg09YbwqGOKr0GkfQ2nB3GuuqBHvkYhAOrWazV/OW9jWf4kqJFh7Oj5Eyq4tq x4CC27v/lt7FzM7vfr3AXhDzLcxEnvf084pgHx6YUNbwGzlhOLYPrgD84/APSaFoUYPE vlENkN1IqhP40UJvbVuIb4xyWya+15li7+6fCoxDk79P9Xgmdkj4JVReFHEJB/KRViKS uvADyep3D0aSgVOJI4pdlH1FwqqFgZKNy7uq30Af7T9vjYYH2Ybk1emKCbcLdGsuar18 zxiM3c7YywRFlpFzM8Z3TPSpZPdESGntKFGDsTNrPpxWyXAPETu3wnKsB5wTAcVxIwLe oQ9Q== X-Forwarded-Encrypted: i=1; AJvYcCXx0F6UmXOwSMxZs875QabHEiJV3srLuAarLdktTlcFyLwceXsZZ3YJEzHkHZF25RiBh0Sdol564cc+WRSI@vger.kernel.org X-Gm-Message-State: AOJu0YxeQxslFeEyuit53mzsTXRf8Xu2/hP8s2hQ1a65nHUIN+J4VtiR qPg06tC2g3N6KYPfN8sQarq8TDQAYHetofM3MbJg2TCVPdH5hmIMas1+ X-Gm-Gg: AY/fxX7vU+Ih5VTquMjjiwnxYbCLDdU8KQ51ZyPuYDJViFxvHRH8TRjiSxmsM7BoBV6 ff88pDJnJfoHmsMfQEwhIiRSZQyexYYcjEXtJ188u+gA8e+DmKpvshQGORK67M9vvwvIox65ztD W4K6uDWG2PqUzx0X3hgpvCoVClLZDQRkXXOHwkJTI85IRpU0Sl8e6CuxzqMFAzYpushxqBgCOuo 3u6zvZjJ/+ULHoavGYXjAU95ugZ6DrQGpqZ8YgaQo5Wv2gk6909epFikdnMEKNKXqGmNRJsismd xZLxQui/6LSwCkjvPAqUkvM3ry44yFliU5igPPZ2/kzNPyw/LFtOXBcgabb8wcR5PXZdxVe6ZMO sB//nraKxJ4vuOpDSHnCU6wLiA16cw4KOHK8FPOKKVp1Huw90DRdUsBnB0xETtFkeVuDHHK3GBJ P8eD7u6Z4M6S6uOgMwwEyiLeArVZule/Jsra8ULA6lsikzVhTM4iIhgXua7TDa0yxdzORNYn8LK FA= X-Received: by 2002:a05:620a:470e:b0:8b2:f29e:3af8 with SMTP id af79cd13be357-8c6a6789933mr662358485a.59.1768622800896; Fri, 16 Jan 2026 20:06:40 -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 6a1803df08f44-8942e6c5adbsm37174806d6.39.2026.01.16.20.06.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Jan 2026 20:06:40 -0800 (PST) From: Richard Acayan To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , 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: Robert Mader , Bryan O'Donoghue , Vladimir Zapolskiy , David Heidelberg , phone-devel@vger.kernel.org, Richard Acayan Subject: [PATCH v7 1/5] dt-bindings: media: i2c: Add Sony IMX355 Date: Fri, 16 Jan 2026 23:06:53 -0500 Message-ID: <20260117040657.27043-2-mailingradian@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260117040657.27043-1-mailingradian@gmail.com> References: <20260117040657.27043-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. Reviewed-by: Vladimir Zapolskiy Signed-off-by: Richard Acayan --- .../bindings/media/i2c/sony,imx355.yaml | 105 ++++++++++++++++++ 1 file changed, 105 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..0a3aa63b7b5f --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx355.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,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 + + 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 { + link-frequencies = /bits/ 64 <360000000>; + remote-endpoint = <&camss_endpoint1>; + }; + }; + }; + }; -- 2.52.0