From patchwork Sun Dec 6 01:27:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 11953573 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.7 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 318FDC2BB40 for ; Sun, 6 Dec 2020 01:28:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0D21F2333C for ; Sun, 6 Dec 2020 01:28:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726648AbgLFB2B (ORCPT ); Sat, 5 Dec 2020 20:28:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726498AbgLFB2A (ORCPT ); Sat, 5 Dec 2020 20:28:00 -0500 Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF7DCC0613D1; Sat, 5 Dec 2020 17:27:13 -0800 (PST) Received: by mail-ed1-x544.google.com with SMTP id v22so9882113edt.9; Sat, 05 Dec 2020 17:27:13 -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=vPG7I94+/QN09u6tcNOJ9aMJs68vqEk/+MGkrZyA5EM=; b=PPSUi4O82+DHXmfjU0fP/fIr8vxTd8n3w+FDYEE12MbXBUXJ289OimMRTXcmv8rZJX ViB0aWip4rpRad3FQBNuphpG2OJgP3GLDqUHhhZgMtfe/LK+cqhgg0z4k1HoPPqyoLpA qW+ubWyCeVtWB+gWOEyZn5YYQnWjOMH9fgRTgLBekYxdC9IAWYnKQqinw5Bb+haYtgxW 3bgEQPtNQdcph4nWHT5j44EX+gJmHRYW/vg5ZA9hpZKsgIW8fHTwcF2dp41eONl8tGrh YV2t448ZiW4F2fcpVDYIlCejjynmjt3a6SUSTrMW4bpvlmmduFP7NiAMMPgxpevosmL8 H+hQ== 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=vPG7I94+/QN09u6tcNOJ9aMJs68vqEk/+MGkrZyA5EM=; b=aRxR99w3TG2HZrWtcsPtfd/ttANmmF7CWWp8kAYW2nt1EpslGET1k4zu7IfWe3fP1E z3pYIr/mf3jX8jUY3m+JYVpHnGGnnPhZ0z1JF2elnyJF7hKAHUgkV6uId3Sjr5fpYdB2 qwZbuEWE7RU1aHGcXvM2rpNOMRiCwyNW6DXfs9es7lKg1iPg2lAN3UtgBg/EyWxrx9Em mNAb5NjdyytKOuqTyYKW6GWlwkl9BWB4fF2rtKS56duV7jHcpbpMEr6DMMymKoP3hijJ a9KLwmnpsFwKk2XzE/hp6XMAZS6VBfDoScqTNTOszULvibUxzrMuM8knfVOky6DLTYTk MuVA== X-Gm-Message-State: AOAM530Di8ppVeJxOXH6PB5j7/bdy/bPS/kd1TbKTnG6AWTy+/9fVliR lW9Z14Tq5MZbp1xTBRqSVx8= X-Google-Smtp-Source: ABdhPJyMjwflIxVc40xS6IWekDsncBwdhvWDVyNBdH9ls2z7yq2I6vpLhY69rvCLzrCYRWTLY9TxdQ== X-Received: by 2002:a50:8a44:: with SMTP id i62mr11208511edi.97.1607218032493; Sat, 05 Dec 2020 17:27:12 -0800 (PST) Received: from localhost.localdomain ([188.24.159.61]) by smtp.gmail.com with ESMTPSA id a10sm6157023ejk.92.2020.12.05.17.27.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Dec 2020 17:27:11 -0800 (PST) From: Cristian Ciocaltea To: Lee Jones , Rob Herring , Dmitry Torokhov , Sebastian Reichel , Mark Brown , Manivannan Sadhasivam , Liam Girdwood , =?utf-8?q?Andreas_F=C3=A4rber?= Cc: linux-actions@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH v3 1/7] dt-bindings: input: Add reset-time-sec common property Date: Sun, 6 Dec 2020 03:27:01 +0200 Message-Id: X-Mailer: git-send-email 2.29.2 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 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