From patchwork Mon Dec 25 07:57:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Tang X-Patchwork-Id: 10132341 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 00F7260594 for ; Mon, 25 Dec 2017 08:16:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DB77228BEF for ; Mon, 25 Dec 2017 08:16:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CD71E28C08; Mon, 25 Dec 2017 08:16:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 666A428BEF for ; Mon, 25 Dec 2017 08:16:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=q9BBoVUH4Su+1wEs979v6YIG24ZKSO3PLmItsuEiEoE=; b=aQZcYF5KRfsbas D8hvzkpiat+FDGHmv6wvy+JdKzeQTyhoWBBl80OedPaB1rr1Dho2sF9Mry/P+Po+IzMpSLD74rxpa wEpZc1znsi0libJQXaYwBTmKMVbfm76jjbDhMsZ6T1SWPcyYQPesMJJejjwUPtsUa+Y+jGPLPa7Jc KXiFjO8VB/YRNgnIUkzlPZ24n+Zejby8LqFVdocwhnZl6KuwKXrOAhnokd0smOAf4eMr2/zliJ4Dp ZI6x3ldG6FtKd3xc35s9cm6HRmUvdc62GzOGRnDzFzOjVYp53Oa11fbZTG3OY15rbNs0Op53jB60w 7FFxmokoKbONaXLopm4g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eTNwF-000727-2j; Mon, 25 Dec 2017 08:16:47 +0000 Received: from mail-bl2nam02on0085.outbound.protection.outlook.com ([104.47.38.85] helo=NAM02-BL2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eTNw9-0006wO-QH for linux-arm-kernel@lists.infradead.org; Mon, 25 Dec 2017 08:16:43 +0000 Received: from CY1PR03CA0036.namprd03.prod.outlook.com (10.174.128.46) by CY1PR03MB2363.namprd03.prod.outlook.com (10.166.207.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.345.14; Mon, 25 Dec 2017 08:16:27 +0000 Received: from BN1AFFO11FD018.protection.gbl (2a01:111:f400:7c10::172) by CY1PR03CA0036.outlook.office365.com (2603:10b6:600::46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.345.14 via Frontend Transport; Mon, 25 Dec 2017 08:16:27 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD018.mail.protection.outlook.com (10.58.52.78) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.302.6 via Frontend Transport; Mon, 25 Dec 2017 08:16:10 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id vBP8GN34004856; Mon, 25 Dec 2017 01:16:24 -0700 From: Yuantian Tang To: Subject: [PATCH] arm64: dts: ls208xa: add power monitor chip node Date: Mon, 25 Dec 2017 15:57:23 +0800 Message-ID: <20171225075723.31080-1-andy.tang@nxp.com> X-Mailer: git-send-email 2.14.1 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131586633701765035; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(336005)(346002)(39860400002)(396003)(39380400002)(376002)(2980300002)(1109001)(1110001)(339900001)(189003)(199004)(105606002)(5660300001)(106466001)(8676002)(81166006)(97736004)(50466002)(48376002)(81156014)(356003)(6916009)(8656006)(77096006)(316002)(16586007)(2351001)(36756003)(47776003)(1076002)(4326008)(53936002)(2906002)(68736007)(54906003)(50226002)(8936002)(305945005)(85426001)(86362001)(104016004)(575784001)(498600001)(51416003); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR03MB2363; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD018; 1:ApsxPhfGq9bwj1Ra3ShMyIwkssH9auzahrTt8gEicHSGEWpRo31jrqAc/kmH26sh25u2KuZv9YxAl8uwzh6CbI1NIIRc31dMm9QwmQ+Ick+2g/J7ufASYKqw4zCBhFcr MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0a73cfc9-09c3-41a0-afab-08d54b6fc172 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4628075)(201703131517081)(5600026)(4604075)(2017052603307); SRVR:CY1PR03MB2363; X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB2363; 3:zLNqNuYZnbhRh8PsZRrtWW1gfX8GKvGyKrU2FopgAHDhPjSeWCfG9bUbML9thXsNi5WF/SQr2SsqzOpIXhoHQ3eXxalB7FAiYMdQPFE88EDacwOerMuB4Uyg18AesnipNTyZy9qxcF8RxvIU8Il1YlB6xx5+VCV6gb/5mLHj+z1qobXhuT7eCB+EFk2Zj3X3qqNMWj2YVsJBN4QERjKQ9bRcVFSG+BVrjmu9w652ac8Yn2+VZ3hesm/LG5meydurwlU63fZUab5I8Ej5nEBy4XvOSf92JF7EKOEBmwDEJZy5a8uYCapU4KQ7ItcpaCn926hOEVPFC/GZR2z/d+fztuyeiW4kWEK7CVczVSBeYm0=; 25:iL5Wdbw5XBYWcn1aaElAGNT5gq6CwJGufd8+WmCVEyrvA1utVamsW3iwidK9L5m7uDrVbhmRtygS/7Di4IpQaQRUsyuutf5dMPBEvq2UKkMpeo+8XzL1yDLtMdgvpPxA0Lbr/y2uVINiY032IShjhhyWo+5mnwDFt6k4UMGKIucn01VzdFRa/LZoV6QQDcCYy84NVOtOLrbDaNTF4DMC4SRXX8//rn2QQ7gp6uIkZkbySaM/RI/5v9Uz+DsisJwTvHgaiOpC5ndGhWiEWibIMtzzP7q6AcY9xwt47xKb0o0/cWtgYiqdoXtfzqumIGiWCDG0MV+sLBV7LeWv13k49A== X-MS-TrafficTypeDiagnostic: CY1PR03MB2363: X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB2363; 31:v+nU/SF/yHBllPiud4b5ptKHzQgAyWazOpjxWrfXDauusOjBIArc9zhWAr0MMhFh5Jaxcqa4QHp3hVYFec9cOoeZjvELIv2NpwZzPtlbZsAVPvaS0xYB5hjw6L9ytvTqcGCYOsEw0aZs6KlPpzv4BRcspYTN2ZnJt6256J9L9kKwxv0tltqNU14FI4JEnv1kR5WHeJoJWmr01NnMz9oMTQJA0pS6dLi/AQH7SXeApDw=; 4:iDLFfvbWtBoxa7ZemYiHN29B9+Gv9Uf9jMepn4hb8sEWMPt8pNE77MAY71djXK/6A68SA9fXJQCjbktDvImRJ9Kk3RxFpleMFomUwU2p4VRL+7s3XzPw/b36aTAeJhyALbc0j75ENdMQAR8aQOanJkxtDzYCncpNDtBgK4n2j7lkPgmWbiYYPLdJV8bMp/5y8kuOFeP16BVUCl5vdbUeqwDxZKRajQSkCkg9cZz0JgySgnqg7tFNdEW/BGltvkBq5ajLkkiOmyZipjVExFyno+TudQhVeRY4LrhGokaw6/CX1+C2FAMmNCI/EWBs8xE8 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(5005006)(8121501046)(3231023)(944510075)(944921075)(946801075)(946901075)(93006095)(93001095)(10201501046)(3002001)(6055026)(6096035)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123556025)(20161123561025)(20161123563025)(20161123565025)(20161123559100)(201708071742011); SRVR:CY1PR03MB2363; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:CY1PR03MB2363; X-Forefront-PRVS: 0532BF6DC2 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR03MB2363; 23:/F5ypS2zCptg0G5Mrp+zBQRZhmuY9s9lCfWnnpMHU?= =?us-ascii?Q?SzFsg6m3/ax3AmMNRVwxjFclXMOf/BIu1FNXYDOSCN0wAXpHBrlv6FeGkyrK?= =?us-ascii?Q?K3HF2z6Thwzq0aljlmk+GIlrOA+G1OhTztvgA57JAMcCyJe/mA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rossTenant-OriginalArrivalTime: 25 Dec 2017 08:16:10.0049 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0a73cfc9-09c3-41a0-afab-08d54b6fc172 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB2363 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171225_001641_981449_15C8A46E X-CRM114-Status: GOOD ( 12.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, Yuantian Tang , catalin.marinas@arm.com, will.deacon@arm.com, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Ina220 chip was used on ls208xardb platform to monitor power comsumption. So add ina220 chip node in dts to enable power consumption monitor feature. Signed-off-by: Tang Yuantian --- arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi index 9a1d0d2..a75132c 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi @@ -95,6 +95,17 @@ }; }; + i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x02>; + ina220@40 { + compatible = "ti,ina220"; + reg = <0x40>; + shunt-resistor = <500>; + }; + }; + i2c@3 { #address-cells = <1>; #size-cells = <0>;