[PATCH v1 3/3] ARM: dts: ast2600: Add SGPIO to device tree

2024-10-16 Thread Billy Tsai
Add SGPIO DTS node and enable them for AST2600 EVB. Signed-off-by: Billy Tsai --- arch/arm/dts/ast2600-evb.dts | 10 ++ arch/arm/dts/ast2600.dtsi| 40 drivers/pinctrl/aspeed/pinctrl_ast2600.c | 10 ++ 3 files changed, 60 insertions

[PATCH v1 2/3] ARM: dts: ast2500: Add SGPIO to device tree

2024-10-16 Thread Billy Tsai
Add SGPIO DTS node and enable it for AST2500 EVB. Signed-off-by: Billy Tsai --- arch/arm/dts/ast2500-evb.dts | 5 + arch/arm/dts/ast2500.dtsi| 20 drivers/pinctrl/aspeed/pinctrl_ast2500.c | 1 + 3 files changed, 26 insertions(+) diff --git

[PATCH v1 1/3] gpio: Add Aspeed SGPIO driver

2024-10-16 Thread Billy Tsai
The Aspeed SGPIO driver supports the SGPIO controllers found in the AST2400, AST2500 and AST2600 BMC SoCs. The implementation is a cut-down copy of the upstream Linux kernel driver, adapted for u-boot. Signed-off-by: Billy Tsai --- drivers/gpio/Kconfig | 7 + drivers/gpio/Makefile

[PATCH v1 0/3] Support Aspeed SGPIO controller

2024-10-16 Thread Billy Tsai
AST2600 SoC has 2 SGPIO master interfaces one with 128 pins another one with 80 pins, AST2500/AST2400 SoC has 1 SGPIO master interface that supports up to 80 pins. Billy Tsai (3): gpio: Add Aspeed SGPIO driver ARM: dts: ast2500: Add SGPIO to device tree ARM: dts: ast2600: Add SGPIO to

[PATCH] gpio: Add G7 Aspeed gpio controller driver

2024-08-20 Thread Billy Tsai
ers/gpio/gpio-aspeed-g7.c b/drivers/gpio/gpio-aspeed-g7.c new file mode 100644 index 000..4c6ab86203c --- /dev/null +++ b/drivers/gpio/gpio-aspeed-g7.c @@ -0,0 +1,151 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) ASPEED Technology Inc. + * Billy Tsai + */ +#include +#

Re: [PATCH v2] gpio: aspeed: port Linux dt-bindings header file

2022-08-04 Thread Billy Tsai
Thanks. Reviewed-by: Billy Tsai On 2022/8/4, 9:02 AM, "Dhananjay Phadke" wrote: Ported as is, makes it easier to add readable GPIO definitions in DTS files. Signed-off-by: Dhananjay Phadke --- include/dt-bindings/gpio/aspeed-g

Re: [PATCH] gpio: aspeed: port Linux dt-bindings header file

2022-08-03 Thread Billy Tsai
Hello, On 2022/8/3, 10:10 AM, "Billy Tsai" wrote: Reviewed-by: Billy Tsai On 2022/8/3, 9:46 AM, "ChiaWei Wang" wrote: Acked-by: Chia-Wei Wang > > From: Dhananjay Phadke > > Sent: Wednesday, August 3, 2022 4:55 AM

Re: [PATCH] gpio: aspeed: port Linux dt-bindings header file

2022-08-02 Thread Billy Tsai
Reviewed-by: Billy Tsai On 2022/8/3, 9:46 AM, "ChiaWei Wang" wrote: Acked-by: Chia-Wei Wang > From: Dhananjay Phadke > Sent: Wednesday, August 3, 2022 4:55 AM > > Ported as is, makes it easier to add readable GPIO definitions in DTS files.

[PATCH] pwm: aspeed: Select SYSCON to get parent detail.

2022-04-29 Thread Billy Tsai
To work correctly, this driver depends on SYSCON to get the base address from the parent dts node. Signed-off-by: Billy Tsai --- drivers/pwm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index cb54e67fae..cf66293eeb 100644 --- a/drivers

[PATCH] gpio: aspeed: Fix incorrect offset of read back register.

2022-04-13 Thread Billy Tsai
ned-off-by: Billy Tsai --- drivers/gpio/gpio-aspeed.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpio/gpio-aspeed.c b/drivers/gpio/gpio-aspeed.c index a8a2afcb5c..2c5415c671 100644 --- a/drivers/gpio/gpio-aspeed.c +++ b/drivers/gpio/gpio-aspeed.c @@ -211,7 +211,7

[PATCH 1/3] pwm: Add Aspeed ast2600 PWM support

2022-03-07 Thread Billy Tsai
This patch add the support of PWM controller which can be found at aspeed ast2600 soc. The pwm supoorts up to 16 channels and it's part function of multi-function device "pwm-tach controller". Signed-off-by: Billy Tsai --- drivers/pwm/Kconfig | 8 ++ drivers/pwm/Mak

[PATCH 0/3] Support pwm driver for aspeed ast26xx

2022-03-07 Thread Billy Tsai
This series adds driver support for the PWM controller found in Aspeed's AST2600 BMC SoCs, but isn't compatible with the AST2400 and AST2500. Billy Tsai (3): pwm: Add Aspeed ast2600 PWM support pinctrl: Add the pinctrl setting for PWM. ARM: dts: ast2600: Add PWM to device tree

[PATCH 2/3] pinctrl: Add the pinctrl setting for PWM.

2022-03-07 Thread Billy Tsai
This patchs add the signal description array for PWM pinctrl settings. Signed-off-by: Billy Tsai --- arch/arm/dts/ast2600.dtsi| 80 +++ drivers/pinctrl/aspeed/pinctrl_ast2600.c | 120 +++ 2 files changed, 200 insertions(+) diff --git a/arch/arm

[PATCH 3/3] ARM: dts: ast2600: Add PWM to device tree

2022-03-07 Thread Billy Tsai
Add the PWM node and enable it for AST2600 EVB Signed-off-by: Billy Tsai --- arch/arm/dts/ast2600-evb.dts | 20 arch/arm/dts/ast2600.dtsi| 15 +++ 2 files changed, 35 insertions(+) diff --git a/arch/arm/dts/ast2600-evb.dts b/arch/arm/dts/ast2600-evb.dts