Re: [PATCH V3] mtd: nand: add Loongson1 NAND driver

2016-05-28 Thread Kelvin Cheung
; Keguang Zhang wrote: > >> From: Kelvin Cheung >> >> This patch adds NAND driver for Loongson1B. > I think your controller matches Mychaela's "high-level NAND controller" > definition [1]. Mychaela, can you confirm the Loongson controller > looks lik

[PATCH V3 6/6] cpufreq: Loongson1: Add cpufreq driver for Loongson1B

2014-10-17 Thread Kelvin Cheung
This patch adds cpufreq driver for Loongson1B which is capable of changing the CPU frequency dynamically. Signed-off-by: Kelvin Cheung --- V3: Remove superfluous devm_clk_put(). V2: Use devm_clk_get() instead of clk_get(). Other minor fixes. V1: Add cpufreq driver for Loongson1B

[PATCH V2 6/6] cpufreq: Loongson1: Add cpufreq driver for Loongson1B

2014-10-16 Thread Kelvin Cheung
This patch adds cpufreq driver for Loongson1B which is capable of changing the CPU frequency dynamically. Signed-off-by: Kelvin Cheung --- V2: Use devm_clk_get() instead of clk_get(). Other minor fixes. V1: Add cpufreq driver for Loongson1B. --- drivers/cpufreq/Kconfig| 10

[PATCH V2 6/6] cpufreq: Loongson1: Add cpufreq driver for Loongson1B

2014-10-16 Thread Kelvin Cheung
This patch adds cpufreq driver for Loongson1B which is capable of changing the CPU frequency dynamically. Signed-off-by: Kelvin Cheung --- drivers/cpufreq/Kconfig| 10 ++ drivers/cpufreq/Makefile | 1 + drivers/cpufreq/ls1x-cpufreq.c | 229

[PATCH 6/6] cpufreq: Loongson1: Add cpufreq driver for Loongson1B (UPDATED)

2014-10-15 Thread Kelvin Cheung
This patch adds cpufreq driver for Loongson1B which is capable of changing the CPU frequency dynamically. Signed-off-by: Kelvin Cheung --- drivers/cpufreq/Kconfig| 10 ++ drivers/cpufreq/Makefile | 1 + drivers/cpufreq/ls1x-cpufreq.c | 233

[PATCH 6/6] cpufreq: Loongson1: Add cpufreq driver for Loongson1B

2014-10-09 Thread Kelvin Cheung
Signed-off-by: Kelvin Cheung --- drivers/cpufreq/Kconfig| 10 ++ drivers/cpufreq/Makefile | 1 + drivers/cpufreq/ls1x-cpufreq.c | 217 + 3 files changed, 228 insertions(+) create mode 100644 drivers/cpufreq/ls1x-cpufreq.c diff --git a

[PATCH 5/6] clk: ls1x: Update relationship among all clocks

2014-10-09 Thread Kelvin Cheung
___| | |_| Signed-off-by: Kelvin Cheung --- drivers/clk/clk-ls1x.c | 109 - 1 file changed, 80 insertions(+), 29 deletions(-) diff --git a/drivers/clk/clk-ls1x.c b/drivers/clk/clk-ls1x.c index f20b750..ca80103 100644 --- a/drivers/clk/clk-ls1x.c

[PATCH 4/4] MIPS: Loongson1B: Fix a typo

2012-10-22 Thread Kelvin Cheung
Fix a typo in the code. Signed-off-by: Kelvin Cheung --- arch/mips/loongson1/common/clock.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/mips/loongson1/common/clock.c b/arch/mips/loongson1/common/clock.c index 7db0a6a..07133de 100644 --- a/arch/mips/loongson1

[PATCH 3/4] MIPS: Loongson1B: Update stmmac_mdio_bus_data

2012-10-22 Thread Kelvin Cheung
Update stmmac_mdio_bus_data accordingly due to the upstream change. Signed-off-by: Kelvin Cheung --- arch/mips/loongson1/common/platform.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/mips/loongson1/common/platform.c b/arch/mips/loongson1/common/platform.c

[PATCH 2/4] MIPS: Loongson1B: improve ls1x_serial_setup()

2012-10-22 Thread Kelvin Cheung
Improve ls1x_serial_setup(). Signed-off-by: Kelvin Cheung --- arch/mips/include/asm/mach-loongson1/platform.h |2 +- arch/mips/loongson1/common/platform.c |9 + arch/mips/loongson1/ls1b/board.c|5 + 3 files changed, 7 insertions(+), 9 deletions

[PATCH 1/4] MIPS: Loongson1B: use common clock infrastructure instead of private APIs

2012-10-22 Thread Kelvin Cheung
Use common clock infrastructure instead of private APIs. 1. Enable COMMON_CLK in the Kconfig. 2. Remove private clock APIs, which are replaced by the code in drivers/clk/clk-ls1x.c. 3. Modify header file for drivers/clk/clk-ls1x.c. Signed-off-by: Kelvin Cheung --- arch/mips/include/asm/mach

[PATCH 0/4] MIPS: Loongson1B: enable common clock infrastructure

2012-10-22 Thread Kelvin Cheung
These patches enable common clock infrastructure of Loongson1, and include other minor fixes. Kelvin Cheung (4): MIPS: Loongson1B: use common clock infrastructure instead of private APIs MIPS: Loongson1B: improve ls1x_serial_setup() MIPS: Loongson1B: Update stmmac_mdio_bus_data

[PATCH resend] MIPS: Loongson1B: use common clock infrastructure instead of private APIs.

2012-09-27 Thread Kelvin Cheung
1. Remove private clock APIs, which are replaced by the code in drivers/clk/clk-ls1x.c 2. Enable COMMON_CLK in the Kconfig. 3. some minor modifications. Signed-off-by: Kelvin Cheung --- arch/mips/include/asm/mach-loongson1/platform.h |3 +- arch/mips/include/asm/mach-loongson1/regs-clk.h

[PATCH v3] clk: add Loongson1B clock support

2012-08-30 Thread Kelvin Cheung
This adds clock support to Loongson1B SoC using the common clock infrastructure. Signed-off-by: Kelvin Cheung --- drivers/clk/Makefile |1 + drivers/clk/clk-ls1x.c | 111 2 files changed, 112 insertions(+), 0 deletions(-) create mode

[PATCH v3] clk: add Loongson1B clock support

2012-08-20 Thread Kelvin Cheung
This adds clock support to Loongson1B SoC using the common clock infrastructure. Signed-off-by: Kelvin Cheung --- drivers/clk/Makefile |1 + drivers/clk/clk-ls1x.c | 111 2 files changed, 112 insertions(+), 0 deletions(-) create mode

[PATCH v2] clk: add Loongson1B clock support

2012-08-18 Thread Kelvin Cheung
This adds clock support to Loongson1B SoC using the common clock infrastructure. Signed-off-by: Kelvin Cheung --- drivers/clk/Makefile |1 + drivers/clk/clk-ls1x.c | 108 2 files changed, 109 insertions(+), 0 deletions(-) create mode

[PATCH] MIPS: Loongson1B: use common clock infrastructure instead of private APIs.

2012-08-18 Thread Kelvin Cheung
1. Remove private clock APIs, which are replaced by the code in drivers/clk/clk-ls1x.c 2. Enable COMMON_CLK in the Kconfig. 3. some minor modifications. Signed-off-by: Kelvin Cheung --- arch/mips/include/asm/mach-loongson1/platform.h |3 +- arch/mips/include/asm/mach-loongson1/regs-clk.h

[PATCH] clk: add Loongson1B clock support

2012-08-18 Thread Kelvin Cheung
This adds clock support to Loongson1B SoC using the common clock infrastructure. Signed-off-by: Kelvin Cheung --- drivers/clk/Makefile |1 + drivers/clk/clk-ls1x.c | 108 2 files changed, 109 insertions(+), 0 deletions(-) create mode

[PATCH] net/stmmac: fix issue of clk_get for Loongson1B.

2012-08-18 Thread Kelvin Cheung
When getting clock, give a chance to the CPUs without DT support, which use Common Clock Framework, such as Loongson1B. Signed-off-by: Kelvin Cheung --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net

[PATCH V7 4/4] (Updated) MIPS: Add defconfig for Loongson1B

2012-07-24 Thread Kelvin Cheung
This patch adds defconfig for Loongson1B. Signed-off-by: Kelvin Cheung --- V7(updated): Add CONFIG_USB_ANNOUNCE_NEW_DEVICES in default configuration. --- arch/mips/configs/ls1b_defconfig | 109 ++ 1 files changed, 109 insertions(+), 0

[PATCH V7 3/4] (Updated) MIPS: Add Makefile and Kconfig for Loongson1B

2012-07-24 Thread Kelvin Cheung
This patch adds Makefile and Kconfig related to Loongson1B. Signed-off-by: Kelvin Cheung --- V7(updated): Change the load address of kernel to 0x8010. --- arch/mips/Kbuild.platforms |1 + arch/mips/Kconfig | 31

[PATCH V7 2/4] (Updated) MIPS: Add board support for Loongson1B

2012-07-24 Thread Kelvin Cheung
updating the normal descriptor in stmmac driver. Thanks to Zhao Zhang for implementing the RTC driver. Signed-off-by: Kelvin Cheung --- V7(updated): 1.Remove 'ifdef' of platform devices. (Asked by Ralf) 2.Modify plat_stmmacenet_data accordingly due to the change o

[PATCH V7 4/4] MIPS: Add defconfig for Loongson1B

2012-07-07 Thread Kelvin Cheung
This patch adds defconfig for Loongson1B. Signed-off-by: Kelvin Cheung --- V7(updated): Add CONFIG_USB_ANNOUNCE_NEW_DEVICES in default configuration. --- arch/mips/configs/ls1b_defconfig | 109 ++ 1 files changed, 109 insertions(+), 0

[PATCH V7 3/4] MIPS: Add Makefile and Kconfig for Loongson1B

2012-07-07 Thread Kelvin Cheung
This patch adds Makefile and Kconfig related to Loongson1B. Signed-off-by: Kelvin Cheung --- V7(updated): Change the load address of kernel to 0x8010. --- arch/mips/Kbuild.platforms |1 + arch/mips/Kconfig | 31

[PATCH V7 2/4] MIPS: Add board support for Loongson1B

2012-07-07 Thread Kelvin Cheung
updating the normal descriptor in stmmac driver. Thanks to Zhao Zhang for implementing the RTC driver. Signed-off-by: Kelvin Cheung --- V7(updated): 1.Remove 'ifdef' of platform devices. (Asked by Ralf) 2.Modify plat_stmmacenet_data accordingly due to the change o