All of lore.kernel.org
 help / color / mirror / Atom feed
* [RESEND PATCH] arm64: defconfig: Enable cros-ec and battery driver
@ 2016-06-29 17:21 ` Rhyland Klein
  0 siblings, 0 replies; 5+ messages in thread
From: Rhyland Klein @ 2016-06-29 17:21 UTC (permalink / raw)
  To: Thierry Reding, Stephen Warren, Alexandre Courbot
  Cc: Jon Hunter, linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Rhyland Klein

Enable the ChromeOS Embedded Controller, its I2C tunnel driver, and
the BA27XXX battery driver. These are all used on the Tegra210 Smaug
platform.

Signed-off-by: Rhyland Klein <rklein-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---

Resending as the issue with power_supply_core/bq27xxx_battery has been
resolved.

 arch/arm64/configs/defconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 58bc31e0e9b7..4b6d39c927e7 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -186,6 +186,7 @@ CONFIG_I2C_QUP=y
 CONFIG_I2C_TEGRA=y
 CONFIG_I2C_UNIPHIER_F=y
 CONFIG_I2C_RCAR=y
+CONFIG_I2C_CROS_EC_TUNNEL=y
 CONFIG_SPI=y
 CONFIG_SPI_ORION=y
 CONFIG_SPI_PL022=y
@@ -206,6 +207,7 @@ CONFIG_GPIO_PCA953X=y
 CONFIG_GPIO_PCA953X_IRQ=y
 CONFIG_GPIO_MAX77620=y
 CONFIG_POWER_RESET_MSM=y
+CONFIG_BATTERY_BQ27XXX=y
 CONFIG_POWER_RESET_XGENE=y
 CONFIG_POWER_RESET_SYSCON=y
 CONFIG_SENSORS_LM90=m
@@ -220,6 +222,8 @@ CONFIG_MFD_SPMI_PMIC=y
 CONFIG_MFD_SEC_CORE=y
 CONFIG_MFD_HI655X_PMIC=y
 CONFIG_REGULATOR=y
+CONFIG_MFD_CROS_EC=y
+CONFIG_MFD_CROS_EC_I2C=y
 CONFIG_REGULATOR_FIXED_VOLTAGE=y
 CONFIG_REGULATOR_HI655X=y
 CONFIG_REGULATOR_MAX77620=y
-- 
1.9.1

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

* [RESEND PATCH] arm64: defconfig: Enable cros-ec and battery driver
@ 2016-06-29 17:21 ` Rhyland Klein
  0 siblings, 0 replies; 5+ messages in thread
From: Rhyland Klein @ 2016-06-29 17:21 UTC (permalink / raw)
  To: Thierry Reding, Stephen Warren, Alexandre Courbot
  Cc: Jon Hunter, linux-tegra, linux-kernel, Rhyland Klein

Enable the ChromeOS Embedded Controller, its I2C tunnel driver, and
the BA27XXX battery driver. These are all used on the Tegra210 Smaug
platform.

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
---

Resending as the issue with power_supply_core/bq27xxx_battery has been
resolved.

 arch/arm64/configs/defconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 58bc31e0e9b7..4b6d39c927e7 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -186,6 +186,7 @@ CONFIG_I2C_QUP=y
 CONFIG_I2C_TEGRA=y
 CONFIG_I2C_UNIPHIER_F=y
 CONFIG_I2C_RCAR=y
+CONFIG_I2C_CROS_EC_TUNNEL=y
 CONFIG_SPI=y
 CONFIG_SPI_ORION=y
 CONFIG_SPI_PL022=y
@@ -206,6 +207,7 @@ CONFIG_GPIO_PCA953X=y
 CONFIG_GPIO_PCA953X_IRQ=y
 CONFIG_GPIO_MAX77620=y
 CONFIG_POWER_RESET_MSM=y
+CONFIG_BATTERY_BQ27XXX=y
 CONFIG_POWER_RESET_XGENE=y
 CONFIG_POWER_RESET_SYSCON=y
 CONFIG_SENSORS_LM90=m
@@ -220,6 +222,8 @@ CONFIG_MFD_SPMI_PMIC=y
 CONFIG_MFD_SEC_CORE=y
 CONFIG_MFD_HI655X_PMIC=y
 CONFIG_REGULATOR=y
+CONFIG_MFD_CROS_EC=y
+CONFIG_MFD_CROS_EC_I2C=y
 CONFIG_REGULATOR_FIXED_VOLTAGE=y
 CONFIG_REGULATOR_HI655X=y
 CONFIG_REGULATOR_MAX77620=y
-- 
1.9.1

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

* Re: [RESEND PATCH] arm64: defconfig: Enable cros-ec and battery driver
  2016-06-29 17:21 ` Rhyland Klein
  (?)
@ 2016-06-30  8:19 ` Alexandre Courbot
  -1 siblings, 0 replies; 5+ messages in thread
From: Alexandre Courbot @ 2016-06-30  8:19 UTC (permalink / raw)
  To: Rhyland Klein
  Cc: Thierry Reding, Stephen Warren, Jon Hunter, linux-tegra,
	Linux Kernel Mailing List

On Thu, Jun 30, 2016 at 2:21 AM, Rhyland Klein <rklein@nvidia.com> wrote:
> Enable the ChromeOS Embedded Controller, its I2C tunnel driver, and
> the BA27XXX battery driver. These are all used on the Tegra210 Smaug
> platform.

Tested-by: Alexandre Courbot <acourbot@nvidia.com>

Can see the bq27742 in /sys and query its state.

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

* Re: [RESEND PATCH] arm64: defconfig: Enable cros-ec and battery driver
  2016-06-29 17:21 ` Rhyland Klein
@ 2016-06-30 13:23     ` Thierry Reding
  -1 siblings, 0 replies; 5+ messages in thread
From: Thierry Reding @ 2016-06-30 13:23 UTC (permalink / raw)
  To: Rhyland Klein
  Cc: Stephen Warren, Alexandre Courbot, Jon Hunter,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 516 bytes --]

On Wed, Jun 29, 2016 at 01:21:53PM -0400, Rhyland Klein wrote:
> Enable the ChromeOS Embedded Controller, its I2C tunnel driver, and
> the BA27XXX battery driver. These are all used on the Tegra210 Smaug
> platform.
> 
> Signed-off-by: Rhyland Klein <rklein-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> ---
> 
> Resending as the issue with power_supply_core/bq27xxx_battery has been
> resolved.
> 
>  arch/arm64/configs/defconfig | 4 ++++
>  1 file changed, 4 insertions(+)

Applied, thanks.

Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* Re: [RESEND PATCH] arm64: defconfig: Enable cros-ec and battery driver
@ 2016-06-30 13:23     ` Thierry Reding
  0 siblings, 0 replies; 5+ messages in thread
From: Thierry Reding @ 2016-06-30 13:23 UTC (permalink / raw)
  To: Rhyland Klein
  Cc: Stephen Warren, Alexandre Courbot, Jon Hunter, linux-tegra, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 487 bytes --]

On Wed, Jun 29, 2016 at 01:21:53PM -0400, Rhyland Klein wrote:
> Enable the ChromeOS Embedded Controller, its I2C tunnel driver, and
> the BA27XXX battery driver. These are all used on the Tegra210 Smaug
> platform.
> 
> Signed-off-by: Rhyland Klein <rklein@nvidia.com>
> ---
> 
> Resending as the issue with power_supply_core/bq27xxx_battery has been
> resolved.
> 
>  arch/arm64/configs/defconfig | 4 ++++
>  1 file changed, 4 insertions(+)

Applied, thanks.

Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

end of thread, other threads:[~2016-06-30 13:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-29 17:21 [RESEND PATCH] arm64: defconfig: Enable cros-ec and battery driver Rhyland Klein
2016-06-29 17:21 ` Rhyland Klein
2016-06-30  8:19 ` Alexandre Courbot
     [not found] ` <1467220913-15006-1-git-send-email-rklein-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-06-30 13:23   ` Thierry Reding
2016-06-30 13:23     ` Thierry Reding

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.