Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2756695ybl; Mon, 20 Jan 2020 08:46:29 -0800 (PST) X-Google-Smtp-Source: APXvYqxQDln3PRmPelIZVGCwiT8RNYByTfksAkhVkmUOgNeLuyHa0K2pejlTeEPccZLtRO/R1CsR X-Received: by 2002:a9d:7b51:: with SMTP id f17mr251315oto.302.1579538788886; Mon, 20 Jan 2020 08:46:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579538788; cv=none; d=google.com; s=arc-20160816; b=WpGhtBjbpZmd0GWDFoMMo8XYjY0HlY71YAoDof8N9eq0D8Gxb1LdlQPdeOzdudTHxm LpmAlWOnYBsBqzwiCPtdND9/zbFrOM7AfGy1qfk1o6JTvTHbIgZxqN5JpZqdbRNbOHcF 78W/50Ht+rUINzAZVThkhUuBiX3tXd8mH9YPC6gVzNVbx9NGHPmVMxIAeyHxDNjX5mf+ goi9xCs70VrzGmKKwF0X4JY3G76MtYDhTVSPQIIOW/wVEovLj88mWL2UJB2GNtD2Cbo+ GgMQcjTQF1tXnp+NijJVthMBWxO58Hp1cuXQpay+ArRuEOtarKlUaOW7Yu8yyrU20a3I 0xlA== 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=z4tab73gnRsqro7ZO7Rz448dxMfBKHyYS2lOwjePHBY=; b=d4Q4XkcUucdAbqYRU+ubDflnX7Y6d0l/1e0e0edxoTofGTxLldAcE6KLvYCZsTpKgp ya7HahZJPxMkFDtVZeC/LD7x2GJmdHPzTZjcACMFqwbCV/nr4iCxOUYOwNh9ZHabu3ol iWC+zhD1aNUcrH2GYIA50ZzWAci5ECSGhF8Q5sFqqfDvBH1tOwYcIkLgXRHOxJa/6/Ul YqDlxE8eZlv0lCXdFNeloKX7J9xt4vu/+QKeQcJsepWwyPOSMWXUbA7kEw0Yp8tot0nI qjlirSW3e7jQ3iDOuVSISoOG58gOBVkbgM2vr1Uv20Jpoi45plBTsr/vsdypMTUXEMAV 8j8Q== 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 1si18628319oip.277.2020.01.20.08.46.17; Mon, 20 Jan 2020 08:46:28 -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 S1729251AbgATQpT (ORCPT + 99 others); Mon, 20 Jan 2020 11:45:19 -0500 Received: from mout.kundenserver.de ([217.72.192.74]:53927 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726897AbgATQpT (ORCPT ); Mon, 20 Jan 2020 11:45:19 -0500 Received: from localhost ([217.91.205.33]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Mc02T-1jU0z03GMJ-00dY0D; Mon, 20 Jan 2020 17:44:57 +0100 Date: Mon, 20 Jan 2020 17:44:55 +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 v3 1/2] dt-bindings: devantech-srf04.yaml: add pm feature Message-ID: <20200120164454.GA8716@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:Z7THgzy1z2w+I54doW7pBGN6XV2b0jmwtukQsgob0iuRJwzd+yx 8InqCrvMaQtEJRXyecfHHu/r2vM3CpwlDIdpSw3nMQbaabB7WibzkScukFFImL2wJyOXHfR cRyUT/NGudN2NYJB3MZpv8sK50y7krOhlzwKsmumIgl6H2WeTyjGUw0Z3CnTpvnEnejbrpm seKhtoHeBD35r7EcLoCyw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:9hWtVG83sN4=:X41VHGjp/zAdEXnG7MpJKT kYW0nY7iEww2vmHhd5pTobBKhfS2HiFz5u0Akkavbv4z1RcSrzULiO83othLKIi9y8RKJdxR+ UxAOQXS05+z8N9cZm+PF+kj3hs8p/FIYjKqBvJpQ7GRS2YI/ZK2l3wU9X5dmpYFpH6mc0ErpJ Or6dvnWihLcP8LJtdqBM3OrXqjXH5rijGk0H7IfmsUZ3VA09k8Qv5xe2SNW+ygIvB0Mi/qYMT S6wnuOlR3rNc74PcbRjoMR564WVNQFodat0rR3JQXXZPP6t56VWwbJ6Ye9xVTd83R4PME5tlK qJ8CSgg4ubd2JrGlgbs68dc6A7f3DM9bC82Cj60UMx+9g3z0HcHcYNhzLPoFSuztwzaJ7z3Jl pEehfN0uHnGtkVpXXXBWKpRHEyc6Mzeabm3b290Q6iLp1jCdbxANzqSQYm7j7ZjAkwnUVESZ3 odj4oKoWpRxTWT4XcbUHxAZqnQ02sUKPHNKZ67SQOwyxzxQ7oWTrS5kpu+wzVlMieZ+6OheKJ Xxwf2FLP0fe+Hb8vox4WKE9/+ULesLmtPmqueH9hXWImdLPezLvc0/wO2g3sjPNcAFRRUHFXr LRlcDmGODwUA+tRg5qA41mPkTL0n823N1hVESEG1+oZMTzP478oUn4bZugMddLd7rwufopt+0 pt88IM4uks+ET0AFIbuLD9RBD5vCNmNyUy9IdD+aMAcuKhVsX9a+oNAwCXRhj6MmJ40TRDsW/ bsuR1uAQKf5rnf+CVM4b/jrX89CQHXy6y4JHk4gOXoqZqKp+5CvlJUVdTwJR2/uVY22JfQn3u 0dl541zcXfU5TJhjQr2F5RL/2X7CyIZKWglrk91Vh4wyMWLOLdiCQU2ofWnZRLn3llqxL0G4v 7wzuGyhw5qbxpVIhATIA== 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 Reviewed-by: Rob Herring 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