Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1749697ybl; Thu, 9 Jan 2020 00:40:47 -0800 (PST) X-Google-Smtp-Source: APXvYqytK3kmI2SLbGlpsAubDwAN6IdI1TnLccDIy13UzcPA/iZbSv/W2V4wBWCcf4xB0uIH9bFL X-Received: by 2002:aca:34c1:: with SMTP id b184mr2384973oia.62.1578559247706; Thu, 09 Jan 2020 00:40:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578559247; cv=none; d=google.com; s=arc-20160816; b=ZS4mtc4Rw/5jAeL+/A9pEAW8+pWJBAljx5kaBZv1vHRzgRRfUUvmNUSZFz6htacC3G 4O8nigILKxcTrA6YGoYqlVBqMOHv2EROgNeOcXegxVWuPE/o/4p+D1z3FThlxG/uvWQm OVwtxhU411lTlX7Hb+LvpAzhQqyKKLVeSdH80g3pPyLpqe8h/8SFGn6h1RtQTNhimKJQ ChlA/Ds4UJqnHQWlfn68boMrG1WTiIb9hF+kLS78ncgcm/m5ouMHKTIY0BOgZNRUd6TA EFi/x0EBjWnLdFOZRUQ90vpSiM5rDP4fipA8jqkMwS34nDIJG1MAO2Ycx4sKAf4P/JhO 2Apw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date; bh=y/pZ9zbtsKavpjOGvmiRIQp6qOluVyGPjwiyyw4lbG0=; b=V2Z2y4LUAMPc0QzK0FNRFceL8ZEvTN7c+4VvUIE3fv6dFoWq0UtnfKXBMw6m+IFXtO aux0mMjVh9bK690dIk7vbzqZv6nSJpWcnP08ZBER9P+qSsDs1ynOhorHo0R3miJMPQi9 Uv1EAsVAkzkE7tJZUkyVvZlNrRFndDJYQNVH2XyZV70QpfJFHd8Tm9uSk8cHNGea8RXq j8YS+JvJkam0xbzij2ZK6mIgG//Kmhsv1OkGDRimqQyzCKKVab8rsa0vZADJOcRCrCrR K/nhuQlrIIDEvce4/mDg7C+xJ3CKz7PPj2JwDQw2ck4ouD3A8iTRP86bQDHvIYTDwXke VGBw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 185si3126526oie.52.2020.01.09.00.40.27; Thu, 09 Jan 2020 00:40:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728584AbgAIIie (ORCPT + 99 others); Thu, 9 Jan 2020 03:38:34 -0500 Received: from mout.kundenserver.de ([212.227.17.24]:44383 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728435AbgAIIie (ORCPT ); Thu, 9 Jan 2020 03:38:34 -0500 Received: from localhost ([31.212.60.142]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MAwPf-1j0inL3jy5-00BOt5; Thu, 09 Jan 2020 09:38:19 +0100 Date: Thu, 9 Jan 2020 09:38:16 +0100 From: Andreas Klinger To: jic23@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, rpi-receiver@htl-steyr.ac.at, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: devantech-srf04.yaml: add pm feature Message-ID: <20200109083814.GA5368@arbad> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Provags-ID: V03:K1:i0uYSN5x4RYDxO54mGdxNfJs2LECSJYdO+xju+pRtqMSxWtOwBp J0GjlVpxXHjPASKsW00v+BwTvSHRy8eqi5owOVNgI/7XHKGuseioBFn6LME5jlzeNdqgKw7 Uue70HvQbkWlRgHvNx0VHPDxDigaw9j7OKsyrMRIEtba0DQBMbXy1yhwBsv6FdotxT6TTMk oFqG5mPNhk7k5oR1e7LQw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:FquxKpnqJm4=:lHu8UgL10UpvgdsVrwfcbZ TaPydOcy7cM8g1p/P5RzGoQ95TsouJtMPX3lTBrlZXT787abgFeBCg3o6ShXqXt+3ABR4UtVh 9Vh3BNzkQL4+MV6TDKskdF2VF4t/2/HoTqlh+nXvdEUkCbGbwgappnB5zMSI9WF/auqatx3Sj LK8VwjnbabIsst1fVt7bRI3R7rsV0jrYi6kmhuwTsnKznjgfCyzwYDO5HsvV6xeRGydvU6Zgj nvitKKqEaunBIayTKd4HMNAjHNmBrMnu07omiKsgAAYNksGTu5wwWVuC2JLoM/iGp1rbI7ALW O6BsuSxuM5Ie65h0uPK9ootEfiq/GJ5kPYjwu1TPxlqYO+6RHBlZ1pu5OslrrEfZCzjITMtd7 gAqZ1H7bDrG+AOSJL87nRi/igm6OPukFshJhmEh47kt00+UA4LMO3fg2u4DP+mMWEFMoNxjm8 Yt+ujTYNel2zzJ7p6f0GQD2ZR036P1uguqY645IKrcuR5A1G8LNw9lExdIOXfNvuHushrSzrN Emu0M2MBnBZusjrnY0w9M2puUX8AuR9ZJQc70JA9e3DY8YwmdgzSnY4IeNKIduExhtn8TaODO Z0sdqt+3DgAd/PmJX8+mYUHJm/k3rN2BIZ6eYB6kI7oClO/vvEo/05QXprEyJZvsojxzvWGzF 8PEW+yb9bGbR2Vrtgeymo6rao3zXRiVBSZU1324YRMMLZH4dE5bnYTnj25ZmD/SJUVuE7fmI+ X+lhEOfm2JcuTd4r3aXr0I7MDmxugOoXJaES1fFh467XHMdmm4jezs2/t2i28KtfU+6ET4zIu uVb5JvubtHfsIFEPHVNcHCdLWrDytdVUPmaNye785czfNjqnJ4Rz5hqaR2zKyBQCUa5N1qT4k aBr/tih0Hi6hERZbdUFg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add GPIO line and startup time for usage of power management Signed-off-by: Andreas Klinger --- .../iio/proximity/devantech-srf04.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/proximity/devantech-srf04.yaml b/Documentation/devicetree/bindings/iio/proximity/devantech-srf04.yaml index 4e80ea7c1475..8afbac24c34e 100644 --- a/Documentation/devicetree/bindings/iio/proximity/devantech-srf04.yaml +++ b/Documentation/devicetree/bindings/iio/proximity/devantech-srf04.yaml @@ -51,6 +51,24 @@ properties: the time between two interrupts is measured in the driver. maxItems: 1 + power-gpios: + description: + Definition of the GPIO for power management of connected peripheral + (output). + This GPIO can be used by the external hardware for power management. + When the device gets suspended it's switched off and when it resumes + it's switched on again. After some period of inactivity the driver + get suspended automatically (autosuspend feature). + maxItems: 1 + + startup-time-ms: + description: + This is the startup time the device needs after a resume to be up and + running. + minimum: 0 + maximum: 1000 + default: 100 + required: - compatible - trig-gpios -- 2.20.1