From patchwork Wed Jan 20 18:23:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 12033407 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5420BC433E0 for ; Wed, 20 Jan 2021 18:44:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0194520715 for ; Wed, 20 Jan 2021 18:44:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733069AbhATSnu (ORCPT ); Wed, 20 Jan 2021 13:43:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404230AbhATSYU (ORCPT ); Wed, 20 Jan 2021 13:24:20 -0500 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D4DDC061757; Wed, 20 Jan 2021 10:23:39 -0800 (PST) Received: by mail-ej1-x636.google.com with SMTP id hs11so32550644ejc.1; Wed, 20 Jan 2021 10:23:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rf1zhzHss3fv8z3siAe1uxwT/75TPGUph7fK4mm6NDQ=; b=Onq3xsOqXWllHjCWaOtIt4YwaZNKeXg+hlsaSKNjRImSx0eiD4DBeERQdJ1yH3uknL zDHBnoEARQ3IeWTbUS5Ai66PkJMBlCShjSc+8G3hx2J+w4tEUDwM6zw4rV53SFTwbNkq 6tU6D7Jl8A0oKePFjehN8SQgVkTAVGvTHcRuphgiqV8kyS1t/n4klf3sXfptpKqkup57 nLhsxdyofilz/1WhMPniC96U2+bXHAJ1TiO1iN08c46ZvZ7gC+q8ZELeCvZiauZy4RJU Mv0PNwdjJ1c0kFFrj686Sx4vJqqB32XrnyaLMN5+1Qrn4zUOpW8PZzizBmyad6DY2ZIM dgRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rf1zhzHss3fv8z3siAe1uxwT/75TPGUph7fK4mm6NDQ=; b=nJm4rpFMG76jJdlyImQh281EFr868pUjoyNSES00dtS9pVB/5sDLvqc4GGkMXRm48o zts+4t9fLihPZZrnJZROLYVm/km11NniTGfOQNIRjHp8Gstao9qbXr/vM4ifVt90KcNw FLftdHTNFR/srRpnqzArIujrmg+5sE38I7xT4IbzlVof+9d4bThCikW2UKgQr4H9v1ep wURfWuDUhtVrmXJQqZrcxsnJSE5i4fPsWIwofMPmeTqFQR6Ic3KVhMW9BgfB9G0HKeX1 8BDsKs6cLZnH3GKg+61XFTekNgNNT6uvDPVYEs375a/+gd7Sv5LfVIpmYX807OFxL5r4 klmA== X-Gm-Message-State: AOAM532ZzGOXtBud1EVSSjM57CIjKkz32L8kVTyXWAPuCSEcF/NZNGrT MuoOrg+C0LjwRMhPTEbWfjs= X-Google-Smtp-Source: ABdhPJwKXPXbtxuh877PlK2sNEAq3FR6qrjz70E02yETxzQgUrkOl3pEpMC2BnQ5ZTwF+5J3FQpcSA== X-Received: by 2002:a17:906:4955:: with SMTP id f21mr6992475ejt.384.1611167018188; Wed, 20 Jan 2021 10:23:38 -0800 (PST) Received: from localhost.localdomain ([188.24.159.61]) by smtp.gmail.com with ESMTPSA id hr31sm1158332ejc.125.2021.01.20.10.23.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 10:23:37 -0800 (PST) From: Cristian Ciocaltea To: Lee Jones , Mark Brown , Rob Herring , Dmitry Torokhov , Sebastian Reichel Cc: Manivannan Sadhasivam , Liam Girdwood , =?utf-8?q?Andreas_F=C3=A4rber?= , Linus Walleij , linux-actions@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, linux-pm@vger.kernel.org, Rob Herring Subject: [PATCH v6 1/7] dt-bindings: input: Add reset-time-sec common property Date: Wed, 20 Jan 2021 20:23:26 +0200 Message-Id: X-Mailer: git-send-email 2.30.0 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Add a new common property 'reset-time-sec' to be used in conjunction with the devices supporting the key pressed reset feature. Signed-off-by: Cristian Ciocaltea Reviewed-by: Rob Herring --- Changes in v6: - None Changes in v5: - None Changes in v4: - Added Reviewed-by from Rob Changes in v3: - This patch was not present in v2 Documentation/devicetree/bindings/input/input.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/input/input.yaml b/Documentation/devicetree/bindings/input/input.yaml index ab407f266bef..caba93209ae7 100644 --- a/Documentation/devicetree/bindings/input/input.yaml +++ b/Documentation/devicetree/bindings/input/input.yaml @@ -34,4 +34,11 @@ properties: specify this property. $ref: /schemas/types.yaml#/definitions/uint32 + reset-time-sec: + description: + Duration in seconds which the key should be kept pressed for device to + reset automatically. Device with key pressed reset feature can specify + this property. + $ref: /schemas/types.yaml#/definitions/uint32 + additionalProperties: true