From nobody Tue Sep 29 09:09:22 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D6F223AE187; Mon, 10 Aug 2026 10:22:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786357348; cv=none; b=ZjzqUm/R0+4amnwnpARBs61NcvoGYxH8sw4jlCXeeim5RzznFR1g/mMsCSIgdpAoyPkB3oYH7kRJZhHZUAOM2/KXb5bRs+OqnKxpBIj1AQukSlwJz6HXixUXbwPdnBwGwXJFHFsv0gCqudTeKz41ZERrABE7pDIcWwU7sn0vXL8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786357348; c=relaxed/simple; bh=TrdLOVS+kkSe+xLM9w5zf9ng53kF2srwRIVlxkVKxM0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=USJ1+9Gkx96jvkhJbkEhnDKGDqxEYycoUZWI8SLnASTk+/4qxmuqvT5OK0r7qjBZjGQn82NxD8uer8OCPwtcp2HWU89tSeV4P2+8cotiQyjg/gX2T04sJSApUcGKEln8LUWAXsQ5fbvlhAkzPshG11+O91B8CDLJw9HcDWOwpJ4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=U+/RWk2T; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="U+/RWk2T" Received: by smtp.kernel.org (Postfix) with ESMTPS id 7D977C2BCFA; Mon, 10 Aug 2026 10:22:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1786357348; bh=TrdLOVS+kkSe+xLM9w5zf9ng53kF2srwRIVlxkVKxM0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=U+/RWk2TGPoDBQOCaZqDrWlMSivrjaPP9p9bza8f3nNeLIVCsDC/pH7EZecUrqKZj Hq2cdwxrWpSt4QiAFj+cdLAA+q/0A9oBLtU21+m43B8LUNjJ69uxa3L89urRAPPhYd KClPwAkLUM0VyQaoGHLxOazW/kdxKqekqwH1jSrn+mSviFTgeOBo3UV94V2KhzJhmU oFzZvEfR5lLShLyfEnpeFvQ0KbPLPNvz0xY8TrkKVNn9GzDwML5QOxy4Fho1eqwX2G pmRDDUz1NJt+prelCzN0aziNaN5fbDbmjXZnyCPmCvEHSoP+s8iNK6UwcIkZiWjlLy gW6aI3mtpnfFQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5B03DC5AC82; Mon, 10 Aug 2026 10:22:28 +0000 (UTC) From: David Heidelberg via B4 Relay Date: Mon, 10 Aug 2026 12:22:23 +0200 Subject: [PATCH v4 1/2] dt-bindings: media: i2c: dongwoon,dw9714: Document DW9714A and V variant Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260810-dw9714v-v4-1-a227cb1d29bd@ixit.cz> References: <20260810-dw9714v-v4-0-a227cb1d29bd@ixit.cz> In-Reply-To: <20260810-dw9714v-v4-0-a227cb1d29bd@ixit.cz> To: Alexander Martinz , Bjorn Andersson , Conor Dooley , Konrad Dybcio , Krzysztof Kozlowski , Mauro Carvalho Chehab , Rob Herring , Sakari Ailus Cc: Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, phone-devel@vger.kernel.org, David Heidelberg , Krzysztof Kozlowski X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2393; i=david@ixit.cz; h=from:subject:message-id; bh=MctnB/YBUlKBkfY6HkmVWzrj67EeGRulizfUpQ/8RY4=; b=owEBbQKS/ZANAwAIAWACP8TTSSByAcsmYgBqeaZiY2wzpx14SQkqY7LkwyJr/qFiF0WFREa+N bXeuGxzqwGJAjMEAAEIAB0WIQTXegnP7twrvVOnBHRgAj/E00kgcgUCanmmYgAKCRBgAj/E00kg chY6EACMnaTvgqtjk+E0ak15UnUP0edb3ducN4jJSU/4iSSp8OpafdurfkvV4tT6Bapr8anetMd XNsy5p2RaOGLa/FWnAOXk2qY1SvkYq7oHZQXEDAtWoljxBMNtxNDlEqi2V19uHH0dxlqA4NpuXI 0fFaloefl8CeT50CWIgoUpRNzCeaV0CflVRLFfoEj4QsD70j2BOmEr0uFLgFuH3A7Wk4BtfFrId FwSdbh0bPjV4ULGT4GuAM+is5UQKiawq4Uji+3KULk6oXn8emrei7fUJoMqOzXm01sav4uFtU/u 7nMquHij2/bDdlVrDArAhpLKTBjRC6QjbBP3JKx7P2f/r12xLyzxDcu6w8KuuVISEAMmp/w/2Pj mAlWJxN9Vlobx+mjEkul8whjbmjGUpkXSHOcjwYw1uzFl3Sf6QtvunHOU1vZst5xwT8nha08qIR pdWniUwG+In4NvbTKJ9GeeU6R33JGKDW8ZnWOGLZVmr4QkhUs6QiLhssXhqqGzsgbR9OGELjX2p lyQqOdKh/6tgd7XuCnW9e6cZz7wyhuVlmqI2grODdScXerruertJLsSpbscmRKH3F3UWUnFlFNu H6U01ODdK6BlOMjD0SEAkg0DsjNLk88Dwku7gcnkVP8MS6O566iD2CMyGVBSNd4LUYxv8iA2axn sV4Ek/IqJJPgRZA== X-Developer-Key: i=david@ixit.cz; a=openpgp; fpr=D77A09CFEEDC2BBD53A7047460023FC4D3492072 X-Endpoint-Received: by B4 Relay for david@ixit.cz/default with auth_id=355 X-Original-From: David Heidelberg Reply-To: david@ixit.cz From: David Heidelberg DW9714A is a successor of DW9714 and DW9714V is a successor of DW9714A. All three are compatible in their normal mode: a 10-bit DAC with the same Direct/LSC/DLC slew rate control. DW9714V additionally has an "advanced mode", which exposes Smart Actuator Control (SAC2/SAC3/SAC3.5/SLSC) and soft start/landing. Out of reset the DW9714V comes up in normal mode with ringing control disabled, i.e. behaving as a plain DW9714, so nothing has to be configured for it to work today. Should SAC support be added later, it is board data rather than a userspace knob: the mode and the vibration period (SAC_CFG/PRESC/SACT) have to match the mechanical tVIB of the actuator and lens assembly of the given camera module. Those properties are left out until there is driver support and measured values. Reviewed-by: Krzysztof Kozlowski Signed-off-by: David Heidelberg --- .../devicetree/bindings/media/i2c/dongwoon,dw9714.yaml | 14 ++++++++++= +--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9714.ya= ml b/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9714.yaml index 66229a3dc05d6..7c2769e6c4880 100644 --- a/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9714.yaml +++ b/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9714.yaml @@ -5,22 +5,30 @@ $id: http://devicetree.org/schemas/media/i2c/dongwoon,dw9= 714.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# =20 title: Dongwoon Anatech DW9714 camera voice coil lens driver =20 maintainers: - Krzysztof Kozlowski =20 description: - DW9174 is a 10-bit DAC with current sink capability. It is intended for - driving voice coil lenses in camera modules. + 10-bit DAC with current sink capability. It is intended for driving + voice coil lenses in camera modules. =20 properties: compatible: - const: dongwoon,dw9714 + oneOf: + - items: + - const: dongwoon,dw9714v + - const: dongwoon,dw9714a + - const: dongwoon,dw9714 + - items: + - const: dongwoon,dw9714a + - const: dongwoon,dw9714 + - const: dongwoon,dw9714 =20 reg: maxItems: 1 =20 powerdown-gpios: description: XSD pin for shutdown (active low) =20 --=20 2.55.0 From nobody Tue Sep 29 09:09:22 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D6FC03B27D6; Mon, 10 Aug 2026 10:22:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786357348; cv=none; b=T3pap1yR1l1fq/9H3pkplgS1Q6shhbNlBJ1r7+vBYhfayIV/ooPGOJsBVBKbaOK32yc1W18IRPKG47jpWGxNV7umOSYkrUGOVTCCG6R+qWuC6eJUeCn7bKxtQHU1JsFgIwCULhLif4/HDpUJayDePNh/CCcnnRqBUsaz1oeqHaI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786357348; c=relaxed/simple; bh=xVwPK23/+6oDXZNpMf/gW3JZfBJxlS5Nk1s81uB+XEw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iMAZz0j4RXjXL/X4kZHhS9AOAz4dz2J8Z/8d5EIviJy8Wfs/GdoOsUN4jmhPDPZmFNRWW8YOt7PlnAml+I6VHuHTHtclD6qrUV35vJgZ+ZU+/JWDmI5GCf/J+HFiIvsvaEjsPJCrQrp7MGr2YNlQaG0nyqX5ybHbfDOvy+Itf0g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FJ4ORuYz; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FJ4ORuYz" Received: by smtp.kernel.org (Postfix) with ESMTPS id 8B5C9C2BD01; Mon, 10 Aug 2026 10:22:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1786357348; bh=xVwPK23/+6oDXZNpMf/gW3JZfBJxlS5Nk1s81uB+XEw=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=FJ4ORuYzZHB/iSE/4ILjP644wHPb6Zczb3jvL97YZ9oc4xyCUBEiBxxQlW3qk1hD2 zCZEBIIaIVQrKPcqk8HCNfjRvcYvMs/1e6W8GVHxMLAySYH8BaK6Vcdm/MDiQCvGRa YqAj7h8QKc3+ywaqD7+anmnyyiT3++tsqfPJy4f0x72/CVY4n6VBsfpXjKJtbQgDge 5KeKLBu8AO+P5RkHiezbHQnBxgLKyR+y1iDdhV58vf1EIecgoecjkz+UshV+iysHgx 1gMEmjdJpH8diM8I9OIwGv83CMgr7BPf1A/uNPUMGZmvuqbqqPvtrATMdFdl3nk2Z5 FTQtwqb6pD7Rg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6E28EC5B561; Mon, 10 Aug 2026 10:22:28 +0000 (UTC) From: David Heidelberg via B4 Relay Date: Mon, 10 Aug 2026 12:22:24 +0200 Subject: [PATCH v4 2/2] arm64: dts: qcom: sdm845-shift-axolotl: Add actuator for main rear camera Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260810-dw9714v-v4-2-a227cb1d29bd@ixit.cz> References: <20260810-dw9714v-v4-0-a227cb1d29bd@ixit.cz> In-Reply-To: <20260810-dw9714v-v4-0-a227cb1d29bd@ixit.cz> To: Alexander Martinz , Bjorn Andersson , Conor Dooley , Konrad Dybcio , Krzysztof Kozlowski , Mauro Carvalho Chehab , Rob Herring , Sakari Ailus Cc: Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, phone-devel@vger.kernel.org, David Heidelberg X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=3383; i=david@ixit.cz; h=from:subject:message-id; bh=GdbUfwJ10fR0lW+Kb3dZndvP8ed4Y2Pebi8vBrKB8vI=; b=owEBbQKS/ZANAwAIAWACP8TTSSByAcsmYgBqeaZibOVmhl6yvr/oiJxQy+/Jbfob7dOqliVZw Szw+HfL0oaJAjMEAAEIAB0WIQTXegnP7twrvVOnBHRgAj/E00kgcgUCanmmYgAKCRBgAj/E00kg clKXD/9n9OvigmT5Se6QzJSDxr5cMWVuAQ0eCkgqw4ykgCP+puuvF3ZKpY5kWlKYbo6iKsBv7St NNBD6ee0I/D9QL7AFaIgB4uMjHNZuE7fCAqOJkLTzonKTfvqZ9QOSLoi7ahHm1TLHvCetyZ1FlO Nc9732sGiYgPoH8RsizwsmQ/yN5cgdUG0vrxHQDJts+AqKNCBSMnKkOm8J1WcHyFaUQ7zx/2MT4 LwRwpwg4T/e0wzbWSAsaT/Yt6aWM7t2mWvxAVjB1sOuXOyo+00SpFey7ASLE1ifg0RG18G1nB/g E8pSRaMccYhOoaKyF8N7kcfYSDAEaJKKK1nbgrTHRyKHjv+Dximbi2RBNeEkqN+msJqsRIB/ZsT MfYfJNfLyonq/MXMAYC6Pe9glzMrko3Xqbi3MOAtZCrBsV0xZ1YUO3AIs3Xa7z63M+rABj43TVl UAByP4ofkGqF5vOkz5Ib6SC6H/wEk7CfslxnUPzwWXyXtpyaF44LaDb0nok5YHz7a3p6vkiKTim WliswUE15tFlZHQ7kf81OXB8FbMnJ9GGraT5XODeZMzU5QHh2GcNv4b0kxW6UdpfZAKUS7+xVvq +fOQ2PSXc8mnhU3/3HX+Znd7pxk6eAcEV73hmMNAZ8GxtmknR9fs6IQ9hzjrqvIri7VuFPMmgVL Iy/zi/F0QjKuLoQ== X-Developer-Key: i=david@ixit.cz; a=openpgp; fpr=D77A09CFEEDC2BBD53A7047460023FC4D3492072 X-Endpoint-Received: by B4 Relay for david@ixit.cz/default with auth_id=355 X-Original-From: David Heidelberg Reply-To: david@ixit.cz From: David Heidelberg Main rear camera uses Dongwoon DW9714V actuator. Add regulator and actuator node. Since the actuator sits on the CCI I2C bus, whose 1.8V side is fed by vreg_lvs1a_1p8 and there is no place to describe that, keep it always-on for now, until bus-supply exists. Signed-off-by: David Heidelberg Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts | 48 +++++++++++++++++++= ++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts b/arch/arm64= /boot/dts/qcom/sdm845-shift-axolotl.dts index e31c784eff3de..358ce1930d4e1 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts @@ -81,16 +81,34 @@ ramoops: ramoops@b0000000 { battery: battery { compatible =3D "simple-battery"; =20 charge-full-design-microamp-hours =3D <3850000>; voltage-min-design-microvolt =3D <3600000>; voltage-max-design-microvolt =3D <4400000>; }; =20 + /* SGM2036-2.8YUDH4G/TR */ + cam_main_af_2p8: regulator-cam-main-af-2p8 { + compatible =3D "regulator-fixed"; + + regulator-name =3D "cam_main_af_2p8"; + regulator-min-microvolt =3D <2800000>; + regulator-max-microvolt =3D <2800000>; + regulator-enable-ramp-delay =3D <100>; + + gpio =3D <&tlmm 8 GPIO_ACTIVE_HIGH>; + enable-active-high; + + pinctrl-0 =3D <&cam_main_af_default_state>; + pinctrl-names =3D "default"; + + vin-supply =3D <&vreg_bob>; + }; + vph_pwr: vph-pwr-regulator { compatible =3D "regulator-fixed"; regulator-name =3D "vph_pwr"; regulator-min-microvolt =3D <3700000>; regulator-max-microvolt =3D <3700000>; }; =20 vreg_s4a_1p8: pm8998-smps4 { @@ -403,16 +421,23 @@ vreg_l28a_3p0: ldo28 { regulator-min-microvolt =3D <2856000>; regulator-max-microvolt =3D <3008000>; regulator-initial-mode =3D ; }; =20 vreg_lvs1a_1p8: lvs1 { regulator-min-microvolt =3D <1800000>; regulator-max-microvolt =3D <1800000>; + + /* + * Supplies the 1.8V side of the CCI I2C level + * shifter; keep enabled until a generic + * bus-supply property exists. + */ + regulator-always-on; }; =20 vreg_lvs2a_1p8: lvs2 { regulator-min-microvolt =3D <1800000>; regulator-max-microvolt =3D <1800000>; }; }; =20 @@ -441,16 +466,32 @@ regulators-2 { =20 vreg_s3c_0p6: smps3 { regulator-min-microvolt =3D <600000>; regulator-max-microvolt =3D <600000>; }; }; }; =20 +&cci { + status =3D "okay"; +}; + +&cci_i2c0 { + /* main camera actuator */ + camera-lens@c { + compatible =3D "dongwoon,dw9714v", + "dongwoon,dw9714a", + "dongwoon,dw9714"; + reg =3D <0x0c>; + + vcc-supply =3D <&cam_main_af_2p8>; + }; +}; + &cdsp_pas { firmware-name =3D "qcom/sdm845/SHIFT/axolotl/cdsp.mbn"; =20 status =3D "okay"; }; =20 &gcc { protected-clocks =3D , @@ -699,16 +740,23 @@ &slpi_pas { firmware-name =3D "qcom/sdm845/SHIFT/axolotl/slpi.mbn"; =20 status =3D "okay"; }; =20 &tlmm { gpio-reserved-ranges =3D <0 4>, <81 4>; =20 + cam_main_af_default_state: cam-main-af-default-state { + pins =3D "gpio8"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + }; + sdc2_default_state: sdc2-default-state { clk-pins { pins =3D "sdc2_clk"; drive-strength =3D <16>; bias-disable; }; =20 cmd-pins { --=20 2.55.0