diff mbox series

[v4,4/4] MIPS: Loongson: Enable Loongson LS7A SPI in loongson3_defconfig

Message ID 1608892552-15457-4-git-send-email-zhangqing@loongson.cn
State Superseded
Headers show
Series None | expand

Commit Message

Qing Zhang Dec. 25, 2020, 10:35 a.m. UTC
This is now supported, enable for Loongson systems.

Signed-off-by: Qing Zhang <zhangqing@loongson.cn>
---

v2:
 - Modify CONFIG_SPI_LOONGSON to CONFIG_SPI_LS7A

v3:
 - No changes

v4:
 - No changes

---
 arch/mips/configs/loongson3_defconfig | 3 +++
 1 file changed, 3 insertions(+)

Comments

Huacai Chen Dec. 26, 2020, 4:30 a.m. UTC | #1
Reviewed-by: Huacai Chen <chenhuacai@kernel.org>


On Fri, Dec 25, 2020 at 6:41 PM Qing Zhang <zhangqing@loongson.cn> wrote:
>

> This is now supported, enable for Loongson systems.

>

> Signed-off-by: Qing Zhang <zhangqing@loongson.cn>

> ---

>

> v2:

>  - Modify CONFIG_SPI_LOONGSON to CONFIG_SPI_LS7A

>

> v3:

>  - No changes

>

> v4:

>  - 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

>
diff mbox series

Patch

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