Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1415395imu; Thu, 13 Dec 2018 14:57:50 -0800 (PST) X-Google-Smtp-Source: AFSGD/WeNvpf1qnhUy41TUR+rjBPlaWqP3Cn18y8WXzkMFBXMty+FK2MNh1YSJbVMLmhT4aYgMGT X-Received: by 2002:a62:109b:: with SMTP id 27mr540356pfq.227.1544741870641; Thu, 13 Dec 2018 14:57:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544741870; cv=none; d=google.com; s=arc-20160816; b=jRryVo77nOlST/I/O66u+qI9lh0B8iWw0jKCmJ2GZxR3isJCCYkqjGAnbaGACj4YCP 6EesK5Q3uKhXjaVIIbvN6hLjZDLGncl6vVp4Pdwu2ymL+CoWAsmsQZ68RQf/O9h5YWvC 0NbUQdo18Bh/ysKbVVkkPBd5MnArPq3oBVXNjUy0OVUSa/6+u522P+VnJspfOdbpSs4b c+GLvSfvS0aqTZMtqqyu7hXSHSZ95CeU3mJXo+erL+/rQ3FHnF2uUyxFK/yUMthKXc5d NQYWlEmPzuYx0ye+LtGqehJn6WsQY/N3nMDk+Teue+qudq75zQs2JMm5w8khWS3GbBNz SQ4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=nYHFtPjv8JQJBGdOBsFRXt5vPUKyqFq0Qftwn/agti4=; b=yCeDM+4dzmQAk2s996q6DDvMdPx3b+KB3zPBZvNVKeR9DnNUEudZ45UONN7Ylhh5W9 h1NekNyEgzv3vW5Ldhgy7fFo7HueiwF8xlue9wwcSpNJ0kWBQ7HToe6JiNjxlaxDuLlO UfIjYCpreaRhb/sa1+iynOGVRKTyy4TvB+RbI/8KnATfnC4eplQmB3IKk/vHH5qpi/UE NyVXxnpCZfOyBG4tKQo0UKttUk7YYwf1HWxq6h/H93FLqHx247fbi9NNyFRr3U9rZnPd 71PORI9J9uWl8m38Hbuto59Sngai7RIAH1GCKiUTvMukhpa5GPnVVdYeodFhBtaZRYNc bvvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=PLhR+wSf; 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 2si2430660pgz.395.2018.12.13.14.57.35; Thu, 13 Dec 2018 14:57:50 -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=pass header.i=@jms.id.au header.s=google header.b=PLhR+wSf; 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 S1728425AbeLMW4T (ORCPT + 99 others); Thu, 13 Dec 2018 17:56:19 -0500 Received: from mail-qt1-f195.google.com ([209.85.160.195]:33352 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726228AbeLMW4S (ORCPT ); Thu, 13 Dec 2018 17:56:18 -0500 Received: by mail-qt1-f195.google.com with SMTP id l11so4239470qtp.0; Thu, 13 Dec 2018 14:56:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nYHFtPjv8JQJBGdOBsFRXt5vPUKyqFq0Qftwn/agti4=; b=PLhR+wSfzhi2oPcg9PAxCb4AB4yL9BkMmkJCQ/GhC5lCVP8btRUZCBDpH5DP2XaOmF NGh3ydXwqxQk+4i9oi2JND/sUXlU6PBLGwZ61uLcVXjXUZPr7yrTsi6qQHNeNtajwuSd pB4fA930LJtOe8BZLOiWnmNVpfSgcXDuts/fw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nYHFtPjv8JQJBGdOBsFRXt5vPUKyqFq0Qftwn/agti4=; b=nb21anVOqDnzr0BCDTX+iQw0BvpwU4Eehkz8ItVaVmdTyytZO8MgxpMF+8JBPkGDoM p87g4/D5AzOZZPhLQBqahW3MhRWH6y+advaXcl4KEgkkDat83ICMC/SFR2xM6+GdiUse Qb+dlPNvW1VKqe0pcGc3/24NyxLspawDySNUWg/mvgbpBwo9d7xnQ+Gwied8zjtESE/E 68YsS5vYwRsK0m/jCAxJpKTVVcE3w7H12RmkaaKZNJbn0mwMYBGXI33/95nYxChbpSj9 ZMer6s049+5KycNL3P3n54wwdTtLncMdm8c6lWGg1EKPlubjLgvt5h7gFy5SPUr3s6ca yauQ== X-Gm-Message-State: AA+aEWabwPk39ziGrbtvs82vHKPnc7q1uD/Guzh6Wbf0ZDOgx5qfr3Zd Pb4nxeSUxhoFeKZ8E9EpalHK7Mn8vZ8aWqupDbk= X-Received: by 2002:a0c:89b4:: with SMTP id 49mr652178qvr.85.1544741777010; Thu, 13 Dec 2018 14:56:17 -0800 (PST) MIME-Version: 1.0 References: <20181213195319.1333402-1-vijaykhemka@fb.com> In-Reply-To: <20181213195319.1333402-1-vijaykhemka@fb.com> From: Joel Stanley Date: Fri, 14 Dec 2018 09:26:05 +1030 Message-ID: Subject: Re: [PATCH 1/4] ARM: dts: aspeed: Add sensors devices for Facebook To: vijaykhemka@fb.com, Andrew Jeffery , Rob Herring Cc: Mark Rutland , devicetree , Linux ARM , linux-aspeed@lists.ozlabs.org, Linux Kernel Mailing List , OpenBMC Maillist Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 14 Dec 2018 at 06:23, Vijay Khemka wrote: > > Added ADC and other sensor devices in Facebook Tiogapass device tree. > > Signed-off-by: Vijay Khemka > --- > .../dts/aspeed-bmc-facebook-tiogapass.dts | 33 +++++++++++++++++-- > 1 file changed, 31 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts > index f8e7b71af7e6..58bbe08d3ba7 100644 > --- a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts > +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts > @@ -21,6 +21,25 @@ > memory@80000000 { > reg = <0x80000000 0x20000000>; > }; > + > + iio-hwmon { > + compatible = "iio-hwmon"; > + oemname0 = "MB_P3V3"; > + oemname1 = "MB_P5V"; > + oemname2 = "MB_P12V"; > + oemname3 = "MB_P1V05"; > + oemname4 = "MB_PVNN_PCH_STBY"; > + oemname5 = "MB_P3V3_STBY"; > + oemname6 = "MB_P5V_STBY"; "oemname" isn't part of the upstream bindings. Is this something you have patches for? The other parts of the patch lgtm. > + io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, > + <&adc 4>, <&adc 5>, <&adc 6>; > + }; > + > + iio-hwmon-battery { > + oemname0 = "MB_P3V_BAT"; > + compatible = "iio-hwmon"; > + io-channels = <&adc 7>; > + }; > }; > > &fmc { > @@ -64,6 +83,10 @@ > use-ncsi; > }; > > +&adc { > + status = "okay"; > +}; > + > &i2c0 { > status = "okay"; > //Airmax Conn B, CPU0 PIROM, CPU1 PIROM > @@ -122,6 +145,10 @@ > > &i2c8 { > status = "okay"; > + tmp421@1f { > + compatible = "ti,tmp421"; > + reg = <0x1f>; > + }; > //Mezz Sensor SMBus > }; > > @@ -134,13 +161,15 @@ > status = "okay"; > pinctrl-names = "default"; > pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default>; > + oemname0 = "System_Fan_Connector_1"; > + oemname1 = "System_Fan_Connector_3"; > fan@0 { > reg = <0x00>; > aspeed,fan-tach-ch = /bits/ 8 <0x00>; > }; > > fan@1 { > - reg = <0x00>; > - aspeed,fan-tach-ch = /bits/ 8 <0x01>; > + reg = <0x01>; > + aspeed,fan-tach-ch = /bits/ 8 <0x02>; > }; > }; > -- > 2.17.1 >