From patchwork Wed Sep 7 13:58:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Astrid Rost X-Patchwork-Id: 12969755 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 A9C3DECAAD5 for ; Thu, 8 Sep 2022 08:19:48 +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 C71EF16BF; Thu, 8 Sep 2022 10:18:56 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C71EF16BF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1662625186; bh=jo3wHA8Ehuzo8XzoHFIfvfcftMQwO0XB/5AWBv76Nes=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=qnt8dkRq3uCCCPUMRkHx0D62ybCnCK1vKS+ZSjj9zTNYtZqHKHkm5O7GSYudJxB+/ DDReM72DrHu697v6Zjl2UlBfaPEOKtafYn9gUVdJRNAtKaSHjQnxlHOjOuHuG90MbG eEhqm0VCAKqKW8bwQ6H0lOFbg/8TGEuycho3xvhc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 29691F8023B; Thu, 8 Sep 2022 10:18:28 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 181AFF8028D; Wed, 7 Sep 2022 15:58:38 +0200 (CEST) Received: from smtp1.axis.com (smtp1.axis.com [195.60.68.17]) (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 E2069F8023B for ; Wed, 7 Sep 2022 15:58:31 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E2069F8023B Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=axis.com header.i=@axis.com header.b="TTelaBDO" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1662559113; x=1694095113; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=p4pwoRqjcrypDWv1qomhRQL50yJNPV0RDYOaGGrbH/M=; b=TTelaBDOJ1kRMsy+lTHE2ZudSZw4hrJR0AVy+RszmRhQ2jhtxxCdWJbj 3o823Eyu38XUlPQ92R75DPlFbRUW8CKsqbO1wppWT7iquH/ksY9o73K3f oiQtBKcbOOYEAY4orlH8EtIR+wSlccjRge0tpnA56MyL5lDNSxZov6T/3 QxnzkxkYsbuDRypojPW1g3FINRrKWaRXNgLcfNLCb33A5ckX0eZkbEcyF /6NchAT1wKnU+nNbvrbfdNASJFkPFCOoMwSSepcd/PH1x2yVcjgTAGhCi 9Gg2lD7Z6o60I6xb8y/P0BbjSEHRREBxa+cjcpMFa9b0YO6aBuk9ehVnk g==; From: Astrid Rost To: Mark Brown , Liam Girdwood , Rob Herring , Krzysztof Kozlowski Subject: [PATCH] dt-bindings: sound: ts3a227e: add control of debounce times Date: Wed, 7 Sep 2022 15:58:27 +0200 Message-ID: <20220907135827.16209-1-astrid.rost@axis.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 08 Sep 2022 10:18:26 +0200 Cc: devicetree@vger.kernel.org, alsa-devel-mejlinglistan , kernel@axis.com, Astrid Rost , linux-kernel@vger.kernel.org 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 --- Documentation/devicetree/bindings/sound/ts3a227e.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/ts3a227e.txt b/Documentation/devicetree/bindings/sound/ts3a227e.txt index 21ab45bc7e8f..a4aa4154c54c 100644 --- a/Documentation/devicetree/bindings/sound/ts3a227e.txt +++ b/Documentation/devicetree/bindings/sound/ts3a227e.txt @@ -17,6 +17,15 @@ Optional properies: Select 0/1/2/3/4/5/6/7 to specify MICBIAS voltage 2.1V/2.2V/2.3V/2.4V/2.5V/2.6V/2.7V/2.8V Default value is "1" (2.2V). + - ti,debounce-release: key release debounce (datasheet section 9.6.7). + Select 0/1 to specify the release debounce time 0ms/20ms + Default value is "1" (20 ms). + - ti,debounce-press: key press debounce (datasheet section 9.6.7). + Select 0/1/2/3 to specify the press debounce time 2ms/40ms/80ms/120ms + Default value is "2" (80 ms). + - ti,debounce-insertion: headset insertion debounce (datasheet section 9.6.5). + Select 0/1/2/3/4/5/6/7 to specify the insertion debounce time 2ms/30ms/60ms/90ms/120ms/150ms/1s/2s + Default value is "3" (90 ms). Examples: