Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3737632pxv; Mon, 5 Jul 2021 04:38:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2qXgzg6PFiaRwvuorMZDSl21jJlDsfTNXnpDhVpJ1IA4ElyZg7QqiOefNp9L56uP8JlxI X-Received: by 2002:a17:907:724b:: with SMTP id ds11mr4420638ejc.192.1625485098552; Mon, 05 Jul 2021 04:38:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625485098; cv=none; d=google.com; s=arc-20160816; b=00H/tzaTC+47p+iFkkuFUbCKIXBVLZKUVamIfl1zYFpkTDqaMyFEKT5KORX6BRwsPC gB4RbEgCEICpVBETFhgIRrfk7GcdbzXj2QrIGPNFzie0juDyK9d8sFBy1y/xDiodj/Fn 2U/0wPgYX+8RXXfAgndTX30hqt8kGISwXw7nC1bOn8+VIbed7KOcEyNt6ryftD/X1p3c o2YTARhxV85gqOxv/N798dt5hAsT4unRBeg9WqftzWMcKYOw2D3kMXqmpPvOjYOi5xt/ 9WChb2N1BJZ85k18qpqLCEY7sNypqlQ3jjFt78elolqD2xBkcTmOUt0OorL9125Duuxe SLDA== 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 :message-id:date:subject:to:from:dkim-signature; bh=78ZXfrydDmRta3yhdL4gDvHzHIg7e9V4iSL+/EKIh9I=; b=bJmK+UTbalnVqYFlauy34lt/wM3X3aQ75iD/27aun//Tqu8XnX7iPknkQl60gQMfWt tHJYyikg1RTN2BF4pcnNEtL+Qx8i1fo4lmIMG8nHSbNRTvQew1A7piuKPS0pyzmNB6ms ZqD185EJpieK21dq1XnU9pHMelnYbnHgnoJ5dmu5WQHdTEElAOyHf7oUEwjKqm7RTdwQ ixQTr4wrTQ+BArAbJoL6YycaAD84/5G71s6v/zszKJpfV0WHGtW+dls7x/6d3bDBZf7h 23J7RKZM6T/5ZLI8M75TPOCEZiCq+hu0awndRfIh8LIEMi1VIXwTSVKI4ZSCA2WhJuvS CiEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=n3aif6y3; 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 r2si7291373eds.576.2021.07.05.04.37.55; Mon, 05 Jul 2021 04:38:18 -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=n3aif6y3; 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 S231310AbhGELjg (ORCPT + 99 others); Mon, 5 Jul 2021 07:39:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230511AbhGELje (ORCPT ); Mon, 5 Jul 2021 07:39:34 -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 2BA54C061574; Mon, 5 Jul 2021 04:36:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20180802; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=78ZXfrydDmRta3yhdL4gDvHzHIg7e9V4iSL+/EKIh9I=; b=n3aif6y3jCmvy420SjtqvZ0XIF oag4sGmcrwAf1TbcIsEWzAOsiFoMF4X0U+RqbIefpbJPSx+EJPMSFif3oF8+hJWTcOpqRIpU2ucH0 ziUuBh6C4rpoeoz9poJK4lInSFj7eohTSE6G7V+ScTHxckW42w84cjliFZ91pkRC/XAQ=; Received: from p200300ccff0e44001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff0e:4400: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 1m0MuD-0007Cd-Aw; Mon, 05 Jul 2021 13:36:53 +0200 Received: from andi by aktux with local (Exim 4.92) (envelope-from ) id 1m0MuD-0007X5-1g; Mon, 05 Jul 2021 13:36:53 +0200 From: Andreas Kemnade To: jic23@kernel.org, lars@metafoo.de, sre@kernel.org, andreas@kemnade.info, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, letux-kernel@openphoenux.org Subject: [PATCH v2 0/2] mfd: rn5t618: Extend ADC support Date: Mon, 5 Jul 2021 13:36:35 +0200 Message-Id: <20210705113637.28908-1-andreas@kemnade.info> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.0 (-) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add iio map to make voltage_now related channels accessible to power driver. Changes in v2: - use iio_map instead of devicetree to allow mapping which does not block future extension by devicetree. Andreas Kemnade (2): iio: adc: rn5t618: Add iio map power: supply: rn5t618: Add voltage_now property drivers/iio/adc/rn5t618-adc.c | 23 ++++++++++++++++ drivers/power/supply/Kconfig | 2 ++ drivers/power/supply/rn5t618_power.c | 40 ++++++++++++++++++++++++++++ 3 files changed, 65 insertions(+) -- 2.30.2