Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3307793pxv; Mon, 12 Jul 2021 14:22:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyKG0KkcXZ1q1K/h7179zHH1xFyZFHQQzqX2p/pzlKjjM95KWjvRucD3qcegYMsga0G2ZxE X-Received: by 2002:a92:7312:: with SMTP id o18mr526822ilc.289.1626124970118; Mon, 12 Jul 2021 14:22:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626124970; cv=none; d=google.com; s=arc-20160816; b=TkIa6+gu8ob6A5gJwHrWGf30myg/s2Akr+jvYFaaJKsLmouUsVcx/ytf/RMkX5Yb/C MMHbfEUv6DYQLOz6pwRCRhZI15R0AsOeizrxXPtpcXfHPbppklC4Wccs0GpvSO9BJ6WC M7smnzNYz3a4E/MdBP+Gbk6VdbpB9BeAB+sJPyckhDMy2CP0VRMABUsOdgHyfAoVK3RR LcRaaCclllIOa40mxzTobyYhe6xLRN71a55MfhxiJaqmiu3KGPffhCPP5CZkXjz7jpQZ MkQhwCMGwm5T75qgICifEDF4B3Kc94cJmfx0nsrPY/uIeWnrNy0YqKkldPF85pA8iZ36 XMUw== 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=PxpFtOyzlVJwPX/Mfz8sm41CAFc+8w5BTtrBNBBTbO0=; b=A+aWEImuBICZZtgc0Ptg8BO1Vtu4aosZuUR0AL6Y6ztX+q0or3S9aA/wSqA63Pm0TD LyWi02Wj25pdpz/lN2kRQQtnlakjB8l2ls7ZmI/ns/M09SPWfV8R+gAZx7VF9dVJ8gme kr9nlr8G5HM6rFxHtj6AJbodqNcHXQR172mNYI7IhAhBzOIPnd1KxsTKAwQDOSU4tNTK p93GhtyAwLA+czXThcD7ItbuCh2Pd/30WNWY0sl0o1ycFqS5sUeoEWOFDghiYGMOiPrs nEYK8/E1P0oufPiVxvo+NhRtfoSdYT56NmJlpQrR7fxchMwtHFdngiBLyeiY0arOQkYP I2+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=RkeMbERV; 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 l17si4731847ilk.49.2021.07.12.14.22.36; Mon, 12 Jul 2021 14:22:50 -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=RkeMbERV; 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 S233739AbhGLVYM (ORCPT + 99 others); Mon, 12 Jul 2021 17:24:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230087AbhGLVYL (ORCPT ); Mon, 12 Jul 2021 17:24:11 -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 62482C0613DD; Mon, 12 Jul 2021 14:21:22 -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=PxpFtOyzlVJwPX/Mfz8sm41CAFc+8w5BTtrBNBBTbO0=; b=RkeMbERVOlWyXvvEQJR0hu0o2H 1UQRc/oYXO18tQDZFyrUD9+1Nm9ZpEup+tgWUMNEEUTQXtG2vHPfYG9R6llzRnc4hRAj78lMtqaRO iG/5e0QkVCSXDcv8vCRNMRWGlYsGlezCaE+pZ99byk56oy+USv++VDUTsH9KcAhMofyc=; Received: from p200300ccff0a76001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff0a:7600: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 1m33Mb-0001dI-2U; Mon, 12 Jul 2021 23:21:18 +0200 Received: from andi by aktux with local (Exim 4.92) (envelope-from ) id 1m33Ma-0004vb-Nh; Mon, 12 Jul 2021 23:21:16 +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 v3 0/2] mfd: rn5t618: Extend ADC support Date: Mon, 12 Jul 2021 23:21:09 +0200 Message-Id: <20210712212111.18896-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 v3: - use scale functions - add acks Changes in v2: - use iio_map instead of devicetree to allow mapping which does not block future extension by devicetree. *** BLURB HERE *** 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 | 38 ++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+) -- 2.30.2