Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4475839ybi; Mon, 27 May 2019 19:36:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqz2Ubm+kMMCRPerETgyRLP4eMvihVDeIPIMC/iSuUharhitHVG3VqTuTfRRSB6WANRUn5m/ X-Received: by 2002:a17:90a:9f44:: with SMTP id q4mr2266944pjv.83.1559010990501; Mon, 27 May 2019 19:36:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559010990; cv=none; d=google.com; s=arc-20160816; b=O8yHPEG59we85J3tWtFIB8tUOWEV4kNG35l3dg7MOYtoUoTDQgBbIPBZTTrGqnTY9+ EV/eTfSBShksq8w3sdh+We27mS+ITVtlNflomxlmyZ86XcxDLjuhwGIqwvPfX6lVfUcy VzSW70OIyhnh3iCv1OEnmxjZpo1pihOAp1T9oNpTMvfzlEQh6n4B3ssBNUFwBN+93Fl5 VWt25lONsfO5hBxGyPAA23eWmu9lqH+FiL/319EJe8WCC9v4J5LYX2W2qq/a3E95SXFM N5tuocpbRVVy//Q4wwgvshwe04pXnunj7l6RBTB3yh4isO71WY1dSLDiO76d3csQHi7+ kNMw== 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; bh=12X77zjCsxMvaPlUflGUfOmy9YSj2yYv1mWKWq+zpAE=; b=slTzt7Nrk8gWRR0Z3WzS2ukIpWcI0xlJcVPxZV40L4MWonXaN384EhenEPVfDwKrJz oZluAlHttN1GdZ2soP7aFJYD03v79U+7hSvOng72Upc2sJEePAvBSpUSGftnlPZShp2f QL6NMt/Vj3VyJZ/dwLjRRwVAN6I1dx+ZqSnTdccKxWbTxyVB0kZhdEKFkQSB9KxRA3B1 uJJjfWBiVtyMAQEjbsnAFWVG6ChiHc66OR2xMD6OJY1d8gKM9iqKfin+rXRQD+KeQpPm tDC8B4DslDQBwfdzABtf+9WZ+MYhL5WPUD6NrHq39jrWH4ADyB8Pw3cZP276Di//v1w0 dS5w== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f91si1367228pjg.44.2019.05.27.19.36.15; Mon, 27 May 2019 19:36:30 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727869AbfE1Ceq (ORCPT + 99 others); Mon, 27 May 2019 22:34:46 -0400 Received: from inva020.nxp.com ([92.121.34.13]:38578 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727468AbfE1Cep (ORCPT ); Mon, 27 May 2019 22:34:45 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 5A3C41A020D; Tue, 28 May 2019 04:34:43 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 99C641A021C; Tue, 28 May 2019 04:34:39 +0200 (CEST) Received: from titan.ap.freescale.net (TITAN.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 1366C402CB; Tue, 28 May 2019 10:34:35 +0800 (SGT) From: Yuantian Tang To: shawnguo@kernel.org Cc: leoyang.li@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Yuantian Tang Subject: [PATCH v2] arm64: dts: ls1028a: Add temperature sensor node Date: Tue, 28 May 2019 10:26:33 +0800 Message-Id: <20190528022633.40124-1-andy.tang@nxp.com> X-Mailer: git-send-email 2.14.1 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add nxp sa56004 chip node for temperature monitor. Signed-off-by: Yuantian Tang --- v2: - change the node name and add vcc-supply arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 15 +++++++++++++++ arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 15 +++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts index 6571d0483c7a..f12e4f510d6e 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts @@ -47,6 +47,15 @@ regulator-always-on; }; + sb_3v3: regulator-sb3v3 { + compatible = "regulator-fixed"; + regulator-name = "3v3_vbus"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + sound { compatible = "simple-audio-card"; simple-audio-card,format = "i2s"; @@ -147,6 +156,12 @@ compatible = "atmel,24c512"; reg = <0x57>; }; + + temperature-sensor@4c { + compatible = "nxp,sa56004"; + reg = <0x4c>; + vcc-supply = <&sb_3v3>; + }; }; i2c@5 { diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts index 235ca3a83dc3..e64c28983ec9 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts @@ -43,6 +43,15 @@ regulator-always-on; }; + sb_3v3: regulator-sb3v3 { + compatible = "regulator-fixed"; + regulator-name = "3v3_vbus"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + sound { compatible = "simple-audio-card"; simple-audio-card,format = "i2s"; @@ -132,6 +141,12 @@ compatible = "nxp,pcf2129"; reg = <0x51>; }; + + temperature-sensor@4c { + compatible = "nxp,sa56004"; + reg = <0x4c>; + vcc-supply = <&sb_3v3>; + }; }; }; }; -- 2.17.1