Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2722807pxu; Mon, 14 Dec 2020 09:21:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJxyyCpdXzvOUNT7jldKBKnkanmEM2Rbep2obQvWnCZ42O1FBLrZ3dQ+E845P6AXw2/IMOUs X-Received: by 2002:a17:907:3f9e:: with SMTP id hr30mr11434462ejc.258.1607966497849; Mon, 14 Dec 2020 09:21:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607966497; cv=none; d=google.com; s=arc-20160816; b=h2BHtzInX5uD551FBZ2KwefA037GcXc+ywqvZYBr/RVqxBaTHHb9/bltqZ49JLS9hU GRf0FSWHBTc8nReI7xUAmGwrKdRBIS+pnsbgx3vDKqJMQmt7Rrrxn7Emy6Ufl+UjfmEV D7GIHYHhl1kEy4t09Mj8sqJvUTpUJeaHwfZWJ+TTI+zOO69KJz0HcZaJz+Xl+sV8TV9T SjsX/ULcWdbxqd1vOz4LWF/Lrx3hqUN3lb+9ZCYBYknyV9SwnM9j1jzMZU6WBrdHvNyi jSmPBDpvrYZgQn1fxvWoa7Nj0crmVYGEshXJ3lciYxK51av7Y0QhifizElz5stTadu7q rTYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=oUoGZmXl9xxuyD2xa1xbYg/0mItifiwBgG0cKW4B7Jc=; b=O3P430nilXNl7X9e5W8pihrQgnAO7IuBSi1C/A21rXbWm4qbioz19BcKxZ6GuJAGIL Gx6DhoOyXtptvXf7KUC0v4S9aRxJ7XMyc3oYlEMMRNrdKF4nK7z8QZT7ubWmqoDaowVs QSfCVwxNvYmg9pCNok1L13J+0r6TGf81yQYnwM/N2EhN7U0DahpFKSPBdFNtOrWQoi0E MkYzMGblDxpbH7Lu1K79v3ECnacoxhWkzWn/FSd6RxrKuG7/i13CaKII6+LlrF5prmS0 +2YHhvcmQYPykQPMFU2VBC7T+9T5s5UvwF/K4ymDV2L0lYIR5rVTPyLnycajT4m5bS4t 6CSA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s15si8937565edj.320.2020.12.14.09.21.13; Mon, 14 Dec 2020 09:21:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392060AbgLNGAI (ORCPT + 99 others); Mon, 14 Dec 2020 01:00:08 -0500 Received: from mail.loongson.cn ([114.242.206.163]:43410 "EHLO loongson.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387733AbgLNF77 (ORCPT ); Mon, 14 Dec 2020 00:59:59 -0500 Received: from linux.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9Dx_38l_9ZfFUodAA--.52092S5; Mon, 14 Dec 2020 13:59:04 +0800 (CST) From: Qing Zhang To: Mark Brown , Rob Herring , Thomas Bogendoerfer Cc: linux-spi@vger.kernel.org, Huacai Chen , Jiaxun Yang , devicetree@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 4/4] MIPS: Loongson: Enable Loongson LS7A SPI in loongson3_defconfig Date: Mon, 14 Dec 2020 13:58:54 +0800 Message-Id: <1607925534-8312-4-git-send-email-zhangqing@loongson.cn> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1607925534-8312-1-git-send-email-zhangqing@loongson.cn> References: <1607925534-8312-1-git-send-email-zhangqing@loongson.cn> X-CM-TRANSID: AQAAf9Dx_38l_9ZfFUodAA--.52092S5 X-Coremail-Antispam: 1UD129KBjvdXoWrKw4UXFW7tr4UGw4fWr1kAFb_yoW3WFc_Ja y7Kw18WrW8JrWxuayxXw4rWrWDCa4UWFn5CF17tr1fXaya9rnxtFWDAFW7G3W5uasI9rW3 ZaykJa429F1xtjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbS8YjsxI4VWxJwAYFVCjjxCrM7AC8VAFwI0_Wr0E3s1l1xkIjI8I 6I8E6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l82xGYIkIc2x26280x7 IE14v26r1rM28IrcIa0xkI8VCY1x0267AKxVW5JVCq3wA2ocxC64kIII0Yj41l84x0c7CE w4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26F1j6w1UM28EF7xvwVC0I7IYx2IY6x kF7I0E14v26r4UJVWxJr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM28EF7xvwVC2z280 aVCY1x0267AKxVW0oVCq3wAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40EFcxC0VAKzV Aqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Gr0_Cr1lOx8S 6xCaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JMxkIecxEwVAFwVW8WwCF04k20xvY0x 0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E 7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jw0_GFylIxkGc2Ij64vIr41lIxAIcV C0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF 04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7 CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x07joc_fUUUUU= X-CM-SenderInfo: x2kd0wptlqwqxorr0wxvrqhubq/ Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is now supported, enable for Loongson systems. Signed-off-by: Qing Zhang --- v2: - Modify CONFIG_SPI_LOONGSON to CONFIG_SPI_LS7A v3: - No changes --- arch/mips/configs/loongson3_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/mips/configs/loongson3_defconfig b/arch/mips/configs/loongson3_defconfig index 38a817e..28784cb 100644 --- a/arch/mips/configs/loongson3_defconfig +++ b/arch/mips/configs/loongson3_defconfig @@ -271,6 +271,9 @@ CONFIG_HW_RANDOM=y CONFIG_RAW_DRIVER=m CONFIG_I2C_CHARDEV=y CONFIG_I2C_PIIX4=y +CONFIG_SPI=y +CONFIG_SPI_MASTER=y +CONFIG_SPI_LS7A=y CONFIG_GPIO_LOONGSON=y CONFIG_SENSORS_LM75=m CONFIG_SENSORS_LM93=m -- 2.1.0