From patchwork Mon Jan 15 10:33:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 124495 Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp623962lje; Mon, 15 Jan 2018 02:35:17 -0800 (PST) X-Google-Smtp-Source: ACJfBovOGpaO82HNRWeh+5EefjDSHegGDEK4MHmTP7ncfunoenxNm89p33XaWEz6CSjSWP+Y7uyk X-Received: by 10.159.252.71 with SMTP id t7mr29095777plz.344.1516012517364; Mon, 15 Jan 2018 02:35:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516012517; cv=none; d=google.com; s=arc-20160816; b=llvFnNiOhUtlaQO99ADUKxWoXuckG0yyGy1Rz6Qk0FZsqgPuqzWhni/qRtTTUoLf+n AdLJ9LSDTJkSnDkMs6XO13OGtO3SaLSlpZdxq9lhpGXY2bTVVdMe/4AWMPi7WzT4sFkQ bLNP7ND/Zjd2I46sGKR3FXZwMkHSUTeVR/tGHzA2lbOyvVQ4RQg+MI8B0KMhvE6u/NBb CdiOAjEE4wefUnqKSpCwkFmup047m2IBA0HlN01CmaF/NVocTgP9VmGJcGuu+3JtaagM 8tdEW1qJWWPV9+I9xr2SiVsqnr5x5txLd0D4zdqtf9A9kftbwVXbbSHVq0VWyQsmXgRu Puwg== 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=P6/pUTlWg/xQujaG2OY3JoWbHdi+y8jLARnbtcmlp7Q=; b=LTBWLGu672u99JWsJ+pSjK6YU6dJNHvJeFfULXWVzzcdeuezDTiKk3hHN+Alz6Iclt dFtBIkfhjIT0XZ5h2euH8cqiFusSBg31cdF+T7tjG1QyRCoJYU+R7iPbZw4VhfBDY+TT pLBAQemATDR32Lmf1bZ1H7kGCzcPFWVshA5tRgMBPWzwOgKVPjMWl7uQ+KTfu4DWaWaO Y0z0FdoIKApd9/JpHljUXvB2hN7OxX1smYGs2Z6E+51w5Ve4CnQzt8YXlsg1wdQxxCB2 uu2ypMiya6pEAGTfCVh0Y1+S7hRSDayHa0FMSWD0ktMYM2sZTcnX6Lmvh6Kqm9N7aydB j4zA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: 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.17; Mon, 15 Jan 2018 02:35:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755354AbeAOKfN (ORCPT + 6 others); Mon, 15 Jan 2018 05:35:13 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:43818 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755325AbeAOKfL (ORCPT ); Mon, 15 Jan 2018 05:35:11 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id AB1D0208A8; 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 4461820885; Mon, 15 Jan 2018 11:34:51 +0100 (CET) From: Quentin Schulz 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 Subject: [PATCH v3 08/16] ARM: dtsi: axp81x: add node for ADC Date: Mon, 15 Jan 2018 11:33:42 +0100 Message-Id: X-Mailer: git-send-email 2.14.1 In-Reply-To: References: In-Reply-To: References: Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 --- arch/arm/boot/dts/axp81x.dtsi | 5 +++++ 1 file changed, 5 insertions(+) -- git-series 0.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/axp81x.dtsi b/arch/arm/boot/dts/axp81x.dtsi index fd55b89..6b5e7bc 100644 --- a/arch/arm/boot/dts/axp81x.dtsi +++ b/arch/arm/boot/dts/axp81x.dtsi @@ -48,6 +48,11 @@ interrupt-controller; #interrupt-cells = <1>; + axp_adc: adc { + compatible = "x-powers,axp813-adc"; + #io-channel-cells = <1>; + }; + axp_gpio: axp-gpio { compatible = "x-powers,axp813-gpio"; gpio-controller;