Message ID | 20230324170214.3470675-2-f.fainelli@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp784314vqo; Fri, 24 Mar 2023 10:13:22 -0700 (PDT) X-Google-Smtp-Source: AK7set/Wo/2IvyFBO9xWWVumhHZ/r2oDcRS8hmbf0J610yAK2mQhvUKeQUYLJ1jNsGUI/SWf+NO0 X-Received: by 2002:a05:6a20:c511:b0:d4:e980:9f90 with SMTP id gm17-20020a056a20c51100b000d4e9809f90mr3810469pzb.44.1679678001764; Fri, 24 Mar 2023 10:13:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679678001; cv=none; d=google.com; s=arc-20160816; b=tDf/IHcx0wZGj1qVtKzj4PQLEf+fpRhnFoBb36pKFZGf8wiFUsfgWXDw0qRWfse1DD W5Bw1NelJ/6Tb1ttXkkXr9oQ7lzqsjcxa4V1mqOg0sxCzjAQswuHR5AhQ5O7Ag5DTray C7952W63U/ExzjzHxj+JJianArUHZw14DV77jBbLQEL+hHFJQSF8oZdD2oqTtSisLZa6 j/XG3V7xbO9hqvDAPux0rcy098b9/ItCKG1bPK4xRWL7BUdxz6KJvUaeL2lsEveCgeII IR1VWII12Sa1ii1N1+p6qdy5XiF4tI+0f9EDSLTuVm/kf5Uwe9LYx5WDaqW0UdYmqGvz AjvA== 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=ygxBF71VOkM+KeTylKWK/Z0RCTPhhMfAZKU7dH6P7Hg=; b=C8iMe0o1v/T879MvEC3dXwkbpp/diNM8limPB97tevrajKxhVgGjhRRwtbkpIcGdK4 WO0CyXi4U79CUQZStyvsQbOJDxlPCFjtUy6gq2G1xIBLPCVwSZMcVVavnmYPGrw5rBw0 hpp4nOxlzibR68imFIU6/TvZTlWWxGZodDY3t6YtKSIyedxebhZTQFMCUioRrcgkSkKm 9fYAzI9NfDlCLiL/6nojZVikRfCU2PH3s7NCnfFSHOrHhVS9SbdhLOkGwoD6J72nKsFv 71cyZo+1N3sSWZL62+JvS3CB3rR7I7BoDlOnwhKG4PLZKzAbQvI71KdpRHqGiYKVk+BX 8+hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=OIEUXRh+; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q85-20020a632a58000000b0050f818e900dsi14102090pgq.761.2023.03.24.10.13.08; Fri, 24 Mar 2023 10:13:21 -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 header.i=@gmail.com header.s=20210112 header.b=OIEUXRh+; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231893AbjCXRDE (ORCPT <rfc822;makky5685@gmail.com> + 99 others); Fri, 24 Mar 2023 13:03:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231901AbjCXRDB (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 24 Mar 2023 13:03:01 -0400 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BE5B30F0; Fri, 24 Mar 2023 10:02:59 -0700 (PDT) Received: by mail-pf1-x42b.google.com with SMTP id z11so1682352pfh.4; Fri, 24 Mar 2023 10:02:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679677378; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ygxBF71VOkM+KeTylKWK/Z0RCTPhhMfAZKU7dH6P7Hg=; b=OIEUXRh+v9HvcGnDSS5Aq05048LRCODXCmO/sixBVKIa2xfhzdcSmf8LxZfSe3x4mV vmOxAXKnX6rXI+Ox2iwdL0E5grJpHKmG4f+kzCuuj8bpVatkaXEi40WDKa8HeOjk3JaD UuCVSqAqznxYu5rskkKlchoJOB4jvvLBJkqkgpbRftz/cdkRge8Z5f5vEvPaj9glcT9k lu2uShqWGlq1Y3Q6GPytJXSfNbCDETst6V9+7HttPUGDON9m2V99Y8GxNmlCRayqtkJb CjcXDM5HGEFciOkTePuoPQvyIjkJdHm61F2n/G/1Qu9Z89sEJPlDPYfi9xbQksUbXV7S BLYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679677378; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ygxBF71VOkM+KeTylKWK/Z0RCTPhhMfAZKU7dH6P7Hg=; b=Z98Zat84DZcX8y8wuyrMf12ZEeauXapEaeTMwV8zIZqCgy5S4t6UQBBKn1mWuQ07Rf MvfzvvmagwUF7tkL7HnF5t2XL4DyvwkQKLuONwG6nKRh0sl583ZnALvnTeDAvILj4TTf tnBSJ5zF59deXNgPD7GpKpzu1yiwQK95QgRjrjnbtjxRQGwz3dm3suQQoXL2NiLysCFi A7X62KZsbEiGQ8xl3bMa51NsjpG9WUWHu1C+pf26KRDTwsig24knGOr+CxHaoIlfG2P8 4puG8ms3RllRsZtxby/DoS76Z+sxJnP67/6uNtfFa+vTavJ6JfRJ6FN2Y4btcYbgBYMI dgjg== X-Gm-Message-State: AAQBX9db0pNHEx37NxEP1hO2L8FNARkEwD2YYz9biDXvePQJiwz6tVw/ iurW8chPZtB92OejThush/r5wXXo5ao= X-Received: by 2002:aa7:8bc2:0:b0:623:2bba:dd9 with SMTP id s2-20020aa78bc2000000b006232bba0dd9mr3545736pfd.14.1679677377917; Fri, 24 Mar 2023 10:02:57 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id h4-20020a62b404000000b005a8bfe3b241sm14019591pfn.167.2023.03.24.10.02.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Mar 2023 10:02:57 -0700 (PDT) From: Florian Fainelli <f.fainelli@gmail.com> To: linux-kernel@vger.kernel.org Cc: bcm-kernel-feedback-list@broadcom.com, Florian Fainelli <f.fainelli@gmail.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Sean Young <sean@mess.org>, Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>, Ravi Kumar V <kumarrav@codeaurora.org>, linux-media@vger.kernel.org (open list:MEDIA INPUT INFRASTRUCTURE (V4L/DVB)), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), Matthew Lear <matthew.lear@broadcom.com> Subject: [PATCH 1/2] dt-bindings: media: gpio-ir-receiver: Document wakeup-souce property Date: Fri, 24 Mar 2023 10:02:13 -0700 Message-Id: <20230324170214.3470675-2-f.fainelli@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230324170214.3470675-1-f.fainelli@gmail.com> References: <20230324170214.3470675-1-f.fainelli@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761270040631965096?= X-GMAIL-MSGID: =?utf-8?q?1761270040631965096?= |
Series |
Correct gpio-ir-recv wakeup capability
|
|
Commit Message
Florian Fainelli
March 24, 2023, 5:02 p.m. UTC
The GPIO IR receiver can be used as a wake-up source for the system,
document that.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
Documentation/devicetree/bindings/media/gpio-ir-receiver.yaml | 3 +++
1 file changed, 3 insertions(+)
Comments
On Fri, 24 Mar 2023 10:02:13 -0700, Florian Fainelli wrote: > The GPIO IR receiver can be used as a wake-up source for the system, > document that. > > Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> > --- > Documentation/devicetree/bindings/media/gpio-ir-receiver.yaml | 3 +++ > 1 file changed, 3 insertions(+) > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: ./Documentation/devicetree/bindings/media/gpio-ir-receiver.yaml:27:6: [warning] wrong indentation: expected 4 but found 5 (indentation) dtschema/dtc warnings/errors: doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230324170214.3470675-2-f.fainelli@gmail.com The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.
diff --git a/Documentation/devicetree/bindings/media/gpio-ir-receiver.yaml b/Documentation/devicetree/bindings/media/gpio-ir-receiver.yaml index 61072745b983..7e76838388cd 100644 --- a/Documentation/devicetree/bindings/media/gpio-ir-receiver.yaml +++ b/Documentation/devicetree/bindings/media/gpio-ir-receiver.yaml @@ -23,6 +23,9 @@ properties: description: autosuspend delay time in milliseconds $ref: /schemas/types.yaml#/definitions/uint32 + wakeup-source: + description: IR receiver can wake-up the system. + required: - compatible - gpios