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.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=no 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 3BF5BC43141 for ; Sat, 16 Nov 2019 15:25:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 11DAE20730 for ; Sat, 16 Nov 2019 15:25:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573917912; bh=rRnti0BrmIf79tbc/YpCsyMOtR8FyK78b/mO62ih4OM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=ZpqYb1xHtsjBrsGHorgop0HsZiFS91s6DwR6rFLO7hSMazWWHF5Lnd9MArbG+VOTP BmP/ExVNivTfga7e4RHclt3X3QprN/Akw3plP4qVe2ygfnDm7SyOk9jWYzPDyvnNg2 slDzyVZXoycSimUgL39A7lOSuQmSbL431Jx0tY4g= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727646AbfKPPZL (ORCPT ); Sat, 16 Nov 2019 10:25:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:58238 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727754AbfKPPZL (ORCPT ); Sat, 16 Nov 2019 10:25:11 -0500 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 401FA20700; Sat, 16 Nov 2019 15:25:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573917910; bh=rRnti0BrmIf79tbc/YpCsyMOtR8FyK78b/mO62ih4OM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=h8Jdnw1v+fE7ZDPqn+HAktivWUMAULqEbrNuZH1p9NBKjRHGl7HnLTaKDovUH+o6+ vazqx563Z0UZGzzLUMmLuU4dv9H2Zws0SoadsvwtjdyY5xS+63wUIG8lVfWX234z1O zbZ57toUvVg77isZ5AyujbeaW+pyWh867A32tKXs= Date: Sat, 16 Nov 2019 15:25:04 +0000 From: Jonathan Cameron To: "Ardelean, Alexandru" Cc: "u.kleine-koenig@pengutronix.de" , "kernel@pengutronix.de" , "linux-iio@vger.kernel.org" , "mark.rutland@arm.com" , "devicetree@vger.kernel.org" , "pmeerw@pmeerw.net" , "knaack.h@gmx.de" , "Hennerich, Michael" , "Popa, Stefan Serban" , "robh+dt@kernel.org" , "lars@metafoo.de" Subject: Re: [PATCH 1/3] iio: adc: ltc2496: provide device tree binding document Message-ID: <20191116152504.499e2a54@archlinux> In-Reply-To: <1e1a148095d2ea6c49c62e5fb2e5e741faa9d5f4.camel@analog.com> References: <20191111214025.18310-1-u.kleine-koenig@pengutronix.de> <20191112070405.zinuqnfb3wqbehvw@pengutronix.de> <1e1a148095d2ea6c49c62e5fb2e5e741faa9d5f4.camel@analog.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Tue, 12 Nov 2019 11:56:52 +0000 "Ardelean, Alexandru" wrote: > On Tue, 2019-11-12 at 08:04 +0100, Uwe Kleine-K=C3=B6nig wrote: > > [External] > >=20 > > Hello Alexandru, > >=20 > > On Tue, Nov 12, 2019 at 06:57:49AM +0000, Ardelean, Alexandru wrote: =20 > > > On Mon, 2019-11-11 at 22:40 +0100, Uwe Kleine-K=C3=B6nig wrote: =20 > > > > The ADC only requires the standard stuff for spi devices and a > > > > reference > > > > voltage. =20 > > >=20 > > > DT bindings must be in YAML format. =20 > >=20 > > Yeah, I noticed this trend. But given that I only saw .txt files for > > iio, I thought I'd stick to that. > > =20 > > > But in this case, you can probably extend the existing > > > "Documentation/devicetree/bindings/iio/adc/ltc2497.txt". =20 > >=20 > > I considered that shortly, but as the ltc2497 is an i2c device and the > > ltc2496 uses spi I chose to create another simple document instead of > > complicating the existing one by describing two nearly orthogonal sets > > of properties. =20 >=20 > There are dt-bindings that cover both SPI & I2C. > I think ADXL372 does that too. True, but in that case no real choice as the same part does both bus types. Here it's probably cleaner to just have a second document. Thanks, Jonathan >=20 >=20 > >=20 > > Best regards > > Uwe > > =20