Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1955568ybh; Fri, 24 Jul 2020 00:15:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykWBU80rHxLKTNHzQDdooo0iBg9Vb+6C0UJ2dCPfbrhhvLRjCJT9bJ2pJQckeUaSGmXMS1 X-Received: by 2002:a50:ab5c:: with SMTP id t28mr7630765edc.209.1595574916527; Fri, 24 Jul 2020 00:15:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595574916; cv=none; d=google.com; s=arc-20160816; b=d3mMT5LiiBJkGOMxBcSZoBd2BMXvpxfdawkyRNvX59Pi/qE+cxgprKTBN+XrYmp7ZA SenkidOibcUsLvzwnFqgRTQTlcLZCazTWFrUK5gyg0VIxEktTvB5WcU6iKZ3XseVXGUx gUnWACj0twi4OpYPexIZA9mLbQo/7Jzz2aqhJL5FeZha2lr8oMsAoGmon+MK/0tyGjk4 YsufTFb5y1oifO41dPqNu1dc0REK4V3pBLfRypVPOgmWS8Qe7LWeeIkv3wyqyCy4jYB4 a+nt08/JyZpHe5XtVkqn6rPdRyACvAHHuJq/0L46Uc0yKbQk92dvq6VamohRmobv2kEl xsMg== 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=Z3i/NmT1pfRfM0iwdMU4PvDgqmnv8RGai05brLoJZeU=; b=U3hOcnG5ZWn9WFd2JvdHQHPiWwpaZfSSVCfXte2oYQxWHSPz0kr6tfbPscQvh3X+E+ ZIkr3Fku8+zF7UY4E01Co7x0yAQ9vlUcOLy7V+eLPeK4HcsW6c6h+mbRVJQreT443xEZ gkAaQW6sf6UYak3HLyAjW+4wycJH/1psgwtxhPWUz/yjkGMJhr970Q5ZoauEiye/fu9E oliDIBvrD/jXhOHt93rv3Y+BVg2Yp28zkTcDZZKu3F5U0MeXR6IC9VdYRK/3I5SG0+dP mA+GnmsIydpIl+0vduoa/ag/+zH26NOloe3+HLklnV4+alvicCyzkLzn9Emw1tVlfZsR 44rg== 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 w6si1315edl.341.2020.07.24.00.14.54; Fri, 24 Jul 2020 00:15:16 -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 S1726754AbgGXHN7 (ORCPT + 99 others); Fri, 24 Jul 2020 03:13:59 -0400 Received: from smtp2207-205.mail.aliyun.com ([121.197.207.205]:60804 "EHLO smtp2207-205.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726543AbgGXHN6 (ORCPT ); Fri, 24 Jul 2020 03:13:58 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.233932|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_system_inform|0.0390033-0.00187396-0.959123;FP=0|0|0|0|0|-1|-1|-1;HT=e01a16378;MF=frank@allwinnertech.com;NM=1;PH=DS;RN=7;RT=7;SR=0;TI=SMTPD_---.I6qQdys_1595574830; Received: from allwinnertech.com(mailfrom:frank@allwinnertech.com fp:SMTPD_---.I6qQdys_1595574830) by smtp.aliyun-inc.com(10.147.42.16); Fri, 24 Jul 2020 15:13:55 +0800 From: Frank Lee To: lee.jones@linaro.org, wens@csie.org, linux-kernel@vger.kernel.org Cc: tiny.windzz@gmail.com, huangshuosheng@allwinnertech.com, liyong@allwinnertech.com, Yangtao Li Subject: [PATCH v5 10/16] mfd: axp20x: Allow the AXP803 to be probed by I2C Date: Fri, 24 Jul 2020 15:13:14 +0800 Message-Id: X-Mailer: git-send-email 2.24.0 In-Reply-To: References: 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 From: Yangtao Li 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: Yangtao Li Acked-by: Chen-Yu Tsai --- 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 14f9df74f855..446a7d0bbb47 100644 --- a/drivers/mfd/axp20x-i2c.c +++ b/drivers/mfd/axp20x-i2c.c @@ -63,6 +63,7 @@ static const struct of_device_id axp20x_i2c_of_match[] = { { .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 const struct i2c_device_id axp20x_i2c_id[] = { { "axp209", 0 }, { "axp221", 0 }, { "axp223", 0 }, + { "axp803", 0 }, { "axp806", 0 }, { }, }; -- 2.24.0