From patchwork Mon Mar 4 22:28:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yifeng Li X-Patchwork-Id: 10838713 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B789B180E for ; Mon, 4 Mar 2019 22:29:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A23E12B2AF for ; Mon, 4 Mar 2019 22:29:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9687C2B2A2; Mon, 4 Mar 2019 22:29:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 44C972B326 for ; Mon, 4 Mar 2019 22:29:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726625AbfCDW3M (ORCPT ); Mon, 4 Mar 2019 17:29:12 -0500 Received: from tomli.me ([153.92.126.73]:44168 "EHLO tomli.me" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726522AbfCDW3L (ORCPT ); Mon, 4 Mar 2019 17:29:11 -0500 Received: from tomli.me (localhost [127.0.0.1]) by tomli.me (OpenSMTPD) with ESMTP id 88e7bcfd; Mon, 4 Mar 2019 22:29:08 +0000 (UTC) X-HELO: localhost.lan Authentication-Results: tomli.me; auth=pass (login) smtp.auth=tomli Received: from Unknown (HELO localhost.lan) (2402:f000:1:1501:200:5efe:72f4:b31) by tomli.me (qpsmtpd/0.95) with ESMTPSA (DHE-RSA-CHACHA20-POLY1305 encrypted); Mon, 04 Mar 2019 22:29:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tomli.me; h=from:to:cc:subject:date:message-id:in-reply-to:references:mime-version:content-transfer-encoding; s=1490979754; bh=g98gt4epZhMmQBBYY5nZu5LNFHdlzQA76yj3bYjm22E=; b=cznaj45InNEOW9lOyAEKvryCdL+aYjYIpiC/cruUsNyBSAcWA/1DlR6ogQjETe82x+yQgqjUr/AgAhkmAQilnPW10QSowlGxWBiSqNegJdF5Eyrx//ZDgJvwQjL6wSDszH2NBCHBfvYGHzvOl7RmbEJq+8exDAblJMlfWVoNJjFcFzYSOJ3E2z285Omajpg1aSkqknee1WEgb3I2JiW7b14V7eYZafUbvpibESZZPY9MHzo3pu6Fw6TWa+kp18aRK+tmibjC+w0DsUH1GPko+PvZZsjuA7IOYmQJSRrQmg9HACZCIm58aNEgchNTyHOJhf4ar/+2jI8/GgCFYww9qg== From: Yifeng Li To: Lee Jones , linux-mips@vger.kernel.org Cc: Yifeng Li , Jiaxun Yang , Huacai Chen , Ralf Baechle , Paul Burton , James Hogan , linux-kernel@vger.kernel.org Subject: [PATCH v2 2/7] mips: loongson64: select MFD_YEELOONG_KB3310B for LEMOTE_MACH2F. Date: Tue, 5 Mar 2019 06:28:43 +0800 Message-Id: <20190304222848.25037-3-tomli@tomli.me> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190304222848.25037-1-tomli@tomli.me> References: <20190304222848.25037-1-tomli@tomli.me> MIME-Version: 1.0 Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP To ease the support of platform drivers on Lemote Yeeloong laptop, code for accessing the embedded controller has been separated from arch/mips, as a MFD driver. Since the board files here still need to access the EC directly to handle reboot/shutdown and interrupts, we make MFD_YEELOONG_KB3310B as a mandatory dependency. Signed-off-by: Yifeng Li --- arch/mips/loongson64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/loongson64/Kconfig b/arch/mips/loongson64/Kconfig index 4c14a11525f4..b423d5bba812 100644 --- a/arch/mips/loongson64/Kconfig +++ b/arch/mips/loongson64/Kconfig @@ -56,6 +56,7 @@ config LEMOTE_MACH2F select SYS_SUPPORTS_HIGHMEM select SYS_SUPPORTS_LITTLE_ENDIAN select LOONGSON_MC146818 + select MFD_YEELOONG_KB3310B help Lemote Loongson 2F family machines utilize the 2F revision of Loongson processor and the AMD CS5536 south bridge.