From patchwork Tue Dec 29 17:31:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 11992551 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=unavailable 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 729C2C43331 for ; Tue, 29 Dec 2020 17:32:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5996321D94 for ; Tue, 29 Dec 2020 17:32:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726240AbgL2RcJ (ORCPT ); Tue, 29 Dec 2020 12:32:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726111AbgL2RcI (ORCPT ); Tue, 29 Dec 2020 12:32:08 -0500 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 395E1C061796; Tue, 29 Dec 2020 09:31:28 -0800 (PST) Received: by mail-ej1-x630.google.com with SMTP id x16so19010397ejj.7; Tue, 29 Dec 2020 09:31:28 -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=qdDwrQdREUWjQQ38ek4QAiAhdk257aoXXy59w1MRvOA=; b=QEKnbY79sTegMdqOm2AKm9aZQf976pJBuilkII4eQlZXHt2Hw3DL9j8OMJIpQWjozy /LumL32xXJTeoFeo5ByKQQfwb9er0RP3Q4d4NmKK68pB5Cc7NwGZao4VcKMhPsw9dzhO PkDyngTPR/SKOFEpFyn9IBSi1C1gXeQ3QbzlTqZ0XnC3dDlo7rSRS0ORICDSwr7BmSqN BGAeHsNIqbi/o+zpPk2mQTZ15cr3HoasfLAwNI/PNcrmWAM6lQ+P+CzWXu75max/C44M m8hyu3SplkB/uqax1G1MPg3XuPL17KyqodSy9O8BWUuzThgTZp6lzG20lIeKKhXOGeFu h4Pw== 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=qdDwrQdREUWjQQ38ek4QAiAhdk257aoXXy59w1MRvOA=; b=B2y7NK5btHPBR3xqGd6gVBv/ECzHxGT8zA4wNGfozHsaJCG9ngIcgTl8G6Ej5HXBEp SblGwfUfbE5Bwt7NwmCld38yuwq580wG2adRpjDdtIjxW2SKBEcQo7ciIIFnOm+WqG6O ntQDwsu7k6I+aJqVi9wBDcqR9z1z/eXppbD0JkY5k9ILO5gKQaMycvw81sVfgMn+86cn rYdWZq8PEQE68M1udlCT+tDm5XWumJ8H/MEuuehNpZGVl5VfbLtL2K6sUYvSsdqswiC4 GyCtTHVlBJHQYRVTOt3M5MzA21I8jyU8cvRsnr4RJbj/kud903f05rXl3fEa7hPhmAEQ tEaw== X-Gm-Message-State: AOAM530kxZSHnCQvw5Bda65OJqDYlf10LgJ3aQVlqDa1i/pxyP6hMYmn mURAPS3JE6cyhcBIrUQttrA= X-Google-Smtp-Source: ABdhPJzXvjnVv3P6kGMUG3T+BnJNSKijM8jHjUdis3XvKGQnESb6YeRzcnlU366qJq1apEhYWXyiLg== X-Received: by 2002:a17:906:9a07:: with SMTP id ai7mr46836642ejc.216.1609263087021; Tue, 29 Dec 2020 09:31:27 -0800 (PST) Received: from localhost.localdomain ([188.24.159.61]) by smtp.gmail.com with ESMTPSA id q25sm37385362eds.85.2020.12.29.09.31.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Dec 2020 09:31:26 -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 v4 1/7] dt-bindings: input: Add reset-time-sec common property Date: Tue, 29 Dec 2020 19:31:16 +0200 Message-Id: <90ca662ad709dd53d18e11885c4234817627184d.1609258905.git.cristian.ciocaltea@gmail.com> 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 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