Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1297901pxa; Sat, 15 Aug 2020 14:54:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzM+A9coUynYskRHkJjVsjQNf+wYfTtX+ugMQ8CWorQPp3gfnhBM26qe0CsDyEYLMyeexz+ X-Received: by 2002:aa7:c9c2:: with SMTP id i2mr8204872edt.326.1597528440860; Sat, 15 Aug 2020 14:54:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597528440; cv=none; d=google.com; s=arc-20160816; b=TgrAtiSDyssSFwwlrp9pMlj3UocP0iZXRnXeZww6/0CgSqyTlIhDRYPwe4DCe1M6wU aREf3BU8nIy/zznkLU6EWhxvJ0ETjYBpfdCH677lfxqf+1ILFrayIRJkrp136miVyHAJ yOF+WGJa+4OMPB85VbxXQK6fvK4GamOPAbG+rWhtEJYxUu72eFAnb+AFYHrSY3G8pFf9 sVDZQkCPqIOwnyAlHmpqyc+ipKxpLrtb9UVA+Hce1kwrcAQ1aVHpXhZ851KJtPvrIUO6 +airv+Z8qbvoHxZC9ecz4mYKZtNGygJMPKh/U6X2TGMdWezTOB1QogNvjYj/Bozlasmj IJbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1mv06P/Fmb+hv86TbcEFiG1+z16o6FdI5If3i2x/DyE=; b=kS1byy55jR+FHvzrTRYrtuG8ajxlemU2U6c0zHFKF21w/KmyBGX1JmZPN9kirhdxlR kc3jh2sLY1FUmsrOKuv6ca2myXR968D3C6XcBneUyzBrvgvP5PhBLFdpnKBmTlY/5ysc Dbbpg6v6jvott8pnwd/QouK88+bk+BeviA/o6ELmiRM4XkQEgoqYmyq+Eu4iGGNIbWMc s/pXf39JLw9n/FmAzNsdmbdXoXa20CsW5TKPJWRcsMIjyWc+fnQub43toI3YH4MbHEM+ 3pRz5UZHQ5Y26sQxozCWSmrJypad5Nx+yaxk/Fw+OWYKQ/vBt4Mba7h8WmrGJsT/vAHw 6YWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=hoSO6p9b; 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 gv23si8049144ejb.307.2020.08.15.14.53.38; Sat, 15 Aug 2020 14:54:00 -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=hoSO6p9b; 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 S1728234AbgHOVwk (ORCPT + 99 others); Sat, 15 Aug 2020 17:52:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729096AbgHOVwd (ORCPT ); Sat, 15 Aug 2020 17:52:33 -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 51C06C0A5533 for ; Sat, 15 Aug 2020 09:56:40 -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: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type: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=1mv06P/Fmb+hv86TbcEFiG1+z16o6FdI5If3i2x/DyE=; b=hoSO6p9bS+kR8vbBuexHU/cSA6 YmNuj+3iFwr08A2WOcohKj0yw0Q1WW+VDLfZiHk3dewzbesob8LVQijRzMgRS3xFxmDpPD/6KQV14 9EsWs+eRr6x1Fl2zEryJUHvSXNH5CdHcAaLer0g4ZMFeVrPTfrYKHpNvXdNQT8q68ios=; Received: from p200300ccff3e9c001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff3e:9c00: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 1k6zTx-0007JG-VE; Sat, 15 Aug 2020 18:56:38 +0200 Received: from andi by aktux with local (Exim 4.92) (envelope-from ) id 1k6zTx-0002n2-Kc; Sat, 15 Aug 2020 18:56:37 +0200 From: Andreas Kemnade To: lee.jones@linaro.org, sre@kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, b.galvani@gmail.com, phh@phh.me, letux-kernel@openphoenux.org Cc: Andreas Kemnade Subject: [PATCH 2/2] mfd: rn5t618: Add a power supply subdevice Date: Sat, 15 Aug 2020 18:56:10 +0200 Message-Id: <20200815165610.10647-3-andreas@kemnade.info> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200815165610.10647-1-andreas@kemnade.info> References: <20200815165610.10647-1-andreas@kemnade.info> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.0 (-) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The RN5T618 and RC5T619 both have a charger and a fuel gauge, so add a subdevice for it. According to drivers in the wild, things should be at least similar, but since it is not tested, add it only to the RC5T619. Signed-off-by: Andreas Kemnade --- drivers/mfd/rn5t618.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/rn5t618.c b/drivers/mfd/rn5t618.c index e25407ed3ad4..dc452df1f1bf 100644 --- a/drivers/mfd/rn5t618.c +++ b/drivers/mfd/rn5t618.c @@ -25,6 +25,7 @@ static const struct mfd_cell rn5t618_cells[] = { static const struct mfd_cell rc5t619_cells[] = { { .name = "rn5t618-adc" }, + { .name = "rn5t618-power" }, { .name = "rn5t618-regulator" }, { .name = "rc5t619-rtc" }, { .name = "rn5t618-wdt" }, -- 2.20.1