Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2382440rwb; Mon, 19 Sep 2022 04:27:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4WqT3Abg3LQbWDX5EPlOXgDD6cpq0E/oCqN0yW6iDDRkO9ZD9j6OvB9XHRKoFAPIc6NaVm X-Received: by 2002:a05:6402:1849:b0:453:ba03:9e41 with SMTP id v9-20020a056402184900b00453ba039e41mr7729434edy.202.1663586878943; Mon, 19 Sep 2022 04:27:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663586878; cv=none; d=google.com; s=arc-20160816; b=Twq/CWAVd2uDy8wMZ+OAh9xwpHXONUoTdIQsJfuYOW/KYsfObt3wowROhk9ODGVPiU FvnuqpgQ0DWzaxZdrUIZFaIb3u8qKD4z5W+09S3x+gymUbBTJQE2Kl6Gin6Xd9vWOj5g KsIAEtJB22wLjlYd5AtQGyVYutTnBd+UC2bZPVtB8YMEzm3uYDbGdKGXN4halQY4ok3c NNUQriz9wWlPuMDtDrJ8TRk3Dio0i/KlHL+Oc7Iik/anY5AtANoT+AmxxIDFCU7fwiag 6OjcKXjzBMm4CwYtgtVU04qJgyG67rUEGHagmw710KbkrNhHcBXzeADXfQ0El+4LGnHO dgsw== 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=Ztqf2NwNv1t+35CYf00l5OZcaluiYfDwfmYhtP8ylqc=; b=oNnt/d7VEPl5mMhXRreT57odiYgFlZcQpyariAnmIf5scO7eFTE8xMe4iGOfNJOqzJ eIOM/cCmr7SYii1GbS3xWAB0Mgp1vd6q5FZ7CGmiQ9Uw4yCgaJI3rVz5SasKJe8xP2pV a6mWfRsWw32F5K5dObq1eCDhh2YN05L7dlNFxZI0KXQ4tdTF9dzMROkEKRlwvtwpHoi0 t5JwwdskhC5wdhFjGiTkCzdbPHHMhvStpEOTaQNGeGwfX5k7XOj0LBGPS6bBbie9vItx l6xtOaH+X7+ndnblA3wNOqJF0OIHi5OYR3LAE0DGqwlhmydHa97PFJgY3tPJbBYruqi6 RG9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=e5eZH32D; 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 l14-20020a056402254e00b0044ebbd162bfsi9240615edb.283.2022.09.19.04.27.33; Mon, 19 Sep 2022 04:27:58 -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=e5eZH32D; 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 S230070AbiISLNT (ORCPT + 99 others); Mon, 19 Sep 2022 07:13:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229846AbiISLNJ (ORCPT ); Mon, 19 Sep 2022 07:13:09 -0400 Received: from smtp1.axis.com (smtp1.axis.com [195.60.68.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B19A913F78; Mon, 19 Sep 2022 04:13:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1663585988; x=1695121988; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Ztqf2NwNv1t+35CYf00l5OZcaluiYfDwfmYhtP8ylqc=; b=e5eZH32D34S8GBWDPCIeJNQ9LtRanE2KO4hfFcRksu7BG35mztulToNy CK12TwPZgU9gjDbu6bgEv/CmnGpn1uRneA46Xc0yjASogo+zwUtNPaIen 0ax9NQd1uGkBGnxOY5WDEA3BuP2W6q40lWIg9qOm5d7jA0xh+0yfbq1xU 2PLziGJC7NplgYtgjKjzPHlCsOFMvLnTqgnn6Bu+XI0vc337JHhHNa5M1 bvS48wfSj/tPizHENlGgHcCan8edQVwQgodpqEF+SCvySs1L4a/egXGPR mGishhNhoU/etcxeKyyUMYRtwG5DYLuHtjfMNmcxA91kVAf1xdwVKBAfz w==; From: Astrid Rost To: Mark Brown , Liam Girdwood , Krzysztof Kozlowski , Rob Herring , Dylan Reid CC: , , , Astrid Rost , Astrid Rost , Subject: [PATCH v3 2/3] dt-bindings: sound: ti,s3a227e: add control of debounce Date: Mon, 19 Sep 2022 13:12:57 +0200 Message-ID: <20220919111258.3774-3-astrid.rost@axis.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220919111258.3774-1-astrid.rost@axis.com> References: <20220919111258.3774-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..76ce323ce965 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 # 0 ms + - 20 # 20 ms + default: 20 + + ti,debounce-press-ms: + description: key press debounce time in ms (datasheet section 9.6.7). + enum: + - 2 # 2 ms + - 40 # 40 ms + - 80 # 80 ms + - 120 # 120 ms + default: 80 + + ti,debounce-insertion-ms: + description: headset insertion debounce time in ms (datasheet section 9.6.5). + enum: + - 2 # 2 ms + - 30 # 30 ms + - 60 # 60 ms + - 90 # 90 ms + - 120 # 120 ms + - 150 # 150 ms + - 1000 # 1 s + - 2000 # 2 s + default: 90 + required: - compatible - reg -- 2.20.1