Message ID | c73ef705e9feacde577de66355a2033b419ca004.1516012352.git-series.quentin.schulz@free-electrons.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp623979lje; Mon, 15 Jan 2018 02:35:21 -0800 (PST) X-Google-Smtp-Source: ACJfBosiyCS9g5rcixNP27KaotKPHLp4bjMk75jqXfy4IrL3OoRpcA2bc0DTgJjmZkxSZu4f/SkX X-Received: by 10.99.127.85 with SMTP id p21mr25244923pgn.137.1516012521346; Mon, 15 Jan 2018 02:35:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516012521; cv=none; d=google.com; s=arc-20160816; b=F4COreGn5Z+jg0opgWTl1MBd8GbkQMm7BGYsn0wwk+ZsL8bywhEf5XI5DtYw5TWyuW tUAOxFTkBvwqLhgjTxGaFb8LMWF7HANJe1juyc3Jy3fVUEyMPy0TIxU1R1KxNvOhKJIp 4ZOToH79w+Hf09yV06gMxFpoqRF0fbXFdYVvbUmCZmE6l1zJt8R/H9jguMoRdw4Jf4z8 JBnO747KfB93zrRpFJscEr3mT2hIklF4s8p84MuAq6+BwafuxDvVcwvyAsNbJM5Z6RjH L7RMIpKGtkmLmmsZjvRzKp61Dxg1REKbnrJZl+jVSVCxt8h4J0I+TQZ6TOqIb5NL4aNh sUMg== 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=sIbymIZnbPF/OGkVEM4ZmY39K6O2251GY2iSt8VmUck=; b=net0PKrqZKFQOUD+Sl3SG0tbVHNXK8RuFRNC8C1I5tAFXmFFn2zqMV2SDizylXSilu yBF8hsWp4OGgJNhoklFiolLuq4kvGb+1kxBn0p5h3bJ5sM4mC8ayj1UHuKM1p8wPAMjO iOAa4xBEjxaAU5Yd+iQZUI4P7sEKyu3bYTHvwGFB7wYJeUFtyPK2WHV9IQa+pY/DGqlw //ozLX2uEThzbK0DQfZs7x12ztS/EtAQ4Eu5XDHHLoRX1U2bz7DXv8FCX6nXhufEktLz oiU/cfR++zUTVrgqp7gc4cobL/MtQYIzpaHBGVf9hu1gZFwIE2dunYM+i/flInqrR449 RVRQ== 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 c134si11176851pga.329.2018.01.15.02.35.21; Mon, 15 Jan 2018 02:35:21 -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 S1755382AbeAOKfT (ORCPT <rfc822; dan.rue@linaro.org> + 28 others); Mon, 15 Jan 2018 05:35:19 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:43796 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754540AbeAOKfK (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 15 Jan 2018 05:35:10 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id 35F55208A9; Mon, 15 Jan 2018 11:35:08 +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 E44E520877; Mon, 15 Jan 2018 11:34:49 +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, julian.calaby@gmail.com, Quentin Schulz <quentin.schulz@free-electrons.com> Subject: [PATCH v3 05/16] ARM: dtsi: axp22x: add node for ADC Date: Mon, 15 Jan 2018 11:33:39 +0100 Message-Id: <c73ef705e9feacde577de66355a2033b419ca004.1516012352.git-series.quentin.schulz@free-electrons.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <cover.2e5329bf5475a5160e613a4eb1e1377c662ce56e.1516012352.git-series.quentin.schulz@free-electrons.com> References: <cover.2e5329bf5475a5160e613a4eb1e1377c662ce56e.1516012352.git-series.quentin.schulz@free-electrons.com> In-Reply-To: <cover.2e5329bf5475a5160e613a4eb1e1377c662ce56e.1516012352.git-series.quentin.schulz@free-electrons.com> References: <cover.2e5329bf5475a5160e613a4eb1e1377c662ce56e.1516012352.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..65a07a6 100644 --- a/arch/arm/boot/dts/axp22x.dtsi +++ b/arch/arm/boot/dts/axp22x.dtsi @@ -57,6 +57,11 @@ status = "disabled"; }; + axp_adc: adc { + compatible = "x-powers,axp221-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