Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4113956ybl; Tue, 20 Aug 2019 07:12:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqyDRKt9vkxn/mL4zwBXBYiMOZ8ikA46LWvDpN9i+JiYUF+j89zyhjLJhP3whpMEX2gVAsk8 X-Received: by 2002:aa7:9735:: with SMTP id k21mr29859908pfg.116.1566310379636; Tue, 20 Aug 2019 07:12:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566310379; cv=none; d=google.com; s=arc-20160816; b=O1JaAnconHDR/djFaQQ1SbBAhbHHwdLgp1gqLQUxjz6VIB+J7tzSfbFJrv7N/NKCHY 4XCy+1R/WJImnLs5u8mbn4kzbq/J+d1qYgp35FcufAgYBzvCRFo9QQWT7gdj43Vh0HSZ s2IgV7GIi1qTO0R+gp5fDT4aU70bgazDuKllYGH24886jA80lus+1Diosh8Bw4MzjsMu Wmg+ML+0wiCEGro28Tq6iRdsclmWyLNCyGJ33qlut5nb05OlkCb4ULxbM2fgnYz08Qku oTt4xsViDZSEJ9KrQ1lDv0dwvyw/9s5CgQQ735iCgxZDGbEEnSE2gVB1m89tnvWtY/1o Zt4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=LEqTLls42sbmI5VwKOm6X28Wqd3lNc1FuJ61+Mb/tX8=; b=gW76ZI/bD2g8BVuZraJ+DR0YWB0spIZD7XPBoURCml3H+Y7Lw5xM9LMIRMdlosf+Yj CttRqCr/xKoYLJTQI1EhLcQQ/WW/81TDysxVMah/oRhd0Xa/5D0O3IolJUKR1Jf2I3eu h5pJU2SHY8bz4oNbi2zrB8TF/gmvYFE8FuJSjsgkcdYFmfEs90Lj9YpT86lw0aFbJD/V rYLq1nMx8VhsimhHWbRoXzkSjaqBS3/AYbKOr58mv2ObCV86YtCZoQn9azyLoN2h86EK smDP7uzx4ODZl+NR2ZS8gOaVtOpJhfXp7o4ZOgtnYwAc5wg2KgHAIFxvenqX4dGTCGqF ZfEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=Cs1pibJ1; 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 v14si12143510pgl.386.2019.08.20.07.12.43; Tue, 20 Aug 2019 07:12:59 -0700 (PDT) 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=Cs1pibJ1; 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 S1730081AbfHTOLt (ORCPT + 99 others); Tue, 20 Aug 2019 10:11:49 -0400 Received: from mail-wm1-f45.google.com ([209.85.128.45]:55205 "EHLO mail-wm1-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729965AbfHTOLt (ORCPT ); Tue, 20 Aug 2019 10:11:49 -0400 Received: by mail-wm1-f45.google.com with SMTP id p74so2758920wme.4 for ; Tue, 20 Aug 2019 07:11:47 -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; bh=LEqTLls42sbmI5VwKOm6X28Wqd3lNc1FuJ61+Mb/tX8=; b=Cs1pibJ1ZhNLrgABwvSomaLtVuOtZqECaToplmBgiSFFOyALHob2jmunT0LDP2rTLr 8xjyBUqopE2eXJdn2ardKgcbFEUxhOAELFlaikQyhvbAgG0ucDYMGZ4iADMDMSqDU+0O 3DrLOOguTT2aASkXqOvQzBmF3+MB8NoGMcF7sXLyiTh1vmNTV1OoUqjhx7oDQFt4yavz 1jAjzjETMvmWHa8jVtdHXC4xHalXdqlJQA6HMI/uasX0tSY9v7Vv1XeXCA6Iq/FR837h oWZxhnY6V6D1G2GuQJr03LBCC0QDFpnpnYnoN5VfYqEAX02jmT6Ql+PoQjWi1c0x652o 74Ng== 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; bh=LEqTLls42sbmI5VwKOm6X28Wqd3lNc1FuJ61+Mb/tX8=; b=kgzY7SbxLN/1XQbUG/LWAhm7t9enKAQlLqFwMQJp1ONtdc9SKecBceN6vzHmAt6mVK G2fW6iTrKuphggBExSiJdWCIRXjG/89jj+UzgWlwEYo2zSaWqw8XXLkr+zojzUUq1tSK vwnTw4CsQRRRwCwDIWZEUd1m/NYPFtegZtQJP+lcOgAhgg6oO56lCAU8/dKRWyms4GZY /elFOxQkcVK17ieTIuMzh36ljgtxMxz0WgEQF6VU8tkoyxbeghN/je1MRkn3y6s2Sv9Z yhShI0eFapPZg7UdwCf2FjfAk7KFaPjon3o6mIM0UtWlXPT5bmswqJXpsASjNHEXCaww mgKg== X-Gm-Message-State: APjAAAWT+/1k+nbZC1eXbXjUXNzGTDj3U3rs+oqpRsdRhFM+hgmDS2E1 L0G91V1VTspY8AGGG2GcPFCwxqPPniOJrQ== X-Received: by 2002:a1c:cfc6:: with SMTP id f189mr240811wmg.18.1566310306618; Tue, 20 Aug 2019 07:11:46 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id r123sm185142wme.7.2019.08.20.07.11.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Aug 2019 07:11:45 -0700 (PDT) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, linux@roeck-us.net Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, Colin Ian King , linux-iio@vger.kernel.org, =?UTF-8?q?Stefan=20Br=C3=BCns?= , Rob Herring , Lars-Peter Clausen , Jean Delvare , Mark Rutland , Jonathan Cameron , Peter Meerwald-Stadler , Hartmut Knaack Subject: [PATCH 0/4] iio: adc: ina2xx: Improve device identification Date: Tue, 20 Aug 2019 16:11:37 +0200 Message-Id: X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, the purpose of this series is to improve ina226 identification. On systems like Xilinx ZynqMP zcu102 (check dt in the tree) you can find out almost 20 ina226 chips and it is impossible to find out based on simple ina226 which chip is repsonsible for what. The series is adding two ways how to improve device identification. Please let me know what you think I am happy to do changes in it. Thanks, Michal Michal Simek (4): iio: adc: ina2xx: Define *device_node only once iio: adc: ina2xx: Setup better name then simple ina2xx dt-bindings: Add optional label property for ina2xx iio: adc: ina2xx: Use label proper for device identification .../devicetree/bindings/hwmon/ina2xx.txt | 2 ++ drivers/iio/adc/ina2xx-adc.c | 15 +++++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) -- 2.17.1