[PATCH v3 4/4] MIPS: Loongson64: Load platform device during boot

2017-11-14 Thread Jiaxun Yang
This patch just add pdev during boot to load the platform driver Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/loongson64/lemote-2f/Makefile | 2 +- arch/mips/loongson64/lemote-2f/platform.c | 27 +++ 2 files changed, 28 insertions(+), 1 de

[PATCH v3 4/4] MIPS: Loongson64: Load platform device during boot

2017-11-14 Thread Jiaxun Yang
This patch just add pdev during boot to load the platform driver Signed-off-by: Jiaxun Yang --- arch/mips/loongson64/lemote-2f/Makefile | 2 +- arch/mips/loongson64/lemote-2f/platform.c | 27 +++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644

[PATCH v3 3/4] MIPS: Loongson64: Yeeloong add platform driver

2017-11-14 Thread Jiaxun Yang
-community. I Just do some clean up and port to mainline kernel tree. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- drivers/platform/mips/Kconfig | 19 + drivers/platform/mips/Makefile |3 + drivers/platform/mips/yeeloong_laptop.c

[PATCH v3 3/4] MIPS: Loongson64: Yeeloong add platform driver

2017-11-14 Thread Jiaxun Yang
-community. I Just do some clean up and port to mainline kernel tree. Signed-off-by: Jiaxun Yang --- drivers/platform/mips/Kconfig | 19 + drivers/platform/mips/Makefile |3 + drivers/platform/mips/yeeloong_laptop.c | 1142 +++ 3 files changed, 1164

[PATCH v3 1/4] MIPS: Lonngson64: Copy kernel command line from arcs_cmdline

2017-11-14 Thread Jiaxun Yang
Since lemote-2f/marchtype.c need to get cmdline from loongson.h this patch simply copy kernel command line from arcs_cmdline to fix that issue. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/include/asm/mach-loongson64/loongson.h | 6 ++ arch/mips/loongson64/

[PATCH v3 1/4] MIPS: Lonngson64: Copy kernel command line from arcs_cmdline

2017-11-14 Thread Jiaxun Yang
Since lemote-2f/marchtype.c need to get cmdline from loongson.h this patch simply copy kernel command line from arcs_cmdline to fix that issue. Signed-off-by: Jiaxun Yang --- arch/mips/include/asm/mach-loongson64/loongson.h | 6 ++ arch/mips/loongson64/common/cmdline.c| 7

[PATCH v2 1/4] MIPS: Lonngson64: Copy kernel command line from arcs_cmdline

2017-11-13 Thread Jiaxun Yang
Since lemote-2f/marchtype.c need to get cmdline from loongson.h this patch simply copy kernel command line from arcs_cmdline to fix that issue Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/include/asm/mach-loongson64/loongson.h | 6 ++ arch/mips/loongson64/

[PATCH v2 1/4] MIPS: Lonngson64: Copy kernel command line from arcs_cmdline

2017-11-13 Thread Jiaxun Yang
Since lemote-2f/marchtype.c need to get cmdline from loongson.h this patch simply copy kernel command line from arcs_cmdline to fix that issue Signed-off-by: Jiaxun Yang --- arch/mips/include/asm/mach-loongson64/loongson.h | 6 ++ arch/mips/loongson64/common/cmdline.c| 7

[PATCH v2 3/4] MIPS: Loongson64: Yeeloong add platform driver

2017-11-13 Thread Jiaxun Yang
-community. I Just do some clean up and port to mainline kernel tree. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- drivers/platform/mips/Kconfig | 18 + drivers/platform/mips/Makefile |3 + drivers/platform/mips/yeeloong_laptop.c

[PATCH v2 3/4] MIPS: Loongson64: Yeeloong add platform driver

2017-11-13 Thread Jiaxun Yang
-community. I Just do some clean up and port to mainline kernel tree. Signed-off-by: Jiaxun Yang --- drivers/platform/mips/Kconfig | 18 + drivers/platform/mips/Makefile |3 + drivers/platform/mips/yeeloong_laptop.c | 1143 +++ 3 files changed, 1164

[PATCH v2 4/4] MIPS: Loongson64: Load platform device during boot

2017-11-13 Thread Jiaxun Yang
This patch just add pdev during boot to load the platform driver Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/loongson64/lemote-2f/Makefile | 2 +- arch/mips/loongson64/lemote-2f/platform.c | 45 +++ 2 files changed, 46 insertions

[PATCH v2 4/4] MIPS: Loongson64: Load platform device during boot

2017-11-13 Thread Jiaxun Yang
This patch just add pdev during boot to load the platform driver Signed-off-by: Jiaxun Yang --- arch/mips/loongson64/lemote-2f/Makefile | 2 +- arch/mips/loongson64/lemote-2f/platform.c | 45 +++ 2 files changed, 46 insertions(+), 1 deletion(-) create mode 100644

[PATCH v2 2/4] MIPS: Loongson64: lemote-2f move ec_kb3310b.h to include dir and clean up

2017-11-13 Thread Jiaxun Yang
To operate EC from platform driver, this head file need able to be include from anywhere. This patch just move ec_kb3310b.h to include dir and clean up ec_kb3310b.h. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/include/asm/mach-loongson64/ec_kb3310b.h

[PATCH v2 2/4] MIPS: Loongson64: lemote-2f move ec_kb3310b.h to include dir and clean up

2017-11-13 Thread Jiaxun Yang
To operate EC from platform driver, this head file need able to be include from anywhere. This patch just move ec_kb3310b.h to include dir and clean up ec_kb3310b.h. Signed-off-by: Jiaxun Yang --- arch/mips/include/asm/mach-loongson64/ec_kb3310b.h | 170 +++ arch/mips/loongson64

[PATCH 4/4] MIPS: Loongson64: Load platform device during boot This patch just add pdev during boot to load the platform driver

2017-11-11 Thread jiaxun . yang
From: Jiaxun Yang <jiaxun.y...@flygoat.com> Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/loongson64/lemote-2f/Makefile | 2 +- arch/mips/loongson64/lemote-2f/platform.c | 45 +++ 2 files changed, 46 insertions(+), 1 deletion(-)

[PATCH 4/4] MIPS: Loongson64: Load platform device during boot This patch just add pdev during boot to load the platform driver

2017-11-11 Thread jiaxun . yang
From: Jiaxun Yang Signed-off-by: Jiaxun Yang --- arch/mips/loongson64/lemote-2f/Makefile | 2 +- arch/mips/loongson64/lemote-2f/platform.c | 45 +++ 2 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 arch/mips/loongson64/lemote-2f/platform.c

[PATCH 1/4] MIPS: Lonngson64: Copy kernel command line from arcs_cmdline Since lemte-2f/marchtype.c need to get cmdline from loongson.h this patch simply copy kernel command line from arcs_cmdline to

2017-11-11 Thread jiaxun . yang
From: Jiaxun Yang <jiaxun.y...@flygoat.com> Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/include/asm/mach-loongson64/loongson.h | 6 ++ arch/mips/loongson64/common/cmdline.c| 7 +++ 2 files changed, 13 insertions(+) diff --git a/arch/mips

[PATCH 2/4] MIPS: Loongson64: lemote-2f move ec_kb3310b.h to include dir and clean up To operate EC from platform driver, this head file need able to be include from anywhere. This patch just move ec_

2017-11-11 Thread jiaxun . yang
From: Jiaxun Yang <jiaxun.y...@flygoat.com> Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/include/asm/mach-loongson64/ec_kb3310b.h | 170 +++ arch/mips/loongson64/lemote-2f/ec_kb3310b.c| 2 +- arch/mips/loongson64/lemote-2f/ec_kb3310b.h

[PATCH 1/4] MIPS: Lonngson64: Copy kernel command line from arcs_cmdline Since lemte-2f/marchtype.c need to get cmdline from loongson.h this patch simply copy kernel command line from arcs_cmdline to

2017-11-11 Thread jiaxun . yang
From: Jiaxun Yang Signed-off-by: Jiaxun Yang --- arch/mips/include/asm/mach-loongson64/loongson.h | 6 ++ arch/mips/loongson64/common/cmdline.c| 7 +++ 2 files changed, 13 insertions(+) diff --git a/arch/mips/include/asm/mach-loongson64/loongson.h b/arch/mips/include/asm

[PATCH 2/4] MIPS: Loongson64: lemote-2f move ec_kb3310b.h to include dir and clean up To operate EC from platform driver, this head file need able to be include from anywhere. This patch just move ec_

2017-11-11 Thread jiaxun . yang
From: Jiaxun Yang Signed-off-by: Jiaxun Yang --- arch/mips/include/asm/mach-loongson64/ec_kb3310b.h | 170 +++ arch/mips/loongson64/lemote-2f/ec_kb3310b.c| 2 +- arch/mips/loongson64/lemote-2f/ec_kb3310b.h| 188 - arch/mips/loongson64

[PATCH 3/4] MIPS: Loongson64: Yeeloong add platform driver Yeeloong is a laptop with a MIPS Loongson 2F processor, AMD CS5536 chipset, and KB3310B controller.

2017-11-11 Thread jiaxun . yang
From: Jiaxun Yang <jiaxun.y...@flygoat.com> This yeeloong_laptop module enables access to sensors, battery, video camera switch, external video connector event, and some additional buttons. This driver was orginally from linux-loongson-community. I Just do some clean up and port to ma

[PATCH 3/4] MIPS: Loongson64: Yeeloong add platform driver Yeeloong is a laptop with a MIPS Loongson 2F processor, AMD CS5536 chipset, and KB3310B controller.

2017-11-11 Thread jiaxun . yang
From: Jiaxun Yang This yeeloong_laptop module enables access to sensors, battery, video camera switch, external video connector event, and some additional buttons. This driver was orginally from linux-loongson-community. I Just do some clean up and port to mainline kernel tree. Signed-off

<    1   2   3   4   5   6