Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp1541862imp; Fri, 22 Feb 2019 05:47:15 -0800 (PST) X-Google-Smtp-Source: AHgI3IZeJkHiWOPS+yzo/tfSBVAWw+Erdfj9jD5xfRCjO1VSSwcO8rf9LOKKeA7vlJtRz6a2UxaW X-Received: by 2002:a17:902:b60c:: with SMTP id b12mr4219734pls.261.1550843235339; Fri, 22 Feb 2019 05:47:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550843235; cv=none; d=google.com; s=arc-20160816; b=L0NOwB0nruImLohMA5ouf71JCcS7FY05ag06UY/K+h9Vm7k1qcYFRbyGimjf3eYhHX gj/DmmM2RtS2+WYXupnaqTQ5ozvvEcO1XgDfgzP+4DDrxPKMXYwZBNw5457n/3mlLhkU tvyamN3A6lDEmb0ytOIKSYXrYOm+ybzciTwVfBdTkImpN2qjCZD20OKpo8+lEuOw1Itq oNOWyqah9LTfcal+grEsVcvd4Dv7G6xI47j81b5sqjesOKLK6uLWowts7RWCblzsMPT+ OnbXhGPcuAfHRlA8K011Qv3w1omRj8yUBqt6ZUVqNGX1b1TBBXQNzy4zXUiRTejBYyxT LPVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=bgkKRkMTlO8I8GrEyofWBfeuODtxTH1xzA8MQZodWQs=; b=oZJaNqebL4GS3gp8SnY+qgUReuaBn2Bst5HEM+6F6flBFIbgiCPWrieAzZgZmj/vKg gu9Fk6oMsiiE///ZehM5vIHjaf2VL0prZ/hbwl7DviMXHIfd3DqQJbKDV5b/YYHhzWAY 23l4tugLj0Sx0XeflSgWHjZmZsJIgbxChvMDGCJfZiygOlPW8wZlGbUo3KhCtMjJnncB 7s5POmcJ6Z+Lk/h9lpaiboLSJ3K55ajfcgJLUptVmqzC7Spq2IxzUNpDIrTFVEp6uqmZ IjaOTJhfT32XIl9ZVQY6F8EJ8g7gPPIXQiPThx9B6TUz5vFBLZEDFWU0kRZtDOggAgpB jmfQ== 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 t14si1395393pfh.107.2019.02.22.05.47.00; Fri, 22 Feb 2019 05:47:15 -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 S1726867AbfBVNqj (ORCPT + 99 others); Fri, 22 Feb 2019 08:46:39 -0500 Received: from mout.kundenserver.de ([217.72.192.74]:56607 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726352AbfBVNqh (ORCPT ); Fri, 22 Feb 2019 08:46:37 -0500 Received: from stefan-Vostro-260.fritz.box ([109.104.42.136]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Mf0Jg-1hXrk41Kx8-00ga7M; Fri, 22 Feb 2019 14:46:06 +0100 From: Stefan Wahren To: Kamil Debski , Bartlomiej Zolnierkiewicz , Jean Delvare , Guenter Roeck , Rob Herring , Mark Rutland Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stefan Wahren Subject: [PATCH V3 1/2] dt-bindings: hwmon: Add optional regulator support to pwm-fan Date: Fri, 22 Feb 2019 14:45:23 +0100 Message-Id: <1550843124-10992-2-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1550843124-10992-1-git-send-email-stefan.wahren@i2se.com> References: <1550843124-10992-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K1:8sNvvteVhASqzHNQ09B0UGT5Fzlm4HOrt4iUbWxSNJsvuv+CYVs 1PLP3q9ddTYVVrcCYQUw/9ajTVv7fxilVuxEo50PY6NxrL5s/7QPduQc/dHN7+gq2k1JPLd SYWqVoG265N9Qvsq+yK2587rQk7rXMefmym43sm3mDD8LeioBbxqqB+DCt/VBBCVYT7HMIE 19dZzT4JS5kjG/Qv9Wc1A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:DxeKGqHloeE=:FOgaO9BRlNdIYU6uVfayzl KqpzRa8F9Slu4e3ssoVOHnsOd9sOJwXIH1wf6YOQpuAy1TYlhYmEri3IZQDIRjEWHRDcenkVB AQVLWiz/4aqK8hS7goawO4J8aqDOwo6x7q6f1IIrTTG4+Zkw/khRotoIQc43klRGs+FxtUWuT iiOAsDGovMT040f847HgGgp7DRaDbCSE56yaVKKo8+oUi+hbqVvfPmb30WQbIfrJ0DFekuLjE ZnIOnOv+i97X4nZSOCrzrYe9S/rl7o9E2rKwlyZE5g7yk6V+Qw0AfsUaV04hV9+jxPUFi+VzB l5g9lhQf8DACO5GGn8d169wkm2ofBrzBmdNVDo2E7LvPNmZbc1pHMUQ8M5AGhw8hqm9eAkQ3u fEGuvsJoIWc96PUlFPjcTBxs9ASckHzkEINzIzStBXdlhZ2oTLuE48zqCa6kUtMr7NDTZXw82 mOt3TWikQUbze5/ORXYyC35Fhja2qT1nzM8ejgpP9vnSLlrGPAYfqM/ujcm8j03BbVj2BdTQO T2lCuX4XFX+Su0k40jqfK7MeoFYvywLkDnfUNxTnSutPUh2IBZPt9NTb1ciB+2oIyYw87aJLo c7DtX7dH6LtSIQ5Cb93V48o7p4/goIDyarRBfw9M7VCfOXo1m5FRPtgfviUdclQmcxRYENTSV chmmCUopmb6iKsp63Wknc/GGKu1jBF8PHcACAKPWq48D5rv3xGxTgO0+G5EceYaBIqayfLT+D QfhS/2BDAWW0uK4zEbrghEr9vI/dbceO4A6N1ZtSC7qzR9HeaBePencil0Q= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds an optional regulator support (e.g. switchable supply) to the pwm fan binding. Signed-off-by: Stefan Wahren Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/hwmon/pwm-fan.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/hwmon/pwm-fan.txt b/Documentation/devicetree/bindings/hwmon/pwm-fan.txt index c6d5332..49ca5d8 100644 --- a/Documentation/devicetree/bindings/hwmon/pwm-fan.txt +++ b/Documentation/devicetree/bindings/hwmon/pwm-fan.txt @@ -6,6 +6,9 @@ Required properties: - cooling-levels : PWM duty cycle values in a range from 0 to 255 which correspond to thermal cooling states +Optional properties: +- fan-supply : phandle to the regulator that provides power to the fan + Example: fan0: pwm-fan { compatible = "pwm-fan"; -- 2.7.4