From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752939AbbJMLL0 (ORCPT ); Tue, 13 Oct 2015 07:11:26 -0400 Received: from smtp-out-007.synserver.de ([212.40.185.7]:1074 "EHLO smtp-out-100.synserver.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752811AbbJMLLY (ORCPT ); Tue, 13 Oct 2015 07:11:24 -0400 X-SynServer-TrustedSrc: 1 X-SynServer-AuthUser: lars@metafoo.de X-SynServer-PPID: 18232 Message-ID: <561CE6D5.2000400@metafoo.de> Date: Tue, 13 Oct 2015 13:11:17 +0200 From: Lars-Peter Clausen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0 MIME-Version: 1.0 To: Mark Rutland , Paul Cercueil CC: Jonathan Cameron , Michael Hennerich , Hartmut Knaack , Peter Meerwald , Rob Herring , Pawel Moll , Ian Campbell , Kumar Gala , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org Subject: Re: [PATCHv2 1/3] Documentation: ad5064: Added devicetree bindings documentation References: <1444650634-12025-1-git-send-email-paul.cercueil@analog.com> <20151012151857.GC7452@leverpostej> In-Reply-To: <20151012151857.GC7452@leverpostej> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >> + >> +Optional properties: >> + - vref-supply: phandle to the external reference voltage supply. >> + This should only be set if there is an external reference voltage >> + connected to the vref or vref[A-D] pins. > > I don't understand. Surely the latter case means you're describing the > same supply twice (as it should already be in vref*-supply)? > > What vref pins does the HW actually have? Some off the devices supported by the binding have a shared reference for all DAC outputs, while others have a separate reference for each output. In addition to that some of them have an internal reference that can used, in which case the external reference is optional, otherwise the external reference is required. The bindings documentation should clarify on which applies to which device.