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: 6694131 Return-Path: X-Original-To: patchwork-linux-arm@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 A8114C05AC for ; Tue, 30 Jun 2015 07:00:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CC73220279 for ; Tue, 30 Jun 2015 07:00:35 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 04ADD205E6 for ; Tue, 30 Jun 2015 07:00:35 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z9pUp-0004sT-TF; Tue, 30 Jun 2015 06:58:19 +0000 Received: from mail-pa0-x22b.google.com ([2607:f8b0:400e:c03::22b]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z9pUe-0004nh-0q for linux-arm-kernel@lists.infradead.org; Tue, 30 Jun 2015 06:58:08 +0000 Received: by pacws9 with SMTP id ws9so744607pac.0 for ; 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 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: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150629_235808_113260_3927D8E6 X-CRM114-Status: GOOD ( 10.90 ) X-Spam-Score: -2.7 (--) Cc: mark.rutland@arm.com, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, linux-kernel@vger.kernel.org, stefan@agner.ch, Sanchayan Maity , robh+dt@kernel.org, kernel@pengutronix.de, galak@codeaurora.org, shawn.guo@linaro.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, 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 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 {