From patchwork Fri Feb 24 15:05:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 9590503 X-Patchwork-Delegate: horms@verge.net.au 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 CB24F6020A for ; Fri, 24 Feb 2017 15:06:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B1AA925D9E for ; Fri, 24 Feb 2017 15:06:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A68792872D; Fri, 24 Feb 2017 15:06:46 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 66B3725D9E for ; Fri, 24 Feb 2017 15:06:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751315AbdBXPGp (ORCPT ); Fri, 24 Feb 2017 10:06:45 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:39727 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751192AbdBXPGp (ORCPT ); Fri, 24 Feb 2017 10:06:45 -0500 Received: from w540.lan (unknown [IPv6:2001:b07:6442:1ac4:b991:3557:9a5a:a706]) (Authenticated sender: jacopo@jmondi.org) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 63FD5A810A; Fri, 24 Feb 2017 16:06:40 +0100 (CET) From: Jacopo Mondi To: geert@linux-m68k.org, wsa+renesas@sang-engineering.com, magnus.damm@gmail.com, laurent.pinchart@ideasonboard.com, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, meerw@pmeerw.net, robh+dt@kernel.org, mark.rutland@arm.com Cc: linux-iio@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 4/4] arm64: dts: salvator-x: Add current sense amplifiers Date: Fri, 24 Feb 2017 16:05:56 +0100 Message-Id: <1487948756-25172-5-git-send-email-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1487948756-25172-1-git-send-email-jacopo+renesas@jmondi.org> References: <1487948756-25172-1-git-send-email-jacopo+renesas@jmondi.org> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add device nodes for two Maxim max961x current sense amplifiers sensing VDD_08 and DVFS_08 lines. Signed-off-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts index fd05c2b..c533aef 100644 --- a/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts +++ b/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts @@ -261,6 +261,23 @@ status = "okay"; }; +&i2c4 { + status = "okay"; + + csa_vdd: max9611_vdd@7c { + compatible = "maxim,max961x"; + reg = <0x7c>; + + shunt-resistor = <5000>; + }; + + csa_dvfs: max9611_dvfs@7f { + compatible = "maxim,max961x"; + reg = <0x7f>; + shunt-resistor = <5000>; + }; +}; + &wdt0 { timeout-sec = <60>; status = "okay";