[PATCH V4] mtd: nand: add Loongson1 NAND driver

2016-11-01 Thread Keguang Zhang
From: Kelvin Cheung This patch adds NAND driver for Loongson1B. Signed-off-by: Kelvin Cheung --- v4: Retrieve the controller from nand_hw_control. v3: Replace __raw_readl/__raw_writel with readl/writel. Split ls1x_nand into two

[PATCH V4] mtd: nand: add Loongson1 NAND driver

2016-11-01 Thread Keguang Zhang
From: Kelvin Cheung This patch adds NAND driver for Loongson1B. Signed-off-by: Kelvin Cheung --- v4: Retrieve the controller from nand_hw_control. v3: Replace __raw_readl/__raw_writel with readl/writel. Split ls1x_nand into two structures: ls1x_nand_chip and ls1x_nand_controller.

[PATCH V1 1/3] clk: Loongson1: Refactor Loongson1 clock

2016-09-18 Thread Keguang Zhang
From: Kelvin Cheung Factor out the common functions into loongson1/clk.c to support both Loongson1B and Loongson1C. And, put the rest into loongson1/clk-loongson1b.c. Signed-off-by: Kelvin Cheung --- v1: Rebase the patch on clk: ls1x:

[PATCH V1 3/3] clk: Loongson1: Make use of GENMASK

2016-09-18 Thread Keguang Zhang
From: Kelvin Cheung Make use of GENMASK instead of open coding the equivalent operation, and update the PLL formula. Signed-off-by: Kelvin Cheung --- drivers/clk/loongson1/clk-loongson1b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH V1 2/3] clk: Loongson1: Update clocks of Loongson1B

2016-09-18 Thread Keguang Zhang
From: Kelvin Cheung This patch updates some clock names of Loongson1B, and adds AC97, DMA and NAND clock. Signed-off-by: Kelvin Cheung --- v1: Rebase the patch on clk: ls1x: Migrate to clk_hw based OF and registration APIs. ---

[PATCH V1 3/3] clk: Loongson1: Make use of GENMASK

2016-09-18 Thread Keguang Zhang
From: Kelvin Cheung Make use of GENMASK instead of open coding the equivalent operation, and update the PLL formula. Signed-off-by: Kelvin Cheung --- drivers/clk/loongson1/clk-loongson1b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH V1 2/3] clk: Loongson1: Update clocks of Loongson1B

2016-09-18 Thread Keguang Zhang
From: Kelvin Cheung This patch updates some clock names of Loongson1B, and adds AC97, DMA and NAND clock. Signed-off-by: Kelvin Cheung --- v1: Rebase the patch on clk: ls1x: Migrate to clk_hw based OF and registration APIs. --- drivers/clk/loongson1/clk-loongson1b.c | 23

[PATCH V1 1/3] clk: Loongson1: Refactor Loongson1 clock

2016-09-18 Thread Keguang Zhang
From: Kelvin Cheung Factor out the common functions into loongson1/clk.c to support both Loongson1B and Loongson1C. And, put the rest into loongson1/clk-loongson1b.c. Signed-off-by: Kelvin Cheung --- v1: Rebase the patch on clk: ls1x: Migrate to clk_hw based OF and registration APIs.

[PATCH V1 0/3] Refactor Loongson1 clock

2016-09-18 Thread Keguang Zhang
From: Kelvin Cheung This patchset is to refactor Loongson1 clock, and update Loongson1B clocks. This applies on top of clk-next. Thanks! Changelog: v1: Rebase the patch on clk: ls1x: Migrate to clk_hw based OF and registration APIs. Kelvin Cheung (3): clk:

[PATCH V1 0/3] Refactor Loongson1 clock

2016-09-18 Thread Keguang Zhang
From: Kelvin Cheung This patchset is to refactor Loongson1 clock, and update Loongson1B clocks. This applies on top of clk-next. Thanks! Changelog: v1: Rebase the patch on clk: ls1x: Migrate to clk_hw based OF and registration APIs. Kelvin Cheung (3): clk: Loongson1: Refactor

[PATCH] MIPS: Loongson1B: Change the OSC clock name

2016-08-12 Thread Keguang Zhang
From: Kelvin Cheung This patch changes the OSC clock name to "osc_clk". Signed-off-by: Kelvin Cheung --- arch/mips/loongson32/common/platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] MIPS: Loongson1B: Change the OSC clock name

2016-08-12 Thread Keguang Zhang
From: Kelvin Cheung This patch changes the OSC clock name to "osc_clk". Signed-off-by: Kelvin Cheung --- arch/mips/loongson32/common/platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/loongson32/common/platform.c b/arch/mips/loongson32/common/platform.c

[PATCH 0/3] Refactor Loongson1 clock

2016-08-12 Thread Keguang Zhang
From: Keguang Zhang <keguang.zh...@spreadtrum.com> This patchset is to refactor Loongson1 clock, and update Loongson1B clocks. This applies on top of clk-next. Thanks! Kelvin Cheung (3): clk: Loongson1: Refactor Loongson1 clock clk: Loongson1: Update clocks of Loongson1B clk: Loo

[PATCH 3/3] clk: Loongson1: Make use of GENMASK

2016-08-12 Thread Keguang Zhang
From: Kelvin Cheung Make use of GENMASK instead of open coding the equivalent operation, and update the PLL formula. Signed-off-by: Kelvin Cheung --- drivers/clk/loongson1/clk-loongson1b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 0/3] Refactor Loongson1 clock

2016-08-12 Thread Keguang Zhang
From: Keguang Zhang This patchset is to refactor Loongson1 clock, and update Loongson1B clocks. This applies on top of clk-next. Thanks! Kelvin Cheung (3): clk: Loongson1: Refactor Loongson1 clock clk: Loongson1: Update clocks of Loongson1B clk: Loongson1: Make use of GENMASK drivers

[PATCH 3/3] clk: Loongson1: Make use of GENMASK

2016-08-12 Thread Keguang Zhang
From: Kelvin Cheung Make use of GENMASK instead of open coding the equivalent operation, and update the PLL formula. Signed-off-by: Kelvin Cheung --- drivers/clk/loongson1/clk-loongson1b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 1/3] clk: Loongson1: Refactor Loongson1 clock

2016-08-12 Thread Keguang Zhang
From: Kelvin Cheung Factor out the common functions into loongson1/clk.c to support both Loongson1B and Loongson1C. And, put the rest into loongson1/clk-loongson1b.c. Signed-off-by: Kelvin Cheung --- drivers/clk/Makefile

[PATCH 2/3] clk: Loongson1: Update clocks of Loongson1B

2016-08-12 Thread Keguang Zhang
From: Kelvin Cheung This patch updates some clock names of Loongson1B, and adds AC97, DMA and NAND clock. Signed-off-by: Kelvin Cheung --- drivers/clk/loongson1/clk-loongson1b.c | 23 +-- 1 file changed, 13 insertions(+),

[PATCH 2/3] clk: Loongson1: Update clocks of Loongson1B

2016-08-12 Thread Keguang Zhang
From: Kelvin Cheung This patch updates some clock names of Loongson1B, and adds AC97, DMA and NAND clock. Signed-off-by: Kelvin Cheung --- drivers/clk/loongson1/clk-loongson1b.c | 23 +-- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git

[PATCH 1/3] clk: Loongson1: Refactor Loongson1 clock

2016-08-12 Thread Keguang Zhang
From: Kelvin Cheung Factor out the common functions into loongson1/clk.c to support both Loongson1B and Loongson1C. And, put the rest into loongson1/clk-loongson1b.c. Signed-off-by: Kelvin Cheung --- drivers/clk/Makefile | 2 +- drivers/clk/loongson1/Makefile

[PATCH] MIPS: Loongson1B: Modify DEFAULT_MEMSIZE

2016-08-09 Thread Keguang Zhang
From: Kelvin Cheung This patch changes DEFAULT_MEMSIZE to 64MB which is the memory size of latest EVB. Signed-off-by: Kelvin Cheung --- arch/mips/include/asm/mach-loongson32/loongson1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] MIPS: Loongson1B: Modify DEFAULT_MEMSIZE

2016-08-09 Thread Keguang Zhang
From: Kelvin Cheung This patch changes DEFAULT_MEMSIZE to 64MB which is the memory size of latest EVB. Signed-off-by: Kelvin Cheung --- arch/mips/include/asm/mach-loongson32/loongson1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] MIPS: Loongson1C: Remove ARCH_WANT_OPTIONAL_GPIOLIB

2016-08-09 Thread Keguang Zhang
From: Kelvin Cheung This patch removes ARCH_WANT_OPTIONAL_GPIOLIB due to upstream changes. Signed-off-by: Kelvin Cheung --- arch/mips/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index

[PATCH] MIPS: Loongson1C: Remove ARCH_WANT_OPTIONAL_GPIOLIB

2016-08-09 Thread Keguang Zhang
From: Kelvin Cheung This patch removes ARCH_WANT_OPTIONAL_GPIOLIB due to upstream changes. Signed-off-by: Kelvin Cheung --- arch/mips/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 69df280..d0b9ad1 100644 --- a/arch/mips/Kconfig +++

[PATCH V1] MIPS: Loongson1B: Provide DMA filter callbacks via platform data

2016-08-09 Thread Keguang Zhang
From: Kelvin Cheung This patch provides DMA filter callbacks via platform data to make NAND driver independent of single DMA engine driver. Signed-off-by: Kelvin Cheung --- v1: Fix the build error ---

[PATCH V1] MIPS: Loongson1B: Provide DMA filter callbacks via platform data

2016-08-09 Thread Keguang Zhang
From: Kelvin Cheung This patch provides DMA filter callbacks via platform data to make NAND driver independent of single DMA engine driver. Signed-off-by: Kelvin Cheung --- v1: Fix the build error --- arch/mips/include/asm/mach-loongson32/dma.h | 4

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

2016-05-28 Thread Keguang Zhang
From: Kelvin Cheung This patch adds NAND driver for Loongson1B. Signed-off-by: Kelvin Cheung --- v3: Replace __raw_readl/__raw_writel with readl/writel. Split ls1x_nand into two structures: ls1x_nand_chip and ls1x_nand_controller. V2:

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

2016-05-28 Thread Keguang Zhang
From: Kelvin Cheung This patch adds NAND driver for Loongson1B. Signed-off-by: Kelvin Cheung --- v3: Replace __raw_readl/__raw_writel with readl/writel. Split ls1x_nand into two structures: ls1x_nand_chip and ls1x_nand_controller. V2: Modify the dependency in Kconfig due to the

[PATCH] MIPS: Loongson1B: Provide DMA filter callbacks via platform data

2016-05-28 Thread Keguang Zhang
From: Kelvin Cheung This patch provides DMA filter callbacks via platform data to make NAND driver independent of single DMA engine driver. Signed-off-by: Kelvin Cheung --- arch/mips/include/asm/mach-loongson32/dma.h | 4

[PATCH] MIPS: Loongson1B: Remove ARCH_WANT_OPTIONAL_GPIOLIB

2016-05-28 Thread Keguang Zhang
From: Kelvin Cheung This patch removes ARCH_WANT_OPTIONAL_GPIOLIB due to upstream changes. Signed-off-by: Kelvin Cheung --- arch/mips/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index

[PATCH] MIPS: Loongson1B: Provide DMA filter callbacks via platform data

2016-05-28 Thread Keguang Zhang
From: Kelvin Cheung This patch provides DMA filter callbacks via platform data to make NAND driver independent of single DMA engine driver. Signed-off-by: Kelvin Cheung --- arch/mips/include/asm/mach-loongson32/dma.h | 4 arch/mips/include/asm/mach-loongson32/nand.h | 3 +--

[PATCH] MIPS: Loongson1B: Remove ARCH_WANT_OPTIONAL_GPIOLIB

2016-05-28 Thread Keguang Zhang
From: Kelvin Cheung This patch removes ARCH_WANT_OPTIONAL_GPIOLIB due to upstream changes. Signed-off-by: Kelvin Cheung --- arch/mips/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 5663f41..34ed662 100644 --- a/arch/mips/Kconfig +++

[PATCH V3] dmaengine: Loongson1: add Loongson1 dmaengine driver

2016-05-28 Thread Keguang Zhang
From: Kelvin Cheung This patch adds DMA Engine driver for Loongson1B. Signed-off-by: Kelvin Cheung --- V3: Rename ls1x_dma_filter_fn to ls1x_dma_filter. V2: Change the config from 'DMA_LOONGSON1' to 'LOONGSON1_DMA', and rearrange it

[PATCH V3] dmaengine: Loongson1: add Loongson1 dmaengine driver

2016-05-28 Thread Keguang Zhang
From: Kelvin Cheung This patch adds DMA Engine driver for Loongson1B. Signed-off-by: Kelvin Cheung --- V3: Rename ls1x_dma_filter_fn to ls1x_dma_filter. V2: Change the config from 'DMA_LOONGSON1' to 'LOONGSON1_DMA', and rearrange it in alphabetical order in Kconfig and Makefile.

[PATCH V1 3/5] cpufreq: Loongson1: Use dev_get_platdata() to get platform_data

2016-04-12 Thread Keguang Zhang
From: Kelvin Cheung This patch uses dev_get_platdata() to get the platform_data instead of referencing it directly. Signed-off-by: Kelvin Cheung --- drivers/cpufreq/loongson1-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH V1 3/5] cpufreq: Loongson1: Use dev_get_platdata() to get platform_data

2016-04-12 Thread Keguang Zhang
From: Kelvin Cheung This patch uses dev_get_platdata() to get the platform_data instead of referencing it directly. Signed-off-by: Kelvin Cheung --- drivers/cpufreq/loongson1-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/loongson1-cpufreq.c

[PATCH V1 4/5] cpufreq: Loongson1: Use devm_kzalloc() instead of global structure

2016-04-12 Thread Keguang Zhang
From: Kelvin Cheung This patch uses devm_kzalloc() instead of global structure. Signed-off-by: Kelvin Cheung --- drivers/cpufreq/loongson1-cpufreq.c | 63 - 1 file changed, 35 insertions(+), 28 deletions(-)

[PATCH V1 4/5] cpufreq: Loongson1: Use devm_kzalloc() instead of global structure

2016-04-12 Thread Keguang Zhang
From: Kelvin Cheung This patch uses devm_kzalloc() instead of global structure. Signed-off-by: Kelvin Cheung --- drivers/cpufreq/loongson1-cpufreq.c | 63 - 1 file changed, 35 insertions(+), 28 deletions(-) diff --git a/drivers/cpufreq/loongson1-cpufreq.c

[PATCH V1 5/5] cpufreq: Loongson1: Replace goto out with return in ls1x_cpufreq_probe()

2016-04-12 Thread Keguang Zhang
From: Kelvin Cheung This patch replaces goto out with return in ls1x_cpufreq_probe(). Signed-off-by: Kelvin Cheung --- V1: Move the minor updates into patch#1. Fix the brace problem in ls1x_cpufreq_probe(). ---

[PATCH V1 1/5] cpufreq: Loongson1: Rename the file to loongson1-cpufreq.c

2016-04-12 Thread Keguang Zhang
From: Kelvin Cheung This patch renames the file to loongson1-cpufreq.c, and also includes some minor updates. Signed-off-by: Kelvin Cheung --- V1: Merge the minor updates into this patch. --- drivers/cpufreq/Makefile

[PATCH V1 2/5] cpufreq: Loongson1: Replace kzalloc() with kcalloc()

2016-04-12 Thread Keguang Zhang
From: Kelvin Cheung This patch replaces kzalloc() with kcalloc() when allocating frequency table, and remove unnecessary 'out of memory' message. Signed-off-by: Kelvin Cheung --- drivers/cpufreq/loongson1-cpufreq.c | 12 1 file

[PATCH V1 5/5] cpufreq: Loongson1: Replace goto out with return in ls1x_cpufreq_probe()

2016-04-12 Thread Keguang Zhang
From: Kelvin Cheung This patch replaces goto out with return in ls1x_cpufreq_probe(). Signed-off-by: Kelvin Cheung --- V1: Move the minor updates into patch#1. Fix the brace problem in ls1x_cpufreq_probe(). --- drivers/cpufreq/loongson1-cpufreq.c | 29 + 1

[PATCH V1 1/5] cpufreq: Loongson1: Rename the file to loongson1-cpufreq.c

2016-04-12 Thread Keguang Zhang
From: Kelvin Cheung This patch renames the file to loongson1-cpufreq.c, and also includes some minor updates. Signed-off-by: Kelvin Cheung --- V1: Merge the minor updates into this patch. --- drivers/cpufreq/Makefile| 2 +- drivers/cpufreq/{ls1x-cpufreq.c

[PATCH V1 2/5] cpufreq: Loongson1: Replace kzalloc() with kcalloc()

2016-04-12 Thread Keguang Zhang
From: Kelvin Cheung This patch replaces kzalloc() with kcalloc() when allocating frequency table, and remove unnecessary 'out of memory' message. Signed-off-by: Kelvin Cheung --- drivers/cpufreq/loongson1-cpufreq.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git

[PATCH 5/5] cpufreq: Loongson1: Replace goto out with return in ls1x_cpufreq_probe()

2016-04-11 Thread Keguang Zhang
From: Kelvin Cheung This patch replaces goto out with return in ls1x_cpufreq_probe(), and also includes some minor fixes. Signed-off-by: Kelvin Cheung --- drivers/cpufreq/loongson1-cpufreq.c | 37 - 1 file

[PATCH 2/5] cpufreq: Loongson1: Replace kzalloc() with kcalloc()

2016-04-11 Thread Keguang Zhang
From: Kelvin Cheung This patch replaces kzalloc() with kcalloc() when allocating frequency table, and remove unnecessary 'out of memory' message. Signed-off-by: Kelvin Cheung --- drivers/cpufreq/loongson1-cpufreq.c | 12 1 file

[PATCH 5/5] cpufreq: Loongson1: Replace goto out with return in ls1x_cpufreq_probe()

2016-04-11 Thread Keguang Zhang
From: Kelvin Cheung This patch replaces goto out with return in ls1x_cpufreq_probe(), and also includes some minor fixes. Signed-off-by: Kelvin Cheung --- drivers/cpufreq/loongson1-cpufreq.c | 37 - 1 file changed, 16 insertions(+), 21 deletions(-) diff

[PATCH 2/5] cpufreq: Loongson1: Replace kzalloc() with kcalloc()

2016-04-11 Thread Keguang Zhang
From: Kelvin Cheung This patch replaces kzalloc() with kcalloc() when allocating frequency table, and remove unnecessary 'out of memory' message. Signed-off-by: Kelvin Cheung --- drivers/cpufreq/loongson1-cpufreq.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git

[PATCH 1/5] cpufreq: Loongson1: Rename the file to loongson1-cpufreq.c

2016-04-11 Thread Keguang Zhang
From: Kelvin Cheung This patch renames the file to loongson1-cpufreq.c Signed-off-by: Kelvin Cheung --- drivers/cpufreq/Makefile| 2 +- drivers/cpufreq/{ls1x-cpufreq.c => loongson1-cpufreq.c} | 0 2 files

[PATCH 4/5] cpufreq: Loongson1: Use devm_kzalloc() instead of global structure

2016-04-11 Thread Keguang Zhang
From: Kelvin Cheung This patch uses devm_kzalloc() instead of global structure. Signed-off-by: Kelvin Cheung --- drivers/cpufreq/loongson1-cpufreq.c | 63 - 1 file changed, 35 insertions(+), 28 deletions(-)

[PATCH 1/5] cpufreq: Loongson1: Rename the file to loongson1-cpufreq.c

2016-04-11 Thread Keguang Zhang
From: Kelvin Cheung This patch renames the file to loongson1-cpufreq.c Signed-off-by: Kelvin Cheung --- drivers/cpufreq/Makefile| 2 +- drivers/cpufreq/{ls1x-cpufreq.c => loongson1-cpufreq.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename

[PATCH 4/5] cpufreq: Loongson1: Use devm_kzalloc() instead of global structure

2016-04-11 Thread Keguang Zhang
From: Kelvin Cheung This patch uses devm_kzalloc() instead of global structure. Signed-off-by: Kelvin Cheung --- drivers/cpufreq/loongson1-cpufreq.c | 63 - 1 file changed, 35 insertions(+), 28 deletions(-) diff --git a/drivers/cpufreq/loongson1-cpufreq.c

[PATCH 3/5] cpufreq: Loongson1: Use dev_get_platdata() to get platform_data

2016-04-11 Thread Keguang Zhang
From: Kelvin Cheung This patch uses dev_get_platdata() to get the platform_data instead of referencing it directly. Signed-off-by: Kelvin Cheung --- drivers/cpufreq/loongson1-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 3/5] cpufreq: Loongson1: Use dev_get_platdata() to get platform_data

2016-04-11 Thread Keguang Zhang
From: Kelvin Cheung This patch uses dev_get_platdata() to get the platform_data instead of referencing it directly. Signed-off-by: Kelvin Cheung --- drivers/cpufreq/loongson1-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/loongson1-cpufreq.c

[PATCH 2/7] cpufreq: Loongson1: Update cpufreq of Loongson1B

2016-04-06 Thread Keguang Zhang
From: Kelvin Cheung - Rename the file to loongson1-cpufreq.c - Use kcalloc() instead of kzalloc() - Use devm_kzalloc() instead of global structure - Use dev_get_platdata() to access the platform_data field instead of referencing it directly - Remove superfluous error

[PATCH 2/7] cpufreq: Loongson1: Update cpufreq of Loongson1B

2016-04-06 Thread Keguang Zhang
From: Kelvin Cheung - Rename the file to loongson1-cpufreq.c - Use kcalloc() instead of kzalloc() - Use devm_kzalloc() instead of global structure - Use dev_get_platdata() to access the platform_data field instead of referencing it directly - Remove superfluous error messages Signed-off-by:

[PATCH 5/7] gpio: Loongson1: add Loongson1 GPIO driver

2016-04-06 Thread Keguang Zhang
From: Kelvin Cheung This patch adds GPIO driver for Loongson1B. Signed-off-by: Kelvin Cheung --- drivers/gpio/Kconfig | 7 +++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-loongson1.c | 102

[PATCH 5/7] gpio: Loongson1: add Loongson1 GPIO driver

2016-04-06 Thread Keguang Zhang
From: Kelvin Cheung This patch adds GPIO driver for Loongson1B. Signed-off-by: Kelvin Cheung --- drivers/gpio/Kconfig | 7 +++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-loongson1.c | 102 ++ 3 files changed, 110 insertions(+)

[PATCH 1/7] clk: Loongson1: Update clocks of Loongson1B

2016-04-06 Thread Keguang Zhang
From: Kelvin Cheung - Rename the file to clk-loongson1.c - Add AC97, DMA and NAND clock - Update clock names - Remove superfluous error messages Signed-off-by: Kelvin Cheung --- drivers/clk/Makefile| 2 +- drivers/clk/clk-loongson1.c

[PATCH 6/7] MIPS: Loongson1B: Some updates/fixes for LS1B

2016-04-06 Thread Keguang Zhang
From: Kelvin Cheung - Add DMA device - Add NAND device - Add GPIO device - Add LED device - Update the defconfig and rename it to loongson1b_defconfig - Fix ioremap size - Other minor fixes Signed-off-by: Kelvin Cheung --- arch/mips/Kconfig

[PATCH 3/7] dmaengine: Loongson1: add Loongson1 dmaengine driver

2016-04-06 Thread Keguang Zhang
From: Kelvin Cheung This patch adds DMA Engine driver for Loongson1B. Signed-off-by: Kelvin Cheung --- drivers/dma/Kconfig | 9 + drivers/dma/Makefile| 1 + drivers/dma/loongson1-dma.c | 546

[PATCH 0/7] MIPS: Loongson1B: add NAND, DMA and GPIO support

2016-04-06 Thread Keguang Zhang
From: Kelvin Cheung This patchset is to add NAND, DMA and GPIO support for Loongson1B, and moreover, include some updates/fixes. This applies on top of mips-for-linux-next. Thanks! Kelvin Cheung (7): clk: Loongson1: Update clocks of Loongson1B cpufreq: Loongson1:

[PATCH 1/7] clk: Loongson1: Update clocks of Loongson1B

2016-04-06 Thread Keguang Zhang
From: Kelvin Cheung - Rename the file to clk-loongson1.c - Add AC97, DMA and NAND clock - Update clock names - Remove superfluous error messages Signed-off-by: Kelvin Cheung --- drivers/clk/Makefile| 2 +- drivers/clk/clk-loongson1.c | 163

[PATCH 6/7] MIPS: Loongson1B: Some updates/fixes for LS1B

2016-04-06 Thread Keguang Zhang
From: Kelvin Cheung - Add DMA device - Add NAND device - Add GPIO device - Add LED device - Update the defconfig and rename it to loongson1b_defconfig - Fix ioremap size - Other minor fixes Signed-off-by: Kelvin Cheung --- arch/mips/Kconfig | 2 +

[PATCH 3/7] dmaengine: Loongson1: add Loongson1 dmaengine driver

2016-04-06 Thread Keguang Zhang
From: Kelvin Cheung This patch adds DMA Engine driver for Loongson1B. Signed-off-by: Kelvin Cheung --- drivers/dma/Kconfig | 9 + drivers/dma/Makefile| 1 + drivers/dma/loongson1-dma.c | 546 3 files changed, 556 insertions(+)

[PATCH 0/7] MIPS: Loongson1B: add NAND, DMA and GPIO support

2016-04-06 Thread Keguang Zhang
From: Kelvin Cheung This patchset is to add NAND, DMA and GPIO support for Loongson1B, and moreover, include some updates/fixes. This applies on top of mips-for-linux-next. Thanks! Kelvin Cheung (7): clk: Loongson1: Update clocks of Loongson1B cpufreq: Loongson1: Update cpufreq of

[PATCH 4/7] mtd: nand: add Loongson1 NAND driver

2016-04-06 Thread Keguang Zhang
From: Kelvin Cheung This patch adds NAND driver for Loongson1B. Signed-off-by: Kelvin Cheung --- drivers/mtd/nand/Kconfig | 8 + drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/loongson1_nand.c | 522

[PATCH 7/7] MAINTAINERS: add Loongson1 architecture entry

2016-04-06 Thread Keguang Zhang
5 @@ S: Supported F: Documentation/mips/ F: arch/mips/ +MIPS/LOONGSON1 ARCHITECTURE +M: Keguang Zhang <keguang.zh...@gmail.com> +L: linux-m...@linux-mips.org +S: Maintained +F: arch/mips/loongson32/ +F: arch/mips/include/asm/mach-loongson32/ +F: drivers/*/*l

[PATCH 7/7] MAINTAINERS: add Loongson1 architecture entry

2016-04-06 Thread Keguang Zhang
: Documentation/mips/ F: arch/mips/ +MIPS/LOONGSON1 ARCHITECTURE +M: Keguang Zhang +L: linux-m...@linux-mips.org +S: Maintained +F: arch/mips/loongson32/ +F: arch/mips/include/asm/mach-loongson32/ +F: drivers/*/*loongson1* +F: drivers/*/*/*loongson1* + MIROSOUND PCM20 FM

[PATCH 4/7] mtd: nand: add Loongson1 NAND driver

2016-04-06 Thread Keguang Zhang
From: Kelvin Cheung This patch adds NAND driver for Loongson1B. Signed-off-by: Kelvin Cheung --- drivers/mtd/nand/Kconfig | 8 + drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/loongson1_nand.c | 522 ++ 3 files changed, 531