On 3 February 2016 at 20:04, Mark Brown broonie@kernel.org wrote:
On Wed, Feb 03, 2016 at 03:52:09PM +0800, Guodong Xu wrote:
As of v4.4, already upstreamed:
- clk, psci, basic dts, uart, cpufreq, cpuidle, mailbox, emmc, wifi
driver
fix, and tsensor (thermal)
Of these only the clock, PSCI and the UART appear to be included in the DTS. If a feature is not enabled in the DTS most people would not understand it as being supported upstream for the board since there is no way for someone to actually use any of these features if they use mainline.
- hikey can boot using vanilla v4.4 kernel and defconfig.
It can boot to serial console with a ramdisk, nothing else. There is a serious discrepency between the features you are reporting as supported upstream and the features that are actually supported upstream, the set supported upstream is has not changed substantially since merge.
v4.5-rc1:
USB: driver, 37dd9d6 usb: dwc2: add support of hi6220.
Again, this does not appear in the DT and is therefore unusable for anyone using mainline.
Slated for v4.6 merge-window:
hisi-reset driver: in linux-next (
http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/drivers...
)
This seems to already be in Linus' tree so unless some major problem is discovered it should be in v4.5.
Right. Now it's in v4.5-rc2.
DTS: in maintainer's git repo: https://github.com/hisilicon/linux-hisi
- Including: gpio, pinctrl, i2c
This does not appear to be part of the kernel development process, it does not appear in -next and I can't see any prior cases where a pull request from this tree has made it into -next. I don't see that there is any reasonable expectation that anything there will make it into mainline.
Like I said above there is a big difference between what you are reporting as upstream and the features that are practically usable upstream. This is creating a lot of frustration on the part of potential users who want to work on mainline, both with the lack of features itself and with the fact that lists of supported features are typically substantially inaccurate which makes people feel they are being mislead.
Got your point. So DTS changes will be upstreamed at a priority.
Temporary solution, (I know people working on mainline hate that..), we have a branch with these dts changes, hope it can help. https://github.com/96boards-hikey/linux/tree/hikey-tracking-dts
-Guodong