From patchwork Wed Sep 21 08:18:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Astrid Rost X-Patchwork-Id: 607969 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A0459C32771 for ; Wed, 21 Sep 2022 08:20:28 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id BBB65828; Wed, 21 Sep 2022 10:19:36 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz BBB65828 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1663748426; bh=0aYNSb7sCJDJuC/ULWHjHRCaBy2BpzPo0V6Ow3iEPt4=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Yw/iphkQ2OJq5q/zkzyzbdC19oBobAn3swlXGMOtHAE4oWqwwu5cydERjCjR5ZJP5 mK6Wwqs60CvSGY6T8rXBw4UbQM+qacs+G8LOm6BQ5CK49Sjn1tfwtd5O/yHgZ13v2Z yZy5HOY0G9hnTYQvVALEJ+VH6rfNM2ullUfPKWwc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id D1C3EF80169; Wed, 21 Sep 2022 10:18:50 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 3DA67F80256; Wed, 21 Sep 2022 10:18:49 +0200 (CEST) Received: from smtp2.axis.com (smtp2.axis.com [195.60.68.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 257B8F80256 for ; Wed, 21 Sep 2022 10:18:39 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 257B8F80256 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=axis.com header.i=@axis.com header.b="EARkU5VK" 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 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 Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Astrid Rost , linux-kernel@vger.kernel.org, kernel@axis.com, Astrid Rost X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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