; 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
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
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
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
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
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
___| |
|_|
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
25 matches
Mail list logo