From nobody Thu Apr 2 00:45:33 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 1D3BC3148C2; Tue, 24 Mar 2026 22:15:02 +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=1774390502; cv=none; b=Z5YJB1RdGafHFpGabfJgAYmEu/EJNEwXy8r9BNkDA14fPalrzlypP9j1hW+LaXft0hkEPLr4U4Y5O3408/jFDFTcp2S2mr/grwlEcvtl0d7al/K39MNLLKNs5iyhgYFANi8Hs/gdYHGEdD6C2hrBXexkCfAfWVHCWFltVRSy0wM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774390502; c=relaxed/simple; bh=DsqVPdfD8ISkjXspsLL9oaH8DjYIqEMwGDyaNB/CfEU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=WimH7V+jRtuum9ScffIfq0peDMFAy7b4HRhdmjcswwNKq4nsHpxfUnzRWmQgxEC5TLRTip5YqwoMi9QeYy3fLoihY2Vz4IVVzB6i+KA7I6fYMbL9laXzVoLznQx+ZRc6UclmqEQ3C6BSYGYgIEtBAJKgSzqxYYHgTcNLnTQh0/g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WoLQvTXe; 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="WoLQvTXe" Received: by smtp.kernel.org (Postfix) with ESMTPS id E4E7FC2BCB2; Tue, 24 Mar 2026 22:15:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774390502; bh=DsqVPdfD8ISkjXspsLL9oaH8DjYIqEMwGDyaNB/CfEU=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=WoLQvTXef3IjBaRKa1SpTJrKQ8UTqOykFWzk2lv2lmfj3IZmL3l2xWnTpv48Gprh5 J0GuJaV+L6ljkqmC4yA587sY9nVWKTC3eEvIyagbAa3wPHH6p0An4Z2B0YQKjQjcZq s2fDhMzbbDDqgAPBFsBWCeEnInCUUjc2WM3N8ySxqnbRdi/4aDIxA24iOrlcPFrhLn 0mLTz0nlSxHxoZVJvloxlZnZtxXQkmhFYZCz0Uf6xK6c6OHup5comk+qahmUshIRNi fj544VcivqyRV14VfzjFm+3iZqBZRC8AEngEf/MKIkFpKqkZBAotlL+DsJhEMv+gkX gpqD4zdvavYmA== 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 D2D67FEC11B; Tue, 24 Mar 2026 22:15:01 +0000 (UTC) From: Vasiliy Doylov via B4 Relay Date: Wed, 25 Mar 2026 01:14:59 +0300 Subject: [PATCH v4 1/3] media: dt-bindings: Add LC898217XC documentation 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: <20260325-media-i2c-lc898217xc-initial-driver-v4-1-6ad6fd74915e@mainlining.org> References: <20260325-media-i2c-lc898217xc-initial-driver-v4-0-6ad6fd74915e@mainlining.org> In-Reply-To: <20260325-media-i2c-lc898217xc-initial-driver-v4-0-6ad6fd74915e@mainlining.org> To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , david@ixit.cz Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, Vitalii Skorkin , Antonio Rische , Vasiliy Doylov X-Mailer: b4 0.15.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=2137; i=nekocwd@mainlining.org; h=from:subject:message-id; bh=gAIKVNm3sPMRo8XiyTDHAKl5QbG8+l10pLPUeIPuNNk=; b=owGbwMvMwCVmXFbadLHr1XTG02pJDJmHeZ4UX2nZvrxjc65CuM/zSzPzTz72r3kaoR64rPxB8 vcb0txPO0pZGMS4GGTFFFm63x++92AeL2up+idemDmsTCBDGLg4BWAibk8Y/hfUaE9iXiaYVMhs V+hokNef/W1LXM587Sxb/50vnO/wRjH8T2gqV7FxO+yhbuTdxmahy7iow+7d63veGpnibtdXhDb zAgA= X-Developer-Key: i=nekocwd@mainlining.org; a=openpgp; fpr=8BEFC3DEE09E0D057527F20D33767582D18AEA97 X-Endpoint-Received: by B4 Relay for nekocwd@mainlining.org/default with auth_id=692 X-Original-From: Vasiliy Doylov Reply-To: nekocwd@mainlining.org From: Vasiliy Doylov Add device tree bindings documentation for ON Semiconductor LC898217XC voice coil motor. Signed-off-by: Vasiliy Doylov --- .../bindings/media/i2c/onnn,lc898217xc.yaml | 59 ++++++++++++++++++= ++++ 1 file changed, 59 insertions(+) diff --git a/Documentation/devicetree/bindings/media/i2c/onnn,lc898217xc.ya= ml b/Documentation/devicetree/bindings/media/i2c/onnn,lc898217xc.yaml new file mode 100644 index 000000000000..3dd137d4c67c --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/onnn,lc898217xc.yaml @@ -0,0 +1,59 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright 2025 Vasiliy Doylov +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/i2c/onnn,lc898217xc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ON Semiconductor LC898217XC Voice Coil Motor (VCM) Lens + +maintainers: + - Vasiliy Doylov + +description: + The LC898217XC is a 11-bit digital-to-analog (DAC) converter. + VCM current is controlled with a linear mode driver.The DAC is controlled + via a 2-wire (I2C-compatible) serial interface that operates at clock + rates up to 1MHz. This chip integrates Advanced Actuator Control (AAC) + technology and is intended for driving voice coil lenses in camera modul= es. + +properties: + compatible: + enum: + - onnn,lc898217xc + + reg: + maxItems: 1 + + vana-supply: + description: + Definition of the regulator used as motor voltage supply. + + vdd-supply: + description: + Definition of the regulator used as digital core voltage supply. + +required: + - compatible + - reg + - vana-supply + - vdd-supply + +additionalProperties: false + +examples: + - | + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + camera-lens@74 { + compatible =3D "onnn,lc898217xc"; + reg =3D <0x74>; + + vana-supply =3D <&mt6358_vaf_reg>; + vdd-supply =3D <&mt6358_vcamio_reg>; + }; + }; + +... --=20 2.50.1