From patchwork Tue Jun 30 06:54:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sanchayan X-Patchwork-Id: 6693941 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 97677C05AC for ; Tue, 30 Jun 2015 06:58:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D8E5C202B4 for ; Tue, 30 Jun 2015 06:58:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4994C2034A for ; Tue, 30 Jun 2015 06:58:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753018AbbF3G5v (ORCPT ); Tue, 30 Jun 2015 02:57:51 -0400 Received: from mail-pd0-f181.google.com ([209.85.192.181]:33808 "EHLO mail-pd0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753422AbbF3G5s (ORCPT ); Tue, 30 Jun 2015 02:57:48 -0400 Received: by pdbep18 with SMTP id ep18so813751pdb.1; Mon, 29 Jun 2015 23:57:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=Pvltuopjiyh2ocRoPN2ZWE0yPTvgLfqFPPqrpWwgx4w=; b=mvUznU6NX9WcS6egFbSOlEC5gikPlASWSk+PFfmLIUVGAsjUpTsFV+Ux5IIjICkydR THOWRzeO9rqq86yZZrXOG4pkHktW3St/EAEqslmUNWCOWD18bfKvOGid/U0kstP2IAz1 ci8JjGCPE0heBpak19zOLSLHAimOxw3AvFygXYJaG5wPfWN7t03/BcqRDjo9DMWdjasO k0gFRFCiQ3TD38ZZv8xtf3pzLihDUc8wrn5Sz3fct9xt1pcWb49XWJI/n3QxygtmpW8F 8mOr2rQob6hewOGxRBWVZsOPxIldopww9VbpSZZNBlJEDCVt/CH5zqmUK1+reoRNqy+a O8ag== X-Received: by 10.70.108.137 with SMTP id hk9mr40334232pdb.105.1435647467434; Mon, 29 Jun 2015 23:57:47 -0700 (PDT) Received: from localhost ([115.115.225.206]) by mx.google.com with ESMTPSA id nt6sm44323000pbc.18.2015.06.29.23.57.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jun 2015 23:57:46 -0700 (PDT) From: Sanchayan Maity To: linux-input@vger.kernel.org, devicetree@vger.kernel.org Cc: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, shawn.guo@linaro.org, kernel@pengutronix.de, stefan@agner.ch, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Sanchayan Maity Subject: [PATCH v1 1/4] ARM: dts: vfxxx: Add io-channel-cells property for ADC node Date: Tue, 30 Jun 2015 12:24:45 +0530 Message-Id: <916569b56d60d41f9cd12c5244be3778857a971b.1435646447.git.maitysanchayan@gmail.com> X-Mailer: git-send-email 2.4.5 In-Reply-To: References: In-Reply-To: References: Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 This commit adds io-channel-cells property to the ADC node. This property is required in order for an IIO consumer driver to work. Especially required for Colibri VF50, as the touchscreen driver uses ADC channels with the ADC driver based on IIO framework. Signed-off-by: Sanchayan Maity Acked-by: Stefan Agner --- arch/arm/boot/dts/vfxxx.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index 2c20f3f..f7d8fb6 100644 --- a/arch/arm/boot/dts/vfxxx.dtsi +++ b/arch/arm/boot/dts/vfxxx.dtsi @@ -227,6 +227,7 @@ clocks = <&clks VF610_CLK_ADC0>; clock-names = "adc"; status = "disabled"; + #io-channel-cells = <1>; }; tcon0: tcon@4003d000 { @@ -461,6 +462,7 @@ clocks = <&clks VF610_CLK_ADC1>; clock-names = "adc"; status = "disabled"; + #io-channel-cells = <1>; }; esdhc1: esdhc@400b2000 {