Add Nuvoton BMC NPCM845 Pinmux and Pinconf support.
Signed-off-by: Stanley Chu
---
v6:
- sync pin name with Linux driver
- add support for gpi35/gpi36/gpio183~189
v5:
- lower-case hex consistently
- use uint type for pin list in the group_config struct
v4:
- correct the pin flags, add slew
Add Nuvoton BMC NPCM845 Pinmux and Pinconf support.
Signed-off-by: Stanley Chu
---
v5:
- lower-case hex consistently
- use uint type for pin list in the group_config struct
v4:
- correct the pin flags, add slew rate control suuport for rgmii pins
v3:
- separate group names and function names
Hi Sean,
Thanks for the review, it will be revised in the next version.
--
Stanley
On Fri, May 27, 2022 at 12:06 PM Sean Anderson wrote:
>
> On 5/3/22 1:33 AM, Stanley Chu wrote:
> > Add Nuvoton BMC NPCM845 Pinmux and Pinconf support.
> >
> > Signed-off-by: Sta
Add Nuvoton BMC NPCM7xx/NPCM8xx uart driver
Signed-off-by: Stanley Chu
---
drivers/serial/Kconfig | 7 ++
drivers/serial/Makefile | 1 +
drivers/serial/serial_npcm.c | 151 +++
3 files changed, 159 insertions(+)
create mode 100644 drivers/serial
Add Nuvoton BMC NPCM7xx/NPCM8xx uart driver
Signed-off-by: Stanley Chu
---
Changes in v2:
Drop unnecessary outer brackets.
Return -EAGAIN if not ready for tx/rx.
Add comments.
---
drivers/serial/Kconfig | 9 +++
drivers/serial/Makefile | 1 +
drivers/serial/serial_npcm.c
This driver enables a periodic timer on NPCM SoCs and
implements the get_count timer ops.
Signed-off-by: Stanley Chu
---
drivers/timer/Kconfig | 6 ++
drivers/timer/Makefile | 1 +
drivers/timer/npcm-timer.c | 111 +
3 files changed, 118
This driver enables a periodic timer on NPCM SoCs and
implements the get_count timer ops.
Signed-off-by: Stanley Chu
---
Changes in v2:
calculate the prescale value, not hardcode.
---
drivers/timer/Kconfig | 6 ++
drivers/timer/Makefile | 1 +
drivers/timer/npcm-timer.c | 110
Enable a periodic timer on NPCM SoCs and implement
the get_count timer ops.
Signed-off-by: Stanley Chu
---
v3:
- use driver data for clock setting on different chips
- remove unnecessary code of zeroing priv variables
- more help description in Kconfig
v2:
- calculate the prescale value
Add clock controller driver for NPCM845
Signed-off-by: Stanley Chu
---
drivers/clk/Makefile | 1 +
drivers/clk/nuvoton/Makefile | 1 +
drivers/clk/nuvoton/clk_npcm8xx.c | 470 ++
.../dt-bindings/clock/nuvoton,npcm8xx
Add Nuvoton BMC NPCM7xx/NPCM8xx gpio driver
Signed-off-by: Stanley Chu
---
drivers/gpio/Kconfig | 7 +++
drivers/gpio/Makefile| 1 +
drivers/gpio/npcm_gpio.c | 123 +++
3 files changed, 131 insertions(+)
create mode 100644 drivers/gpio
Add clock controller driver for NPCM845
Signed-off-by: Stanley Chu
Reviewed-by: Sean Anderson
---
v2:
- simplify function arguments as comment by Sean Anderson
---
drivers/clk/Makefile | 1 +
drivers/clk/nuvoton/Makefile | 1 +
drivers/clk
The patch series add basic supoorts for NPCM845, which
is Nuvoton's 4th-generation BMC (Baseboard Management
Controller).
Add drivers to support Clock,Timer,Uart,GPIO, Pinctrl,
SPI Flash Access for NPCM8xx SoC.
Stanley Chu (9):
arm: nuvoton: Add support for Nuvoton NPCM845 BMC
clk: nu
Add basic support for the Nuvoton NPCM845 BMC.
Signed-off-by: Stanley Chu
---
arch/arm/Kconfig | 9 +
arch/arm/Makefile | 1 +
arch/arm/include/asm/arch-npcm8xx/clock.h | 164
arch/arm/include/asm/arch-npcm8xx/espi.h | 23
Add clock controller driver for NPCM845
Signed-off-by: Stanley Chu
---
drivers/clk/Makefile | 1 +
drivers/clk/nuvoton/Makefile | 1 +
drivers/clk/nuvoton/clk_npcm8xx.c | 213 ++
include/dt-bindings/clock/npcm845-clock.h | 17
Add Nuvoton BMC NPCM7xx/NPCM8xx timer driver.
Signed-off-by: Stanley Chu
---
drivers/timer/Kconfig | 7
drivers/timer/Makefile | 1 +
drivers/timer/npcm_timer.c | 82 ++
3 files changed, 90 insertions(+)
create mode 100644 drivers/timer
Add Nuvoton BMC NPCM7xx/NPCM8xx uart driver
Signed-off-by: Stanley Chu
---
arch/arm/include/asm/arch-npcm8xx/uart.h | 82 ++
drivers/serial/Kconfig | 7 ++
drivers/serial/Makefile | 1 +
drivers/serial/serial_npcm.c | 137
Add Nuvoton BMC NPCM7xx/NPCM8xx gpio driver
Signed-off-by: Stanley Chu
---
drivers/gpio/Kconfig | 7 +++
drivers/gpio/Makefile| 1 +
drivers/gpio/npcm_gpio.c | 133 +++
3 files changed, 141 insertions(+)
create mode 100644 drivers/gpio
-off-by: Stanley Chu
---
arch/arm/include/asm/arch-npcm8xx/fiu.h | 61 +
drivers/spi/Kconfig | 6 +
drivers/spi/Makefile| 1 +
drivers/spi/npcm_fiu_spi.c | 311
4 files changed, 379 insertions(+)
create mode
Add Nuvoton BMC NPCM845 Pinmux and Pinconf support.
Signed-off-by: Stanley Chu
---
drivers/pinctrl/Kconfig |1 +
drivers/pinctrl/Makefile |1 +
drivers/pinctrl/nuvoton/Kconfig |6 +
drivers/pinctrl/nuvoton/Makefile |1
Add defconfig for NPCM845 EVB (Arbel).
Signed-off-by: Stanley Chu
---
board/nuvoton/arbel/MAINTAINERS | 7 +++
configs/arbel_evb_defconfig | 77 +
2 files changed, 84 insertions(+)
create mode 100644 board/nuvoton/arbel/MAINTAINERS
create mode 100644
Add a common device tree for all Nuvoton NPCM8xx BMCs and a board
specific device tree for the NPCM845(Arbel) evaluation board.
Signed-off-by: Stanley Chu
---
arch/arm/dts/Makefile |2 +
arch/arm/dts/nuvoton-common-npcm8xx.dtsi | 598 ++
arch/arm/dts/nuvoton
wrote:
> >
> >
> > On 12/15/21 13:32, Sean Anderson wrote:
> >> On 12/14/21 9:57 PM, Stanley Chu wrote:
> >>> Add basic support for the Nuvoton NPCM845 BMC.
> >>>
> >>> Signed-off-by: Stanley Chu
> >>> ---
>
21 03:57, Stanley Chu wrote:
> > Add basic support for the Nuvoton NPCM845 BMC.
> >
> > Signed-off-by: Stanley Chu
> > ---
> > arch/arm/Kconfig | 9 +
> > arch/arm/Makefile | 1 +
> > arch/arm/include
32 AM Sean Anderson wrote:
>
> On 12/14/21 9:57 PM, Stanley Chu wrote:
> > Add basic support for the Nuvoton NPCM845 BMC.
> >
> > Signed-off-by: Stanley Chu
> > ---
> > arch/arm/Kconfig | 9 +
> > arch/arm/Makefile
Hi Jesse,
Thanks for the comment, this will be addressed in the next patches.
--
Stanley
On Thu, Dec 16, 2021 at 6:16 AM Jesse Taube wrote:
>
>
>
> On 12/15/21 13:32, Sean Anderson wrote:
> > On 12/14/21 9:57 PM, Stanley Chu wrote:
> >> Add basic support
.
--
Stanley
On Fri, Mar 11, 2022 at 2:49 AM Tom Rini wrote:
>
> On Wed, Dec 15, 2021 at 10:57:52AM +0800, Stanley Chu wrote:
>
> > Add basic support for the Nuvoton NPCM845 BMC.
> >
> > Signed-off-by: Stanley Chu
>
> I see there's a number of outstanding ques
On Fri, Mar 11, 2022 at 10:53 AM Giulio Benetti
wrote:
>
> Hi Stanley,
>
> > Il giorno 11 mar 2022, alle ore 03:13, Stanley Chu
> > ha scritto:
> >
> > Hi Tom,
> > We need time to prepare linux dts, can I send the rest of the drivers
> > first or
Add Nuvoton BMC NPCM845 Pinmux and Pinconf support.
Signed-off-by: Stanley Chu
---
drivers/pinctrl/Kconfig |1 +
drivers/pinctrl/Makefile |1 +
drivers/pinctrl/nuvoton/Kconfig |6 +
drivers/pinctrl/nuvoton/Makefile |1
Add Nuvoton BMC NPCM845 Pinmux and Pinconf support.
Signed-off-by: Stanley Chu
---
v2:
- drop the WDnRCRB/CORSTCB register access, it is not for
GPIO modules reset control
---
drivers/pinctrl/Kconfig |1 +
drivers/pinctrl/Makefile |1 +
drivers
Add Nuvoton BMC NPCM845 Pinmux and Pinconf support.
Signed-off-by: Stanley Chu
---
v3:
- separate group names and function names in different tables
to allow for adding additional functions
v2:
- drop the WDnRCRB/CORSTCB register access, it is not for
GPIO modules reset control
Add Nuvoton BMC NPCM845 Pinmux and Pinconf support.
Signed-off-by: Stanley Chu
---
v4:
- correct the pin flags, add slew rate control suuport for rgmii pins
v3:
- separate group names and function names in different tables
to allow for adding additional functions
v2:
- drop the WDnRCRB
31 matches
Mail list logo