[linux-sunxi] Re: [PATCH] dt-bindings: clock: sunxi-ccu: Add compatibles for sun5i CCU driver

2017-08-09 Thread Chen-Yu Tsai
Hi, On Tue, Aug 8, 2017 at 9:25 AM, Jonathan Liu wrote: > The bindings were not updated when the sun5i CCU driver was added in > commit 5e73761786d6 ("clk: sunxi-ng: Add sun5i CCU driver"). > > Signed-off-by: Jonathan Liu Looks good to me. Will wait for the device tree binding maintainers to ha

[linux-sunxi] [PATCH 0/4] Allwinner A64 SRAM C (DE2 SRAM) support

2017-08-09 Thread Icenowy Zheng
The DE2 in Allwinner A64 SoC requires the SRAM C to be claimed to work. This patchset adds the support of SRAM C in A64 for the sunxi-sram driver. As the SRAM C controlling bit is a little different with other peripherals' SRAM controlling bit (inverted), a function value to register value remapp

[linux-sunxi] [PATCH 2/4] drivers: soc: sunxi: fix error processing on base address when claiming

2017-08-09 Thread Icenowy Zheng
When claiming SRAM, if the base is set to an error, it means that the SRAM controller has been probed, but failed to remap the controller memory zone. If the base is zero, thus the SRAM controller should be not probed at all, and it should return -EPROBE_DEFER. However, currently we returned -EPROB

[linux-sunxi] [PATCH 4/4] drivers: soc: sunxi: add support for A64 and its SRAM C

2017-08-09 Thread Icenowy Zheng
Allwinner A64's display engine claims the SRAM C section to work. Add support for the A64 SRAM controller and the SRAM C section of it. Signed-off-by: Icenowy Zheng --- drivers/soc/sunxi/sunxi_sram.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/soc/sunxi/sunxi_sram.c

[linux-sunxi] [PATCH 1/4] dt-bindings: add binding for Allwinner A64 SRAM controller and SRAM C

2017-08-09 Thread Icenowy Zheng
The display engine on Allwinner A64 wants to claim the SRAM C section. Add a SRAM controller compatible for A64, and a SRAM section compatible for its SRAM C. Signed-off-by: Icenowy Zheng --- Documentation/devicetree/bindings/sram/sunxi-sram.txt | 9 +++-- 1 file changed, 7 insertions(+), 2

[linux-sunxi] [PATCH 3/4] drivers: soc: sunxi: add support for remapping func value to reg value

2017-08-09 Thread Icenowy Zheng
On some Allwinner SoCs, sometimes the value needed to write into the register to claim SRAM is not equal to the value specified in the device tree. We now defines 0 as "CPU" and 1 as "Device", however, for VE SRAM, the register needs to be written 0x7FFF to claim it to VE, and for Allwinner A6

Re: [linux-sunxi] [PATCH 2/4] drivers: soc: sunxi: fix error processing on base address when claiming

2017-08-09 Thread Chen-Yu Tsai
On Wed, Aug 9, 2017 at 4:56 PM, Icenowy Zheng wrote: > When claiming SRAM, if the base is set to an error, it means that the > SRAM controller has been probed, but failed to remap the controller > memory zone. If the base is zero, thus the SRAM controller should be not > probed at all, and it shou

[linux-sunxi] Re: [PATCH 01/13] dt-bindings: update the binding for Allwinner H3 DE2 support

2017-08-09 Thread Rob Herring
On Tue, Aug 01, 2017 at 09:12:52PM +0800, Icenowy Zheng wrote: > Allwinner H3 features a "Display Engine 2.0". > > Add device tree bindings for the following parts: > - H3 TCONs > - H3 Mixers > - H3 Display engine > > Signed-off-by: Icenowy Zheng > --- > .../bindings/display/sunxi/sun4i-drm.txt

Re: [linux-sunxi] [PATCH 01/13] dt-bindings: update the binding for Allwinner H3 DE2 support

2017-08-09 Thread Rob Herring
On Wed, Aug 02, 2017 at 09:06:26PM +0200, Jernej Škrabec wrote: > Hi, > > Dne sreda, 02. avgust 2017 ob 07:02:39 CEST je icen...@aosc.io napisal(a): > > 在 2017-08-02 12:53,Jernej Škrabec 写道: > > > > > Hi Icenowy, > > > > > > Dne torek, 01. avgust 2017 ob 15:12:52 CEST je Icenowy Zheng > > > > >

[linux-sunxi] [PATCH] mmc: sunxi: Fix clock rate passed to sunxi_mmc_clk_set_phase

2017-08-09 Thread Chen-Yu Tsai
sunxi_mmc_clk_set_phase expects the actual card clock rate to be passed to it. When the internal divider code was reworked in commit 9a639c6073d3 ("mmc: sunxi: Support MMC DDR52 transfer mode with new timing mode"), this requirement was missed, and the module clock rate was passed in instead. This

Re: [linux-sunxi] [PATCH 1/3] arm64: allwinner: a64: add ethernet0 alias for BPi M64 EMAC node

2017-08-09 Thread Chen-Yu Tsai
Hi, On Sat, Jul 22, 2017 at 10:28 AM, Icenowy Zheng wrote: > The Banana Pi M64 board uses the A64 chip's EMAC to provide Ethernet > link. > > Add the ethernet0 alias in the device tree, in order to let U-Boot > generate a MAC address from the chip's SID. > > Signed-off-by: Icenowy Zheng As ment

Re: [linux-sunxi] [PATCH 1/3] arm64: allwinner: a64: add ethernet0 alias for BPi M64 EMAC node

2017-08-09 Thread Icenowy Zheng
于 2017年8月10日 GMT+08:00 上午11:56:02, Chen-Yu Tsai 写到: >Hi, > >On Sat, Jul 22, 2017 at 10:28 AM, Icenowy Zheng >wrote: >> The Banana Pi M64 board uses the A64 chip's EMAC to provide Ethernet >> link. >> >> Add the ethernet0 alias in the device tree, in order to let U-Boot >> generate a MAC address