Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4995188rwb; Wed, 21 Sep 2022 01:25:18 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4BeGlWu/i98ZyVZ3X9IYEm7JgBAGOu3dfkaaKW8YTac7J+lm/xtuzaKg8CZbNsjZvvzisY X-Received: by 2002:a17:90a:4888:b0:203:6d42:ccae with SMTP id b8-20020a17090a488800b002036d42ccaemr8331870pjh.166.1663748718437; Wed, 21 Sep 2022 01:25:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663748718; cv=none; d=google.com; s=arc-20160816; b=mkklM706n+w/DPGO7U/K2rxSpcCX9Ug0/DnTGROF/oiGaalnpQi0W6iqnLSyfdUBLo 6alUtWbDcJFFBC+uI9LaCr1n4oLI+y3ihIGaXnmRuY42c86Hh1cNjnmdzxhOtV3L2nDD E2J0rr6FIZDsOqsiB4TP2UT+k7U29gPzLSR+tluBEWcL0pziFGBxf9v2RkMaVaSVg2RS ZcujqSTR5FrGyjHkEWaW9BQcnjQ42h6NwsoGG2Es+N6MYYOe7ez2dsYDnknOu+gkUfqJ x2KR2kZq2/1OAI3R1L8pXW8zXYhbs4cH6nwJ4x9PG8bvu4DHViCaZQRDYOCK7aK0wwDo zseQ== 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=tGA4GqW7YQiOiFab+QJ8IuR8a0LUSCorsjEVc9ac2Vo=; b=nvWQaK87VrZOIv/pUTN9RFhw2526Rm0WDnSBfWN2n+5+mjrsvQT8BXNhBcRecpBdrX 36qoQuLya5zk0NEMZSdKrKWP33DJKYCaLokMOFHLnn6CrKfx3iilMUR+O8fbxgdlPC1w ra7eRTc/TTPGhEH5dzi2wb+flsHB5Om++a4C+fqNvGt44c6sn2LxOrAtoc8SCwPiGkm+ SH9GuDn3xRTCu4J3/Mu7jMTC1Yr//hhPcfo8ZiWHg5Lv/znMHUUtg7igvS/1h/DCRvgp qzqJEqqS5eeuVZ0z9UmcawW7eiLji3XJ9XbHmVUSajDdJ/Ygn0UT/o5ppSFXK3aBiEVV 7+ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=EARkU5VK; 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 d13-20020a63fd0d000000b00439f6781389si1848149pgh.662.2022.09.21.01.25.07; Wed, 21 Sep 2022 01:25:18 -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=EARkU5VK; 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 S230118AbiIUITB (ORCPT + 99 others); Wed, 21 Sep 2022 04:19:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231246AbiIUISl (ORCPT ); Wed, 21 Sep 2022 04:18:41 -0400 Received: from smtp2.axis.com (smtp2.axis.com [195.60.68.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 013E1C7; Wed, 21 Sep 2022 01:18:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1663748320; x=1695284320; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=tGA4GqW7YQiOiFab+QJ8IuR8a0LUSCorsjEVc9ac2Vo=; b=EARkU5VKU8dIaElJHylMHlQiq4mEH9iXAhX2Tw9AKSa13+8LsO/PdAiM egunNOadD8ewEzzZ895O58g+BkHcPAo/OGXwpbJFmdvATFKd8FQlpCpxz s/6j4hVHi2UvVr6N44e5iI9brlpBwwv4wwUt/NomrwHTFdGkCEe0L9Bkb kTyyk7HizPuTrW8NquitdURV4BON6341lmjpa4T6p7vP2yFjW7FQHeT56 48bt33sB8Y1HY7D3cS56Tq6AWluyVL94EBYUCX5vivZMH8jpW0wOM5uIl HwR+dE2n+w/AmX/2NDi20/jORLONsCDwLX6iOYmM7emGtltNwYRZy42eS g==; From: Astrid Rost To: Mark Brown , Liam Girdwood , Krzysztof Kozlowski , Rob Herring , Dylan Reid CC: , , , Astrid Rost , Astrid Rost , Subject: [PATCH v4 2/3] dt-bindings: sound: ti,ts3a227e: add control of debounce Date: Wed, 21 Sep 2022 10:18:33 +0200 Message-ID: <20220921081834.22009-3-astrid.rost@axis.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220921081834.22009-1-astrid.rost@axis.com> References: <20220921081834.22009-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 --- .../bindings/sound/ti,ts3a227e.yaml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/ti,ts3a227e.yaml b/Documentation/devicetree/bindings/sound/ti,ts3a227e.yaml index 327d204cf957..785930658029 100644 --- a/Documentation/devicetree/bindings/sound/ti,ts3a227e.yaml +++ b/Documentation/devicetree/bindings/sound/ti,ts3a227e.yaml @@ -41,6 +41,35 @@ properties: - 7 # 2.8 V default: 1 + ti,debounce-release-ms: + description: key release debounce time in ms (datasheet section 9.6.7). + enum: + - 0 + - 20 + default: 20 + + ti,debounce-press-ms: + description: key press debounce time in ms (datasheet section 9.6.7). + enum: + - 2 + - 40 + - 80 + - 120 + default: 80 + + ti,debounce-insertion-ms: + description: headset insertion debounce time in ms (datasheet section 9.6.5). + enum: + - 2 + - 30 + - 60 + - 90 + - 120 + - 150 + - 1000 + - 2000 + default: 90 + required: - compatible - reg -- 2.20.1