Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1424124

Re: [PATCH 1/3] include/linux/mfd/intel_soc_pmic.h: add new data structures

Path csiph.com!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Lee Jones <lee.jones@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/3] include/linux/mfd/intel_soc_pmic.h: add new data structures
Date Thu, 16 Jun 2016 16:40:01 +0200
Message-ID <rKGCB-14P-3@gated-at.bofh.it> (permalink)
References <rIM9s-xo-11@gated-at.bofh.it> <rKGsX-11v-47@gated-at.bofh.it>
X-Original-To Bin Gao <bin.gao@linux.intel.com>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=cxGb7UQozqnOVDisNVgplJCCz57na3BcAJMCF7Etz4I=; b=CaXDzq95r/amOck4op25EAEJIHgJfn4gXBSBZuIG6HfN/7+kPbEUTa/AviAkeQkiL4 g/Pv+j7QABspIL30uhNeZchKTx1aqEvfDz/dutYcBbPDlg60Lh3bDlOGycrp3INqSHy/ YvcNru1SR7HuXoIvvHhN7oHw4xXXaNOCK1/EQ=
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=cxGb7UQozqnOVDisNVgplJCCz57na3BcAJMCF7Etz4I=; b=E1oMps3Qu4d+/rMu1ulJQA70opWVa3GQuEQ/ttlgsFf498foxh0rvWbz2KcyrK9DCu Ti3dwF2Dt2M9OIbSugEmVn5UIZmpeEFSA2xcRstT4ZMAU53bcOKi3OYHUHkBMToG2Wnh Fb4oEHX/Ffnm4gPYJH6LVfLt8DOZmXTUAaPsutyhzBgk9stCalXMVjQdQx1hNazco4hl HohKYtISBkD0wubz6E2FlEpFulf4HYLCukPdK7j8hk6OAHVmeyJ/CnycWec2V2PK5R/3 QAj8SBIOu1xCHL8IPhcj+J1nbwj/QRhz8UNLQkUFvtqZdR4ceGkhdISrM/1Fh/qs24Fd BFYQ==
X-Gm-Message-State ALyK8tIC48FqV6R+qLI9ep1o9y82JsC/CC45g/yDeynXSel10QWar2t19gDIaHtye7fC4+Rw
X-Received by 10.194.116.229 with SMTP id jz5mr937362wjb.180.1466087560280; Thu, 16 Jun 2016 07:32:40 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
Content-Transfer-Encoding 8bit
User-Agent Mutt/1.5.24 (2015-08-30)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 65
Organization linux.* mail to news gateway
X-Original-Cc Zhang Rui <rui.zhang@intel.com>, Eduardo Valentin <edubezval@gmail.com>, linux-kernel@vger.kernel.org, ysiyer <yegnesh.s.iyer@intel.com>, Ajay Thomas <ajay.thomas.david.rajamanickam@intel.com>, Bin Gao <bin.gao@intel.com>
X-Original-Date Thu, 16 Jun 2016 15:33:22 +0100
X-Original-Message-ID <20160616143322.GA4948@dell>
X-Original-References <20160611080844.GB92337@worksta> <20160616142646.GX4948@dell>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1424124

Show key headers only | View raw


On Thu, 16 Jun 2016, Lee Jones wrote:

> On Sat, 11 Jun 2016, Bin Gao wrote:
> 
> > This patch adds three new data structures: struct trip_config_map {},
> > struct thermal_irq_map {} and struct pmic_thermal_data {} which are
> > required by some new drivers.
> > 
> > Signed-off-by: ysiyer <yegnesh.s.iyer@intel.com>
> > Signed-off-by: Bin Gao <bin.gao@intel.com>
> > ---
> >  include/linux/mfd/intel_soc_pmic.h | 21 +++++++++++++++++++++
> >  1 file changed, 21 insertions(+)
> 
> Please place the addition of the structs into the patches which use
> them first.

Oh, and when you submit patch-sets, please ensure they are
'threaded'.  Or else they have a tendency to spread themselves to the
four winds in people's Inboxes.

Please fix the subject line too (in all of your patches).  To help
with this you should always do a:

  `git log --oneline -- <subsystem>`

> > diff --git a/include/linux/mfd/intel_soc_pmic.h b/include/linux/mfd/intel_soc_pmic.h
> > index cf619db..7df4302 100644
> > --- a/include/linux/mfd/intel_soc_pmic.h
> > +++ b/include/linux/mfd/intel_soc_pmic.h
> > @@ -21,6 +21,27 @@
> >  
> >  #include <linux/regmap.h>
> >  
> > +struct trip_config_map {
> > +	u16 irq_reg;
> > +	u16 irq_en;
> > +	u16 evt_stat;
> > +	u8 irq_mask;
> > +	u8 irq_en_mask;
> > +	u8 evt_mask;
> > +	u8 trip_num;
> > +};
> > +
> > +struct thermal_irq_map {
> > +	char handle[20];
> > +	int num_trips;
> > +	struct trip_config_map *trip_config;
> > +};
> > +
> > +struct pmic_thermal_data {
> > +	struct thermal_irq_map *maps;
> > +	int num_maps;
> > +};
> > +
> >  struct intel_soc_pmic {
> >  	int irq;
> >  	struct regmap *regmap;
> 

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH 1/3] include/linux/mfd/intel_soc_pmic.h: add new data  structures Lee Jones <lee.jones@linaro.org> - 2016-06-16 16:30 +0200
  Re: [PATCH 1/3] include/linux/mfd/intel_soc_pmic.h: add new data  structures Lee Jones <lee.jones@linaro.org> - 2016-06-16 16:40 +0200

csiph-web