[PATCH] ARM: rockchip: select ARCH_DMA_ADDR_T_64BIT for LPAE

2017-08-01 Thread Tao Huang
Rockchip RK3288 has some 64-bit capable DMA and therefore needs dma_addr_t to be a 64-bit size. One user is the Mali GPU. Signed-off-by: Tao Huang <huang...@rock-chips.com> --- arch/arm/mach-rockchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-rockchip/Kco

[PATCH] ARM: dts: rockchip: convert rk3288 device tree files to 64 bits

2017-08-02 Thread Tao Huang
In order to be able to use more than 4GB of RAM when the LPAE is activated, the dts must be converted in 64 bits. Signed-off-by: Tao Huang <huang...@rock-chips.com> --- Another way to support 64-bit memory is create a soc subnode, and move all peripherals to this subnode. But it will

[PATCH] ARM: rockchip: enable ZONE_DMA for non 64-bit capable peripherals

2017-07-28 Thread Tao Huang
Most IP cores on ARM Rockchip platforms can only address 32 bits of physical memory for DMA. Thus ZONE_DMA should be enabled when LPAE is activated. Signed-off-by: Tao Huang <huang...@rock-chips.com> --- arch/arm/mach-rockchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/ar

Re: [PATCH v1 11/13] dt-bindings: power: add PX30 SoCs header for power-domain

2018-05-13 Thread Tao Huang
3326 is more like a PX30 derivative chip. This is not the same as the previous chips. So we use PX30 instead of RK3326 for name, and the opening document is only for PX30, we think this is more convenient for developers. Best Regards, Tao Huang

Re: [PATCH] arm64: dts: rockchip: Add idle-states to device tree for rk3399

2018-08-12 Thread Tao Huang
Hi Heiko: On 2018年08月10日 04:09, Heiko Stuebner wrote: > Am Mittwoch, 6. Juli 2016, 10:20:54 CEST schrieb Caesar Wang: > >> arch/arm64/boot/dts/rockchip/rk3399.dtsi | 18 ++ >> 1 file changed, 18 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi >>

Re: [PATCH] arm64: dts: rockchip: Add idle-states to device tree for rk3399

2018-08-13 Thread Tao Huang
On 2018年08月13日 16:25, Heiko Stuebner wrote: > Hi Tao, > > Am Sonntag, 12. August 2018, 18:24:45 CEST schrieb Tao Huang: >> On 2018年08月10日 04:09, Heiko Stuebner wrote: >>> Am Mittwoch, 6. Juli 2016, 10:20:54 CEST schrieb Caesar Wang: >>> >>>>

Re: [PATCH v1 11/13] dt-bindings: power: add PX30 SoCs header for power-domain

2018-05-13 Thread Tao Huang
3326 is more like a PX30 derivative chip. This is not the same as the previous chips. So we use PX30 instead of RK3326 for name, and the opening document is only for PX30, we think this is more convenient for developers. Best Regards, Tao Huang

[PATCH] ARM: rockchip: select ARCH_DMA_ADDR_T_64BIT for LPAE

2017-08-01 Thread Tao Huang
Rockchip RK3288 has some 64-bit capable DMA and therefore needs dma_addr_t to be a 64-bit size. One user is the Mali GPU. Signed-off-by: Tao Huang --- arch/arm/mach-rockchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip

[PATCH] ARM: dts: rockchip: convert rk3288 device tree files to 64 bits

2017-08-02 Thread Tao Huang
In order to be able to use more than 4GB of RAM when the LPAE is activated, the dts must be converted in 64 bits. Signed-off-by: Tao Huang --- Another way to support 64-bit memory is create a soc subnode, and move all peripherals to this subnode. But it will break userspace compatibility

[PATCH] ARM: rockchip: enable ZONE_DMA for non 64-bit capable peripherals

2017-07-28 Thread Tao Huang
Most IP cores on ARM Rockchip platforms can only address 32 bits of physical memory for DMA. Thus ZONE_DMA should be enabled when LPAE is activated. Signed-off-by: Tao Huang --- arch/arm/mach-rockchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-rockchip/Kconfig b

Re: [PATCH] arm64: dts: rockchip: Add idle-states to device tree for rk3399

2018-08-12 Thread Tao Huang
Hi Heiko: On 2018年08月10日 04:09, Heiko Stuebner wrote: > Am Mittwoch, 6. Juli 2016, 10:20:54 CEST schrieb Caesar Wang: > >> arch/arm64/boot/dts/rockchip/rk3399.dtsi | 18 ++ >> 1 file changed, 18 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi >>

Re: [PATCH] arm64: dts: rockchip: Add idle-states to device tree for rk3399

2018-08-13 Thread Tao Huang
On 2018年08月13日 16:25, Heiko Stuebner wrote: > Hi Tao, > > Am Sonntag, 12. August 2018, 18:24:45 CEST schrieb Tao Huang: >> On 2018年08月10日 04:09, Heiko Stuebner wrote: >>> Am Mittwoch, 6. Juli 2016, 10:20:54 CEST schrieb Caesar Wang: >>> >>>>