RE: [PATCH v1 2/2] drm/aspeed: Add 1024x768 mode for AST2600

2022-06-06 Thread Tommy Huang
Thanks, By Tommy > -Original Message- > From: Tommy Huang > Sent: Tuesday, April 26, 2022 4:28 PM > To: Joel Stanley > Cc: David Airlie ; Daniel Vetter ; Rob > Herring ; Andrew Jeffery ; > linux-aspeed ; open list:DRM DRIVERS > ; devicetree ; &g

RE: [PATCH v1 2/2] drm/aspeed: Add 1024x768 mode for AST2600

2022-04-26 Thread Tommy Huang
> -Original Message- > From: Joel Stanley > Sent: Tuesday, April 26, 2022 3:48 PM > To: Tommy Huang > Cc: David Airlie ; Daniel Vetter ; Rob > Herring ; Andrew Jeffery ; > linux-aspeed ; open list:DRM DRIVERS > ; devicetree ; > Linux ARM ; Linux Ker

RE: [PATCH v1 2/2] drm/aspeed: Add 1024x768 mode for AST2600

2022-04-25 Thread Tommy Huang
Hi Joel, > -Original Message- > From: Joel Stanley > Sent: Tuesday, April 26, 2022 11:27 AM > To: Tommy Huang > Cc: David Airlie ; Daniel Vetter ; Rob > Herring ; Andrew Jeffery ; > linux-aspeed ; open list:DRM DRIVERS > ; devicetree ; > Linux ARM ; Linux Ker

RE: [PATCH v5 5/7] drm/aspeed: Add reset and clock for AST2600

2022-03-01 Thread Tommy Huang
Hi Joel, > -Original Message- > From: Joel Stanley > Sent: Tuesday, March 1, 2022 7:05 PM > To: Tommy Huang > Cc: David Airlie ; Daniel Vetter ; Rob > Herring ; Andrew Jeffery ; > linux-aspeed ; open list:DRM DRIVERS > ; devicetree ; > Linux ARM ; Linux Ker

RE: [PATCH v5 5/7] drm/aspeed: Add reset and clock for AST2600

2022-02-28 Thread Tommy Huang
. And another part HW controller states will be reset by engine reset line. Thanks, By Tommy > -Original Message- > From: Joel Stanley > Sent: Monday, February 28, 2022 5:51 PM > To: Tommy Huang > Cc: David Airlie ; Daniel Vetter ; Rob > Herrin

RE: [PATCH v3 0/4] Add Aspeed AST2600 soc display support

2021-11-16 Thread Tommy Huang
nal Message- > From: Joel Stanley > Sent: Wednesday, November 17, 2021 2:06 PM > To: Tommy Huang > Cc: David Airlie ; Daniel Vetter ; Rob > Herring ; Andrew Jeffery ; > linux-aspeed ; open list:DRM DRIVERS > ; devicetree ; > Linux ARM ; Linux Kernel Mailing List > ; BMC-SW

[PATCH v3 1/4] ARM: dts: aspeed: Add GFX node to AST2600

2021-11-16 Thread tommy-huang
From: Joel Stanley The GFX device is present in the AST2600 SoC. Signed-off-by: Joel Stanley Signed-off-by: tommy-huang --- arch/arm/boot/dts/aspeed-g6.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi

[PATCH v3 4/4] drm/aspeed: Add AST2600 chip support

2021-11-16 Thread tommy-huang
Add AST2600 chip support and setting. Signed-off-by: tommy-huang --- drivers/gpu/drm/aspeed/aspeed_gfx_drv.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/aspeed/aspeed_gfx_drv.c b/drivers/gpu/drm/aspeed/aspeed_gfx_drv.c index d4b56b3c7597..d10246b1d1c2 100644

[PATCH v3 3/4] drm/aspeed: Update INTR_STS handling

2021-11-16 Thread tommy-huang
Add interrupt clear register define for further chip support. Signed-off-by: tommy-huang --- drivers/gpu/drm/aspeed/aspeed_gfx.h | 1 + drivers/gpu/drm/aspeed/aspeed_gfx_drv.c | 6 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/aspeed/aspeed_gfx.h b

[PATCH v3 0/4] Add Aspeed AST2600 soc display support

2021-11-16 Thread tommy-huang
v3: Refine the patch for clear separate purpose. Skip to send devicetree patch v2: Remove some unnecessary patch. Refine for reviwer request. v1: First add patch. Joel Stanley (2): ARM: dts: aspeed: Add GFX node to AST2600 ARM: dts: aspeed: ast2600-evb: Enable GFX device tommy

[PATCH v3 2/4] ARM: dts: aspeed: ast2600-evb: Enable GFX device

2021-11-16 Thread tommy-huang
From: Joel Stanley Enable the GFX device with a framebuffer memory region. Signed-off-by: Joel Stanley Signed-off-by: tommy-huang --- arch/arm/boot/dts/aspeed-ast2600-evb.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-ast2600-evb.dts b

RE: [PATCH 3/4] drm/aspeed: Update INTR_STS handling

2021-11-15 Thread Tommy Huang
Hi Joel, Thanks for your comment. I will modify the patch and send it again. > -Original Message- > From: Joel Stanley > Sent: Tuesday, November 16, 2021 2:19 PM > To: Tommy Huang > Cc: David Airlie ; Daniel Vetter ; Rob > Herring ; Andrew Jeffer

RE: [PATCH 4/4] dt-bindings: gpu: Add ASPEED GFX bindings document

2021-11-01 Thread Tommy Huang
Hi Rob, Thanks for your comments. I got it. By Tommy > -Original Message- > From: Rob Herring > Sent: Tuesday, November 2, 2021 4:02 AM > To: Tommy Huang > Cc: dri-devel@lists.freedesktop.org; linux-arm-ker...@lists.infradead.o

[PATCH 4/4] dt-bindings: gpu: Add ASPEED GFX bindings document

2021-11-01 Thread tommy-huang
Add ast2600-gfx description for gfx driver. Signed-off-by: tommy-huang --- Documentation/devicetree/bindings/gpu/aspeed-gfx.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/gpu/aspeed-gfx.txt b/Documentation/devicetree/bindings/gpu/aspeed-gfx.txt index

[PATCH 3/4] drm/aspeed: Update INTR_STS handling

2021-11-01 Thread tommy-huang
The V-sync INTR_STS is differnet on AST2600. Change into general rule to handle it. Signed-off-by: tommy-huang --- drivers/gpu/drm/aspeed/aspeed_gfx.h | 2 ++ drivers/gpu/drm/aspeed/aspeed_gfx_drv.c | 26 ++--- 2 files changed, 25 insertions(+), 3 deletions

[PATCH 2/4] ARM: dts: aspeed: ast2600-evb: Enable GFX device

2021-11-01 Thread tommy-huang
From: Joel Stanley Enable the GFX device with a framebuffer memory region. Signed-off-by: Joel Stanley Signed-off-by: tommy-huang --- arch/arm/boot/dts/aspeed-ast2600-evb.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-ast2600-evb.dts b

[PATCH 1/4] ARM: dts: aspeed: Add GFX node to AST2600

2021-11-01 Thread tommy-huang
From: Joel Stanley The GFX device is present in the AST2600 SoC. Signed-off-by: Joel Stanley Signed-off-by: tommy-huang --- arch/arm/boot/dts/aspeed-g6.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi

[PATCH 0/4] Add Aspeed AST2600 soc display support

2021-11-01 Thread tommy-huang
ARM: dts: aspeed: ast2600-evb: Enable GFX device tommy-huang (2): drm/aspeed: Update INTR_STS handling dt-bindings: gpu: Add ASPEED GFX bindings document .../devicetree/bindings/gpu/aspeed-gfx.txt| 1 + arch/arm/boot/dts/aspeed-ast2600-evb.dts | 18 + arch/arm/boot/dts

[PATCH 2/6] ARM: dts: aspeed: ast2600-evb: Enable GFX device

2021-09-28 Thread tommy-huang
From: Joel Stanley Enable the GFX device with a framebuffer memory region. Signed-off-by: Joel Stanley Signed-off-by: tommy-huang --- arch/arm/boot/dts/aspeed-ast2600-evb.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-ast2600-evb.dts b/arch

[PATCH 0/6] *** Add AST2600 GFX node ***

2021-09-28 Thread tommy-huang
Add AST2600 GFX support first. Joel Stanley (5): ARM: dts: aspeed: Add GFX node to AST2600 ARM: dts: aspeed: ast2600-evb: Enable GFX device drm/aspeed: Add AST2600 support HACK: drm/aspeed: INTR_STS hadndling HACK: drm/aspeed: Paramterise modes tommy-huang (1): dt-bindings: gpu: Add

[PATCH 6/6] dt-bindings: gpu: Add ASPEED GFX bindings document

2021-09-28 Thread tommy-huang
Add ast2600-gfx description for gfx driver. Signed-off-by: tommy-huang --- Documentation/devicetree/bindings/gpu/aspeed-gfx.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/gpu/aspeed-gfx.txt b/Documentation/devicetree/bindings/gpu/aspeed-gfx.txt index

[PATCH 5/6] HACK: drm/aspeed: Paramterise modes

2021-09-28 Thread tommy-huang
From: Joel Stanley The AST2600 will run at 1024x868. Signed-off-by: Joel Stanley Signed-off-by: tommy-huang --- drivers/gpu/drm/aspeed/aspeed_gfx_drv.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/aspeed/aspeed_gfx_drv.c b/drivers/gpu/drm

[PATCH 1/6] ARM: dts: aspeed: Add GFX node to AST2600

2021-09-28 Thread tommy-huang
From: Joel Stanley The GFX device is present in the AST2600 SoC. Signed-off-by: Joel Stanley Signed-off-by: tommy-huang --- arch/arm/boot/dts/aspeed-g6.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi

[PATCH 4/6] HACK: drm/aspeed: INTR_STS hadndling

2021-09-28 Thread tommy-huang
From: Joel Stanley The 2600 uses this register differently. THis is a TODO to come up with a method of handling that. Signed-off-by: Joel Stanley Signed-off-by: tommy-huang --- drivers/gpu/drm/aspeed/aspeed_gfx_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a

[PATCH 3/6] drm/aspeed: Add AST2600 support

2021-09-28 Thread tommy-huang
From: Joel Stanley The values for the threshold and scan line size come from the ASPEED SDK. The DAC register is SCUC0 in the AST2600 datasheet. It has the same layout as the previous generations. Signed-off-by: Joel Stanley Signed-off-by: tommy-huang --- drivers/gpu/drm/aspeed