From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.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 A888D22FE0E for ; Tue, 17 Feb 2026 00:27:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771288035; cv=none; b=APYCzzhEP0BOQUDIdUamz0xu392Tn2GeL0lvsE3Lv79OsQtxik3hk0DZInLUW9WHBNEoSxRFUv9elLPlwbygQWktlM6JIoddAtTG2a1+VcL6isOYqlc1+a+IIoxeBJs/J7YPlHq+NgqJl5bDRHS4J/Bc4BHxoy4w75japc3bOms= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771288035; c=relaxed/simple; bh=y8zY+jB7047Hqz0G2nsBkPFynGKhy1MWI9oaZkNNTpc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rW7qcjJ6hXtwmJGpEnsYW/2NkzFmgUZ92S6piND1YgMmk6b5z4nCRfWXeMzYT5/ZVJfJuho2FEZkY3gRBiIUoI+XaVZPk5DnZr4OtqeE6ji+h9hYoszFqU1pf+T6cnK1siC3sr28wOS+e/6EXYMIRLktoCuIUGkbJSaJN0KC/eA= 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=V+ErnJVX; arc=none smtp.client-ip=209.85.160.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="V+ErnJVX" Received: by mail-qt1-f172.google.com with SMTP id d75a77b69052e-506a019a7f3so42675021cf.3 for ; Mon, 16 Feb 2026 16:27:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771288031; x=1771892831; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=CN+EmxdCFVl4S/1oavyLxRyMCRPdWOSDmH8hJQng4jI=; b=V+ErnJVXqfRy+ESIRBCSzSNSeTvwcuLmAPzE/haTMziZ1RvLIwKUQ5Rz6VsyDA7zdZ m+XF8M5gkvaDgMwr17i2L6tCKjyTZ78Fg5KiBMmiGiGHvv2NTKiX7SmSs9nBrgd5/50K Q9DriPiq16fjBT+otGS8hCTKKCwFqlEBU1zHTfGxpaa+QTQsRNlYooJI2HEg5MvLkzgr IOfbAo+4MEyIGq71O6mUMu3b+ZL/zJc3lERmQ8GAlwn6CzjayiMauO6mEWY/UvWlnQ4G OPHlz3TdM5KATUf6+7U1HOzhswrhJp3F+kvN/44Fw21yiP0E1Hc2/BVxWS9EmiFwoi7c G0hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771288031; x=1771892831; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=CN+EmxdCFVl4S/1oavyLxRyMCRPdWOSDmH8hJQng4jI=; b=hPz6qj4USRc7T+C31jztt7YQwdMqTOarRsovrROiAdEktK9tp0rcUVY6CAVgbMu1eM mFuvT05+yl3GxHb1kX4E2kvTctw2YkRN1HLlGaDXc7c/BCwiTGh2Q0MpbNgcGkqqrffG lx5y0ZMUSDMjwh3/lCmXXW4QV6ZzKg9cSmD8f94WivLYYjDJ2LgA216ZqtMSyqHkL99h 4DmDInY36oJ7l4bH3TcMWAIp7Z4EKx5CKzbHDOg1aV7mHYldmfopzuLh1Fir6MHnCmPu Ffp4NQ22Ty0yhL/Xh3X72p94m17D/ouXEJlL1158qiqqwURytD95vlU8+LyZzi8lisc9 XlGA== X-Forwarded-Encrypted: i=1; AJvYcCX7xE8LPOXMa5UoNxjK1HMwjGdt0M+YRd4T7w0cctCoNaO5/1NJhQaqyhxCupMhPMA8qN5A7xpXF1yFCF7/@vger.kernel.org X-Gm-Message-State: AOJu0YyBhgv2SQW2i0JPOMfiCaSXRaBT17rHm9uakhXrepkjxn/lomF0 LgVVJJRhYjsz9paJpIqZiyPQ5xsPrKMJOBMvG6Ua2U0zzWWXj9+YnC+L X-Gm-Gg: AZuq6aIIw3DJSXUwIT0zFfqFOjlxiEAuShB0duLuXHWDOMLKbfjc6hick5cKsNv07Dm NKGX80vfAw/230HVWf+qb4djVpGDQg/kxnmw1ajXcOP2KIj+TQb9fUNXl0hZUSskfswtng1MDCR JABBC2YvW6hUI7AweJw94NcF1b+Jb9ci5Tka4CO/4Vu2kXRnzvOQAgSY8j8ZP6RA1A/z5bf2DP8 F+5i74tqo6YSWRh0/IlBUszH7yeYNfz9cUknyiBa07+eMopoq6G8OTna6GphO9AgW02Ozr9O+N0 W/WThsOMiuUvgx44gJBYJwibiaMTAJCeu92csWI8f5mYAjdLZP14MweyEngeUx3y4yLc5Ta1kxS AQK4zY8H/F/3fq/hZGbmASUOOUWNwlGQ0PjSZ18KVmnlUV/ty633c3559AHzpMXabZch0M3zB9s HYixpJ4Mtfd7TbgFeAJtaZ5PYNkYQZgQ== X-Received: by 2002:a05:622a:1355:b0:4f5:fd34:bb02 with SMTP id d75a77b69052e-506b4012a86mr119670311cf.57.1771288031589; Mon, 16 Feb 2026 16:27:11 -0800 (PST) Received: from localhost ([184.144.58.243]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-506bab11e14sm72798281cf.0.2026.02.16.16.27.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Feb 2026 16:27:11 -0800 (PST) From: Richard Acayan To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Robert Foss , Todor Tomov , "Bryan O'Donoghue" , Vladimir Zapolskiy , Bjorn Andersson , Konrad Dybcio , Tianshu Qiu , Sakari Ailus , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Robert Mader , David Heidelberg , phone-devel@vger.kernel.org, Richard Acayan Subject: [PATCH v9 0/7] media: i2c: IMX355 for the Pixel 3a Date: Mon, 16 Feb 2026 19:27:31 -0500 Message-ID: <20260217002738.133534-1-mailingradian@gmail.com> X-Mailer: git-send-email 2.53.0 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 This adds support for the IMX355 in devicetree and adds support for the Pixel 3a front camera. Changes since v8 (https://lore.kernel.org/r/20260210020207.10246-1-mailingradian@gmail.com): - allow clock-lanes, but make it optional (1/7) Changes since v7 (https://lore.kernel.org/r/20260117040657.27043-1-mailingradian@gmail.com): - restrict data-lanes to 4 (4/7) - include first patch (1/7) - add back optional data-lanes in bindings (2/7) - remove assert low on power on again (Bryan's review retained) (3/7) - use dev_err_probe in power on (3/7) - remove second error on probe power on (3/7) - add review tags (2/7, 3/7, 7/7) Changes since v6 (https://lore.kernel.org/r/20260107043044.92485-1-mailingradian@gmail.com): - remove NAK from Krzysztof (3/6) - assert reset GPIO on probe (3/6) - change delays in reset sequence (3/6) - remove __maybe_unused from OF match table (3/6) - fix alignment for arguments to devm_regulator_bulk_get_const (3/6) - remove front camera pin configuration (6/6) - remove clock-lanes from camss endpoint (1/6, 6/6) - remove data-lanes from camera sensor endpoint (2/6, 6/6) - remove blank line at top of binding (2/6) - add review tags (2/6, 3/6, 5/6, 6/6) Changes since v5 (https://lore.kernel.org/r/20260107042451.92048-1-mailingradian@gmail.com): - add Bryan to CC who added a Reviewed-by Changes since v4 (https://lore.kernel.org/r/20251211014846.16602-1-mailingradian@gmail.com): - add NAK from Krzysztof (2/5) - label the camss ports (3/5, 5/5) - define endpoint properties correctly (1/5) - use devm_regulator_bulk_get_const (2/5) - remove clock-names (1/5, 5/5) - set reset GPIO as active low (1/5, 2/5, 5/5) - explicitly drive reset low at start of sequence (2/5) - make data-lanes in endpoint optional and start at 1 (1/5, 5/5) - add mclk3 pin (4/5) - add Reviewed-by's (4/5) Changes since v3 (https://lore.kernel.org/r/20250905215516.289998-6-mailingradian@gmail.com): - separate camera mclk pins and move to different patch (4/5, 5/5) - remove polarity from rear camera pin (5/5) - remove output-low from front camera pins (5/5) - mention effects of dcf6fb89e6f7 ("media: qcom: camss: remove a check for unavailable CAMSS endpoint") (3/5) - specify single clock-name without items nesting (1/5) - rebase on 49c6ac166cf7 ("media: i2c: imx355: Replace client->dev usage") and eaa7d46d9654 ("media: i2c: imx335: Use V4L2 sensor clock helper") (2/5) - do not use of_match_ptr for OF match table (2/5) - remove redundant GPIO validity checks (2/5) - describe endpoint data-lanes (1/5) Changes since v2 (https://lore.kernel.org/r/20250714210227.714841-6-mailingradian@gmail.com): - use devm_v4l2_sensor_clk_get (2/4) - require supplies and clock-names (1/4) - move unevaluatedProperties down (1/4) - disable clocks as last power-off action (2/4) - use 0 in gpio pin power-supply (4/4) Changes since v1 (https://lore.kernel.org/r/20250630225944.320755-7-mailingradian@gmail.com): - too much to have a complete list (1-4/4) - squash camera orientation patch (4/4, previously 5/5) - squash driver changes (2/4, previously 3/5) - remove labelled endpoint node in sdm670.dtsi (3/4, 4/4) - change init sequence to match other similar drivers (2/4) - retrieve clock frequency from devicetree-defined clock (4/4) - remove clock-frequency from dt-bindings (1/4) - remove redundant descriptions of child nodes (1/4) - switch initial drive of the reset GPIO to low (2/4) - set mclk frequency to 19.2 MHz (4/4) - add vdda-pll supply for camss (4/4) - use common power on and off functions (2/4) - use devm_clk_get_optional (2/4) - remove extra layer when describing mclk pin (4/4) - rename regulators (1/4, 2/4, 4/4) Richard Acayan (7): dt-bindings: media: qcom,sdm670-camss: Remove clock-lanes requirement dt-bindings: media: i2c: Add Sony IMX355 media: i2c: imx355: Support devicetree and power management media: i2c: imx355: Restrict data lanes to 4 arm64: dts: qcom: sdm670: label the camss ports instead of endpoints arm64: dts: qcom: sdm670: add camera mclk pins arm64: dts: qcom: sdm670-google-sargo: add imx355 front camera .../bindings/media/i2c/sony,imx355.yaml | 111 ++++++++++++++++ .../bindings/media/qcom,sdm670-camss.yaml | 3 - .../boot/dts/qcom/sdm670-google-sargo.dts | 95 ++++++++++++++ arch/arm64/boot/dts/qcom/sdm670.dtsi | 46 ++++--- drivers/media/i2c/imx355.c | 118 ++++++++++++++++-- 5 files changed, 347 insertions(+), 26 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/i2c/sony,imx355.yaml -- 2.53.0