Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp666992rwn; Thu, 15 Sep 2022 04:56:22 -0700 (PDT) X-Google-Smtp-Source: AA6agR6/hGTD1Rkm6QwaKQDWjTATlGYZiciPxMg4rDGpDzvKa+H8t/LX35XoUQj3yRFHHPC4XmLA X-Received: by 2002:a63:4f4f:0:b0:434:b9db:b9f with SMTP id p15-20020a634f4f000000b00434b9db0b9fmr37030833pgl.438.1663242981791; Thu, 15 Sep 2022 04:56:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663242981; cv=none; d=google.com; s=arc-20160816; b=I1ql3byA+iG93ceZVadjYJVbo3+gOF25Ljit7DQi1FKKBESP70dXfIiGLAyxNy4J9x Uhczuv1k/HvB850wrz/YfiwSTjueUrXn5QX5kJpoR7OGeMO8tTIte3MN7Rhf69Jk1WLa S3MswczLQZmMYTl4YfbRBGU30iLozmJH06SKxqzLvdCh3kdEj8ewhzdN56A/ghPq8jFI zHZ1XxmzsktIlox2ZtaJqVzgwbomRuX8FVhx9YdQb/TikBbCh1+kOb4+po6hBhbUILBd Sm1IfwQk6cOSxoWu1opUTjByWIsceQYvrOWA6yW3XL9kZrES12OHN6zVuKox2rsyil7M +GNw== 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=wnFQ1tb35qKbaGfqR/2XMvWyIaJYai8tjzpmbu59XnM=; b=VAdE+mIOTdLUquQb9q5CoHC0FDk/dJtBfE6Vdw3g6QQ8iU8zP8PPJ9x6feJtK66EI2 ePhjV5GZM8MJ4LYWat9tMkUiHA/gGrueiRUBBRWipeaNS37aMQJROk3ZkUR29/VlpFhg ERqUb+drXahZWj0XUXzFBkSEsWRd7YMUJ+eUa7IHjjLltXLIGvZL6vHnUlww7asy2p2q B889f+GnDu+1QImu+UcqI5IoyGYoaQ9lLGU7eWz4sOCWfYPKLY49NJX0JTo66PCRTkso hXloL3VzohC/o/QOa1GkFKCx3GOVB+DKfp8AumF7jyBNHFgs4dBANxm9P9NmZmUjEm3H 07dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=OUjhnCQP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=axis.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l184-20020a6388c1000000b00438ac13d1c8si1383956pgd.410.2022.09.15.04.56.10; Thu, 15 Sep 2022 04:56:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=OUjhnCQP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=axis.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229937AbiIOLkU (ORCPT + 99 others); Thu, 15 Sep 2022 07:40:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229708AbiIOLkF (ORCPT ); Thu, 15 Sep 2022 07:40:05 -0400 Received: from smtp1.axis.com (smtp1.axis.com [195.60.68.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC9C73AE6A; Thu, 15 Sep 2022 04:40:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1663242003; x=1694778003; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=wnFQ1tb35qKbaGfqR/2XMvWyIaJYai8tjzpmbu59XnM=; b=OUjhnCQPb9nOjAtciJPwYITINgID3hs2P/zTFV7oqGaSzRLKkOYPDWjN oNwsbTOv7crwpkDfSe6MC9cAhjmxSm8SkKD8gCPFPo7zsGQ7bbq8SPTLk Vk14zUBSwt62PCDDVcjpQ71XKU7SMg7QAnI1f2lrgxLlxNljv/A3hvdYv zWaLsNFqvWXT8/kTWJ2krTHc9ry9h2aWSdIlF2WEbvgmH2iTDY7CAeY9Z pXK0f02qRptYlezwXGvfz/TrBqldLFKu4I51vRlo+isKbl41Bz1/srVct EWUNSWEJLamPV4QS61gbG4HiKoPIBkrEM/AaBZ4hzqHGdxehte4RZ8bpm w==; From: Astrid Rost To: Mark Brown , Liam Girdwood , Krzysztof Kozlowski , Dylan Reid , Rob Herring CC: , , , Astrid Rost , Astrid Rost , Subject: [PATCH v2 2/3] dt-bindings: sound: ts3a227e: add control of debounce times Date: Thu, 15 Sep 2022 13:39:54 +0200 Message-ID: <20220915113955.22521-3-astrid.rost@axis.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220915113955.22521-1-astrid.rost@axis.com> References: <20220915113955.22521-1-astrid.rost@axis.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add devicetree parameters to control the insertion, release and press debounce times. Signed-off-by: Astrid Rost --- .../devicetree/bindings/sound/ts3a227e.yaml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/ts3a227e.yaml b/Documentation/devicetree/bindings/sound/ts3a227e.yaml index 3512b1f1e32b..8c27f298733a 100644 --- a/Documentation/devicetree/bindings/sound/ts3a227e.yaml +++ b/Documentation/devicetree/bindings/sound/ts3a227e.yaml @@ -44,6 +44,35 @@ properties: - 7 # 2.8 V default: 2 + ti,debounce-release-ms: + description: key release debounce time in ms (datasheet section 9.6.7). + enum: + - 0 # 0 ms (0) + - 20 # 20 ms (1) + default: 20 + + ti,debounce-press-ms: + description: key press debounce time in ms (datasheet section 9.6.7). + enum: + - 2 # 2 ms (0) + - 40 # 40 ms (1) + - 80 # 80 ms (2) + - 120 # 120 ms (3) + default: 80 + + ti,debounce-insertion-ms: + description: headset insertion debounce time in ms (datasheet section 9.6.5). + enum: + - 2 # 2 ms (0) + - 30 # 30 ms (1) + - 60 # 60 ms (2) + - 90 # 90 ms (3) + - 120 # 120 ms (4) + - 150 # 150 ms (5) + - 1000 # 1 s (6) + - 2000 # 2 s (7) + default: 90 + required: - compatible - reg -- 2.20.1