Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp318855ybt; Wed, 8 Jul 2020 00:21:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5fpvAlb8SY9z68eTM3jJ2oapT4EKkWcJXkJlS5dxJjmbm0B1/w8yCss92W9uEOodfBet3 X-Received: by 2002:a05:6402:3049:: with SMTP id bu9mr52557447edb.232.1594192867291; Wed, 08 Jul 2020 00:21:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594192867; cv=none; d=google.com; s=arc-20160816; b=bi0MVXswHUVD3P18Q/lGf5X9JGjLNUo8vKk+Z4RbaJNAVt4jg5OGG0/dxYGyV/l55p L7IE/l4qMsFaFY1agz+o4M9bG1znq3Aedw/Ik+FZKD3dSBckgWmhAkJROeo7OjW2GJli xOwb9lXowM+3JotTt6e4vMJQzs69INHMVM1+C3ct6EmUBYRzJqD3SB7HRpuQ4wZVN19C 2VPtpovfveOh089IwoGu39jhFGjgEuk0Kq0IlDaIqmOn1srvC0yiV+jx+B5rNDmHTjcb fCMX7PDxas4me0xwrscQi2K9uU3tsCr6J362GvtGbUpmQKutnOHuCjbbS+qDX7av6d1X 5nkg== 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; bh=QmtenJtIbHrp9GqrVxu4r2wSk8t1k3k53LBOJdvsf3Y=; b=JhGyGDTDOcuB2vKOeWxwKFOOcO6/TwGe1HfZ4pNICppp/JIBLsxRyQWSTGg5D6NH0M Y6gPSYT1qlnsC31dkmzfjT1U1+YNuSo6xtn12YwUMvyf814dhBnhM6Ls5sQDCNGU+Vm4 Pyj63SbdPdTF2O492XayopE4sTXOWoF5auZub0+VMmbvuJxWV0duNDgqsANgMMstht1J m8ty5a4WLhnAputl9XSZi1wP/F/2oSFla4+ga8lj9X9ku7/jp6OyF05niqVgtRU7NwTM 6zSxdWO8Xb420dixtaoUKwFwPpLiXyUZcfUnS2IByYW7/3/9bnvXOI/h7rNyfxDKqkNr q5JA== ARC-Authentication-Results: i=1; mx.google.com; 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 s26si16364909edx.248.2020.07.08.00.20.44; Wed, 08 Jul 2020 00:21:07 -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; 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 S1730378AbgGHHUV (ORCPT + 99 others); Wed, 8 Jul 2020 03:20:21 -0400 Received: from smtp2207-205.mail.aliyun.com ([121.197.207.205]:56571 "EHLO smtp2207-205.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730042AbgGHHUR (ORCPT ); Wed, 8 Jul 2020 03:20:17 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.1486837|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_system_inform|0.0598962-0.0031784-0.936925;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03267;MF=frank@allwinnertech.com;NM=1;PH=DS;RN=33;RT=33;SR=0;TI=SMTPD_---.I-8lwqE_1594192774; Received: from allwinnertech.com(mailfrom:frank@allwinnertech.com fp:SMTPD_---.I-8lwqE_1594192774) by smtp.aliyun-inc.com(10.147.40.26); Wed, 08 Jul 2020 15:20:09 +0800 From: Frank Lee To: robh+dt@kernel.org, mripard@kernel.org, wens@csie.org, mturquette@baylibre.com, sboyd@kernel.org, gregory.clement@bootlin.com, tglx@linutronix.de, jason@lakedaemon.net, maz@kernel.org, srinivas.kandagatla@linaro.org, linus.walleij@linaro.org, anarsoul@gmail.com, tiny.windzz@gmail.com, rui.zhang@intel.com, daniel.lezcano@linaro.org, amit.kucheria@verdurent.com, lee.jones@linaro.org, p.zabel@pengutronix.de, clabbe@baylibre.com, icenowy@aosc.io, megous@megous.com, stefan@olimex.com, bage@linutronix.de Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-i2c@vger.kernel.org, linux-gpio@vger.kernel.org, linux-pm@vger.kernel.org, huangshuosheng@allwinnertech.com, liyong@allwinnertech.com, Frank Lee Subject: [PATCH v3 10/16] mfd: axp20x: Allow the AXP803 to be probed by I2C Date: Wed, 8 Jul 2020 15:19:36 +0800 Message-Id: <20200708071942.22595-11-frank@allwinnertech.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20200708071942.22595-1-frank@allwinnertech.com> References: <20200708071942.22595-1-frank@allwinnertech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The AXP803 can be used both using the RSB proprietary bus, or a more traditional I2C bus. Let's add that possibility. Signed-off-by: Frank Lee --- drivers/mfd/axp20x-i2c.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mfd/axp20x-i2c.c b/drivers/mfd/axp20x-i2c.c index 14f9df7..446a7d0 100644 --- a/drivers/mfd/axp20x-i2c.c +++ b/drivers/mfd/axp20x-i2c.c @@ -63,6 +63,7 @@ static int axp20x_i2c_remove(struct i2c_client *i2c) { .compatible = "x-powers,axp209", .data = (void *)AXP209_ID }, { .compatible = "x-powers,axp221", .data = (void *)AXP221_ID }, { .compatible = "x-powers,axp223", .data = (void *)AXP223_ID }, + { .compatible = "x-powers,axp803", .data = (void *)AXP803_ID }, { .compatible = "x-powers,axp806", .data = (void *)AXP806_ID }, { }, }; @@ -74,6 +75,7 @@ static int axp20x_i2c_remove(struct i2c_client *i2c) { "axp209", 0 }, { "axp221", 0 }, { "axp223", 0 }, + { "axp803", 0 }, { "axp806", 0 }, { }, }; -- 1.9.1