From patchwork Mon Jul 5 11:36:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Kemnade X-Patchwork-Id: 470339 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 932A3C07E9E for ; Mon, 5 Jul 2021 11:36:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 778FC613D8 for ; Mon, 5 Jul 2021 11:36:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231248AbhGELje (ORCPT ); Mon, 5 Jul 2021 07:39:34 -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 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 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(+)