Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3270624pxv; Sun, 18 Jul 2021 17:18:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZhN0XjClnARG96PCION9tQo2pgkdtkRGbwIoAEIYlIekcp9YFfTmuZfoymibV/dtgAeGB X-Received: by 2002:a02:a115:: with SMTP id f21mr18964991jag.3.1626653932636; Sun, 18 Jul 2021 17:18:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626653932; cv=none; d=google.com; s=arc-20160816; b=OzG+MFaX/Za0Dl+uimuvfArohn/c+ezQWOnc+vlMQC8Ran1mtaM8ZMs28wEFEOiXHz jaQxxdiVi1lJS2Lg/7ZvujrxV7OqknusX8XBiDqO4t84utVA568R0gfWs5d08PcQOt6L FggiXDGh4pwwvUhEY3xqzgmIBn2mmBltMaI8MiStO9kur9HB7xwcQ9t6Z8RX3cQ/ZiW7 B5KG6FMRENKPvaJ0T83rv7QFOJG/i/nOSfNy4Z4Dj8hUbufpRe8TO9KZnOguQXNRXUQR RofkV0RkqCc3nSGQj5GvTEM6buPzoy+qoxNixUjtQI1hptu720Tx6nXu7R4f1Z8BUdFT bmLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=1gtBV11Yp08tX+bShNS4fOnnqi4rnWJMiZDXxIw07HY=; b=S+68UmQDmbkhPrUc/yZaSzoTYS7n8YsadksrertUWItJTSClLPqlJoQyvA5K05w0Jw qAx73ETNlQxFynSKyCZJqS9lwUWlK0joxr/4cxuO0Kxrz+aogkUH8nIgnqkaxEfaP4Mu uZ/tW30O9arucaFTkB92sNSWW24RVycNBISKqu1fXBz4vLjlJKDCgb1e1a7A0Y4YVemb eem4kL34HCVvSdqrOPpsMn4z6nkQ4aXIjj8rH6nU9ux2rgGWZFQgxjfKTdaU7uFTrJw3 jE/lnHrDVH1xK1K0aYLtrTD5vd/Yt956v4VwhKfEwd0KvCVXdkYG6yGjMIyBP5bOBEc0 9Wrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VHIRZh80; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v15si20542890jas.5.2021.07.18.17.18.41; Sun, 18 Jul 2021 17:18:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VHIRZh80; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234085AbhGSAUr (ORCPT + 99 others); Sun, 18 Jul 2021 20:20:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233898AbhGSAUm (ORCPT ); Sun, 18 Jul 2021 20:20:42 -0400 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81FDCC061762; Sun, 18 Jul 2021 17:17:42 -0700 (PDT) Received: by mail-pg1-x52e.google.com with SMTP id w15so17276469pgk.13; Sun, 18 Jul 2021 17:17:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1gtBV11Yp08tX+bShNS4fOnnqi4rnWJMiZDXxIw07HY=; b=VHIRZh80EZf7ljdAEYZJc0XzORChQ/oS9ZpcsfIKq1C/zPibRc+JifbI5VPYrZqMxc 0Ev+RVv8VlX2fvkd/cSWPD58Hiq5Allr5Jek78yxMeWS2zYElE8vwHdeDVfrkYZMWV+9 ITrJ3bh0iS37tFEEyxDfyqeiykd3dj9rx6ny7Y4ZaNqQAVZ5gQJPQZsihufJyqf0lTdD VodM6HwNI7q6N4BKT0k1y+nNBpEpkhcIbq/ELbvcD888J6yXGhHGFhAs+NrFS8ANuTOy +diZOovi1zxJQyePsHgwz1auOl7gjpkqWIc/vXlvWPZTWorQI70A90ILBeN6oGk+jkwI 4JOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=1gtBV11Yp08tX+bShNS4fOnnqi4rnWJMiZDXxIw07HY=; b=jxYqRsVRqeF3h7eHQCVrDmLpuFeTT1w2lBwVX3ahn2y2Atx1EwaBrQg8zMEvLe/Krd 8s9BBx/zQT3XkgAAAsdJgxBuBw4B/Nigz0eJ1i1Mp1ipFYgnQYI17E8tnw+c6N82Q8gZ ZPPBHa+5adNBqQmPO7DNir8klzSX8kRTA/W84TQau+MXoiArQM+fT8PX8OyUA259NmLc LPwN6tGgcBCqvMY+1WMBnPeGi7dil5ooLZRZjwGm+qZUdUo2EScPz/LCS6TiOXo1Illz bRXwZ8yd8RTcs+LOvJu30Zw5ZfQQre3p/WkW8o6YfVSbNaEZ6JAhk04KNB9ZVhjYXlRD XgtQ== X-Gm-Message-State: AOAM530xemPiKIH+oPJlyT97Raii2ZXIM5B/P6NOMmNKSLCbqxctzgTC CkpCR4Rwzu1G/L5uv+KL7Jw= X-Received: by 2002:aa7:8058:0:b029:332:9da3:102d with SMTP id y24-20020aa780580000b02903329da3102dmr23071284pfm.21.1626653861877; Sun, 18 Jul 2021 17:17:41 -0700 (PDT) Received: from taoren-ubuntu-R90MNF91.thefacebook.com (c-73-252-146-110.hsd1.ca.comcast.net. [73.252.146.110]) by smtp.gmail.com with ESMTPSA id x7sm1059847pfn.70.2021.07.18.17.17.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Jul 2021 17:17:41 -0700 (PDT) From: rentao.bupt@gmail.com To: Rob Herring , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, taoren@fb.com Cc: Tao Ren Subject: [PATCH 4/4] ARM: dts: aspeed: wedge100: Enable ADC channels Date: Sun, 18 Jul 2021 17:17:24 -0700 Message-Id: <20210719001724.6410-5-rentao.bupt@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210719001724.6410-1-rentao.bupt@gmail.com> References: <20210719001724.6410-1-rentao.bupt@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tao Ren Enable the ADC voltage sensoring channels used by Wedge100. Signed-off-by: Tao Ren --- arch/arm/boot/dts/aspeed-bmc-facebook-wedge100.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-wedge100.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-wedge100.dts index 39c6be91d53f..584efa528450 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-wedge100.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-wedge100.dts @@ -12,6 +12,11 @@ stdout-path = &uart3; bootargs = "console=ttyS2,9600n8 root=/dev/ram rw"; }; + + ast-adc-hwmon { + compatible = "iio-hwmon"; + io-channels = <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>; + }; }; &wdt2 { -- 2.17.1