Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4887523imu; Tue, 29 Jan 2019 09:08:45 -0800 (PST) X-Google-Smtp-Source: ALg8bN7mKe7nL9Sdb7HDxUHo5bk7B/SGtSP6CapDYTG4izdUoPI03mj5af4rZJgTZYe0HrTihvYl X-Received: by 2002:a63:4456:: with SMTP id t22mr24938740pgk.0.1548781725176; Tue, 29 Jan 2019 09:08:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548781725; cv=none; d=google.com; s=arc-20160816; b=MVQxyu21cXsu0fGlWpDMEMSJ4uOQGlB6Wj513gP9l877ZtyQqnZbNyLJ1KWDFdfiQt QkNzmD4M493knfm40v0h5eRWshwsEaW6BOHhVOqfGK2kpZF36T4CN7Inp5YjWAqvX/7a ifDmFVhPWIyPxybxHK0YNtZXQ1u1YlMhhw/eeScxgySZPjGNUjwO5nXKrStVL7TV5KEo NoKI89IRmOC9GLU2dGKxaWxWNLTKReHb8Horg9P66jDVeTR/WsJw2Q3GGvr8freWTr8B 80A4pGcaF/S00EgnwYauN3LHwjMpSl3GZQfFI3a1MnRFhmM7X1ZcN5bcOmt0Zy0dVX8T M3zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=P1k6OmcRjLVDmOiR3m3mdefbpB8bTCrcwyYCGi+4TmE=; b=IwGIJa1YeTJCM4ul0PXJXj7an5FsPuiDWI09i7iq0+nwWaQiJPATaQLa/2vLjpQF3h zm3GfJ7nWqvI2JqBnfxAhVgwG+YqYZewDccvv9/Sscv1Ar+4f2agNh7kW2BPxezSdJhE W9lLFx/wgzLWt+6eBt27WOVAdi4/PYnzzlzyI8io16H864Igmz7E6dq2V/HZAKwDFCSu ygO/fNlh5CScUnFhlxEceOW3+04L6k8azEYLqQXhJkPYNBPh+jy4cEV272j2llWu/o26 q+Cqaxu0ZLmgSng6dksgrTIoGxiqhYllvJpLarJlTpaDZv8e17L3QfZSQ4YN4v/firPZ lG9A== 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 l10si39157402pls.162.2019.01.29.09.08.28; Tue, 29 Jan 2019 09:08:45 -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 S1728704AbfA2RIQ (ORCPT + 99 others); Tue, 29 Jan 2019 12:08:16 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:51995 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727100AbfA2RIQ (ORCPT ); Tue, 29 Jan 2019 12:08:16 -0500 Received: from stefan-Vostro-260.fritz.box ([109.104.39.36]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M5x9B-1gnALE0v0t-007Xu1; Tue, 29 Jan 2019 18:07:43 +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 1/2] dt-bindings: hwmon: Add optional regulator support to pwm-fan Date: Tue, 29 Jan 2019 18:07:10 +0100 Message-Id: <1548781631-5736-1-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 X-Provags-ID: V03:K1:D/bGLsupV5b3r63zoG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ernel-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 --- 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