From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=3.0 tests=DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS,T_DKIM_INVALID, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D8540C43142 for ; Fri, 3 Aug 2018 00:19:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 829C521708 for ; Fri, 3 Aug 2018 00:19:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=onstation.org header.i=@onstation.org header.b="lw1xPXs/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 829C521708 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=onstation.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732393AbeHCCMm (ORCPT ); Thu, 2 Aug 2018 22:12:42 -0400 Received: from onstation.org ([52.200.56.107]:34016 "EHLO onstation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732269AbeHCCMm (ORCPT ); Thu, 2 Aug 2018 22:12:42 -0400 Received: from xilitla.hsd1.wv.comcast.net (c-98-236-77-125.hsd1.wv.comcast.net [98.236.77.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: masneyb) by onstation.org (Postfix) with ESMTPSA id 3CBF22A33; Fri, 3 Aug 2018 00:19:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=onstation.org; s=default; t=1533255546; bh=pMmHmUfowg1wEcUdR1sn4bwbnCuqDZQtyiKke6jlgnY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lw1xPXs/MnXLCVBlndO53Etgg5sO5p0tEu2eZfwR8harMBE3dpnsMYtPhcUfamH3E GbAQC9jBmUXmHW14uFTVanM8ggdHkmjYmzf/k8CGRPQH4gOKoa/z/pwJM38LxO6Uy9 OCOIsUxCDfAgvLBf5Fvt4HLrp51rbFn43bOIszHQ= From: Brian Masney To: jic23@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, andy.gross@linaro.org, david.brown@linaro.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org Cc: jonathan@marek.ca, jmaneyrol@invensense.com, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, mkelly@xevo.com, fischerdouglasc@gmail.com, bshah@kde.org, ctatlor97@gmail.com Subject: [PATCH v3 6/9] dt-bindings: iio: tsl2772: add bindings for regulator framework Date: Thu, 2 Aug 2018 20:18:57 -0400 Message-Id: <20180803001900.25371-7-masneyb@onstation.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180803001900.25371-1-masneyb@onstation.org> References: <20180803001900.25371-1-masneyb@onstation.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds device tree bindings to the tsl2772 driver for the regulator framework. Signed-off-by: Brian Masney --- Documentation/devicetree/bindings/iio/light/tsl2772.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/light/tsl2772.txt b/Documentation/devicetree/bindings/iio/light/tsl2772.txt index 6f33169344f2..4e7d98627cbf 100644 --- a/Documentation/devicetree/bindings/iio/light/tsl2772.txt +++ b/Documentation/devicetree/bindings/iio/light/tsl2772.txt @@ -21,6 +21,8 @@ Optional properties: are the only valid values. - led-max-microamp - current for the proximity LED. Must be 100000, 50000, 25000, or 13000. + - vdd-supply: phandle to the regulator that provides power to the sensor. + - vddio-supply: phandle to the regulator that provides power to the bus. - interrupts: the sole interrupt generated by the device Refer to interrupt-controller/interrupts.txt for generic interrupt client @@ -32,6 +34,8 @@ tsl2772@39 { compatible = "amstaos,tsl2772"; reg = <0x39>; interrupts-extended = <&msmgpio 61 IRQ_TYPE_EDGE_FALLING>; + vdd-supply = <&pm8941_l17>; + vddio-supply = <&pm8941_lvs1>; amstaos,proximity-diodes = <0>; led-max-microamp = <100000>; }; -- 2.17.1