Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1015636ybi; Fri, 24 May 2019 15:33:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqyD7XpRbH8r9kHcDhgt47nUFxZtZzN1bvNhYCWHmORs1QjIAdLDRc203dI/YgB9gz2YTF/w X-Received: by 2002:a17:90a:7305:: with SMTP id m5mr12165275pjk.84.1558737213991; Fri, 24 May 2019 15:33:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558737213; cv=none; d=google.com; s=arc-20160816; b=Jp/QONqeA+ENwsnwRB+eyJ7bGXyZBngbOMqVMUI5Eay7LO+s4CUgiMh1l7gnczRnea cJRNfdZhk4eVvuHg3h/sVU8iWwzzWM0ZY+K2cl3wjpUMtKMAV/yfI5skbZ6WwRSOnUlI EFPX66KfsMXS6dWeGRSiDKcboMQBEZ16nw0t5DrhAm6bGfS1l+RxwKQjnYyMyPsmSJOf MHAIq+kLhLYesOKg9l3NSzz/oSpOEMpEcuRaABjvarmiXh9EU8DwLOVqqcnOmFK4pDM/ dZ06UZzeV2sSGDFG079bpAc2BEAhIgz51Cu4MFkxtqaK7sxtIPTKm/HBGF8BA+OUlG1n 0IdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=MVeRAKhCRQ02qZS9WMOT7P0FRvYl1V3YDTvinSJEfGc=; b=a09kebK6b8TLRF7NO/Jyl8O72A+0PdH1UyIkMQvrSJzMDeqmfLnHIWToGqwkXfRmPz YxhvkkEycSa1DCen33zokKSBOm9nJNUVsXA9K2ptXm1ubtFORgLb051hVIvG/HCe9fi7 zmw5Amr6pFOQyk2KHELYxBCFp7BdVyvTJlJvC1SaOai9rPA/xQ6wHFOWoJ6KsxOKquoZ DMLNMlQJcrg2+diz9Bjf+Gtk5tCHKtu2QSg1Pd7ZlFWbm+1M/GYEnlrvoJ+0XYoFu3Bp H+qNM3pDVi6A+ageYKT+KBIvVpEjsNfQMjW7FHTVAS0+PzdZTulA9XhjNRJmLkapFhtx faTA== 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 d24si1215154pgk.106.2019.05.24.15.33.18; Fri, 24 May 2019 15:33:33 -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 S2404386AbfEXWcL (ORCPT + 99 others); Fri, 24 May 2019 18:32:11 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:35339 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404176AbfEXWcK (ORCPT ); Fri, 24 May 2019 18:32:10 -0400 Received: by mail-ot1-f68.google.com with SMTP id n14so10107588otk.2; Fri, 24 May 2019 15:32:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MVeRAKhCRQ02qZS9WMOT7P0FRvYl1V3YDTvinSJEfGc=; b=QYpqU2LNG33XuZDh3KHkAfGzoCU/ce312YNG6R47+HxEGgFE6YIqczhQMpd9nVW0bl eAuRS4PQCOBBOpeYNlANAe07HhRYm1zJ0o4FM/1Qij62+RuH0neM/MFIJhLn8EKg6kIe QNZWkY1pgQVEfOm78tYhG9G6j5ywqvDmgXAYBhTFN3B/VfNWYgnryE/vRpMPCAPt8lAI BgTNxs2y0+lxPBqQWqgURABMGwTsD33VeSye41HXENiqbw5Ev9uoGVAOCc1JZEw/IMpr ltWAHVT3xuuTa1/CTGj72Mg0DHH1jd4FgGQTHxqGXjVRLZTlH3hUX8m0TuO3ykkHoZEP Kacw== X-Gm-Message-State: APjAAAVtxusubqHky5JcFupYUIBykA4giTFDuOIndTN8fXDCgF9iZRnl bc7ruIuPjhLKOOZQMSuwbeiLltUtpyg= X-Received: by 2002:a9d:6e17:: with SMTP id e23mr35208419otr.258.1558737129778; Fri, 24 May 2019 15:32:09 -0700 (PDT) Received: from mail-oi1-f172.google.com (mail-oi1-f172.google.com. [209.85.167.172]) by smtp.gmail.com with ESMTPSA id v134sm1403132oie.54.2019.05.24.15.32.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 May 2019 15:32:09 -0700 (PDT) Received: by mail-oi1-f172.google.com with SMTP id 203so8129437oid.13; Fri, 24 May 2019 15:32:08 -0700 (PDT) X-Received: by 2002:aca:5f07:: with SMTP id t7mr2665286oib.175.1558737128772; Fri, 24 May 2019 15:32:08 -0700 (PDT) MIME-Version: 1.0 References: <20190524012151.31840-1-andy.tang@nxp.com> In-Reply-To: <20190524012151.31840-1-andy.tang@nxp.com> From: Li Yang Date: Fri, 24 May 2019 17:31:57 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] arm64: dts: ls1028a: Add temperature sensor node To: Yuantian Tang Cc: Shawn Guo , Rob Herring , Mark Rutland , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , lkml Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 23, 2019 at 8:30 PM Yuantian Tang wrote: > > Add nxp sa56004 chip node for temperature monitor. > > Signed-off-by: Yuantian Tang > --- > arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 5 +++++ > arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 5 +++++ > 2 files changed, 10 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts > index b359068d9605..31fd626dd344 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts > @@ -131,6 +131,11 @@ > compatible = "atmel,24c512"; > reg = <0x57>; > }; > + > + temp@4c { The recommended name for temperature senor in dts spec is temperature-sensor. > + compatible = "nxp,sa56004"; The binding says the following property is required. If it is not the case, probably we should update the binding. - vcc-supply: vcc regulator for the supply voltage. > + reg = <0x4c>; > + }; > }; > > 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 f9c272fb0738..012b3f8696b7 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts > @@ -119,6 +119,11 @@ > compatible = "nxp,pcf2129"; > reg = <0x51>; > }; > + > + temp@4c { > + compatible = "nxp,sa56004"; > + reg = <0x4c>; > + }; > }; > }; > }; > -- > 2.17.1 >