On 2016-03-12, Ian Campbell wrote: > On Fri, 2016-03-11 at 20:03 -0800, Vagrant Cascadian wrote: >> On 2016-03-10, Martin Michlmayr wrote: >> > * Ian Campbell <i...@debian.org> [2016-01-25 09:57]: >> Most drivers aren't even available in 4.4.x, and some aren't even in >> 4.5.x yet. From a breif glance, the dts files for >> arch/arm64/boot/dts/hisilicon/hi6220*, don't look to contain support >> for >> much more than the CPU, memory and serial... >> >> >> > This might be a good starting point: >> > https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg109864 >> 4.html >> >> Reading that patch, I'm guessing the following are available and >> possibly needed or desired, though possibly may require device-tree >> patches as well: >> >> available in 4.4.x: >> >> CONFIG_ARCH_HISI=y >> CONFIG_POWER_RESET_HISI=y >> CONFIG_HISI_THERMAL=m >> CONFIG_MMC_DW=m >> CONFIG_MMC_DW_K3=m >> CONFIG_I2C_DESIGNWARE_PLATFORM=m >> >> available in 4.5.x: >> >> CONFIG_COMMON_RESET_HI6220=m >> CONFIG_PHY_HI6220_USB=m >> >> linux-next tag next-20160311: >> >> CONFIG_HI6220_MBOX=m >> CONFIG_REGULATOR_HI655X=m >> >> >> Will build a few test kernels and report back... > > Thanks, for things other than the ones listed above the ones I'd be > most curious about would be serial and networking (wifi only on this > platform IIRC). Both of those could possibly be supported already via > existing generic drivers, I've no idea...
Not sure about WIFI, but serial seems already enabled: CONFIG_SERIAL_AMBA_PL011=y CONFIG_SERIAL_AMBA_PL011_CONSOLE=y arch/arm64/boot/dts/hisilicon/hi6220.dtsi: uart0: uart@f8015000 { /* console */ compatible = "arm,pl011", "arm,primecell"; reg = <0x0 0xf8015000 0x0 0x1000>; interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; clocks = <&ao_ctrl HI6220_UART0_PCLK>, <&ao_ctrl HI6220_UART0_PCLK>; clock-names = "uartclk", "apb_pclk"; }; live well, vagrant
signature.asc
Description: PGP signature