From patchwork Thu Jul 16 15:13:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sanchayan X-Patchwork-Id: 6807861 Return-Path: X-Original-To: patchwork-linux-input@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 8999C9F380 for ; Thu, 16 Jul 2015 15:17:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BF04620529 for ; Thu, 16 Jul 2015 15:17:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E470820527 for ; Thu, 16 Jul 2015 15:17:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754712AbbGPPQi (ORCPT ); Thu, 16 Jul 2015 11:16:38 -0400 Received: from mail-pd0-f178.google.com ([209.85.192.178]:36835 "EHLO mail-pd0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752025AbbGPPQe (ORCPT ); Thu, 16 Jul 2015 11:16:34 -0400 Received: by pdjr16 with SMTP id r16so46062847pdj.3; Thu, 16 Jul 2015 08:16:34 -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=mf4TaD582LXIcNXPHoO7dHC0rR0ph0Vpgqx1HI4xqe8=; b=OmgnUGbp+9ZDYKYDuasdbx5OhnK4IP1/IFlN8QNn7Cogj/OzZgj18CywvcV2nmIjw9 r8W+MSbmvTonjbGrrx32z/F6uYxTKlIAzmJS6O3/R6AFxeoXBX60SojH/DjfqRkMo6Qa gFyR4dm3vUaHbZ7qbt+lcJNB1lBL0MbMN8dJ5C4q1w3NNH8tmAig9+ecI5ixdntlCG3F KXp9fJTowQkxnxV+HUe/H80AbddMaqCDo7iJYhYn5aH1Dq3kwCDU/BSr5UJWRLAeYHxa B8Bgb73lI0kFQv38qc1OcvI+ND+1XoFOzdgYKP0EEb/GRGqFBJGfzkE7BTzvHG86RQ+t sLBA== X-Received: by 10.66.119.239 with SMTP id kx15mr19955244pab.156.1437059794088; Thu, 16 Jul 2015 08:16:34 -0700 (PDT) Received: from localhost ([115.115.225.206]) by smtp.gmail.com with ESMTPSA id wp5sm8323593pab.22.2015.07.16.08.16.31 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Jul 2015 08:16:32 -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 v2 1/4] ARM: dts: vfxxx: Add io-channel-cells property for ADC node Date: Thu, 16 Jul 2015 20:43:19 +0530 Message-Id: <2832d45c2a04c45a583d95a1e351f62c115e8065.1437058481.git.maitysanchayan@gmail.com> X-Mailer: git-send-email 2.4.6 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=-8.1 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=ham 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 --- 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..9f63bf0 100644 --- a/arch/arm/boot/dts/vfxxx.dtsi +++ b/arch/arm/boot/dts/vfxxx.dtsi @@ -226,6 +226,7 @@ interrupts = <53 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clks VF610_CLK_ADC0>; clock-names = "adc"; + #io-channel-cells = <1>; status = "disabled"; }; @@ -460,6 +461,7 @@ interrupts = <54 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clks VF610_CLK_ADC1>; clock-names = "adc"; + #io-channel-cells = <1>; status = "disabled"; };