From patchwork Fri Jan 3 10:10:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 3430871 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 58A6C9F295 for ; Fri, 3 Jan 2014 10:15:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3023C200F3 for ; Fri, 3 Jan 2014 10:15:04 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (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 B059C200D6 for ; Fri, 3 Jan 2014 10:15:02 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vz1ke-0007fY-Vs; Fri, 03 Jan 2014 10:13:14 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vz1k3-0003Kf-SM; Fri, 03 Jan 2014 10:12:35 +0000 Received: from mail-ee0-f42.google.com ([74.125.83.42]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vz1jJ-00039n-Ge for linux-arm-kernel@lists.infradead.org; Fri, 03 Jan 2014 10:11:50 +0000 Received: by mail-ee0-f42.google.com with SMTP id e53so6691113eek.29 for ; Fri, 03 Jan 2014 02:11:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:in-reply-to:references:content-type; bh=4USTZAshGyjww2pzSBu3TvqEfS4p7btI+JburfB5d4E=; b=m3T1o6tfSL0Qyj5XWwigHCUuyMsyu4+XeZXdI8m84LQz6fSPLWvlOvrhFjRxAfL9XS nR0WVu0sQ1n4l682inl2N+HrxSWrxM9bHdolbNZ6gEsvrNpO8kOUnyqkSqZ0oecCJv6V sgOK62FFXt1PyO6D4kF5IgciaheskgpeIAF3na4BRqpxOGgQTdfvnnGHxPd+MUW/M/zF i+eYVO1a3r2gLVSFP5xzP3636b+qvYrgiNa+50YYY8AAg3lnveMwoJ6BgC10X8+MwP7W pDlgORhNk6bjQj1ey+8IoCyLFmtyKU8vhZ0BROK7Ri8gEXS/S3VjctaKzo2uxXyWTgTA TCaA== X-Gm-Message-State: ALoCoQn5Tu3h//CrK/GWdU4gCx4Rq4iYwK5MyNN2Mz4qaSn/ZV8H0S1UCHrUU0cy8/xYpI53EMZr X-Received: by 10.14.0.201 with SMTP id 49mr20614962eeb.38.1388743887767; Fri, 03 Jan 2014 02:11:27 -0800 (PST) Received: from localhost (nat-63.starnet.cz. [178.255.168.63]) by mx.google.com with ESMTPSA id g7sm143605271eet.12.2014.01.03.02.11.26 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Fri, 03 Jan 2014 02:11:26 -0800 (PST) From: Michal Simek To: Michal Simek , u-boot@lists.denx.de, Joe Hershberger , linux-arm-kernel@lists.infradead.org, Albert Aribaud , Tom Rini Subject: [PATCH v1 05/24] gpio: zynq: Add dummy gpio routines Date: Fri, 3 Jan 2014 11:10:50 +0100 Message-Id: <72795c2d0788847db1b062f8d2c1f6958773e81c.1388743861.git.michal.simek@xilinx.com> X-Mailer: git-send-email 1.8.2.3 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140103_051149_719631_8728D207 X-CRM114-Status: GOOD ( 12.41 ) X-Spam-Score: -1.9 (-) Cc: Jagannadha Sutradharudu Teki X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 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, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_TVD_MIME_NO_HEADERS, 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 From: Jagannadha Sutradharudu Teki GPIO dummy routines are required for fdt build, may be removed these dependencies once the u-boot fdt is fully optimized. Signed-off-by: Jagannadha Sutradharudu Teki Signed-off-by: Michal Simek --- Changes in v1: None arch/arm/include/asm/arch-zynq/gpio.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 arch/arm/include/asm/arch-zynq/gpio.h -- 1.8.2.3 diff --git a/arch/arm/include/asm/arch-zynq/gpio.h b/arch/arm/include/asm/arch-zynq/gpio.h new file mode 100644 index 0000000..2dbba75 --- /dev/null +++ b/arch/arm/include/asm/arch-zynq/gpio.h @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2013 Xilinx, Inc. + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef _ZYNQ_GPIO_H +#define _ZYNQ_GPIO_H + +inline int gpio_get_value(unsigned gpio) +{ + return 0; +} + +inline int gpio_set_value(unsigned gpio, int val) +{ + return 0; +} + +inline int gpio_request(unsigned gpio, const char *label) +{ + return 0; +} + +#endif /* _ZYNQ_GPIO_H */