On 19 April 2016 at 18:58, Amit Kucheria amit.kucheria@linaro.org wrote:
On Tue, Apr 19, 2016 at 3:43 PM, Peter Griffin peter.griffin@linaro.org wrote:
I didn't do this in the original port, as there was very little HiKey DT in the upstream kernel. Now that situation has changed over the last few kernel releases
I should have checked the upstream kernel before writing that....actually nothing has changed upstream in terms of HiKey DT. In v4.6-rc3 we still have no DT for pinmux, gpio, pmic, usb or sd/emmc. So it is not possible to convert HiKey U-Boot over to being fully configured via DT.
The 'out of the box' upstream kernel only enables cpu's, interrupts, timer, and some UARTs :( It looks like various drivers have been merged, but strangely none of the DT which enables them for the HiKey board.
This should change in 4.7. The DT changes missed 4.6 for unfortunate reasons. Sadly, I still don't see the changes in today's linux-next. Guodong did your maintainer get his changes into arm-soc for-next branch?
DTS pull request was sent on 16/April. Now waiting Arnd, Olof, Kevin to integrate.
-Guodong
I have done some patches which start the conversion to a DT U-Boot, but it can only configure the UART until some more DT lands in the upstream kernel (this works, but the other U-Boot drivers still have to rely on platform data for their configuration).