From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (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 122B82FDC40 for ; Fri, 22 Aug 2025 17:10:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755882659; cv=none; b=hMtiajwCpQ6E8RFc5rz6ZgO14mtWft/Tnl7qeM1GZ5XroVh0bKvOhJX55oepa2JmhO7dpg/eAXSIbF9rS6WfSM89Spi+z8DCblFyHKCcnSOwuwEZoxg3BI3amoRevQGKHrGFr8eKKMnDwvwna+/4wFbtvAsHX8o7f/PBMbxBTZs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755882659; c=relaxed/simple; bh=GC6F3/Jn5vtalbPADycR9a2Ilql3ZeepeVFqnze4ARw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=fd+bBzFF2cVrfjKhj95FT6i+ZwqZ1ir8xFeyvbUz8PRqLN3TY1A3USwuc6OLk/SJdgm53VKHiIH+4GWfCl+0PIDI/bmMDbE7TEKsg3XB+WBDcjRJ0UZRCieDOMAwzVHub0y9sltQEmZNXO1mSumCbBAlCzlgRs5BC78uftbcBNw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pinefeat.co.uk; spf=pass smtp.mailfrom=pinefeat.co.uk; dkim=pass (2048-bit key) header.d=pinefeat.co.uk header.i=@pinefeat.co.uk header.b=fFZZo2fE; arc=none smtp.client-ip=209.85.221.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pinefeat.co.uk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pinefeat.co.uk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pinefeat.co.uk header.i=@pinefeat.co.uk header.b="fFZZo2fE" Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-3c607029266so567837f8f.3 for ; Fri, 22 Aug 2025 10:10:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pinefeat.co.uk; s=google; t=1755882654; x=1756487454; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8c7uejE+UWAVBp++A3P0eUre76yYfUCzitGMEvBnArM=; b=fFZZo2fE8UbZYhXWfP6aqYKG5KMS6E1gySY0//7Ve0fasvPYRIilwZqmjTT/vEuoGK bSAKsL76ivH2ngkS0+ZtBZfB6uHjJltLR4CxyCZeyAzH6mr2a2BTJCOdm7jR1D58DteM p/pbkq6jsaCfwiCybdDhtHgnSzQjOQvSo0XIq3huvNvrfWP+PWgYhwzJHUoDVI2+Bt28 LS8lGO9Ewl9oF9F6Zwh33Wc1rYlttSfhn+q6E1cMhtyzYUTg9JchM444xx2V5o520SwE NrQLcrE5XfQYyq95JhNHc3gW2u/sYixWH1KdWV7nGnOlQsETvmuNHdixRwEVqxi7bThr +fQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755882654; x=1756487454; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8c7uejE+UWAVBp++A3P0eUre76yYfUCzitGMEvBnArM=; b=oZrj68JQBIOlmGKk41GlYPHHLJF+s4z0ChG3YQ49wKsbOeNNbHRZHGOvGfxyAjHjmh N0kLeYJ8eipIMOpbV6xLeZv9wyWmE10jNcHxIrQOPTZh8tYSE5jAj2FAqCCxET0zJquQ vTP3f+pQ2uVO5YOG8TjfMDJYRXOMupHyDe38ZVej0Jo3jCN3gFHkxlCNYFSY/LKGlCSL ikRFpDCRpVdofY3cdyiMRIxxaonUU9uNTWjQGxiElmOWjl9p3+eW2b/dxrnOgawmS4iA s/WKUf3idhtN9fQs2etV/GStMGRXb9UGOH+BLBBTC6hr3cfg9y5FNoAVq5HxqR+SQNqG 8WDg== X-Gm-Message-State: AOJu0YwXXQomUWD8c/KNcZtDg09smBJs9QLG1lIUXvjMZOQ2CemG6tOl 6IANeu6M/+5RyAzQzw8LorDYSldcv+zCYlQ0rsRvISYzET+bej6klDR811OqWGK0zmA= X-Gm-Gg: ASbGnct/tSLNy+e7c3TWJH0h1KiZWXjE/+RiKev8MkUN/V6S9mPcC5q83zpluwLeOPK qsko2Wse7fGDOti0btSHme+gtn2evptxlec32eGWTspU5beN4XW4nnvfrCKH/pOKJ9OXNsH/QLX 8ZSskC4CDeaDGqGoD19BxwqkVJYDFVCT3g/SQMO3GafwsOSsIeiiS5CHXdAWJHi0XZG3OdTwmbB XRcnThGG60oGYbJzY75VDDxIN5/TyLSXwi2uo+Cij19RLnr+0J+9JiG7S0gW9H72jWR01hl7pp9 3ayWE6kbDzSP3XsUvwY3BMk1G/huEthJbLwYStg23SwZbxVI9k3TN7W1k2sD3JuCIpGACwjbMtd tiCMKvxnpyZAshAYqga2EcY/GTZNfGedVTXa9Q6Hu X-Google-Smtp-Source: AGHT+IF5fbPcLMPGPUXxbyvocoXnUfM5BMARF/EqU2fvSvNEGovDCG+sKKo5gJeocqQhhXEZzLbNiA== X-Received: by 2002:a05:6000:430c:b0:3be:51c6:16aa with SMTP id ffacd0b85a97d-3c5ddd7ed53mr2426800f8f.45.1755882654054; Fri, 22 Aug 2025 10:10:54 -0700 (PDT) Received: from asmirnov-G751JM.Home ([2a02:c7c:b28c:1f00:c77a:e59e:20e0:4966]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3c70f237fefsm233780f8f.30.2025.08.22.10.10.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Aug 2025 10:10:53 -0700 (PDT) From: Aliaksandr Smirnou To: jacopo.mondi@ideasonboard.com, hverkuil@xs4all.nl, mchehab@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: devicetree@vger.kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Aliaksandr Smirnou , Aliaksandr Smirnou Subject: [PATCH v4 1/2] dt-bindings: Pinefeat cef168 lens control board Date: Fri, 22 Aug 2025 18:10:40 +0100 Message-Id: <20250822171041.7340-2-support@pinefeat.co.uk> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250822171041.7340-1-support@pinefeat.co.uk> References: <20250822171041.7340-1-support@pinefeat.co.uk> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add the Device Tree schema and examples for the Pinefeat cef168 lens control board. This board interfaces Canon EF & EF-S lenses with non-Canon camera bodies, enabling electronic control of focus and aperture via V4L2. Power supply is derived from fixed supplies via connector or GPIO header. Therefore, the driver does not manage any regulator, so representing any supply in the binding is redundant. Signed-off-by: Aliaksandr Smirnou --- .../bindings/media/i2c/pinefeat,cef168.yaml | 47 +++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 6 +++ 3 files changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/pinefeat,cef168.yaml diff --git a/Documentation/devicetree/bindings/media/i2c/pinefeat,cef168.yaml b/Documentation/devicetree/bindings/media/i2c/pinefeat,cef168.yaml new file mode 100644 index 000000000000..1295b1f4edeb --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/pinefeat,cef168.yaml @@ -0,0 +1,47 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (c) 2025 Pinefeat LLP +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/i2c/pinefeat,cef168.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Pinefeat cef168 lens driver + +maintainers: + - Aliaksandr Smirnou + +description: | + Pinefeat produces an adapter designed to interface between + Canon EF & EF-S lenses and non-Canon camera bodies, incorporating + features for electronic focus and aperture adjustment. The cef168 + circuit board, included with the adapter, provides a software + programming interface that allows control of lens focus and + aperture positions. + +properties: + compatible: + enum: + - pinefeat,cef168 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + camera-lens@d { + compatible = "pinefeat,cef168"; + reg = <0x0d>; + }; + }; + +... diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 77160cd47f54..dab27f769b0a 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -1195,6 +1195,8 @@ patternProperties: description: Picochip Ltd "^pine64,.*": description: Pine64 + "^pinefeat,.*": + description: Pinefeat LLP "^pineriver,.*": description: Shenzhen PineRiver Designs Co., Ltd. "^pixcir,.*": diff --git a/MAINTAINERS b/MAINTAINERS index fe168477caa4..811c6a150029 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -19985,6 +19985,12 @@ S: Supported F: Documentation/devicetree/bindings/input/pine64,pinephone-keyboard.yaml F: drivers/input/keyboard/pinephone-keyboard.c +PINEFEAT CEF168 LENS DRIVER +M: Aliaksandr Smirnou +L: linux-media@vger.kernel.org +S: Supported +F: Documentation/devicetree/bindings/media/i2c/pinefeat,cef168.yaml + PLANTOWER PMS7003 AIR POLLUTION SENSOR DRIVER M: Tomasz Duszynski S: Maintained -- 2.34.1