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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1818C433EF for ; Sat, 25 Sep 2021 14:29:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 730F96108C for ; Sat, 25 Sep 2021 14:29:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245752AbhIYOaj (ORCPT ); Sat, 25 Sep 2021 10:30:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:60270 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233738AbhIYOai (ORCPT ); Sat, 25 Sep 2021 10:30:38 -0400 Received: from jic23-huawei (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (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 C8E1F6108E; Sat, 25 Sep 2021 14:29:02 +0000 (UTC) Date: Sat, 25 Sep 2021 15:32:51 +0100 From: Jonathan Cameron To: Fabio Estevam Cc: Jonathan Cameron , Peter Rosin , linux-iio@vger.kernel.org Subject: Re: Reading ADC that comes from a multiplexer Message-ID: <20210925153251.20776333@jic23-huawei> In-Reply-To: References: <74f1974b-ac08-96f1-887e-99580a2bf212@axentia.se> <73d0ede5-8a35-7e3e-e685-235f39ea28e7@axentia.se> <20210923112858.000022fa@Huawei.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org On Fri, 24 Sep 2021 11:41:38 -0300 Fabio Estevam wrote: > Hi Jonathan, > > On Thu, Sep 23, 2021 at 7:29 AM Jonathan Cameron > wrote: > > > > The beaglebone dts uses some undocumented properties such as: > > > iio-channels and iio-channel-names. > > > > Some of this comes from the dts-schema repo. We haven't been strict in > > adding the entries to individual ADCs until they actually use them - which > > has the advantage it gives us a window to think about the of_xlate (see below) > > > > https://github.com/devicetree-org/dt-schema/blob/main/meta-schemas/iio.yaml > > On this document, we have "io-channels" and "io-channel-names. > > What I wanted to say is that in > arch/arm/boot/dts/am5729-beagleboneai.dts we have: > > "iio-channels" and "iio-channel-names" (Note the 'iio' versus 'io'). > > This is what I mentioned as undocumented properties. > > Maybe I can send a patch fixing it. Ah! Got you. That definitely seems wrong so a fix would be welcome. Thanks, Jonathan > > On my imx6 board all is working fine now. > > Thanks, > > Fabio Estevam