From patchwork Fri Oct 7 14:44:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 9366171 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1AB4B6075E for ; Fri, 7 Oct 2016 14:44:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0D05327FA1 for ; Fri, 7 Oct 2016 14:44:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 01D272965D; Fri, 7 Oct 2016 14:44:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8AC6827FA1 for ; Fri, 7 Oct 2016 14:44:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756707AbcJGOon (ORCPT ); Fri, 7 Oct 2016 10:44:43 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:38034 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756485AbcJGOoj (ORCPT ); Fri, 7 Oct 2016 10:44:39 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id u97EiUpa019664; Fri, 7 Oct 2016 09:44:30 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id u97EiTFN028409; Fri, 7 Oct 2016 09:44:29 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.294.0; Fri, 7 Oct 2016 09:44:29 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id u97EiTBj003099; Fri, 7 Oct 2016 09:44:29 -0500 Received: from localhost (uda0226330.am.dhcp.ti.com [128.247.83.142]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id u97EiS314077; Fri, 7 Oct 2016 09:44:28 -0500 (CDT) From: "Andrew F. Davis" To: =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren CC: , , , "Andrew F . Davis" Subject: [PATCH 3/7] ARM: dts: am335x-icev2: Add ADC support Date: Fri, 7 Oct 2016 09:44:24 -0500 Message-ID: <20161007144428.16671-3-afd@ti.com> X-Mailer: git-send-email 2.10.0 In-Reply-To: <20161007144428.16671-1-afd@ti.com> References: <20161007144428.16671-1-afd@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 7 of the 8 ADC inputs on the am335x are connected to the Industrial I/O header, add this here. Signed-off-by: Andrew F. Davis Signed-off-by: Sekhar Nori --- arch/arm/boot/dts/am335x-icev2.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/am335x-icev2.dts b/arch/arm/boot/dts/am335x-icev2.dts index fa3f5dc..1463df3 100644 --- a/arch/arm/boot/dts/am335x-icev2.dts +++ b/arch/arm/boot/dts/am335x-icev2.dts @@ -244,6 +244,13 @@ }; }; +&tscadc { + status = "okay"; + adc { + ti,adc-channels = <1 2 3 4 5 6 7>; + }; +}; + #include "tps65910.dtsi" &tps {