From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Gross Subject: Re: [PATCH/RESEND] thermal: qcom-spmi: Treat reg property as a single cell Date: Mon, 24 Oct 2016 14:27:25 -0500 Message-ID: <20161024192725.GI3145@hector.attlocal.net> References: <20161018234019.5489-1-sboyd@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pf0-f172.google.com ([209.85.192.172]:35003 "EHLO mail-pf0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752560AbcJXT11 (ORCPT ); Mon, 24 Oct 2016 15:27:27 -0400 Received: by mail-pf0-f172.google.com with SMTP id s8so103890930pfj.2 for ; Mon, 24 Oct 2016 12:27:27 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20161018234019.5489-1-sboyd@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Stephen Boyd Cc: Zhang Rui , Eduardo Valentin , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, "Ivan T . Ivanov" On Tue, Oct 18, 2016 at 04:40:19PM -0700, Stephen Boyd wrote: > We only read the first element of the reg property to figure out > the offset of the temperature sensor inside the PMIC. > Furthermore, we want to remove the second element in DT, so just > don't read the second element so that probe keeps working if we > change the DT in the future. > > Cc: Ivan T. Ivanov > Signed-off-by: Stephen Boyd Reviewed-by: Andy Gross From mboxrd@z Thu Jan 1 00:00:00 1970 From: andy.gross@linaro.org (Andy Gross) Date: Mon, 24 Oct 2016 14:27:25 -0500 Subject: [PATCH/RESEND] thermal: qcom-spmi: Treat reg property as a single cell In-Reply-To: <20161018234019.5489-1-sboyd@codeaurora.org> References: <20161018234019.5489-1-sboyd@codeaurora.org> Message-ID: <20161024192725.GI3145@hector.attlocal.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Oct 18, 2016 at 04:40:19PM -0700, Stephen Boyd wrote: > We only read the first element of the reg property to figure out > the offset of the temperature sensor inside the PMIC. > Furthermore, we want to remove the second element in DT, so just > don't read the second element so that probe keeps working if we > change the DT in the future. > > Cc: Ivan T. Ivanov > Signed-off-by: Stephen Boyd Reviewed-by: Andy Gross