From patchwork Tue Nov 6 23:40:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Miller X-Patchwork-Id: 197582 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 7B5BB2C00B5 for ; Wed, 7 Nov 2012 10:41:02 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752828Ab2KFXlB (ORCPT ); Tue, 6 Nov 2012 18:41:01 -0500 Received: from shards.monkeyblade.net ([149.20.54.216]:32780 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752773Ab2KFXlA (ORCPT ); Tue, 6 Nov 2012 18:41:00 -0500 Received: from localhost (cpe-74-66-230-70.nyc.res.rr.com [74.66.230.70]) by shards.monkeyblade.net (Postfix) with ESMTPSA id 6432F584F2F; Tue, 6 Nov 2012 15:41:02 -0800 (PST) Date: Tue, 06 Nov 2012 18:40:58 -0500 (EST) Message-Id: <20121106.184058.636480855516538607.davem@davemloft.net> To: thierry.reding@avionic-design.de Cc: sparclinux@vger.kernel.org, linus.walleij@linaro.org, grant.likely@secretlab.ca, linux-kernel@vger.kernel.org Subject: Re: SPARC and OF_GPIO From: David Miller In-Reply-To: <20121105095315.GG5847@avionic-0098.mockup.avionic-design.de> References: <20121105095315.GG5847@avionic-0098.mockup.avionic-design.de> X-Mailer: Mew version 6.5 on Emacs 24.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Sender: sparclinux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: sparclinux@vger.kernel.org From: Thierry Reding Date: Mon, 5 Nov 2012 10:53:15 +0100 > Are you aware of any reasons why this conflict would still be necessary? No reason that I can see, I'll push something like the patch below via the sparc tree. > This is not only the case for OF_GPIO but likely also for OF_SPI, > OF_I2C, OF_IRQ and OF_ADDRESS. Shouldn't those all work even on SPARC > nowadays? Those also would need to be tested on an individual basis, but there are no fundamental problems that I am aware of. --- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index b6b442b..f0a5391 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig @@ -14,6 +14,7 @@ config SPARC default y select OF select OF_PROMTREE + select OF_GPIO select HAVE_IDE select HAVE_OPROFILE select HAVE_ARCH_KGDB if !SMP || SPARC64 diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index d055cee..f11d8e3 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -47,7 +47,7 @@ if GPIOLIB config OF_GPIO def_bool y - depends on OF && !SPARC + depends on OF config DEBUG_GPIO bool "Debug GPIO calls"