Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1907360pxk; Sat, 3 Oct 2020 01:50:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRP7Iy5wpGGuyi5pX/qK0eDj/H9v+secBf2FRz9lE9HqBm0nB9nUNvi8KH/Z0UYKSFfrpq X-Received: by 2002:aa7:db02:: with SMTP id t2mr7085043eds.95.1601715024374; Sat, 03 Oct 2020 01:50:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601715024; cv=none; d=google.com; s=arc-20160816; b=AhABfFyoZMNzDAlhVyGHO4ea6i+2qzmNWvgl/jYHUfnP7RQx0Y0gpn8V1ojup+FgU/ VI6Ytohk+5Q+FH0Yl1LM16EQpqZKKv9rlDCH77RrutSAaGP7mt6/jps8ImABTaeawFNe 3DbbNG9vyTjZd6dgPVUWk/xl3y4pGj8s6hb2WJmfpxCf43k6FkUC8ZH2eSgm0BazwNv2 OtFGd/Dn45VBsMRWLX59yTiPfVi3BxN7yY5iOPUcnXXriWiWwtBlTy2f315r/U0UKhgr mmWBzUcEAWx3WMPVSIH+Kx7djXpK2FGVNi+iVUHQ1bwdMDt34WOD+hHkAcRtLXNvjlYc ad1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=eYyzudZTHN1OR3zf1C/nyuJSoTk9FmxtyHHwwN/k7kk=; b=XKLN4qGmt5OyrLffkanaeAcQBo75sgNORa5kCNf86wgL7KpYw4j8mE0lokU8VVViKM tYYDAF3h8ibXLhlsnmRQS25dZW9nHOrbFClLXAqH1ri5pz0KHY/+elnNJrFcS/QUEXdS 85vt4etx2uT9InMaLOcRJ6FySWhPDS6QQgieio3BMYWmVrDQWBiBxFwmq/f2qeg9018S eVbkkcaJarjte53g4a13u3sR0kbexRugixJaxVn51+AsUA/IM/1DCp65V109920zgPPY z9GXusuxrr08W+U7urF76cQks5dcRSJl7LscNX0sBaw7aBGlCX5Sd9qH9ocV9iSECPNG skdw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h1si2806769eds.76.2020.10.03.01.50.02; Sat, 03 Oct 2020 01:50:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725791AbgJCIrB (ORCPT + 99 others); Sat, 3 Oct 2020 04:47:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725681AbgJCIrB (ORCPT ); Sat, 3 Oct 2020 04:47:01 -0400 Received: from gofer.mess.org (gofer.mess.org [IPv6:2a02:8011:d000:212::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE69BC0613D0 for ; Sat, 3 Oct 2020 01:47:00 -0700 (PDT) Received: by gofer.mess.org (Postfix, from userid 1000) id 62F49C63EB; Sat, 3 Oct 2020 09:46:56 +0100 (BST) Date: Sat, 3 Oct 2020 09:46:56 +0100 From: Sean Young To: Rob Herring Cc: Joakim Zhang , mchehab@kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com Subject: Re: [PATCH V3 1/2] bindings: media: gpio-ir-receiver: add linux,autosuspend-period property Message-ID: <20201003084656.GA29917@gofer.mess.org> References: <20200922190807.6830-1-qiangqing.zhang@nxp.com> <20200922190807.6830-2-qiangqing.zhang@nxp.com> <20200929155201.GA665464@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200929155201.GA665464@bogus> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 29, 2020 at 10:52:01AM -0500, Rob Herring wrote: > On Wed, Sep 23, 2020 at 03:08:06AM +0800, Joakim Zhang wrote: > > Add linux,autosuspend-period property for gpio ir receiver. Some cpuidle > > systems wake from idle may take a bit long time, for such case, need > > disable cpuidle temporarily. > > > > Signed-off-by: Joakim Zhang > > --- > > ChangeLogs: > > V1->V2: > > * New add. > > V2->V3: > > * linux,autosuspend-period = 125; -> linux,autosuspend-period = <125>; > > --- > > Documentation/devicetree/bindings/media/gpio-ir-receiver.txt | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/media/gpio-ir-receiver.txt b/Documentation/devicetree/bindings/media/gpio-ir-receiver.txt > > index 58261fb7b408..e1447c9b0e26 100644 > > --- a/Documentation/devicetree/bindings/media/gpio-ir-receiver.txt > > +++ b/Documentation/devicetree/bindings/media/gpio-ir-receiver.txt > > @@ -7,6 +7,8 @@ Required properties: > > Optional properties: > > - linux,rc-map-name: see rc.txt file in the same > > directory. > > + - linux,autosuspend-period: autosuspend delay time, > > + the unit is milisecond. > > What makes this linux specific? Good point. "linux,autosuspend-period" does not say what is being suspended either. How about "cpuidle-suspend-period" instead? Sean