Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934061AbcK2Pfi (ORCPT ); Tue, 29 Nov 2016 10:35:38 -0500 Received: from mail-vk0-f51.google.com ([209.85.213.51]:34477 "EHLO mail-vk0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933785AbcK2PfC (ORCPT ); Tue, 29 Nov 2016 10:35:02 -0500 MIME-Version: 1.0 In-Reply-To: <44cce3d5-f65e-1a35-20a4-5eb9fda42312@metafoo.de> References: <1480432969-20913-1-git-send-email-bgolaszewski@baylibre.com> <44cce3d5-f65e-1a35-20a4-5eb9fda42312@metafoo.de> From: Bartosz Golaszewski Date: Tue, 29 Nov 2016 16:35:00 +0100 Message-ID: Subject: Re: [PATCH] iio: misc: add a generic regulator driver To: Lars-Peter Clausen Cc: Jonathan Cameron , Hartmut Knaack , Peter Meerwald-Stadler , Rob Herring , Mark Rutland , linux-iio@vger.kernel.org, linux-devicetree , LKML , Kevin Hilman , Patrick Titiano , Neil Armstrong Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 895 Lines: 24 2016-11-29 16:30 GMT+01:00 Lars-Peter Clausen : > On 11/29/2016 04:22 PM, Bartosz Golaszewski wrote: > [...] >> diff --git a/Documentation/devicetree/bindings/iio/misc/iio-regulator.txt b/Documentation/devicetree/bindings/iio/misc/iio-regulator.txt >> new file mode 100644 >> index 0000000..147458f >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/iio/misc/iio-regulator.txt >> @@ -0,0 +1,18 @@ >> +Industrial IO regulator device driver >> +------------------------------------- >> + >> +This document describes the bindings for the iio-regulator - a dummy device >> +driver representing a physical regulator within the iio framework. > > No bindings for drivers, only for hardware. So this wont work. > What about exporting regulator attributes analogous to the one in this patch from the iio-core when a *-supply property is specified for a node? Thanks, Bartosz