From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dl1-f52.google.com (mail-dl1-f52.google.com [74.125.82.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 4C3693B42D2 for ; Sat, 6 Jun 2026 15:06:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780758392; cv=none; b=IxXi4MzupFJ9F8/Butgrp3fFgIl1LyK/TOz/xmE56Hh7y/HFrXQSUjD0iXj+y9XBzeoh+l1EGX8MUEDAcZxZjFcZbGlJ0gbfrIlg1DUyls2rz3V5FyAVxQu53BaSBu3wD9aeh2BfgYIFWQiHAPsCBqmsdYZQRo2rFZb7NefTdoc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780758392; c=relaxed/simple; bh=5Xp05dceoyvZXVaCrNt037RzvSQB45EweEegXMfhvkY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=izCZ9AJFM1AZMPweOmcbuG4bJhRVLpGr1j5oHuGqV8/7i/QFgjuKWEPGZXvGP6U0w7TTGUFUbf2ByV2gP0GCP8U3wbK5kQg8gW53KaszG3Mx2yF0FdSpSiMUrG5+KzTQZn5Ng6km5Z2sjVdmpEmNxF51VwXQQlHKqxwVfos6dMQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=GqFiGB2U; arc=none smtp.client-ip=74.125.82.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="GqFiGB2U" Received: by mail-dl1-f52.google.com with SMTP id a92af1059eb24-13810b63a1aso2771427c88.1 for ; Sat, 06 Jun 2026 08:06:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1780758389; x=1781363189; 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=pPLxJdwUnTEPL//5sBV5FbB7FSjHqZ/L9m5KUj5m6AI=; b=GqFiGB2UgF0PjejK7EdZmlEEclY4j5rWEFZEJzAgdZDOUjukANU2aynCZkz6VP7/XM gHreHLdhDrndxxINAn+nGeu3fq2q6qsryaw1jvZeaFcBwqUGQIsNIWYdwBK8Do6BrNDy GrT736E6hCa962wpBNh4ABUrY1AICgpwG/EfRZnfoqE8DPI7SM85u0GvqkXNqiTZhnRA vILZ19WzB61CHKcSrZTqgiQtfaz6BtDbvnldisFKk6fNCwcLXZ1N6MU1H6sSuv6phNOI OLRaPXqtqsG/Oe8uhutgSMwsiWXBlDn0PlNxragRxu2C0sTHZbSR1uXgidXwUzraK8pj LCnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780758389; x=1781363189; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=pPLxJdwUnTEPL//5sBV5FbB7FSjHqZ/L9m5KUj5m6AI=; b=i8arb+N3KdW7rj/3zhkY5vAhc4vOlDW25al48a0tBYz2gPviXyVApaIcaom1T9HVgX 616LaB2utb8M6HNPO2Ik+zes3meYSjamMyGfM/ptnitQIDBdIayJ8NdhikuUjpOxN0Df C6LtBuz6qXh4D9mbamSMJkbr5bhbzb5BHSiRYCyd7dbupBse+Tb9TM8UOYfdvHSqzkEd ZnJJm+QZ/BzaVvrHfAK+ixOxSQ9D4o8sZp9+V8hXAygRCgrnCZZfvFMzDjqI5RfmJudP GZ/PipmGfQ9tGsEhBYAU0GU4xyCOmvm3LRheUj5+LCjrPV/gOZ36CUbj10sa979G7Pnm 0Ozg== X-Forwarded-Encrypted: i=1; AFNElJ9eIjxJZQtOYe81c8oLb8tdR9AhRa3PetlW5qSr9lO4XirD/TiKw/zf+4KQe+qCLHhES0wXseHeyZcYSQ==@vger.kernel.org X-Gm-Message-State: AOJu0Yy5YA+7W6o9Ooi6kVDTR9C7Hnjrwyv7xIw4vUrkXPdbRZLwCv3R 11iSHzU9M7b3NBAatxX8L6FNqEEsrhxU0jT2LZ7JgThvmJhql3/+uFzc X-Gm-Gg: Acq92OH9cUKJNUYaZ+bR5SlXvzcWpwOFC9vJVkould4RxkgZJNmDOQk7LFBw+NdW5u4 VvHP1SCk2xXmjepNxxULFHK/mhy8WSuYhKQqA0mfx5NWWEgHCHhLB+9Dkai1AVjTAPi3sIPg1OF Dz3ZJz7qVQbatHqzxyM2cIiu8UGDnl20+UZOWfuP9pVE5V4gnr1CorLWWL1ImibsNLNyKiyhcZc mhPrjW23Sjs9F2eGww2oZyzeKNuwkOAhokXPIqaYTOXolOnyqzbnMfsht7/LQ7PmQSe+6Bebz1B nTzWZBt9TlfD3oxM+1MKwnyyTiRc3QrFCpUS8268tAzZNxfq7Z5RjbZVilUnW6nXtTu0NsMAksZ P6EWAo1K1iL0oNk4FobJ7amfpHQcxC4ofSMItluI+5gHchAjp2qX3MrvvrPhHUP4h8w2c2a6qW/ UCU/WKfpkSHTavRLZ0kvEh4JhOg1SC1qAEswWo/NAWYxrdIge5tg== X-Received: by 2002:a05:7022:3d04:b0:137:eda3:e5a9 with SMTP id a92af1059eb24-13806720e38mr4698313c88.28.1780758389266; Sat, 06 Jun 2026 08:06:29 -0700 (PDT) Received: from arch.localdomain ([2409:8a28:a54:e741:3a5a:3245:d3dc:4b5d]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-137f5539035sm8415607c88.11.2026.06.06.08.06.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jun 2026 08:06:28 -0700 (PDT) From: Jun Yan To: Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Jun Yan , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 7/8] dt-bindings: input: microchip,cap11xx: Add CAP1114 support Date: Sat, 6 Jun 2026 23:04:00 +0800 Message-ID: <20260606150458.250606-8-jerrysteve1101@gmail.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260606150458.250606-1-jerrysteve1101@gmail.com> References: <20260606150458.250606-1-jerrysteve1101@gmail.com> Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit CAP1114 is a 14-channel capacitive touch sensor with 11 LED outputs and hardware reset support. Add the compatible string for CAP1114, include its datasheet URL, and update the maximum count of LED channels and linux,keycodes entries. Add description for microchip,input-threshold: CAP1114 only provides eight threshold entries, which does not match its total channel count. Signed-off-by: Jun Yan --- .../bindings/input/microchip,cap11xx.yaml | 21 +++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/input/microchip,cap11xx.yaml b/Documentation/devicetree/bindings/input/microchip,cap11xx.yaml index e307628350c2..08233386a433 100644 --- a/Documentation/devicetree/bindings/input/microchip,cap11xx.yaml +++ b/Documentation/devicetree/bindings/input/microchip,cap11xx.yaml @@ -12,6 +12,7 @@ description: | For more product information please see the links below: CAP1106: https://ww1.microchip.com/downloads/en/DeviceDoc/00001624B.pdf + CAP1114: https://ww1.microchip.com/downloads/en/DeviceDoc/00002444A.pdf CAP1126: https://ww1.microchip.com/downloads/en/DeviceDoc/00001623B.pdf CAP1188: https://ww1.microchip.com/downloads/en/DeviceDoc/00001620C.pdf CAP1203: https://ww1.microchip.com/downloads/en/DeviceDoc/00001572B.pdf @@ -26,6 +27,7 @@ properties: compatible: enum: - microchip,cap1106 + - microchip,cap1114 - microchip,cap1126 - microchip,cap1188 - microchip,cap1203 @@ -62,7 +64,7 @@ properties: linux,keycodes: minItems: 3 - maxItems: 8 + maxItems: 14 description: | Specifies an array of numeric keycode values to be used for the channels. If this property is @@ -122,6 +124,8 @@ properties: is required for a touch to be registered, making the touch sensor less sensitive. The number of entries must correspond to the number of channels. + CAP1114 is an exception where channels 8~14 reuse the eighth entry's + threshold, so counts differ. microchip,calib-sensitivity: $ref: /schemas/types.yaml#/definitions/uint32-array @@ -149,7 +153,7 @@ patternProperties: reg: description: LED channel number minimum: 0 - maximum: 7 + maximum: 10 required: - reg @@ -199,6 +203,19 @@ allOf: reg: maximum: 1 + - if: + properties: + compatible: + contains: + enum: + - microchip,cap1188 + then: + patternProperties: + "^led@": + properties: + reg: + maximum: 7 + - if: properties: compatible: -- 2.54.0