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 3AA9C3DFC66 for ; Tue, 31 Mar 2026 19:43:54 +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=1774986235; cv=none; b=NPQaTq6by5wEN9kxkYsXWpFQ73wO/J4XZdiE8ggZyZmPF7/KUOFfhnKzfqIrCEiE1qNLwaUVrQXofaMUGaJQLZ+iyXwXzxQIZIXXgCYKkRonR8F+cJEDxcfcCk/p7QwZjpqHpSEV9fU2jcw1TTNIaE5XxBAaxGyRO192WscqdPs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774986235; c=relaxed/simple; bh=kJtaTp0b2xxkENPXxh32EK3QZ9vMlk40N4Wgu0tyQ1I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AfHuzkR/4Dit1krgMrmeafA177ltN1DRPGH485EHjms8D9eRcz+kFX6U0YyYiyRxPb/9svKxaLlE5tR462vpWCsTVmobleO9dZ3BpT0Lq0bEW6TzynpeaS1kQeLSj3tAFCgKaQbvQBBfeGuLD0Ps4WXx5K4rqb35w9P14s/3ioM= 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=pT6n6T6c; 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="pT6n6T6c" Received: by mail-qv1-f51.google.com with SMTP id 6a1803df08f44-8a08fa355a1so38381976d6.0 for ; Tue, 31 Mar 2026 12:43:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774986233; x=1775591033; 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=q8RpNUxtcPC2Ov0aBHol3C9JLTY+x8Fx+uA5MWYWzms=; b=pT6n6T6c8Z+rCjInX2b9vWMzjPLKOEMv+XN7K7tGahLbZ/QSkVRCEdXdwpOapUXPyg 8FSE+OAX9nWrQOhGQUnCsxJgfzXjMAYJYhh0TocjitjQFEdCkZy2gqQ9l9SLcnvh+yKX ADfMdBZ/D5iC/bipJ9ojBBlIaAGDob0kMcj4JvpseB4iSgdNofWe9YhnnGKgOWXRYkZv kSQ52KXIbIZBYeCvvjUKorlUgLL2dmDqnnWwyxU8ZelsxxXvQwljnHwHHxV9drcCIxU5 CosZkqwprGqiARFjlLEEjZYUUlzwMYPpgn4XRx4Qht8XJF80GNo4TjQ8DIR75MSy+Geo kKpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774986233; x=1775591033; 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=q8RpNUxtcPC2Ov0aBHol3C9JLTY+x8Fx+uA5MWYWzms=; b=gO7uSGE31CbQrx9F+9EsVBL6OYTSMXIrLABj3qgF7Fc+iOQ7CcepYj47tH2BNg0t7K utPYMouwFdvb22bQQ6TjJ+kfxZjKOLubod5/3rvQi38LYDkc2KCgXuQfGx+PI2o2wrz0 1UgLOAyEg0QFFO5Njnr78xzn7a3VMw/oB8YlwVofyZ2VvtHUlb+n3C08A5vDFZzNsTdM dJJHn5hOKX9uI/ljMVm5poFCZeoGieT9rjGzktANSz0D3kFvBZmLOa8ktoKtKax9iOl6 +4DxnEXb6o6ZUgTwG9uqxQtImU3gPNwGfViV4pHePg30HESECQ7DcbEqqNnEEoFvThl7 qVag== X-Forwarded-Encrypted: i=1; AJvYcCWTyvaTp4tA9qL/eTGlPPdkqx5UM/Dzsg5NJjdiCiw717JGWCjX2YVLqSW01olrJvVUxP8gLtKdQplk@vger.kernel.org X-Gm-Message-State: AOJu0YwUt94VkohMeoynvo6BxmXpTy/OIsVKoWZe11u7JBubrTRaC4O3 fvROaLqU85DxX/7MTtvRhMkT/MLF5unug2gC3zQX9iFpg5DTJyvziA6r X-Gm-Gg: ATEYQzzaewhqRgeAT0LS/9nUjRx/GeYPRQZ0Ik6bemct6BMAd+yieyWeDci+ipZSGRi 3mTu+I97FJng6CVTN86BcKNQNeY1eQCIUbb6eUrKrPqV+FdGXLOF0gBj8//Q9eKSEs+i3Jbeqo1 qUtAYPhS5VYuGTMQBcLht9EaGtzwwM7B1ZEix5jG3yyacCejBXcYJGBM+gBEFwuOGzIHFr1B8Lb 3JAaYgfdfpUhpFfd0Ju1OCY1EFYmwLGJm7qGMIfERwz6w+SnoeFTpbn1yzSPGeI1+7ZcyXoxonW UjJgxhUDc5uitIbh6fDf+xjTBVhXfj2rS1eInUPxwkiQbNaF1kJN18Uc+iDNprpWAmX1rE3M8LF ZID+AthzIYkZ989K6oldAUaMz5YRArpsjk69rEnFu/7m++ctMhdUSaDk3tL6HczlKWtlGzPILGo r4Iky4kfqHRVm/H1k3GABW5MuSYPR3XcT154A= X-Received: by 2002:a05:6214:2c06:b0:89c:6ab0:3744 with SMTP id 6a1803df08f44-8a439d8dff7mr13268696d6.47.1774986233262; Tue, 31 Mar 2026 12:43:53 -0700 (PDT) Received: from localhost ([199.7.157.124]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-89ed003a918sm101099246d6.44.2026.03.31.12.43.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Mar 2026 12:43:52 -0700 (PDT) From: Richard Acayan To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: Mauro Carvalho Chehab , "Bryan O'Donoghue" , Robert Foss , Todor Tomov , Vladimir Zapolskiy , Tianshu Qiu , Sakari Ailus , linux-media@vger.kernel.org, Robert Mader , David Heidelberg , phone-devel@vger.kernel.org, Richard Acayan Subject: [PATCH v12 0/3] arm64: dts: qcom: sdm670-google-sargo: front camera support Date: Tue, 31 Mar 2026 15:44:34 -0400 Message-ID: <20260331194437.41041-1-mailingradian@gmail.com> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: devicetree@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 v11 (https://lore.kernel.org/r/20260324020132.8683-1-mailingradian@gmail.com): - mention 24 MHz in mclk2 comment (3/3) - drop applied patches (previously 1-4/7) Changes since v10, 4/7 (https://lore.kernel.org/r/20260311020328.57976-1-mailingradian@gmail.com): - add data-lanes to dts (everyone's review retained) (7/7) Changes since v9 (https://lore.kernel.org/r/20260217002738.133534-1-mailingradian@gmail.com): - reject zero data-lanes (4/7) 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 (3): 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 .../boot/dts/qcom/sdm670-google-sargo.dts | 100 ++++++++++++++++++ arch/arm64/boot/dts/qcom/sdm670.dtsi | 46 +++++--- 2 files changed, 131 insertions(+), 15 deletions(-) -- 2.53.0