Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751636AbcDNT5r (ORCPT ); Thu, 14 Apr 2016 15:57:47 -0400 Received: from hqemgate16.nvidia.com ([216.228.121.65]:15116 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750956AbcDNT5p (ORCPT ); Thu, 14 Apr 2016 15:57:45 -0400 X-PGP-Universal: processed; by hqnvupgp08.nvidia.com on Thu, 14 Apr 2016 12:55:56 -0700 From: Rhyland Klein To: Rhyland Klein CC: Stephen Warren , Thierry Reding , Alexandre Courbot , Andrew Bresticker , , Subject: [PATCH] arm64: tegra: Enable cros-ec and charger on Smaug Date: Thu, 14 Apr 2016 15:57:18 -0400 Message-ID: <1460663838-27175-1-git-send-email-rklein@nvidia.com> X-Mailer: git-send-email 1.9.1 X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1218 Lines: 48 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 --- 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 = ; + 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