From patchwork Fri Mar 11 00:09:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 8561051 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id BBB3D9F38C for ; Fri, 11 Mar 2016 00:11:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DB3C220376 for ; Fri, 11 Mar 2016 00:11:49 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C7A8E20103 for ; Fri, 11 Mar 2016 00:11:48 +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 1aeAeb-000216-NX; Fri, 11 Mar 2016 00:10:05 +0000 Received: from mail-pa0-x235.google.com ([2607:f8b0:400e:c03::235]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aeAeR-0001u9-93 for linux-arm-kernel@lists.infradead.org; Fri, 11 Mar 2016 00:09:56 +0000 Received: by mail-pa0-x235.google.com with SMTP id fe3so62678505pab.1 for ; Thu, 10 Mar 2016 16:09:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+u0jJKyUH2Cd5C5Loutw3awd1qSoJiVHsDyS5/FP5LY=; b=R5NK3L0DzJAy6e7SvhupXn83IwxI2Nc4h8biYsTlzQLfJKcli4y4LgOOcn2eBXFZD+ Q93MAY6I9LvaSoJC9kAZL24k582fCee1Z4Ws0uyy3HSllugcw/4rYT2gkCZjmM4zNVYQ l5l6lZu2SspR2Wrw2LKLudghwvN5Y3N4GfYFU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+u0jJKyUH2Cd5C5Loutw3awd1qSoJiVHsDyS5/FP5LY=; b=SuOqjjVCMWKwjUKtFCMNe3NV3bZ8Ot+zMLe9OFN1+UvK3PyrWax91MTa8wE0AFaFD5 K4DEMS6s1yMGKSDMC8uY8heNTpd5ANh7z0qi/Ai/64uJBFcPXLEuMXbHZxVElTXL/y8j AQMZ1UsHgsiboE3atinKoe0AH89BM6d5LIzM2uutg20NfoXx4dUgcUyRRpPeHc+HZIj+ 9CX8nnxQd68KEyf2mXxQqqoLbSp6PqbhUCISNJNYXaiJLAgdQXCX2sryLuU6+Y/+8bKt UFyldUtZHTMj2Ej5NUgvS50oWvhjadt6MNpwIXbCd+r/NwV7ZjdMGYPsgGJvxLow3ROH Hq9w== X-Gm-Message-State: AD7BkJJlogLfDelrjYfmYGfnj6Bz6P9l3oMPLm/Gm1xXjjAh57TtH6MKiCzA3myD6tEjMkeF X-Received: by 10.66.119.71 with SMTP id ks7mr9184807pab.151.1457654974605; Thu, 10 Mar 2016 16:09:34 -0800 (PST) Received: from docularxu-ThinkPad-T440p.cgcwfunction (110-170-137-253.static.asianet.co.th. [110.170.137.253]) by smtp.gmail.com with ESMTPSA id e6sm8034986pfj.71.2016.03.10.16.09.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 10 Mar 2016 16:09:33 -0800 (PST) From: Guodong Xu To: catalin.marinas@arm.com, will.deacon@arm.com, arnd@arndb.de, horms+renesas@verge.net.au, treding@nvidia.com, kuninori.morimoto.gx@renesas.com, alim.akhtar@samsung.com, srinivas.kandagatla@linaro.org, xuwei5@hisilicon.com Subject: [PATCH v2 1/3] arm64: defconfig: Enable devices for Hi6220 and 96boards HiKey Date: Fri, 11 Mar 2016 07:09:09 +0700 Message-Id: <1457654951-29944-2-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1457654951-29944-1-git-send-email-guodong.xu@linaro.org> References: <1457654951-29944-1-git-send-email-guodong.xu@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160310_160955_438149_1F7BE0A0 X-CRM114-Status: UNSURE ( 9.84 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guodong Xu , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY, UPPERCASE_50_75 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 This patch enables a number of devices currently supported by the Hi6220 and 96boards HiKey. These include a) Hi655x PMIC and regulator b) Hi6220 I2C, USB, MMC, mailbox, and reset c) CONFIG_PINCTRL_SINGLE, and CONFIG_LEDS_GPIO v2: - rebase to next-20160310, CONFIG_MMC_BLOCK_MINORS=16 is already in. - set CONFIG_I2C_DESIGNWARE_PLATFORM to be build as module Signed-off-by: Guodong Xu Reviewed-by: Arnd Bergmann --- arch/arm64/configs/defconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 0f51943..dbd6694 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -146,6 +146,7 @@ CONFIG_VIRTIO_CONSOLE=y # CONFIG_HW_RANDOM is not set CONFIG_I2C=y CONFIG_I2C_CHARDEV=y +CONFIG_I2C_DESIGNWARE_PLATFORM=m CONFIG_I2C_MV64XXX=y CONFIG_I2C_QUP=y CONFIG_I2C_UNIPHIER_F=y @@ -154,6 +155,7 @@ CONFIG_SPI=y CONFIG_SPI_PL022=y CONFIG_SPI_QUP=y CONFIG_SPMI=y +CONFIG_PINCTRL_SINGLE=y CONFIG_PINCTRL_MSM8916=y CONFIG_PINCTRL_QCOM_SPMI_PMIC=y CONFIG_GPIO_SYSFS=y @@ -169,8 +171,10 @@ CONFIG_THERMAL_EMULATION=y CONFIG_EXYNOS_THERMAL=y CONFIG_MFD_SPMI_PMIC=y CONFIG_MFD_SEC_CORE=y +CONFIG_MFD_HI655X_PMIC=y CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y +CONFIG_REGULATOR_HI655X=y CONFIG_REGULATOR_QCOM_SMD_RPM=y CONFIG_REGULATOR_QCOM_SPMI=y CONFIG_REGULATOR_S2MPS11=y @@ -195,6 +199,7 @@ CONFIG_USB_EHCI_HCD_PLATFORM=y CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD_PLATFORM=y CONFIG_USB_STORAGE=y +CONFIG_USB_DWC2=y CONFIG_USB_CHIPIDEA=y CONFIG_USB_CHIPIDEA_UDC=y CONFIG_USB_CHIPIDEA_HOST=y @@ -212,9 +217,11 @@ CONFIG_MMC_SPI=y CONFIG_MMC_SUNXI=y CONFIG_MMC_DW=y CONFIG_MMC_DW_EXYNOS=y +CONFIG_MMC_DW_K3=y CONFIG_MMC_BLOCK_MINORS=16 CONFIG_NEW_LEDS=y CONFIG_LEDS_CLASS=y +CONFIG_LEDS_GPIO=y CONFIG_LEDS_SYSCON=y CONFIG_LEDS_TRIGGERS=y CONFIG_LEDS_TRIGGER_HEARTBEAT=y @@ -241,6 +248,8 @@ CONFIG_COMMON_CLK_QCOM=y CONFIG_MSM_GCC_8916=y CONFIG_HWSPINLOCK_QCOM=y CONFIG_ARM_SMMU=y +CONFIG_MAILBOX=y +CONFIG_HI6220_MBOX=y CONFIG_QCOM_SMEM=y CONFIG_QCOM_SMD=y CONFIG_QCOM_SMD_RPM=y @@ -249,6 +258,8 @@ CONFIG_ARCH_TEGRA_210_SOC=y CONFIG_HISILICON_IRQ_MBIGEN=y CONFIG_EXTCON_USB_GPIO=y CONFIG_PHY_RCAR_GEN3_USB2=y +CONFIG_COMMON_RESET_HI6220=y +CONFIG_PHY_HI6220_USB=y CONFIG_PHY_XGENE=y CONFIG_EXT2_FS=y CONFIG_EXT3_FS=y