From patchwork Tue Jan 5 12:01:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H. Nikolaus Schaller" X-Patchwork-Id: 7954361 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6AA059F1C0 for ; Tue, 5 Jan 2016 12:08:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AE52820376 for ; Tue, 5 Jan 2016 12:08:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D05BD2034F for ; Tue, 5 Jan 2016 12:08:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751996AbcAEMIG (ORCPT ); Tue, 5 Jan 2016 07:08:06 -0500 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.219]:18232 "EHLO mo4-p00-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751572AbcAEMID (ORCPT ); Tue, 5 Jan 2016 07:08:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1451995682; l=777; s=domk; d=goldelico.com; h=References:In-Reply-To:References:In-Reply-To:Date:Subject:Cc:To: From; bh=pphDx+ZEBvLRTvXiH+rsmsopc7s2Uh4G4WO+ftSd7Jo=; b=eOotLZ9ojIkIIoNULnUT3DbjmVG53FUhFc3K1h/jQDhAiz4bIN75tNH8EsWj2lkJyop 0lHL60KYkQUpK/XEIc92FVU7tet8M1U+WS0uuG3xcLc7kM93koey0OM9AO0h0GFuiBeQa 7PWhkDyRdTolFBvCyTeue2gKS6fciB0o0XU= X-RZG-AUTH: :JGIXVUS7cutRB/49FwqZ7WcecEarQROEYabkiUo6mSAGQ+qKIDw3PO5FyA== X-RZG-CLASS-ID: mo00 Received: from localhost.localdomain (p57AE1511.dip0.t-ipconnect.de [87.174.21.17]) by smtp.strato.de (RZmta 37.15 DYNA|AUTH) with ESMTPA id 203261s05C1fiLl; Tue, 5 Jan 2016 13:01:41 +0100 (CET) From: "H. Nikolaus Schaller" To: =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, marek@goldelico.com, "H. Nikolaus Schaller" Subject: [PATCH 2/3] ARM: dts: omap5-board-common: enable iio gpadc for Palmas Date: Tue, 5 Jan 2016 13:01:38 +0100 Message-Id: <597ffe6d0b9178ae2901949dc33c5ae27b1bdedd.1451995297.git.hns@goldelico.com> X-Mailer: git-send-email 2.5.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP tested on OMP5432 EVM Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap5-board-common.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/omap5-board-common.dtsi b/arch/arm/boot/dts/omap5-board-common.dtsi index 30c0d3b..56429ce 100644 --- a/arch/arm/boot/dts/omap5-board-common.dtsi +++ b/arch/arm/boot/dts/omap5-board-common.dtsi @@ -366,6 +366,16 @@ ti,backup-battery-charge-high-current; }; + gpadc { + compatible = "ti,palmas-gpadc"; + interrupts = <18 0 + 16 0 + 17 0>; + #io-channel-cells = <1>; + ti,channel0-current-microamp = <5>; + ti,channel3-current-microamp = <10>; + }; + palmas_pmic { compatible = "ti,palmas-pmic"; interrupt-parent = <&palmas>;