Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4958398rdb; Fri, 15 Sep 2023 19:13:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHJ5UMt7IU5G4wRAZ68debRlglOPoPV0NpJ9QofScSsZrPmxMQz/yErXx1B0PNxYVW69z4l X-Received: by 2002:a17:902:76c5:b0:1b8:2c6f:3248 with SMTP id j5-20020a17090276c500b001b82c6f3248mr3207821plt.39.1694830433634; Fri, 15 Sep 2023 19:13:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694830433; cv=none; d=google.com; s=arc-20160816; b=M0P7X+dfZ033h96PzCHXE5+zsZ2BrvZ6262b7IhczT2vUmeXZAD38M4yeyHUTz2Ejv WlDVNIxeqDQ5QxZHp071493GHrvoqg5L7EtJW71iPLk6t8iTZJON3WVA+NzxS5JHLB0V bvIYjyWFkcqp2vD5mjAto212XP2Krf+HRo84+DSAvnKq6eL6pXyNvyUuUvMeOT4Y19/A U8bJy7fdoof4KzV54ojrXJAyTod4Hx56U4CCzfmS7MhMp42FnYzWVEFLamZKw77X0p0J eF0QPIxTYZskX4Q/WF/+o9RtuqnS9Ed7vCID1a6cDCat6xeHHSMr5sm6+aEgprxDIR0l M7uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cDR2pcMHgMtKUcSppJ2ky1xcRbx+txcceTofGfs/fzc=; fh=cJl4AJHPTvLx/1o6l1VbkuHu1Awo+0mUHQPHY6R0mvM=; b=sjwaMWBoamwjrLN3IfTLgmVsVyNNjhi/SKlzCFmHA+SoABQhP0RlOf5xbWiScIJ+nH IGYsgKhEq7QMNsq2SrB65awrE77wdxM3XzcIZBjYXtwNO2ZmLmuEJ5GLAZZE2DWYqD0E J85vTIKL7s2SIT/KwHmrOKJrPxHT4OJMsHsnD7RLDeZ9FFagNVJgMquAmpFNtGqM8PAv X7F+73I/8YzQ2S5uZx++5npoWFcnRU8H75xfgMnMtLrbRi2bCY3AIlQybFK8XpU0t26Q KAwWdYqbR0wMtZMI4Bcv8c4/EdOcgSY8yXwM0/Jc6RFf2tL/wUjwpOKApyQpFh4HFNdH 0rhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=nfxfMqbn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id n9-20020a170903110900b001b9ce7a85cbsi4373467plh.281.2023.09.15.19.13.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 19:13:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=nfxfMqbn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 408A482A3D04; Fri, 15 Sep 2023 10:01:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234636AbjIORAr (ORCPT + 99 others); Fri, 15 Sep 2023 13:00:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235403AbjIORAb (ORCPT ); Fri, 15 Sep 2023 13:00:31 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 890642736; Fri, 15 Sep 2023 09:59:53 -0700 (PDT) Received: from Monstersaurus.local (aztw-30-b2-v4wan-166917-cust845.vm26.cable.virginm.net [82.37.23.78]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 7E3D2741; Fri, 15 Sep 2023 18:58:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1694797098; bh=x+VTjBYOuva4onGwdWAu8P326nYuNXsxOu5lC9qDMdc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nfxfMqbnws04tUwuPuAzecwj5WU9ydqTE/aw/xb2aKXrt41tszsJjVqUwNJecyv1Y xMkTzygRqOaiDeM7fornXNRM2ZFjAYgi02mebuD1VlPo4C+IfUFRtQoyw1zD+5KWil VQ6RXbqql/ytJF/4dogMC7TAGG8DuNMKCwZ3/ThM= From: Kieran Bingham To: linux-media@vger.kernel.org Cc: Kieran Bingham , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 1/2] Documentation: dt-bindings: media: i2c: Add ROHM BU64754 bindings Date: Fri, 15 Sep 2023 17:59:45 +0100 Message-Id: <20230915165946.4183839-2-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230915165946.4183839-1-kieran.bingham@ideasonboard.com> References: <20230915165946.4183839-1-kieran.bingham@ideasonboard.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 15 Sep 2023 10:01:32 -0700 (PDT) Add YAML device tree bindings for the ROHM BU64754 VCM Motor Driver for Camera Autofocus. Signed-off-by: Kieran Bingham --- .../bindings/media/i2c/rohm,bu64754.yaml | 48 +++++++++++++++++++ MAINTAINERS | 7 +++ 2 files changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/rohm,bu64754.yaml diff --git a/Documentation/devicetree/bindings/media/i2c/rohm,bu64754.yaml b/Documentation/devicetree/bindings/media/i2c/rohm,bu64754.yaml new file mode 100644 index 000000000000..22da4a46bb0c --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/rohm,bu64754.yaml @@ -0,0 +1,48 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2023 Ideas on Board Oy. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/i2c/rohm,bu64754.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ROHM BU64754 Actuator Driver for Camera Autofocus + +maintainers: + - Kieran Bingham + +description: | + The BU64754 is an actuator driver IC which can control the actuator + position precisely using an internal Hall Sensor. + +properties: + compatible: + items: + - enum: + - rohm,bu64754 + + reg: + maxItems: 1 + + vdd-supply: + description: + Definition of the regulator used as VDD power supply to the driver. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + lens@76 { + compatible = "rohm,bu64754"; + reg = <0x76>; + vdd-supply = <&cam1_reg>; + }; + }; +... diff --git a/MAINTAINERS b/MAINTAINERS index 90f13281d297..f43e0ffcaf56 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -18570,6 +18570,13 @@ S: Supported F: drivers/iio/light/rohm-bu27008.c F: drivers/iio/light/rohm-bu27034.c +ROHM BU64754 MOTOR DRIVER FOR CAMERA AUTOFOCUS +M: Kieran Bingham +L: linux-media@vger.kernel.org +S: Maintained +T: git git://linuxtv.org/media_tree.git +F: Documentation/devicetree/bindings/media/i2c/rohm,bu64754.yaml + ROHM MULTIFUNCTION BD9571MWV-M PMIC DEVICE DRIVERS M: Marek Vasut L: linux-kernel@vger.kernel.org -- 2.34.1