From patchwork Fri Dec 5 03:38:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sherlock Wang X-Patchwork-Id: 417987 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id D098D1400E7 for ; Fri, 5 Dec 2014 14:40:37 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933372AbaLEDkh (ORCPT ); Thu, 4 Dec 2014 22:40:37 -0500 Received: from mail-pa0-f52.google.com ([209.85.220.52]:51519 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932863AbaLEDkg (ORCPT ); Thu, 4 Dec 2014 22:40:36 -0500 Received: by mail-pa0-f52.google.com with SMTP id eu11so19307605pac.11 for ; Thu, 04 Dec 2014 19:40:36 -0800 (PST) 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; bh=zo4TSkY/2w9DEMP4BMIVMGzcCCpjy39mMaxhQv/ly4Q=; b=HqHSgLkGsWCtHcGnmP9mAgOronwQhBR8x006TRlLgFFLx7nMeAnrrieKg8SwrdbltA NhRhZ5+wKJg2i7Tms+141zbnDNYtsxawbQ5ei1jr9xMbFcrpK8oww9iRGKu3crcwcEN1 6DzuLGF+kxpwNYrq453ehQgOGHnsub3a8/PT88KDc+oGk5Tegim7aR5NG17ysQd+g+lV uO5rACOp71RP2EsexFTGrgJt0xzdLJacKA4Xj3gXAHbk/oBlDMtnYDsI5XmBqmVaTiF8 5eVPetMZKUhN0/dg903qzo0l3mKwJp0Dgs3C8bilVlrgeMTO2WRAzGjx/ImbH2gai8n0 2EQA== X-Received: by 10.66.160.129 with SMTP id xk1mr9263170pab.5.1417750836423; Thu, 04 Dec 2014 19:40:36 -0800 (PST) Received: from localhost.localdomain ([58.251.159.252]) by mx.google.com with ESMTPSA id jd1sm27334664pbd.49.2014.12.04.19.40.26 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 04 Dec 2014 19:40:35 -0800 (PST) From: Zhou Wang To: Russell King , Haojian Zhuang , Wei Xu , Olof Johansson , Kevin Hilman , Arnd Bergmann , Linus Walleij , Alexandre Courbot , liguozhu@hisilicon.com Cc: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, atull@altera.com, sebastian.hesselbarth@gmail.com, bigeasy@linutronix.de, jamie@jamieiles.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, wangzhou1@hisilicon.com, Zhou Wang Subject: [PATCH v4 1/4] ARM: hip04: add GPIO configure in hisi_defconfig Date: Fri, 5 Dec 2014 11:38:39 +0800 Message-Id: <1417750722-14027-2-git-send-email-wangzhou.bry@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1417750722-14027-1-git-send-email-wangzhou.bry@gmail.com> References: <1417750722-14027-1-git-send-email-wangzhou.bry@gmail.com> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The GPIO controller of Hisilicon hip04 Soc uses the IP from Sysnopsis, gpio-dwapb.c can be reused to support this GPIO controller. This patch adds related configure items in hisi_defconfig. Signed-off-by: Zhou Wang --- arch/arm/configs/hisi_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/hisi_defconfig b/arch/arm/configs/hisi_defconfig index 1772505..130292b 100644 --- a/arch/arm/configs/hisi_defconfig +++ b/arch/arm/configs/hisi_defconfig @@ -41,6 +41,9 @@ CONFIG_SPI_PL022=y CONFIG_PINCTRL_SINGLE=y CONFIG_GPIO_GENERIC_PLATFORM=y CONFIG_REGULATOR_GPIO=y +CONFIG_GPIOLIB=y +CONFIG_GPIO_DWAPB=y +CONFIG_GPIO_SYSFS=y CONFIG_DRM=y CONFIG_FB_SIMPLE=y CONFIG_USB=y