From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f52.google.com (mail-ot1-f52.google.com [209.85.210.52]) (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 1301A334681 for ; Mon, 13 Apr 2026 14:25:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776090324; cv=none; b=IJGMecpfmw+KxAgD3EWTJGvpVUG4Kx489lASjSqOd70UnKVAID03C7J23h+Hrg4zzTbrnudMghMELWZC3vFRdjm7brQWmQtaMI1ZGbtC4Z/1H48jG9ti+NqFhNSx3V8myca7Xq8whcnKaLJvPXcDNsWHwnERPk0Pn9LrXHTeys4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776090324; c=relaxed/simple; bh=IS7eAxUAiq/UtfmsyS46FTl8Kti+FFgzIWd+y25jhy8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=W67GfMukk33XmjueEVyx5Pj8COWtvfxZr2pBarYx7IvgbYhBglHAXgrCkGdIES5+HYv73n4Uth+Ym3d4vFIbIF4QcPFUJy/SwDB4csILB2k+aSjGVdA95hdxiEIQdq+gTwTj/yV50faTO8kAm8zkz6AowvpY2BNtP6yC6YlkVAc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20251104.gappssmtp.com header.i=@baylibre-com.20251104.gappssmtp.com header.b=rmFrP5or; arc=none smtp.client-ip=209.85.210.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20251104.gappssmtp.com header.i=@baylibre-com.20251104.gappssmtp.com header.b="rmFrP5or" Received: by mail-ot1-f52.google.com with SMTP id 46e09a7af769-7dbca22dbfeso2321953a34.1 for ; Mon, 13 Apr 2026 07:25:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20251104.gappssmtp.com; s=20251104; t=1776090321; x=1776695121; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=xaIyOX/UoqXzoUGcxU/8JMZsGGW5yIfdt3Yc4i68OH8=; b=rmFrP5orkAyrXO3G23HGoWQgv6fFipvQ5OApcZ1yde6m9JFqOaMEXHoMDYMpLe7Csa r3OFNfq4mt2IRlP5OffNX1nBOSheD7zsSTICrJpn7XB5Jgd/doII0M9NniurVrCal/qH lmKR0oGqbkOtNC2YvYrAKpeCaT2PtiIiWX49J0BpZ0MnFBPQpJWXFlxC7av9jhqoXofp Zkyywvom8TLvLZJ4aOfwGT5FX+U4XBQAXoNUO5v41oW8F9Nnk11f8sZb7HqIFnvNRE4q PTNqbdxtoKOJCdxk9z2VNwU2XGmBxhFJqkgY4wbO9ilt9Qrjlec7WyobNiKfgVYFiaFK 2H0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776090321; x=1776695121; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xaIyOX/UoqXzoUGcxU/8JMZsGGW5yIfdt3Yc4i68OH8=; b=eCXmy8EfoenDcc86fMEiunumbYD2R6KGDkNrz6Cfxt0s46yC+GvSMW3U1/nhIoQPJu 8vPTR5fq3Yu4RhR6eGGuVNQLPKYP+MyplX/6EhZ7s7yTK8wzAnJDPzl+HZFQ0KRWOXz7 maek8hTl+Kh1ekeeqZ4Ax4gU7B2QcvKHK66G823hJpNX5dR/yM4a0P4uWfPR7W+pgJ3w ESLqTLM7vi9+lMMb1feZyLjpxdyW6EOm1pJAM2eJDgSwlNO/W836Gltqs3t2ABRHAq1S AHOC1GPOVNnMjMROSPqTthNHv6S1jpGNYKcglWiMqYdpwM5W1RyuMlcNxFb3y2sPXIia 0P1w== X-Forwarded-Encrypted: i=1; AFNElJ/vZYnLdaiSGF1+pIUqcmDkQ4TPqTWH17cboCakI5MGU8hLPOx8eADrXk1ENvKfdiG8WkfuLbeDrcu9HZE=@vger.kernel.org X-Gm-Message-State: AOJu0YxgluKfwSQgi/yZnrr2JK5pHE73Avk3/Wq6EP1OCa+5V9TQ+zIb DC28itM+mVSYzdyfWp2cH9piehDCkekNCqth7A0HTupkWIEFaPVin5CrwHyNPp8eZzM= X-Gm-Gg: AeBDievSDzDZRyf2mvWqQEt7vHQssOODfMrXp4sEHLCx7ns3oDsLbQmmJyUiCVculMX wZxbGtnGUcCI2gSGvPQeR6TJOx8QsVdo7kI+dRcdGd3EwJDHT7Vjwqz6lRLuKi9NtB5jq1bSbgI p7Cg1wRgV59unSeiP811Z9rx7YMgA/4JA9bYBtw1G4oMLnkk10fjaYp95LH4A3bVnsJfCNByyZW j0sVnPz75N86CVt6AtFL1PB30ffg2kfsFdlH7Ttoo+e8omuzyphoaOcrPYrrg3C/gYRrgii0HvQ 4uH/3x39ppvgxu1lT18sYS0V/uzH4upSNiN2aSa43O7kDwtwUf5C3VJnC/IYVv5mQSuxtLySHPr wkWQ5QzOskf45xH3ZrzmZ1j4Gy7WmkOr0OBitkC/dauztL9cWLHG7fPdmxRW4lK40J8bzYp3hQA ue+1qMHzP+sWiGpq82EUAMuT6BAbjFlkalqxCcLKjccebkZd8GOXjR8ujraByqLN5LMzelmqE= X-Received: by 2002:a05:6830:6af8:b0:7d7:ef60:e9c6 with SMTP id 46e09a7af769-7dc27cbb922mr7859500a34.9.1776090320944; Mon, 13 Apr 2026 07:25:20 -0700 (PDT) Received: from ?IPV6:2600:8803:e7e4:500:1963:d48d:f7b2:862? ([2600:8803:e7e4:500:1963:d48d:f7b2:862]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7dc26573350sm8790073a34.2.2026.04.13.07.25.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Apr 2026 07:25:20 -0700 (PDT) Message-ID: <028a5407-e0c1-438b-b124-55df8e5fda92@baylibre.com> Date: Mon, 13 Apr 2026 09:25:19 -0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] dt-bindings: iio: light: Add PixArt PAJ7620 gesture sensor To: Harpreet Saini , jic23@kernel.org Cc: =?UTF-8?Q?Nuno_S=C3=A1?= , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Bjorn Andersson , Marek Vasut , Kael D'Alcamo , Lad Prabhakar , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260413000308.7618-1-sainiharpreet29.ref@yahoo.com> <20260413000308.7618-1-sainiharpreet29@yahoo.com> Content-Language: en-US From: David Lechner In-Reply-To: <20260413000308.7618-1-sainiharpreet29@yahoo.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 4/12/26 7:02 PM, Harpreet Saini wrote: > Signed-off-by: Harpreet Saini > --- > This is part 1 of a 2-patch series proposing a driver for the PixArt > PAJ7620 gesture sensor. This patch adds the Device Tree bindings and Gesture sensor sounds like input subsystem, not IIO. > registers the "pixart" vendor prefix. The driver patch will follow in > a succeeding branch. > > .../bindings/iio/light/pixart,paj7620.yaml | 48 +++++++++++++++++++ > .../devicetree/bindings/vendor-prefixes.yaml | 2 + > 2 files changed, 50 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/light/pixart,paj7620.yaml > > diff --git a/Documentation/devicetree/bindings/iio/light/pixart,paj7620.yaml b/Documentation/devicetree/bindings/iio/light/pixart,paj7620.yaml > new file mode 100644 > index 000000000000..301816485fcc > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/light/pixart,paj7620.yaml > @@ -0,0 +1,48 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/light/pixart,paj7620.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: PixArt PAJ7620 Gesture Sensor > + > +maintainers: > + - Harpreet Saini > + > +description: | > + The PixArt PAJ7620 is a gesture recognition sensor with an integrated > + infrared LED and CMOS array. It communicates over an I2C interface and > + provides gesture data via a dedicated interrupt pin. > + > +properties: > + compatible: > + const: pixart,paj7620 > + > + reg: > + maxItems: 1 > + description: The I2C address of the sensor. > + > + interrupts: > + maxItems: 1 > + description: Interrupt mapping for the sensor's physical INT pin. > + missing power supplies: vbus-supply: true vled-supply: true vdd-supply: true Can also be GPIO controller (if not using SPI bus), so gpio-controller: true #gpio-cells: const: 2 There is also a SPI bus, but it looks like SPI and I2C would be connected at the same time (SPI for image data, I2C for register access). Bindings for that could be complicated, so could wait to add that until there is an actual user. In general though, bindings should be as complete as possible even if the driver doesn't implement some of the features, like gpio controller. > +required: > + - compatible > + - reg > + - interrupts power supplies should be required. > + > +additionalProperties: false > + > +examples: > + - | > + #include > + i2c { > + #address-cells = <1>; > + #size-cells = <0>; > + > + paj7620@73 { > + compatible = "pixart,paj7620"; > + reg = <0x73>; > + interrupts = <4 IRQ_TYPE_EDGE_FALLING>; > + }; > + }; > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml > index ee7fd3cfe203..d73a0bf62b62 100644 > --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml > +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml > @@ -1273,6 +1273,8 @@ patternProperties: > description: Pine64 > "^pineriver,.*": > description: Shenzhen PineRiver Designs Co., Ltd. > + "^pixart,.*": > + description: PixArt Imaging Inc. > "^pixcir,.*": > description: PIXCIR MICROELECTRONICS Co., Ltd > "^plantower,.*":