From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dl1-f41.google.com (mail-dl1-f41.google.com [74.125.82.41]) (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 3D42426B2D2 for ; Sat, 6 Jun 2026 15:06:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780758392; cv=none; b=IQFFc1cMyrBd5PWeD7pK2yLlUqH54ZlDtzZTYbzIUsua5yx4eodz+WPHaEmsF3zrVzsEcSn44TRFyo7VA7Nfi9WEonJnHjK0Xr9bMBEJmDNZrg3IKBCRzJkHbwT0GEE1RyRuQNrzA1t6yb5TJRKCFMRQGEEgkyzNleNZymPHFbY= 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.41 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-f41.google.com with SMTP id a92af1059eb24-138129a622dso2561066c88.0 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=CsO63PKpQ+PhQDX3SRKbz4KHmRR8cqv0yVqLjhcsrfdlN5GvTVswzX3XQjs5JsgiNd r7PQ0marfqlqJmCU5N0N6+U0Zbt0SGGwI3YSas+qF8s+tltx//DhQNKqdzlFc+smu0Gr i3a0Wa6cCZm6usUilUFjLko6k+O56EKdDF4+BjsUSr+QGQFLBCfs6joz6GMm1eUZCiKB /jGyG1ip+qXoFaMZl6y3CQKoxaU8VeWD7UdUPvsPxdVqjvQP16iIIwMACrtN2oBUY3y1 2TDbkKswnIBvwKVIj4hTTnDojB+VVQTzWn6bdb8GeG7l7ijkX9QqPOAFiQEY6joAdBZS 25IA== X-Forwarded-Encrypted: i=1; AFNElJ9UUcCnun9oMejmQtz8boeX4lD9oV9CZrxxgUvBrKukU3m3qcQzvWbeQG572zrnb102AXqtROrpaQ65CwE=@vger.kernel.org X-Gm-Message-State: AOJu0YxnuT9+aOdfXpKkIQO0s6pAglfQMr4jYsuTK84H/0nOqaoOYmP2 4gj0g90VKA0mNqc0RL6fM2W9yf7yqdIdKV3hQmUVCq7dilDxz4mzX1n4 X-Gm-Gg: Acq92OG6kO2rwJOnOrOlCmzJN+JPzc4iD1Iphterqy3IPm11vaWgxpS8dy6n2kZCJLx 0GK+rO2koOX78/v6tJK90YJrlWwIEUkdT7d63MDWalX5tqTQIQdbBpVm1pT6J8pReERn2PPvxym xEfxP7mIXIfsG/I8kVdnEjOodtMNJl64naknrLoy0WcqltUncL/wVzOt/B/Ya/vYhTHAH50BuoX Euorm6C9jHOvHmuhrAIlGZKsc0V67jHEgBIalmhBitBd+v1RzC14r12LQ5SCpMDTwbjl/4rzOQ6 6G0fsic3ZbRHiQPrhl72+x53UI1A6/bpapSZuQEDj41RXnddrLRO1QUmuPJPqn7aj48yxNNSK8l dlq6kRjIdKeMEAgq4aiTNC2aiPteyxwEJuFKRWsyLNOR834FnLm6kPp806/IPQKqMdo9w3Qjn+6 sH76EKRpkb0hSdItTcEiISlm1QFF+SoGYW1xPGPDfj9J1CuHWaNA== 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-kernel@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