From patchwork Tue Jan 9 09:33:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 123846 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3811271qgn; Tue, 9 Jan 2018 01:45:41 -0800 (PST) X-Google-Smtp-Source: ACJfBovIfaBLQgIJk84f2kKEvSdO0aLOGR6YBoe2sTX8ZTSh/9TuL0RC6iqfzhB12FVZgEq4WgW9 X-Received: by 10.159.246.16 with SMTP id b16mr14930732pls.165.1515491141583; Tue, 09 Jan 2018 01:45:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515491141; cv=none; d=google.com; s=arc-20160816; b=eMq9M3wUMwR+ZQ3sglkcQoRZO4c+i2iubSTHE76ok9D+81oEqsL8GfyD/kRX2kv24v kMiOZzsKr4wmIyO8wFe2bRuRSGSGUMyPFZw28Qm0Q3LkLbnlfuAY/VVqTDG+Byc7NSbc uVr2JOGI2pfsauC9k1vpjFEgsz7mBMMaPGI4ydasDbUmRxovy8OOucSPT7oZQyCJtRmk kP1sgD+yzYeSdXiT5JVF6j+BPIzdjny8kRp2C8VzssGlWzH7gGHq4LAk6WZPIw8nAoGx z191uMJZ4+fMqfY4BtPlN1phU/9bm+ENJKRNmAiAnak7PBFiIsNO10GwyzsA+O5jTNtu Pi0w== 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=QLVApbzZb8VMzDFZO30UkXjzhErn9+VErsOLMgYzDF0=; b=IuVmZcIzBvyL9TL8waGwsET8OHFLdAGi/VBeuQBVKeBqNPXWvYYA684ZJs5hqAviSf DjEPdJ8sMx0PSiXw+TdUUMX3YWzTe+uQhbPvQ3BUNcaWidQk1HWmzaXt9k1n4ZwQihlP 3VnjyKvSW8ZYiF2xY3/zEPNTFPzHnObiGzxoDana46yt4GII5KPTWVRvyMa/WKo22mUM 1cAzG4rbwZkdOeYTF/saqnQKVtEGWQ6Un7uu7ppByI9yp/VvlLSPPNrgBvIlZLEUCm7e EoEopOy32AtfOBvYea1ORh8cfNnmxGB6Gwjm971j1LRtU873wvL8tKz74qqMXcA3edRn dzlw== 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: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b69si2405634pfl.359.2018.01.09.01.45.41; Tue, 09 Jan 2018 01:45:41 -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 S1753307AbeAIJpj (ORCPT + 28 others); Tue, 9 Jan 2018 04:45:39 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:45726 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752631AbeAIJfC (ORCPT ); Tue, 9 Jan 2018 04:35:02 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id 671742099A; 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 ED5E920124; Tue, 9 Jan 2018 10:34:49 +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, Quentin Schulz Subject: [PATCH v2 04/16] ARM: dtsi: axp209: add node for ADC Date: Tue, 9 Jan 2018 10:33:35 +0100 Message-Id: X-Mailer: git-send-email 2.14.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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/axp209.dtsi | 5 +++++ 1 file changed, 5 insertions(+) -- git-series 0.9.1 diff --git a/arch/arm/boot/dts/axp209.dtsi b/arch/arm/boot/dts/axp209.dtsi index 897103e..a2e0052 100644 --- a/arch/arm/boot/dts/axp209.dtsi +++ b/arch/arm/boot/dts/axp209.dtsi @@ -58,6 +58,11 @@ status = "disabled"; }; + axp_adc: axp-adc { + compatible = "x-powers,axp20x-adc"; + #io-channel-cells = <1>; + }; + axp_gpio: gpio { compatible = "x-powers,axp209-gpio"; gpio-controller;