Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2321364pxb; Thu, 4 Nov 2021 18:31:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyT10J5pkeakGLc3fpifeLkJvuq/u0Y4GDH1bliHSpfuSce+8Y2pC+T0oOLJNrZO/QYwCy4 X-Received: by 2002:a05:6e02:170a:: with SMTP id u10mr8908367ill.251.1636075870776; Thu, 04 Nov 2021 18:31:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636075870; cv=none; d=google.com; s=arc-20160816; b=DrPvKqo9YxeMARznM0FrKHZsGy5G2qJ1ziRK8lahzveC7rOuQ+o0SVXkKWdIxfzixC 3xoyBrzVlsBJUzk6NgyxA57yHoaZZIVbXRv1POQYZLEjekI17sebHoBzPWR2yjQUpkym 0hRVYXjUkLwLLlshD+vDIkAxBjwKwjAgS6NtK2Ef99mSdi5kbR8372LZ5OCfxqiAnj+p l2G/dQ2g7XoJvcW1l83NwqP48kks2Fryzwe9QamHqVmeXUGyRTLhQxNoW+ugujp1pD21 0p6FjXFBYLr9MREWTYVaNVVxueFLfIayC1iQRilB/KwvKj9oMkfs1b5ExGwjjcatzJXD NGLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:mime-version:message-id:date :dkim-signature; bh=BWRsLXSuRuX7m2v7ufxzsJ2Lj2A75oZX9+jsZ2D7yIw=; b=t7cf7f2ZxgIovhasxmhn6FFDumBtEGOC6ADJ5n2Yw0669w7boZY0PDQ8FvWCKOuyxS M+2qFEBCxFea6VviXb3KmhtltFpBgvwuORVhbdOcXqEp1MWYIqs8TSzYkXdUlS758lvW KRJiesFvns1Et7Vy+8WsFs+XG3yH6IYiVcBZFZYhH6NlsEFJLoKWfNEXV8VR8bH0ukpo Rz1dwgx8OzVNQbf4YVm7/qa7eu4YqO8wtFbSJcODQC3hO9vgWXFteRZtE0JEpw5ij21y gGbG+mQjn/sOfNDK5mWkiI4y3Z8qvbmbEr9htm+uu0ALrb86N0sRnzbwLcA1QjkVROAQ zq1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b="rOB7r6/f"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i6si10250196ilm.76.2021.11.04.18.30.57; Thu, 04 Nov 2021 18:31:10 -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=@google.com header.s=20210112 header.b="rOB7r6/f"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230507AbhKEBCn (ORCPT + 99 others); Thu, 4 Nov 2021 21:02:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230257AbhKEBCm (ORCPT ); Thu, 4 Nov 2021 21:02:42 -0400 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5F6FC061714 for ; Thu, 4 Nov 2021 18:00:03 -0700 (PDT) Received: by mail-yb1-xb49.google.com with SMTP id g190-20020a25dbc7000000b005c21574c704so10973410ybf.13 for ; Thu, 04 Nov 2021 18:00:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:message-id:mime-version:subject:from:to:cc; bh=BWRsLXSuRuX7m2v7ufxzsJ2Lj2A75oZX9+jsZ2D7yIw=; b=rOB7r6/fbY4l8mLPY8G3uBq2wReZq1FkHA0EBN59GTT5x8sq0UR3tghTOvqg93YHAp ka1dLR4hOsSUL+pyNB7Uqgw5s0H60ScBMNGlizFjPJ+LUQBEF+vfLk1e4OjZMgQc9Byd e2stSuja4pjQw7iO+8De8x2Vs6eNmKC3mG+rYm/fZwxHBe2DCuHQLIxmVTBTspSuerjB ajM8wiAa9HlwhqKJMh5nN/8j++sUnE3NjPtiq2nmk5TntUHB7+GvIh6497yJcl2VN2oV huoKII/Ozk5GvReIIeTaWv+F5FEfr5ssOgz+Qr4pJnTMeMZKYjN7+4OUyVi5IR9PMXaa zUYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=BWRsLXSuRuX7m2v7ufxzsJ2Lj2A75oZX9+jsZ2D7yIw=; b=maDexcYTRtpveLF0YVf1JkdkH+Vr9dLtkUN4XiNhm0e+dFpMaH9/GntXLQ3ARmYcha 601qrZCCCKX/RWe8JePQM3JSd6xaekva3byOBXADhRwDInqMZkqtvsoE902M95Pw+6iv MGJ9eVxZpdtEM2sI0TWwpYpr59C3FHqH+5x8EDgBitKveMDnWSv6OwzU3ioREpQ8LY9B gmuAd5ekrtbVrA/uM1BtIl3EIKBd6kw9VtkAxuFmF0Y3XiLwDBMQWu0TIXk7ozMD83Tj QfLYtVoC3Y5ysvmowZE8vRmT+O6Gya0d0Gb1qX+nODEGb4mZlZHSGJ7QEfqS10t4lVG3 W++g== X-Gm-Message-State: AOAM531JsZ9phwhlmNzZtzdfwxZOXLJh4VWKlqiepEyt5pqs8wa9VXD1 CzKxcEPLHhAftYELrebFR4wLymc= X-Received: from osk.cam.corp.google.com ([2620:15c:93:a:24f7:55ac:2f28:525]) (user=osk job=sendgmr) by 2002:a25:50ca:: with SMTP id e193mr48233941ybb.324.1636074002883; Thu, 04 Nov 2021 18:00:02 -0700 (PDT) Date: Thu, 4 Nov 2021 20:59:55 -0400 Message-Id: <20211105005955.107419-1-osk@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.34.0.rc0.344.g81b53c2807-goog Subject: [PATCH v2] ARM: dts: aspeed: tyan-s7106: Update nct7802 config From: Oskar Senft To: linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Joel Stanley , Andrew Jeffery , Oskar Senft Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This change updates the configuration for the nct7802 hardware monitor to correctly configure its temperature sensors. Signed-off-by: Oskar Senft --- Changes from PATCH v1: - Removed superfluous "status" from channels. --- arch/arm/boot/dts/aspeed-bmc-tyan-s7106.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-tyan-s7106.dts b/arch/arm/boot/dts/aspeed-bmc-tyan-s7106.dts index 68f332ee1886..66734e4e2ea1 100644 --- a/arch/arm/boot/dts/aspeed-bmc-tyan-s7106.dts +++ b/arch/arm/boot/dts/aspeed-bmc-tyan-s7106.dts @@ -213,6 +213,25 @@ &i2c0 { nct7802@28 { compatible = "nuvoton,nct7802"; reg = <0x28>; + channel@0 { /* LTD */ + reg = <0>; + }; + channel@1 { /* RTD1 */ + reg = <1>; + sensor-type = "temperature"; + temperature-mode = "thermistor"; + }; + + channel@2 { /* RTD2 */ + reg = <2>; + sensor-type = "temperature"; + temperature-mode = "thermistor"; + }; + + channel@3 { /* RTD3 */ + reg = <3>; + sensor-type = "temperature"; + }; }; /* Also connected to: -- 2.34.0.rc0.344.g81b53c2807-goog