Message ID | f17cfa94bab7e7c32c8959ccb2c6ad25e544958b.1571048173.git.michal.simek@xilinx.com |
---|---|
State | Accepted |
Commit | f5c48644ba252c4bb68dce25d1bfc86368dc324f |
Delegated to: | Michal Simek |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="jLoyJzXD"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46sFCk1GFYz9sPd for <incoming@patchwork.ozlabs.org>; Mon, 14 Oct 2019 21:29:06 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id D602CC21E3A; Mon, 14 Oct 2019 10:24:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 0BCC1C21D9A; Mon, 14 Oct 2019 10:24:47 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id E18BFC21DFD; Mon, 14 Oct 2019 10:17:42 +0000 (UTC) Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by lists.denx.de (Postfix) with ESMTPS id 8F959C21DA2 for <u-boot@lists.denx.de>; Mon, 14 Oct 2019 10:17:40 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id p7so16639110wmp.4 for <u-boot@lists.denx.de>; Mon, 14 Oct 2019 03:17:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=KL87DeRhX2bHeoi6y4cR5IqdG5VngXfXU5V//1mSR8Q=; b=jLoyJzXDfcT8YLl93a8xlFZ3zmncuB3dKSFrs4ww+c/ksQWJQoI3k6j3svzZ3lSdJF +Vc6ZXd7mrBU8nTJroNcOLxZVTWaK7N7spaI2Q/1xe95FXLqNGz8fxDG/HIk2p9IDQ6p X+PFgkU8RGHUfuL3G+Io7COdobTF9JYNXnWbudNNnHkDYiPmmxD/AFEQ3PArJQDpvpu6 HHcDdDfzxG/RSX0sdpk+aiT6ARL0M3l0oA5p499zwN8HszjXW5HgN75UzFhNPQsyRgS4 s+CxWqvfOGjA+0FJ1Bj36SDOqV51l+ezQ9Pglc9Gqgv9PUON0xcRKMNhhcFzTJ4kR083 ZEYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:in-reply-to:references; bh=KL87DeRhX2bHeoi6y4cR5IqdG5VngXfXU5V//1mSR8Q=; b=TX1vAuiGf3a+DGY3ryO9Ns9+GbpD/6SFpGGsfWfh/wOC578guwbRirUaHpmCi1jmed an51KYm5hvd4FxYJJW5DTEtjOCpmCy7jawTMQz740Lv0jFvJuxrX1a+s8CfC6NvysAGH Giua6Q1znXuGGufPCRBhkEs1e4Z5S13+S01Lhg5gN87VVdmdmrT6nEqfPu306ew5FRg/ ofGRbvoSPGQrtkYfj1UCjHBPoa4vOfvbmLngUKGls0nL8lw5kQsdo7GyMrtgodHkGlnU HuuTdZ22xRJ84aN4a6ENpQLU10ylabZMrNYIde9C52SFX3ojK4+w9WSVf7NfgIfRM5vI t9OA== X-Gm-Message-State: APjAAAWC/TzyCij6tXiQqtqfzLO78gMgiHZomRx8RSQMf6O6rICSsBCx tBfbiRlzEtMlm/YQTXHDSF6jNfZOwVs92w== X-Google-Smtp-Source: APXvYqwTBTTdl41V2AFjwPVeG77LV3rItidcBQc5kpXwLH7N/ZEUbppGObot7ti+zB0DvJvgw9VWtw== X-Received: by 2002:a1c:4c08:: with SMTP id z8mr14548281wmf.38.1571048259952; Mon, 14 Oct 2019 03:17:39 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id p15sm7371130wrs.94.2019.10.14.03.17.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Oct 2019 03:17:39 -0700 (PDT) From: Michal Simek <michal.simek@xilinx.com> To: u-boot@lists.denx.de, git@xilinx.com Date: Mon, 14 Oct 2019 12:16:30 +0200 Message-Id: <f17cfa94bab7e7c32c8959ccb2c6ad25e544958b.1571048173.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <cover.1571048173.git.michal.simek@xilinx.com> References: <cover.1571048173.git.michal.simek@xilinx.com> In-Reply-To: <cover.1571048173.git.michal.simek@xilinx.com> References: <cover.1571048173.git.michal.simek@xilinx.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Subject: [U-Boot] [PATCH 27/27] arm64: zynqmp: Enable iio-hwmon for ina226 on zcu100 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
arm64: zynqmp: Update DT files
|
expand
|
diff --git a/arch/arm/dts/zynqmp-zcu100-revC.dts b/arch/arm/dts/zynqmp-zcu100-revC.dts index 5285f62d1a30..14aa98de73fe 100644 --- a/arch/arm/dts/zynqmp-zcu100-revC.dts +++ b/arch/arm/dts/zynqmp-zcu100-revC.dts @@ -124,6 +124,11 @@ compatible = "mmc-pwrseq-simple"; reset-gpios = <&gpio 7 GPIO_ACTIVE_LOW>; /* WIFI_EN */ }; + + ina226 { + compatible = "iio-hwmon"; + io-channels = <&u35 0>, <&u35 1>, <&u35 2>, <&u35 3>; + }; }; &dcc { @@ -216,8 +221,9 @@ #size-cells = <0>; reg = <5>; /* PS_PMBUS */ - ina226@40 { /* u35 */ + u35: ina226@40 { /* u35 */ compatible = "ti,ina226"; + #io-channel-cells = <1>; reg = <0x40>; shunt-resistor = <10000>; /* MIO31 is alert which should be routed to PMUFW */
ina226 hwmon driver is deprecated and it is recommended to use new iio based driver. The patch is enabling iio-hwmon driver to export functionality from IIO to hwmon interface to be able to use lm-sensors package. Signed-off-by: Michal Simek <michal.simek@xilinx.com> --- arch/arm/dts/zynqmp-zcu100-revC.dts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)