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
Signed-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/Makefile

[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 arch/arm

[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