From patchwork Thu Apr 9 08:37:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 46918 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A3940218D6 for ; Thu, 9 Apr 2015 08:37:35 +0000 (UTC) Received: by wgtl5 with SMTP id l5sf10592568wgt.1 for ; Thu, 09 Apr 2015 01:37:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=iAkmz4SI0sAqhXW1BTz62rIOfQRTZtRrCHjaSysPDn8=; b=IwhXx+puu8RKsJrgXisSVzqhF/nRHZaqDAD5epOQg7L41isww96yHsEAleLhXzdGD8 k2CD3EMvauQPDadxql6LTqBAcORq1eP6ykXFCStDPvlY4+IX/9LQDzMAD8zhT+Sqh8g6 QtEFQABHlGu2lqL3tg5bGR5uZmGjMYfnXPQKTBXwp97S6IfbLXHWysAeYJSxKaEWrSvE og7ISiq2ag62EoiGrvE9k9YQGUzetD+TCZpJrBSJH8taB3P9VKyHn3qlEz1nbdaCBYrV v2tWvoZqMzYMfhqmq7VHibuvqwcI9AQ8gBxsdMjMyUxjunyJ1l9rsjsHKNVeO2c0caBo L1Dw== X-Gm-Message-State: ALoCoQnrv8OQ6BnzfA++Kb/CbtQi1sAC+aDX8skTPJ3tBJvTmTcxGIjefM9WvGunv2HI1k6+/VLj X-Received: by 10.194.236.196 with SMTP id uw4mr5726446wjc.5.1428568654971; Thu, 09 Apr 2015 01:37:34 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.37.37 with SMTP id v5ls292462laj.31.gmail; Thu, 09 Apr 2015 01:37:34 -0700 (PDT) X-Received: by 10.152.22.200 with SMTP id g8mr3349362laf.96.1428568654807; Thu, 09 Apr 2015 01:37:34 -0700 (PDT) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id es16si10878841lbc.122.2015.04.09.01.37.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Apr 2015 01:37:34 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by laat2 with SMTP id t2so77146595laa.1 for ; Thu, 09 Apr 2015 01:37:34 -0700 (PDT) X-Received: by 10.112.184.70 with SMTP id es6mr26667550lbc.117.1428568654681; Thu, 09 Apr 2015 01:37:34 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.67.65 with SMTP id l1csp334435lbt; Thu, 9 Apr 2015 01:37:33 -0700 (PDT) X-Received: by 10.66.140.71 with SMTP id re7mr30662587pab.135.1428568652950; Thu, 09 Apr 2015 01:37:32 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id al3si20492047pad.49.2015.04.09.01.37.31; Thu, 09 Apr 2015 01:37:32 -0700 (PDT) Received-SPF: none (google.com: linux-gpio-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754961AbbDIIha (ORCPT + 1 other); Thu, 9 Apr 2015 04:37:30 -0400 Received: from mail-la0-f42.google.com ([209.85.215.42]:36278 "EHLO mail-la0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753569AbbDIIh3 (ORCPT ); Thu, 9 Apr 2015 04:37:29 -0400 Received: by lagv1 with SMTP id v1so84249206lag.3 for ; Thu, 09 Apr 2015 01:37:27 -0700 (PDT) X-Received: by 10.112.171.101 with SMTP id at5mr4028178lbc.66.1428568647626; Thu, 09 Apr 2015 01:37:27 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id ls10sm3053399lac.14.2015.04.09.01.37.25 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Apr 2015 01:37:26 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Alexandre Courbot , Linus Walleij , Alexey Brodkin , Will Deacon Subject: [PATCH] gpio: dwapb: remove dependencies Date: Thu, 9 Apr 2015 10:37:21 +0200 Message-Id: <1428568641-16893-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.9.3 Sender: linux-gpio-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-gpio@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The Synopsys DesignWare DWAPB GPIO block is popular to synthesize amongst many architectures: X86, ARM, ARC. The driver was restricted to only these archs due to using [read|write]l_relaxed() accessors that were not universally available in the past, but as of commit 9439eb3ab9d1ece6e4ad7baaa4a7f534f9b9dab0 "asm-generic: io: implement relaxed accessor macros as conditional wrappers" these accessors are available on all archs so this should not be a problem any more. Enable the driver for all archs. Cc: Alexey Brodkin Cc: Will Deacon Signed-off-by: Linus Walleij --- drivers/gpio/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 5b821a189780..17b72729ed3c 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -142,7 +142,6 @@ config GPIO_DAVINCI config GPIO_DWAPB tristate "Synopsys DesignWare APB GPIO driver" - depends on ((ARC || ARM || ARM64) && OF_GPIO) || X86_INTEL_QUARK select GPIO_GENERIC select GENERIC_IRQ_CHIP help