Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4011705ybi; Mon, 10 Jun 2019 22:51:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqxRzIGBUTysiPgCqcSB4rkUw3dXzJoMQKTsN5u6aopP30yuwaLXrNAq3tRG9cv9gD6L0wgn X-Received: by 2002:a17:902:b094:: with SMTP id p20mr9103638plr.337.1560232306915; Mon, 10 Jun 2019 22:51:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560232306; cv=none; d=google.com; s=arc-20160816; b=rSat0KkzeERqjcae3l1nH+o1gPPXTugehwBWYkAHJwVwwqEoc9FLIsGB8pySK/4wxt uSzoga7RzYwPSx+ceuyorCKXrvROrrOKCz/6uy09mLlRiPdsYE/0ijQ1ytKeJibOaIiU GlLornLYDt5EN1rrppFqx3Sc8SWAF4DUbZRrDzzE2vB0VaLdDbTB5y0kS4w+lqENxu13 7/gbzfKQ1+l6CU7wPaf/cPGhXABO4Q3of5riOhxbjyaiW6gboaebAPuV2YJ9xD7NSnp/ wL68gK6Zb6e6RyC8+ELOM5Rv9wqveFA8O8kIHOcRzEocIrldA4G7eSEB5hntsLPlXyut wTow== 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=kQM44c0SlnLl4QAj1sRGGPr1cjPosDZ1Of4hOm6X0fo=; b=VLgD3m86ZEp54lMW4vGESkgZnL1cHC/QpXgt1H6u3So2SRa3UwEwfGxzn06T0sebsb DMzAolxMFRrggUq9/k/ftrbK52jqShsy0aakmR8Jd5pCAPuN1QSPxwgALmvvg1N5X6Jh m63G3hhyd7ZBB8ac7BzTFYRcpldAMQB/+CJIX5TVjNbXgajyFHaBh0mbHipU1Fr/S+CU xX2WuH33smX+r+56BxZdcveI9zMxThcBKVHoT8UuSIqvCZgKoweC2WiZ2znVuXzp4OOT 7rrmiZ9Qpgix65zZcN3P6LXuC3HYOzxbcWepdsXLTqNCYf8r7Q6eEg1h4rg+cdHW27i7 f/OQ== 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 o188si11586814pgo.489.2019.06.10.22.51.31; Mon, 10 Jun 2019 22:51:46 -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 S2403997AbfFKFvK (ORCPT + 99 others); Tue, 11 Jun 2019 01:51:10 -0400 Received: from inva021.nxp.com ([92.121.34.21]:47100 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403745AbfFKFvJ (ORCPT ); Tue, 11 Jun 2019 01:51:09 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 345CA200945; Tue, 11 Jun 2019 07:51:07 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 73052200954; Tue, 11 Jun 2019 07:51:03 +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 E025E402CA; Tue, 11 Jun 2019 13:50:58 +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 v3] arm64: dts: ls1028a: Add temperature sensor node Date: Tue, 11 Jun 2019 13:42:44 +0800 Message-Id: <20190611054244.35269-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 --- v3: - sort the node in i2c address 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(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts index b359068..960daf2 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"; @@ -117,6 +126,12 @@ #size-cells = <0>; reg = <0x3>; + temperature-sensor@4c { + compatible = "nxp,sa56004"; + reg = <0x4c>; + vcc-supply = <&sb_3v3>; + }; + rtc@51 { compatible = "nxp,pcf2129"; reg = <0x51>; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts index f9c272f..6a22423 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"; @@ -115,6 +124,12 @@ #size-cells = <0>; reg = <0x3>; + temperature-sensor@4c { + compatible = "nxp,sa56004"; + reg = <0x4c>; + vcc-supply = <&sb_3v3>; + }; + rtc@51 { compatible = "nxp,pcf2129"; reg = <0x51>; -- 1.7.1