* [PATCH] arm64: tegra: Enable cros-ec and charger on Smaug
@ 2016-04-14 19:57 Rhyland Klein
2016-04-15 13:38 ` Thierry Reding
0 siblings, 1 reply; 2+ messages in thread
From: Rhyland Klein @ 2016-04-14 19:57 UTC (permalink / raw)
To: Rhyland Klein
Cc: Stephen Warren, Thierry Reding, Alexandre Courbot,
Andrew Bresticker, linux-tegra-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
Add nodes for the ChromeOS Embedded Controller and for the gas gauge
connected to the I2C bus that it controls.
Signed-off-by: Rhyland Klein <rklein-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts
index 772921922046..aeb0d7691acb 100644
--- a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts
@@ -1300,6 +1300,33 @@
status = "okay";
};
+ i2c@0,7000c400 {
+ status = "okay";
+ clock-frequency = <1000000>;
+
+ ec@1e {
+ compatible = "google,cros-ec-i2c";
+ reg = <0x1e>;
+ interrupt-parent = <&gpio>;
+ interrupts = <TEGRA_GPIO(Z, 1) IRQ_TYPE_LEVEL_LOW>;
+ wakeup-source;
+
+ ec_i2c_0: i2c-tunnel {
+ compatible = "google,cros-ec-i2c-tunnel";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ google,remote-bus = <0>;
+
+ battery: bq27742@55 {
+ compatible = "ti,bq27742";
+ reg = <0x55>;
+ battery-name = "battery";
+ };
+ };
+ };
+ };
+
pmc@0,7000e400 {
nvidia,invert-interrupt;
nvidia,suspend-mode = <0>;
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: tegra: Enable cros-ec and charger on Smaug
2016-04-14 19:57 [PATCH] arm64: tegra: Enable cros-ec and charger on Smaug Rhyland Klein
@ 2016-04-15 13:38 ` Thierry Reding
0 siblings, 0 replies; 2+ messages in thread
From: Thierry Reding @ 2016-04-15 13:38 UTC (permalink / raw)
To: Rhyland Klein
Cc: Stephen Warren, Alexandre Courbot, Andrew Bresticker, linux-tegra,
linux-kernel
[-- Attachment #1: Type: text/plain, Size: 396 bytes --]
On Thu, Apr 14, 2016 at 03:57:18PM -0400, Rhyland Klein wrote:
> Add nodes for the ChromeOS Embedded Controller and for the gas gauge
> connected to the I2C bus that it controls.
>
> Signed-off-by: Rhyland Klein <rklein@nvidia.com>
> ---
> arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 27 +++++++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
Applied, thanks.
Thierry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-15 13:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-14 19:57 [PATCH] arm64: tegra: Enable cros-ec and charger on Smaug Rhyland Klein
2016-04-15 13:38 ` Thierry Reding
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).