Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp576841imj; Thu, 7 Feb 2019 08:39:32 -0800 (PST) X-Google-Smtp-Source: AHgI3IZUqS5IMnaHtiqOc+VdlKIFVbiRrRq08Im9km8J9fnU1jzhTZWGckYEOoO4e7u56DIUyis1 X-Received: by 2002:a63:2905:: with SMTP id p5mr15723166pgp.178.1549557572762; Thu, 07 Feb 2019 08:39:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549557572; cv=none; d=google.com; s=arc-20160816; b=d87NGCPbDESxAuyG82pv7BVIsqDXcOq9WVr7K5WvdFLObTJQorQmc1vrnO91WPHaSA 2Pij7syv40g9MUAFn0cR2Sxz5daWY+uKtKODQE+osisKLALT2CbC+TIZPvnVYVK/+ISd SOpEBPDrro6rTAYZqFaDE2XSGG4AM4tjJ6RfEVcUbdr9+6xk5CDRrmlG5Snwb96G12ob +V3sEaLtDnYC8XeDvwDeDaSgVI9DRw/ScBNKcJrROD50XQYEhCqXCPhTCz5PHH30Ozsi vJYbC7PRHxq+EO/zcLqAZGkY/BbXVjaPttuwhMarpmv0p/dwP5/NzE/r3OaoZQ3U85fO o0og== 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=P1k6OmcRjLVDmOiR3m3mdefbpB8bTCrcwyYCGi+4TmE=; b=klKo6k3tiOKbCjB24/996O+0cmqLFYygbkHT/Qdari2o83ZF0U40MNeFM88uD9jeiv 3y85fBfzTDLioJmkZU5sLimmdFPdSObOSrUhjzRn+x/9pYYIob8zIxD7+NrUVYkJMJsq xRudJla8x3j5hRQeCTyXebymem1GaRJGT8+F4XF8X5CS7SABxGDzayWopb4dwXq40uak KityQKa4KCxoY+O9eeCXffsBLV4rZ4afggBaoAwpweFPt4m0czN637avPeP0MiiGjxgu rc6UZKW6mA9scb2I34mUwFrhABtw1kpww0a4Z3AL/6gaOOODoWhGIZzdsctv/OxIqzx1 3ubA== 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 j127si3674370pgc.444.2019.02.07.08.39.16; Thu, 07 Feb 2019 08:39:32 -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 S1726654AbfBGQjG (ORCPT + 99 others); Thu, 7 Feb 2019 11:39:06 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:35289 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726171AbfBGQjG (ORCPT ); Thu, 7 Feb 2019 11:39:06 -0500 Received: from stefan-Vostro-260.fritz.box ([109.104.54.161]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N6c0W-1hB6Zh03rS-0180L1; Thu, 07 Feb 2019 17:38:35 +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 V2 1/2] dt-bindings: hwmon: Add optional regulator support to pwm-fan Date: Thu, 7 Feb 2019 17:37:59 +0100 Message-Id: <1549557480-14436-2-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549557480-14436-1-git-send-email-stefan.wahren@i2se.com> References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viFwCkqEuw+ZmZUnKB uT1nmroL11nvLuWRzmGnRobOYfG3NKXEO/Y4inF/e0yH30nwSU6/wURW51A= 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 --- 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