Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp3632610ybh; Mon, 5 Aug 2019 22:40:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqzGpg3OmJE0lw3qvvx5Xig6knF92FDTGq7X4Cf0qZouwS27jZ3V3L4+NPD8LGyFTpo/KfP7 X-Received: by 2002:a63:6686:: with SMTP id a128mr1401254pgc.361.1565070043231; Mon, 05 Aug 2019 22:40:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565070043; cv=none; d=google.com; s=arc-20160816; b=l1abOeLBOaaHRZh46hfoBLe1brr0CEPBXQLcpno5C3Ry4RE5/MvLuc4AAVKbppFCob 8Bu5zH32fe0CbHU3QO2KGPQ6gERWiiXTK4tBIAZRpjDleZJlE1YEcmB1a0KJyYYBy7R/ J6bE6a6WHiKr6xKH5EloKKEMEKNtB1j+uPxJJ4Pu9NzZsK+Aut2bExmnA25+xLsrIVl7 EnCbM74NIYwx3vDtAPvpnD45Mt0swWqJJEb9tca8wrEL2yOYFt0N+VuxvwRvGeh4gw/S JaEQ0k+Hh2GPFvP9IJ6NLM/Bo4Bjn0uSDdbVaN24dcitkca82r5M24RFJYFbkrChM005 Ag5A== 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=ka0CEcwB6TffXBe0uai9hVrhC7LNkgCE/jM7086/2fwvHZVjCL33R7BFYXTByflNIy zfaYHpxTT4/lpm1NIMUSqZAQ4J6l0iuRdVKPXQBO5LMTVpEARW8aWZ9G4Ba6S53EC2LT T0peOhzIZmXJWJ2onkdyWbdbLFxp8JDBqNJAlQTwLsxWIO5DS1Jdr4naU9dJfFbSnHbd A1o6K4TD0V0uEJMUtvA2ASNVdB5/xmIu0xubMDbRe8NS/L+JTzg7hfffm97gsLylpuJN G9fo6gABsmBFljufLsvKCDCqmMSDl67K4NPUaccHtoX1wHIPllkuhs8ojoJTQIQcuZ/F hgnw== 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 g4si9439339pgj.99.2019.08.05.22.40.27; Mon, 05 Aug 2019 22:40:43 -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 S1731646AbfHFFjt (ORCPT + 99 others); Tue, 6 Aug 2019 01:39:49 -0400 Received: from inva021.nxp.com ([92.121.34.21]:44468 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725798AbfHFFjt (ORCPT ); Tue, 6 Aug 2019 01:39:49 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 504EF200076; Tue, 6 Aug 2019 07:39:47 +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 DD26A20023D; Tue, 6 Aug 2019 07:39:42 +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 337CD402DD; Tue, 6 Aug 2019 13:39:37 +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, 6 Aug 2019 13:30:04 +0800 Message-Id: <20190806053004.36956-1-andy.tang@nxp.com> X-Mailer: git-send-email 2.9.5 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