Message ID | 11a72fb582c129bbcbe53dccfadd4fa7b0505af8.1515486346.git-series.quentin.schulz@free-electrons.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3810734qgn; Tue, 9 Jan 2018 01:45:07 -0800 (PST) X-Google-Smtp-Source: ACJfBot15sXZsT5ArGJewE7q/AHLf3fH1RgRUKjXlbxQ0WQGvJkSbMM5u0inxmyVjxCXEr9eZAIl X-Received: by 10.84.140.107 with SMTP id 98mr14524102pls.91.1515491107831; Tue, 09 Jan 2018 01:45:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515491107; cv=none; d=google.com; s=arc-20160816; b=FQqsvtkPqyC2lyOEp094HL1ZleJ92WGQwtLZZbCzX1mJ+Aii07oCaAPqrGKH435ZU/ t2E8f3bY4T5X8JOa94ApizmmSVOz2dq0FB8U2+nkO+vmCYjU8j1Wo/932dzEzdFu/Lhg q6fVLNWZXPUJnUJVvhc90naC6sBGCJxNgehW4HdIj0wC7KEbTZrKZtPQSt+LCpMU2jqY ljgwF3+o9K7Fc+GqCAel3NsOViikvoQSS2Z2+ry4hsrcxjeCXY5vmgdJuOnP3yyiFoIC LjQ9jCtw3+5X/87acpDsuI6Az5A56bVc5/qiBcfP72uhMzDBrEeRPqVKc2cn1CITf0fG fzUg== 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=yhc0KCU6Vbag/2/qYNFole8kMFE9/TJ5URzi6jmEqiw=; b=GipAaoRkB9UxASyjvLco21tfGrUtMG4oRpOfUZ+V0jMURYWdB5SlnYN4RmhsHPKPoD KfFYa5K2vLEG8by1XIOzYnstVZ0Sy0ajtZuk44vHHopl7Upe5LZIgG3wwl1SWKQcVdSr 3pNeafta7hdvK+jkxauswFZFutzSpioqZDXo78aevMwta6glkPEvZREvBqGlllWeO6YO d8tbaIp/iZzoX2sTrcOAmB+IeOnRSuhtXdr8ccG+2NZWGB+RQHuMiBQjN7sMl1fCbB// kTVAq4zVtoVTRPQZ2wwfcxpcROvnwONRNmedASZSti9fepWTWJFNqlq8kdpRtv3GnfbO Pb3Q== 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 f66si9858095pff.48.2018.01.09.01.45.07; Tue, 09 Jan 2018 01:45:07 -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 S1753252AbeAIJpF (ORCPT <rfc822; dan.rue@linaro.org> + 28 others); Tue, 9 Jan 2018 04:45:05 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:45735 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752643AbeAIJfE (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 9 Jan 2018 04:35:04 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id C943E209D3; Tue, 9 Jan 2018 10:35:00 +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 5BA3E207B4; Tue, 9 Jan 2018 10:34:50 +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 05/16] ARM: dtsi: axp22x: add node for ADC Date: Tue, 9 Jan 2018 10:33:36 +0100 Message-Id: <11a72fb582c129bbcbe53dccfadd4fa7b0505af8.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/arch/arm/boot/dts/axp22x.dtsi b/arch/arm/boot/dts/axp22x.dtsi index 87fb08e..fbb7f6e 100644 --- a/arch/arm/boot/dts/axp22x.dtsi +++ b/arch/arm/boot/dts/axp22x.dtsi @@ -57,6 +57,11 @@ status = "disabled"; }; + axp_adc: axp-adc { + compatible = "x-powers,axp22x-adc"; + #io-channel-cells = <1>; + }; + battery_power_supply: battery-power-supply { compatible = "x-powers,axp221-battery-power-supply"; status = "disabled";
This adds a DT node for the ADC of the PMIC so that there can be consumers of its IIO channels declaring their consumptions via DT. Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com> --- arch/arm/boot/dts/axp22x.dtsi | 5 +++++ 1 file changed, 5 insertions(+) -- git-series 0.9.1