Bug#812386: Please enable ARCH_QCOM on arm64

2016-01-24 Thread Ian Campbell
On Sat, 2016-01-23 at 12:00 -0800, Martin Michlmayr wrote:

> Good point.  Please enable these for generic QCOM support:

Done.

> I think this should be good enough for now.  I'll open a new bug once
> I have hardware if needed.

Ack.



Bug#812386: Please enable ARCH_QCOM on arm64

2016-01-23 Thread Martin Michlmayr
* Ian Campbell  [2016-01-23 11:06]:
> > Please enable ARCH_QCOM on arm64.  I believe the following options
> > should be enabled:
> 
> Done in git.

Thanks!

> I suppose we will also want some modules added to the udebs? Based on
> the diff to the .config I added

Thanks, I guess we'll need a fb-modules too.

> I suspect there will be others (esp. phy drivers) which are needed in
> practice. Will you give this a go and report back?

I'll open a new bug regarding udebs when I get hardware (in 2 weeks or
so).

> Also looking at the diff of the resulting config, I found a few new
> options available which might be of interest on this platform:
> +# CONFIG_KS8842 is not set
> +# CONFIG_MFD_QCOM_RPM is not set
> +CONFIG_REGULATOR=y => makes a lot of CONFIG_REGULATOR_* avail, at
> least one of which might be relevant?
> 
> There was also a bunch of video and DRM stuff.

Good point.  Please enable these for generic QCOM support:

CONFIG_MFD_QCOM_RPM=m
CONFIG_REGULATOR=y
CONFIG_REGULATOR_QCOM_RPM=m
CONFIG_REGULATOR_QCOM_SMD_RPM=m

And these for devices:

CONFIG_DRM_I2C_ADV7511=m
CONFIG_WCN36XX=m

I think this should be good enough for now.  I'll open a new bug once
I have hardware if needed.
-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



Bug#812386: Please enable ARCH_QCOM on arm64

2016-01-23 Thread Ian Campbell
On Fri, 2016-01-22 at 20:57 -0800, Martin Michlmayr wrote:
> Package: linux
> Version: 4.4-1~exp1
> Severity: wishlist
> 
> Please enable ARCH_QCOM on arm64.  I believe the following options
> should be enabled:

Done in git. 

I suppose we will also want some modules added to the udebs? Based on
the diff to the .config I added
nic-modules:
+stmmac
+stmmac-platform
+dwmac-generic
+dwmac-ipq806x
sata-modules:
+phy-qcom-apq8064-sata
+phy-qcom-ipq806x-sata

I suspect there will be others (esp. phy drivers) which are needed in
practice. Will you give this a go and report back?

Also looking at the diff of the resulting config, I found a few new
options available which might be of interest on this platform:
+# CONFIG_KS8842 is not set
+# CONFIG_MFD_QCOM_RPM is not set
+CONFIG_REGULATOR=y => makes a lot of CONFIG_REGULATOR_* avail, at
least one of which might be relevant?

There was also a bunch of video and DRM stuff.

Ian.



Bug#812386: Please enable ARCH_QCOM on arm64

2016-01-22 Thread Martin Michlmayr
Package: linux
Version: 4.4-1~exp1
Severity: wishlist

Please enable ARCH_QCOM on arm64.  I believe the following options
should be enabled:

CONFIG_ARCH_QCOM=y

CONFIG_STMMAC_ETH=m
CONFIG_STMMAC_PLATFORM=m
CONFIG_DWMAC_GENERIC=m
CONFIG_DWMAC_IPQ806X=m

CONFIG_SERIAL_MSM=y
CONFIG_SERIAL_MSM_CONSOLE=y

CONFIG_HW_RANDOM_MSM=m

CONFIG_I2C_QUP=m
CONFIG_SPI_QUP=m

CONFIG_PINCTRL=y

CONFIG_POWER_RESET_MSM=y

CONFIG_QCOM_WDT=m

CONFIG_DRM=m
CONFIG_DRM_MSM=m
CONFIG_DRM_MSM_DSI=y
CONFIG_DRM_MSM_DSI_PLL=y
CONFIG_DRM_MSM_DSI_28NM_PHY=y
CONFIG_DRM_MSM_DSI_20NM_PHY=y

CONFIG_SND_SOC=m
CONFIG_SND_SOC_QCOM=m

CONFIG_USB_PHY=y
CONFIG_USB_MSM_OTG=m
CONFIG_USB_QCOM_8X16_PHY=m
CONFIG_USB_GADGET=m

CONFIG_MMC_QCOM_DML=m

CONFIG_DMADEVICES=y
CONFIG_QCOM_BAM_DMA=m

CONFIG_HWSPINLOCK=m
CONFIG_HWSPINLOCK_QCOM=m

CONFIG_QCOM_GSBI=m
CONFIG_QCOM_SMEM=m
CONFIG_QCOM_SMD=m
CONFIG_QCOM_SMD_RPM=m

CONFIG_EXTCON=m

CONFIG_RESET_CONTROLLER=y

CONFIG_PHY_QCOM_APQ8064_SATA=m
CONFIG_PHY_QCOM_IPQ806X_SATA=m

CONFIG_CRYPTO_DEV_QCE=m

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise