Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6372223ybi; Tue, 4 Jun 2019 23:39:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqzIFidePqnz3RRPBkW0XiITHrnzaSO+PbFNbs5OcEpVyV5PCBzyXChY08RQsi4MHcpYAxZR X-Received: by 2002:a17:902:5c5:: with SMTP id f63mr41496374plf.176.1559716767245; Tue, 04 Jun 2019 23:39:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559716767; cv=none; d=google.com; s=arc-20160816; b=qtytqf0S3C90dI20+xgMrEJTioXjFz1jgpktkDoXI6srfUomEhS2bdHJGWD7yoD4WS o1mmyPr+KwHRTurlXh0qGlDe/WKe2OPq4MZgVjqnV8XvWvm6vYvoNYUa8ZQDYEEIT08U iH+srWkfKIaIGC0DLM03H09AP0bWsXIUbGX7rlgA7dJU3LeMkD1iXMGAHbE3aGBOGstO 31/gIR0eUkBgZqcCqbUJ26d0PeKCTReCflehnL7vXL8Vf6tgEaXuAT0l7fulYfrXpiW+ 16Ce/eYWICwFbVQXhgvKNYOojYGGQpPpnz/yACnm1uNNLMY2vxAjinKHLtNsnrZ5qkmK eZXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=p97nDzpbIh8OadXlsj3u8C558ApzAQXCsvAaOHxQXa8=; b=Plr0EL2lIAo+ByYBtmraAV/++xjsTFGI6Ls0KBS5DimypXYSO+MruupbhNXvGgFNNj nCfnH8BGh1wcfTQDGDWRzYVSNblYURs440z1WSfBB7sAIqBvSTpzt0guUTOsLHEJhoby Y9xKhZedoV5gItTb2AkrLHd7WEaj7nJocRnto5GR7BpaSAMece7wrcLbyv7fd+M/r8li 2Gti8hayA4THRSLYM/qi3PL+hRxXWnjsWZ8ZR9/c+SyJy3UcU6LdBD6J0P9CX9uVm/oY ghIsbLBKtjM4F90mRqVZwP8XfyVp50E/9IPqxgHEDJPOxXl2t3MOrFCcroaMQcO0XZq1 zxOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XmkNnpCx; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i3si24928090pgq.440.2019.06.04.23.39.10; Tue, 04 Jun 2019 23:39:27 -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; dkim=pass header.i=@kernel.org header.s=default header.b=XmkNnpCx; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726535AbfFEGh6 (ORCPT + 99 others); Wed, 5 Jun 2019 02:37:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:50973 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726086AbfFEGh6 (ORCPT ); Wed, 5 Jun 2019 02:37:58 -0400 Received: from dragon (li1264-180.members.linode.com [45.79.165.180]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6AE7A2075B; Wed, 5 Jun 2019 06:37:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559716677; bh=nBdxQcgsl55tdFVJsUcQMLtU2Dv9DO6ibXfHPVMrREE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XmkNnpCxD3BDra2zyezFe5+AQt5n1xFexhouAFiUgRINOXfn1rH7bC4pY/okgz8jy gojBkSw2gZTSLM3DFI6hWNxyp6nloGD9g6pXMEpvqG8QJlqt9afk78hmO/aOpIQFFx aqR5drVM/8Mv2uW7WF4BSXuwBrWmlYDPsXeHKCW0= Date: Wed, 5 Jun 2019 14:37:42 +0800 From: Shawn Guo To: Yuantian Tang 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 Subject: Re: [PATCH v2] arm64: dts: ls1028a: Add temperature sensor node Message-ID: <20190605063741.GH29853@dragon> References: <20190528022633.40124-1-andy.tang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190528022633.40124-1-andy.tang@nxp.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 28, 2019 at 10:26:33AM +0800, Yuantian Tang wrote: > 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 { Keep these i2c devices sort in unit-address order. Shawn > + 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 >