Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2223132ybl; Thu, 9 Jan 2020 08:57:03 -0800 (PST) X-Google-Smtp-Source: APXvYqxBTixE3t+tZqfFteMP48TqX+Ase07e0hxNdUoJoNyl8yK0mjVav1rSoTgASNrMmW0QNJ9m X-Received: by 2002:a9d:367:: with SMTP id 94mr8780648otv.329.1578589023498; Thu, 09 Jan 2020 08:57:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578589023; cv=none; d=google.com; s=arc-20160816; b=c5wPt3gbPSXX5TjuUGZPEKK2kQU33Sp5LtIM29iiCrXlpIqSgoqw+58jd3huI5o54f dFjgA9j4p8JZ1eZbuUv6VUY24u6d9vezft+iJY5g5FuA7sxEnGo+Y6ybK+ASTawFlaN2 BUNM/VpBJP+KRh5R5z/pTKXLXXYUMWrLguJommRl/wrD8D7OcHQ4+Nr63FePoAP/ui66 xIO3PPoKIXjoEA4tkcqg5L3p53tT2OSrc3qjGFE8zIlAxdeCGCzvdtx0eA9PJhqdBj+c lD6zSpQmMkltXgCqX87ZuNO4bXdvQodTKdNFUQfu9E62c2cQ/vXxuAW9DlEcZJJnquWq v3eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=TG2woCcPtSsZFZqS+iMQDZj2SmEEY13YTogN1lSrI+I=; b=kCtNNzRGw6p8Tgqb0lrI3To/2OvxyaBpp42tuulnOGhzBury5tFjAZn/pY5SnxNArj NpO4+yp9KbMNo+pYxUFQCEyzFutz2yqt9q5FsvKgIVc53VJ9vNRfgxCoj41Id8PctJXQ iuNA8V2WTEl7YwARiP5vcAOuj5BQAPXWKk21KhC6pWVp9CXPaeYFof3L4pzQNt1s1WQf DfzoucDy0IDTV0bNKRg71V9bJjMPDv3OtUx1rnlS337hcjnesYD0hyViqWEnyI1RcmBf imv8v7fpmH/J2TXI7dJ05cxTXu7mkrrg41suWKNVxH6uTB1+f2KEHztribqOomipN3NQ sRhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=S4sXMfk+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 6si3829625oin.93.2020.01.09.08.56.50; Thu, 09 Jan 2020 08:57:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=S4sXMfk+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731473AbgAIOCn (ORCPT + 99 others); Thu, 9 Jan 2020 09:02:43 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:55724 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731434AbgAIOCj (ORCPT ); Thu, 9 Jan 2020 09:02:39 -0500 Received: by mail-wm1-f68.google.com with SMTP id q9so3028507wmj.5 for ; Thu, 09 Jan 2020 06:02:38 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=TG2woCcPtSsZFZqS+iMQDZj2SmEEY13YTogN1lSrI+I=; b=S4sXMfk+F+gdcwAtycqdg3QU1/70IIiYt/X5zC1hzn6ySGVkEbef9QKwbjbdkAcOqf i0FTXSC2JAS3fdR/cSRZeUVInuMQuEMQHBdZhJWKXFPVWPXHDB9jVhZEzX9t2ZQ0Ssb4 y0kbJO54RhauW2HtjV2zMQbrJ4jRJQd7LTorh9AV1aSMc9sRLAcCgk4JA+40yiDpdTEX 29REhzdrWXcAWEXD9+g5kiRFMvaN4UVHkotOFc7PUjckz8FstQbqms83nGNh1MQ9kgES vpcKm3FujgL9b+QVwWByTmTcPZ6OFXbJe//WX+3WxsLtg/yWcIXn5J7pvjUxrUXM0V1q XECQ== 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:mime-version:content-transfer-encoding; bh=TG2woCcPtSsZFZqS+iMQDZj2SmEEY13YTogN1lSrI+I=; b=CISMLEEJ9S5q/7feCWxAYjq4DbeAWwIL9RG3oEsZelba9aOoQu25nnjX/lFiueYIwY FaU/KArDbPOPdc0w5f/cWFkEbA+/22lduBHBxYli+diEhAxSiua1s+98UEOTJpLuTdyh bM5I48H65O4fg60pLug77Nf68Grfrjt3+GAL5XzP+rKMBDhhfzS4vqmfUXw12cfF7ilC dBbTUtsNY0Sk45Oj8KaqQK3qa81Iwq+XYiOsZ4JQA4aq5608UbRF09z2WV3BUDnYoe0g KSM+xHUkIHQm72XJEEzSNaiY8nZYerLKDOZ//1SK3yYY4Uwi/9w4Tlyogf2INrr1kSwh EKyw== X-Gm-Message-State: APjAAAUbdldKJHKML/WsL+kOTcWSQAsXASdM5UrCKE6QCy/goHNO7dt8 Q2IXC7YuqNXdGl0W4Vh0W4nBM0xGcLrlbw== X-Received: by 2002:a05:600c:2150:: with SMTP id v16mr4768848wml.156.1578578557466; Thu, 09 Jan 2020 06:02:37 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id c2sm8264253wrp.46.2020.01.09.06.02.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 Jan 2020 06:02:36 -0800 (PST) From: Michal Simek To: linux-arm-kernel@lists.infradead.org, git@xilinx.com Cc: Anurag Kumar Vulisha , Harini Katakam , Mark Rutland , Rajan Vaja , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/7] arm64: zynqmp: Add label property to all ina226 on zcu102 Date: Thu, 9 Jan 2020 15:02:19 +0100 Message-Id: X-Mailer: git-send-email 2.24.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Label property is adding capability to distiguish chips from each other when iio framework is used. Signed-off-by: Michal Simek --- .../boot/dts/xilinx/zynqmp-zcu102-revA.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts index afdd0ff37900..4f801721564f 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts @@ -253,60 +253,70 @@ i2c@0 { u76: ina226@40 { /* u76 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-u76"; reg = <0x40>; shunt-resistor = <5000>; }; u77: ina226@41 { /* u77 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-u77"; reg = <0x41>; shunt-resistor = <5000>; }; u78: ina226@42 { /* u78 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-u78"; reg = <0x42>; shunt-resistor = <5000>; }; u87: ina226@43 { /* u87 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-u87"; reg = <0x43>; shunt-resistor = <5000>; }; u85: ina226@44 { /* u85 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-u85"; reg = <0x44>; shunt-resistor = <5000>; }; u86: ina226@45 { /* u86 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-u86"; reg = <0x45>; shunt-resistor = <5000>; }; u93: ina226@46 { /* u93 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-u93"; reg = <0x46>; shunt-resistor = <5000>; }; u88: ina226@47 { /* u88 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-u88"; reg = <0x47>; shunt-resistor = <5000>; }; u15: ina226@4a { /* u15 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-u15"; reg = <0x4a>; shunt-resistor = <5000>; }; u92: ina226@4b { /* u92 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-u92"; reg = <0x4b>; shunt-resistor = <5000>; }; @@ -319,48 +329,56 @@ i2c@1 { u79: ina226@40 { /* u79 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-u79"; reg = <0x40>; shunt-resistor = <2000>; }; u81: ina226@41 { /* u81 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-u81"; reg = <0x41>; shunt-resistor = <5000>; }; u80: ina226@42 { /* u80 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-u80"; reg = <0x42>; shunt-resistor = <5000>; }; u84: ina226@43 { /* u84 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-u84"; reg = <0x43>; shunt-resistor = <5000>; }; u16: ina226@44 { /* u16 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-u16"; reg = <0x44>; shunt-resistor = <5000>; }; u65: ina226@45 { /* u65 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-u65"; reg = <0x45>; shunt-resistor = <5000>; }; u74: ina226@46 { /* u74 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-u74"; reg = <0x46>; shunt-resistor = <5000>; }; u75: ina226@47 { /* u75 */ compatible = "ti,ina226"; #io-channel-cells = <1>; + label = "ina226-u75"; reg = <0x47>; shunt-resistor = <5000>; }; -- 2.24.0