Message ID | 6d52ef3dd2c7630517cb573f247b419d31c71e3a.1515486346.git-series.quentin.schulz@free-electrons.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3807004qgn; Tue, 9 Jan 2018 01:40:47 -0800 (PST) X-Google-Smtp-Source: ACJfBotGTr9NiVpB1HfYoYqP1YCdgQTFV534h/pxmLMxkxtRN2C2qMnJNTCXqv9fdTKfuiqUIcEb X-Received: by 10.84.215.15 with SMTP id k15mr1998135pli.197.1515490847456; Tue, 09 Jan 2018 01:40:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515490847; cv=none; d=google.com; s=arc-20160816; b=06C5CtS0qr/Y8lN4Vn5WJW7xo7PGF9MwW/cpNO+kG+Cat+ZHHSEY0PtnMJzPgaDcY+ P3yHsBpfkOo6lPUUC5zBMe+4k77UQPcQ15HggS6HIVM7veoXYWtPRfDh4bEtlV2UWu+Z rzoYSldDV0FCnf6yzzat28MmewxWpAm1tv2q/ny8JeuA9PToW+uXiVYiO0O7oCNmv2UV +TaMbq7c8EjuBzl9vV21lfFilbmQdcSE82W94PvHQWmUot7yCorHCdB5awXCicOyMxcK MhAaWCqk1FfNSEnH3mwPLDp2TSMYKPJrf1sF04bFvkFMa9xjzg3C5Kmglo63zrt7i9oi 8udw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=Lpw/Q0nL8qED91saLpHDbkQhg1RIxPG/ht76sWug8OQ=; b=cMqsxpoUWk9Flr78+N8lfaGqCiOMu5RidwGXpwVNFXexBqUnHs41CPGmTlEH8GghHn P/PCqIxOT6pQJPDKeNeHyle1TByeVmc3U0OuDvKVaho4QtpXh2sXoFiTbSSw6t7c3al7 Oi6LPaM7/DHmGPEBTyZ7mrKiVgm+2h2B3pNhSnaHifhIoSYhiBtPz0op8GOR/IvWQu5x uHO9ZSauZolbgitonbXO9sXvOPN7iWoqi/CHptxEpPhzzK4TbnFu3jXpdJKCYldZxNLM gXtF2LqmetfcRpEbtsQTwD6DACvYjen171Bd2VQo5iYo7FgiEtEoksJB6l718wmbyBHF JiVw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u15si3338098pgc.781.2018.01.09.01.40.47; Tue, 09 Jan 2018 01:40:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752813AbeAIJfR (ORCPT <rfc822; dan.rue@linaro.org> + 28 others); Tue, 9 Jan 2018 04:35:17 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:45796 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752761AbeAIJfM (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 9 Jan 2018 04:35:12 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id AC033209FA; Tue, 9 Jan 2018 10:35:09 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost.localdomain (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 623742082B; Tue, 9 Jan 2018 10:34:52 +0100 (CET) From: Quentin Schulz <quentin.schulz@free-electrons.com> To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, robh+dt@kernel.org, mark.rutland@arm.com, wens@csie.org, sre@kernel.org, linux@armlinux.org.uk, maxime.ripard@free-electrons.com, lee.jones@linaro.org Cc: linux-iio@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, thomas.petazzoni@free-electrons.com, linux-sunxi@googlegroups.com, Quentin Schulz <quentin.schulz@free-electrons.com> Subject: [PATCH v2 10/16] mfd: axp20x: probe axp20x_adc driver for AXP813 Date: Tue, 9 Jan 2018 10:33:41 +0100 Message-Id: <6d52ef3dd2c7630517cb573f247b419d31c71e3a.1515486346.git-series.quentin.schulz@free-electrons.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <cover.1e46d70f7931be8154b450a2fcdf066450a1aa6f.1515486346.git-series.quentin.schulz@free-electrons.com> References: <cover.1e46d70f7931be8154b450a2fcdf066450a1aa6f.1515486346.git-series.quentin.schulz@free-electrons.com> In-Reply-To: <cover.1e46d70f7931be8154b450a2fcdf066450a1aa6f.1515486346.git-series.quentin.schulz@free-electrons.com> References: <cover.1e46d70f7931be8154b450a2fcdf066450a1aa6f.1515486346.git-series.quentin.schulz@free-electrons.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
add support for AXP813 ADC and battery power supply
|
expand
|
diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c index e0cbaea..d112414 100644 --- a/drivers/mfd/axp20x.c +++ b/drivers/mfd/axp20x.c @@ -884,7 +884,10 @@ static struct mfd_cell axp813_cells[] = { }, { .name = "axp20x-gpio", .of_compatible = "x-powers,axp813-gpio", - } + }, { + .name = "axp813-adc", + .of_compatible = "x-powers,axp813-adc", + }, }; static struct axp20x_dev *axp20x_pm_power_off;
This makes the axp20x_adc driver probe with platform device id "axp813-adc". Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com> --- drivers/mfd/axp20x.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- git-series 0.9.1