From patchwork Mon Jul 12 21:21:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Kemnade X-Patchwork-Id: 474953 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83951C07E9A for ; Mon, 12 Jul 2021 21:21:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6572F611CD for ; Mon, 12 Jul 2021 21:21:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232416AbhGLVYM (ORCPT ); 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 Precedence: bulk List-ID: X-Mailing-List: linux-pm@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(+)