On 02/04/2016 10:48 PM, Guodong Xu wrote:
On 4 February 2016 at 02:15, Grant Likely <grant.likely@linaro.org mailto:grant.likely@linaro.org> wrote:
On Wed, Feb 3, 2016 at 5:21 PM, Grant Likely <grant.likely@linaro.org <mailto:grant.likely@linaro.org>> wrote: > On Wed, Feb 3, 2016 at 2:52 PM, Guodong Xu <guodong.xu@linaro.org <mailto:guodong.xu@linaro.org>> wrote: >> >> >> On 3 February 2016 at 18:20, Grant Likely <grant.likely@linaro.org <mailto:grant.likely@linaro.org>> wrote: >>> >>> On Wed, Feb 3, 2016 at 7:52 AM, Guodong Xu <guodong.xu@linaro.org <mailto:guodong.xu@linaro.org>> wrote: >>> > Hi, all >>> > >>> > >>> > Here is a summary and status report about HiKey in vanilla linux and our >>> > upstreaming plan. >>> > >>> > >>> > As of v4.4, already upstreamed: >>> > >>> > - clk, psci, basic dts, uart, cpufreq, cpuidle, mailbox, emmc, wifi >>> > driver >>> > fix, and tsensor (thermal) >>> > >>> > - hikey can boot using vanilla v4.4 kernel and defconfig. >>> > >>> > >>> > Based on v4.4, topic branches are available, and integration branch is >>> > hosted here: >>> > >>> > - Git repo: https://github.com/96boards-hikey/linux >>> > >>> > - Integration branch: hikey-mainline-rebase >>> > >>> > - Topics (so features) include: dts, pmic, mmc, usb, adv7511, drm, pm, >>> > gpu, >>> > bluetooth, ion, hisi-reset, hikey-configs. (Most of these are backport >>> > of >>> > what we sent in maillist for community review.) >>> >>> Hi Guodong, >>> >>> Can you enable i2c0 and i2c1 in these builds please? They are needed >>> for working with mezzanine boards. I've attached an untested patch to >>> enable it in dts. I will try to test it later today, but I've got a >>> lot to deal with today, so it may take a few days. >> >> >> Updated. Thanks Grant for reminding me this. >> >> To git@github.com:96boards-hikey/linux.git >> -> hikey-mainline-rebase (forced update) >> >> Build command goes: >> make ARCH=arm64 defconfig; >> make ARCH=arm64 Image modules -j20; >> make ARCH=arm64 hisilicon/hi6220-hikey.dtb >> >> -Guodong > > Hi Guodong, > > Just tested, and that worked to create the i2c devices (but I had to > enable CONFIG_I2C_CHARDEV to get the userspace interface). However, > i2c bus 0 and 1 aren't working. i2cdetect appears to do the right > thing, but the i2c transaction isn't getting out to the external bus. > Is there some pin config that needs to be adjusted for HiKey for i2c? I just checked. The 4.4 kernel does not enable the 1.8V voltage rail on the LS expansion connector. Do you know how to enable it?
I found the root cause. There is a bug in regulator driver, which make enabling of ldo21 1.8V fail.
I fixed the issue, and together with CONFIG_I2C_CHARDEV enabled and other changes, I uploaded a new 'hikey-mainline-rebase' branch to https://github.com/96boards-hikey/linux
I2C should work for you. :)
Nice! :)
Another found is that the pre-builds bellow seem to stop at UEFI if trying to boot from SD card with linaro rootfs.
community review.)
- pre-builds are available too, if you just want to download and give it a try: https://builds.96boards.org/snapshots/hikey/community/hikey-mainline-rebase/
Would you mind checking it?
Akira
-Guodong
g.
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev