linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: multi_v7_defconfig: Enable required QCOM SPMI/PMIC drivers
@ 2015-11-26  6:15 Andy Gross
  2015-12-01 21:48 ` Arnd Bergmann
  2015-12-01 22:47 ` [PATCH] ARM: defconfig: multi_v7: Enable Qualcomm options for Honami Bjorn Andersson
  0 siblings, 2 replies; 7+ messages in thread
From: Andy Gross @ 2015-11-26  6:15 UTC (permalink / raw)
  To: linux-arm-kernel

This patch enables the QCOM SPMI and PMIC related drivers that are now
required to boot some supported devices.

Signed-off-by: Andy Gross <agross@codeaurora.org>
---
 arch/arm/configs/multi_v7_defconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 69a22fd..8a5227e 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -340,10 +340,13 @@ CONFIG_SPI_TEGRA20_SFLASH=y
 CONFIG_SPI_TEGRA20_SLINK=y
 CONFIG_SPI_XILINX=y
 CONFIG_SPI_SPIDEV=y
+CONFIG_SPMI=y
 CONFIG_PINCTRL_AS3722=y
 CONFIG_PINCTRL_PALMAS=y
 CONFIG_PINCTRL_APQ8064=y
 CONFIG_PINCTRL_APQ8084=y
+CONFIG_PINCTRL_QCOM_SPMI_PMIC=y
+CONFIG_PINCTRL_QCOM_SSBI_PMIC=y
 CONFIG_GPIO_SYSFS=y
 CONFIG_GPIO_GENERIC_PLATFORM=y
 CONFIG_GPIO_DAVINCI=y
@@ -407,6 +410,7 @@ CONFIG_MFD_MAX8907=y
 CONFIG_MFD_RK808=y
 CONFIG_MFD_PM8921_CORE=y
 CONFIG_MFD_QCOM_RPM=y
+CONFIG_MFD_SPMI_PMIC=y
 CONFIG_MFD_SEC_CORE=y
 CONFIG_MFD_STMPE=y
 CONFIG_MFD_PALMAS=y
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH] ARM: multi_v7_defconfig: Enable required QCOM SPMI/PMIC drivers
  2015-11-26  6:15 [PATCH] ARM: multi_v7_defconfig: Enable required QCOM SPMI/PMIC drivers Andy Gross
@ 2015-12-01 21:48 ` Arnd Bergmann
  2015-12-01 22:09   ` Andy Gross
  2015-12-01 22:47 ` [PATCH] ARM: defconfig: multi_v7: Enable Qualcomm options for Honami Bjorn Andersson
  1 sibling, 1 reply; 7+ messages in thread
From: Arnd Bergmann @ 2015-12-01 21:48 UTC (permalink / raw)
  To: linux-arm-kernel

On Thursday 26 November 2015 00:15:57 Andy Gross wrote:
> This patch enables the QCOM SPMI and PMIC related drivers that are now
> required to boot some supported devices.
> 
> Signed-off-by: Andy Gross <agross@codeaurora.org>
> 

Applied to next/defconfig. I assume you didn't mean this to go into 4.4.

	Arnd

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH] ARM: multi_v7_defconfig: Enable required QCOM SPMI/PMIC drivers
  2015-12-01 21:48 ` Arnd Bergmann
@ 2015-12-01 22:09   ` Andy Gross
  0 siblings, 0 replies; 7+ messages in thread
From: Andy Gross @ 2015-12-01 22:09 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Dec 01, 2015 at 10:48:52PM +0100, Arnd Bergmann wrote:
> On Thursday 26 November 2015 00:15:57 Andy Gross wrote:
> > This patch enables the QCOM SPMI and PMIC related drivers that are now
> > required to boot some supported devices.
> > 
> > Signed-off-by: Andy Gross <agross@codeaurora.org>
> > 

That should be fine.


Andy

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH] ARM: defconfig: multi_v7: Enable Qualcomm options for Honami
  2015-11-26  6:15 [PATCH] ARM: multi_v7_defconfig: Enable required QCOM SPMI/PMIC drivers Andy Gross
  2015-12-01 21:48 ` Arnd Bergmann
@ 2015-12-01 22:47 ` Bjorn Andersson
  2015-12-02  0:02   ` Andy Gross
  2015-12-02  0:26   ` Kevin Hilman
  1 sibling, 2 replies; 7+ messages in thread
From: Bjorn Andersson @ 2015-12-01 22:47 UTC (permalink / raw)
  To: linux-arm-kernel

The Honami device does not boot due to the lack of pinctrl support
compiled in with the multi_v7_defconfig. This patch correct this and
enables coincell, sdhci, smsm, smp2p and wcnss_ctrl as well, all found
on a variety of Qualcomm boards.

Reported-by: Kevin Hilman <khilman@kernel.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
---

For next/deconfig.

As Kevin reported the Honami stops booting with the addition of pinctrl
reference in the serial node, simply due to the fact that it references a
pinctrl driver that's not enabled in the defconfig.

The patch sent by Andy is hence not enough to fix the problem.


PS. It would be mighty convenient if savedefconfig could be used on the
multi_v7_defconfig.

 arch/arm/configs/multi_v7_defconfig | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index fa7ba92cfe70..dc30a48374b2 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -186,6 +186,7 @@ CONFIG_AD525X_DPOT_I2C=y
 CONFIG_ATMEL_TCLIB=y
 CONFIG_ICS932S401=y
 CONFIG_ATMEL_SSC=m
+CONFIG_QCOM_COINCELL=m
 CONFIG_APDS9802ALS=y
 CONFIG_ISL29003=y
 CONFIG_EEPROM_AT24=y
@@ -347,6 +348,11 @@ CONFIG_PINCTRL_AS3722=y
 CONFIG_PINCTRL_PALMAS=y
 CONFIG_PINCTRL_APQ8064=y
 CONFIG_PINCTRL_APQ8084=y
+CONFIG_PINCTRL_IPQ8064=y
+CONFIG_PINCTRL_MSM8660=y
+CONFIG_PINCTRL_MSM8960=y
+CONFIG_PINCTRL_MSM8X74=y
+CONFIG_PINCTRL_MSM8916=y
 CONFIG_PINCTRL_QCOM_SPMI_PMIC=y
 CONFIG_PINCTRL_QCOM_SSBI_PMIC=y
 CONFIG_GPIO_SYSFS=y
@@ -580,6 +586,7 @@ CONFIG_MMC_SDHCI_ST=y
 CONFIG_MMC_OMAP=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_MMC_ATMELMCI=y
+CONFIG_MMC_SDHCI_MSM=y
 CONFIG_MMC_MVSDIO=y
 CONFIG_MMC_SDHI=y
 CONFIG_MMC_DW=y
@@ -668,9 +675,12 @@ CONFIG_NVEC_POWER=y
 CONFIG_NVEC_PAZ00=y
 CONFIG_QCOM_GSBI=y
 CONFIG_QCOM_PM=y
+CONFIG_QCOM_SMEM=y
 CONFIG_QCOM_SMD=y
 CONFIG_QCOM_SMD_RPM=y
-CONFIG_QCOM_SMEM=y
+CONFIG_QCOM_SMP2P=y
+CONFIG_QCOM_SMSM=y
+CONFIG_QCOM_WCNSS_CTRL=m
 CONFIG_COMMON_CLK_QCOM=y
 CONFIG_CHROME_PLATFORMS=y
 CONFIG_CROS_EC_CHARDEV=m
-- 
2.4.2

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH] ARM: defconfig: multi_v7: Enable Qualcomm options for Honami
  2015-12-01 22:47 ` [PATCH] ARM: defconfig: multi_v7: Enable Qualcomm options for Honami Bjorn Andersson
@ 2015-12-02  0:02   ` Andy Gross
  2015-12-02  0:26   ` Kevin Hilman
  1 sibling, 0 replies; 7+ messages in thread
From: Andy Gross @ 2015-12-02  0:02 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Dec 01, 2015 at 02:47:50PM -0800, Bjorn Andersson wrote:
> The Honami device does not boot due to the lack of pinctrl support
> compiled in with the multi_v7_defconfig. This patch correct this and
> enables coincell, sdhci, smsm, smp2p and wcnss_ctrl as well, all found
> on a variety of Qualcomm boards.
> 
> Reported-by: Kevin Hilman <khilman@kernel.org>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
> ---

That would make a difference, wouldn't it.

Acked-by: Andy Gross <agross@codeaurora.org>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH] ARM: defconfig: multi_v7: Enable Qualcomm options for Honami
  2015-12-01 22:47 ` [PATCH] ARM: defconfig: multi_v7: Enable Qualcomm options for Honami Bjorn Andersson
  2015-12-02  0:02   ` Andy Gross
@ 2015-12-02  0:26   ` Kevin Hilman
  2015-12-02 18:51     ` Kevin Hilman
  1 sibling, 1 reply; 7+ messages in thread
From: Kevin Hilman @ 2015-12-02  0:26 UTC (permalink / raw)
  To: linux-arm-kernel

Bjorn Andersson <bjorn.andersson@sonymobile.com> writes:

> The Honami device does not boot due to the lack of pinctrl support
> compiled in with the multi_v7_defconfig. This patch correct this and
> enables coincell, sdhci, smsm, smp2p and wcnss_ctrl as well, all found
> on a variety of Qualcomm boards.
>
> Reported-by: Kevin Hilman <khilman@kernel.org>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>

Tested-by: Kevin Hilman <khilman@linaro.org>

Verified that this patch on top of next-20151127 gets my z1 booting
again.

Kevin

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH] ARM: defconfig: multi_v7: Enable Qualcomm options for Honami
  2015-12-02  0:26   ` Kevin Hilman
@ 2015-12-02 18:51     ` Kevin Hilman
  0 siblings, 0 replies; 7+ messages in thread
From: Kevin Hilman @ 2015-12-02 18:51 UTC (permalink / raw)
  To: linux-arm-kernel

Kevin Hilman <khilman@kernel.org> writes:

> Bjorn Andersson <bjorn.andersson@sonymobile.com> writes:
>
>> The Honami device does not boot due to the lack of pinctrl support
>> compiled in with the multi_v7_defconfig. This patch correct this and
>> enables coincell, sdhci, smsm, smp2p and wcnss_ctrl as well, all found
>> on a variety of Qualcomm boards.
>>
>> Reported-by: Kevin Hilman <khilman@kernel.org>
>> Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
>
> Tested-by: Kevin Hilman <khilman@linaro.org>
>
> Verified that this patch on top of next-20151127 gets my z1 booting
> again.

... and applied to next/defconfig on top of Andy's patch.

Thanks,

Kevin

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-12-02 18:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-26  6:15 [PATCH] ARM: multi_v7_defconfig: Enable required QCOM SPMI/PMIC drivers Andy Gross
2015-12-01 21:48 ` Arnd Bergmann
2015-12-01 22:09   ` Andy Gross
2015-12-01 22:47 ` [PATCH] ARM: defconfig: multi_v7: Enable Qualcomm options for Honami Bjorn Andersson
2015-12-02  0:02   ` Andy Gross
2015-12-02  0:26   ` Kevin Hilman
2015-12-02 18:51     ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).