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
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
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
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
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
+#
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
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
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.
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
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
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
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
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
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
14 matches
Mail list logo