Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752220AbdHNBmh (ORCPT ); Sun, 13 Aug 2017 21:42:37 -0400 Received: from regular1.263xmail.com ([211.150.99.140]:46422 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751989AbdHNBmf (ORCPT ); Sun, 13 Aug 2017 21:42:35 -0400 X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 X-RL-SENDER: andy.yan@rock-chips.com X-FST-TO: david.wu@rock-chips.com X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: andy.yan@rock-chips.com X-UNIQUE-TAG: X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 Subject: Re: [PATCH v3 10/13] ARM: dts: rockchip: add saradc support for rv1108 To: Heiko Stuebner Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, David Wu References: <1502422578-30611-1-git-send-email-andy.yan@rock-chips.com> <1502423211-31216-1-git-send-email-andy.yan@rock-chips.com> <2309743.33rDFhBfGp@phil> From: Andy Yan Message-ID: Date: Mon, 14 Aug 2017 09:42:23 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <2309743.33rDFhBfGp@phil> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 963 Lines: 34 Hi Heiko: On 2017年08月13日 20:13, Heiko Stuebner wrote: > Hi Andy, > > Am Freitag, 11. August 2017, 11:46:51 CEST schrieb Andy Yan: >> Add saradc device tree node for rv1108 soc >> >> Signed-off-by: Andy Yan >> >> + adc: adc@1038c000 { >> + compatible = "rockchip,rv1108-saradc", "rockchip,rk3399-saradc"; >> + reg = <0x1038c000 0x100>; >> + interrupts = ; >> + #io-channel-cells = <1>; >> + io-channel-ranges; > What do you need the io-channel-ranges for? > I.e. according to the documenation it is meant for when the adc is also > a "bus node" and has children that should inherit channels from it. > > In all saradc uses so far we only have separate nodes referencing the > adc controller (like adc-keys etc), so this does not look like it is needed? Sorry, I just copied it from the downstream dts. After checked with David, he suggested that we could remove it. > > > Heiko > > > >