From patchwork Fri Sep 15 16:59:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 140926 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp1463910vqi; Fri, 15 Sep 2023 20:59:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEkqY737eutdtiRCv6m5QslTjGBhgUZkue/Kebnpiw24JrhXmwwjz2o0k8vUrNBAtcrws1e X-Received: by 2002:a17:903:32cd:b0:1c4:1343:8329 with SMTP id i13-20020a17090332cd00b001c413438329mr4360088plr.27.1694836781536; Fri, 15 Sep 2023 20:59:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694836781; cv=none; d=google.com; s=arc-20160816; b=uVorYKgNJZWSGiCEqtZKSp3+LSNgUX9YX4Pz0bzFgockE6JFdwiOWt3UYeOqyIN3Z3 1IGq8BHQRCP92U1LlFKBVCA0c3Nei0yDS30odEjV+Vlmh1fRtIeq8Lxc3e45GdlMLgOd d1AIuNhx4a3XB8uF0W4rwmVNhR4ZQ9hxQGVTBwkQyS7a3K3zDhU6EPtc2sAA7kyFUG19 ZJadRJCzPvZVEYVG8PRI4rw+xuI04OnBRLsQd3KeRKXCm1ZRjRqDlt7CGKQq6pY+M1K0 mHDXPEeiAmKx/GE6E8A5kXR+Gzhg0Q8ss6VO0dU0J+L+gNer/fTECGWXnsbxYf3oxaih Rp+A== 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:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id t6-20020a1709027fc600b001c42b2b02casi2417127plb.174.2023.09.15.20.59.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 20:59:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; 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:1 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 morse.vger.email (Postfix) with ESMTP id EC9FF806676E; Fri, 15 Sep 2023 10:01:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234857AbjIORAr (ORCPT + 30 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 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 morse.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 (morse.vger.email [0.0.0.0]); Fri, 15 Sep 2023 10:01:34 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777143187135765881 X-GMAIL-MSGID: 1777165172833220649 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