Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2472295pxv; Sat, 3 Jul 2021 09:45:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJye++x3d7olqrI7j1lRv/y8bAx1yvdb/XO1lBvhHdUKCJmQTSWMR0USiNt03eoO8bgwTLYp X-Received: by 2002:a5d:9b14:: with SMTP id y20mr4608311ion.8.1625330715772; Sat, 03 Jul 2021 09:45:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625330715; cv=none; d=google.com; s=arc-20160816; b=tJxUwJnKZQNTBGVVgdvqYHc+sAbiASPE8sO9D95O11mzL82xlaZnBiHp7LCVcvvFQY db4G80DN+z9aWJKs/o5k46a48+F5IJRiDhnLc2YznQhCy6adZT2dj2648AnTY53PQp/l hjZFSxCTANctW20zSD+6uCl9RTtEz28wqgBoaigIRln2b4/ojhSOcUIYkgKE9Sik4w/K 5ca/CfAv7Z999kUCkcgRWAzFcXKCnAWqesCD/Z7YBh0ObLlWBXWOXM+2KLNWjQfXihmY UIxaPrQ+jqOMeJ1OVFnaMiu66B1ozcVtAx5VAAGE1QmHCehRTIHiiAfocAIC1Z+8+f2h of+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=ynF3SDO8tCtd1MoZS7yhESdMTMqnZ4M/8+4CczOfdZE=; b=gpfsJ+osU9umokZMwjH1FbJPaUB9GYxPCPllRXi4tlwXHDLqFCAErUaKjO7UlUeiLF sQrf10lsAiVxV0AXreQOiI3VPARbc0oyZrJ2GCxwKhvO7TZCJDjDXXfjABHgcKJGxRTw cGBs2iOr6/D/Ot884tD57zqtLT/a0DjGrWSuPbd67oSTuUXBVPpqiBOK1QnfaNmtqOfc HqgjQw1k4XZejvrEo5zW8o4oU4+vpovFWl8ist8gOt0IdwHSmISaoph7F3rUcu/zoZEv 12dUO6SMnO9yqcvBd7jYLF74iH9Pb0nol+Xd7dF8249uTWEw/0QgbmzENYkmCeZI52LA TMYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=U2Jc9aDC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i26si6948325iol.73.2021.07.03.09.44.50; Sat, 03 Jul 2021 09:45:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=U2Jc9aDC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229537AbhGCQmV (ORCPT + 99 others); Sat, 3 Jul 2021 12:42:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229463AbhGCQmU (ORCPT ); Sat, 3 Jul 2021 12:42:20 -0400 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a01:238:4321:8900:456f:ecd6:43e:202c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49056C061762; Sat, 3 Jul 2021 09:39:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20180802; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ynF3SDO8tCtd1MoZS7yhESdMTMqnZ4M/8+4CczOfdZE=; b=U2Jc9aDCRzlmvM++maLVdVd8sh I22rXKavwJKtPY3fRfGyF6lG5gz8MgXFZPdoc/ABWMgVMbSkfPnBHVeaO6zDHG9BRWuPykNjFxaDy FKz+S+d5DioQyEt/aGkm+G4jMc3sAfoI9T4uJW39eM0QKXHCAHS1+qbhnDSM4KKFRsZk=; Received: from p200300ccff37da001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff37:da00:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1lzig9-0000ZW-JE; Sat, 03 Jul 2021 18:39:41 +0200 Date: Sat, 3 Jul 2021 18:39:40 +0200 From: Andreas Kemnade To: Jonathan Cameron Cc: lee.jones@linaro.org, robh+dt@kernel.org, lars@metafoo.de, sre@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, linux-pm@vger.kernel.org, leonard.crestez@nxp.com, letux-kernel@openphoenux.org Subject: Re: [PATCH 0/4] mfd: rn5t618: Extend ADC support Message-ID: <20210703183932.75c7012a@aktux> In-Reply-To: <20210703165950.6e2aeb89@jic23-huawei> References: <20210703084224.31623-1-andreas@kemnade.info> <20210703165950.6e2aeb89@jic23-huawei> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -1.0 (-) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Sat, 3 Jul 2021 16:59:50 +0100 Jonathan Cameron wrote: > On Sat, 3 Jul 2021 10:42:20 +0200 > Andreas Kemnade wrote: > > > Add devicetree support so that consumers can reference the channels > > via devicetree, especially the power subdevice can make use of that > > to provide voltage_now properties. > > Does the mapping vary from board to board? Often these mappings are > internal to the chip so might as well be provided hard coded in the > relevant drivers rather than via DT. See drivers that have iio_map > structure arrays. > Most things are internal to the chip, but AIN1/AIN0 are external and could be connected to anything. Regards, Andreas