Re: [PATCH v2] mfd: intel_soc_pmic_bxtwc: Add Intel BXT WhiskeyCove PMIC ADC thermal channel-zone mapping

2016-06-20 Thread Bin Gao
On Mon, Jun 20, 2016 at 09:52:00AM +0100, Lee Jones wrote: > > > > > +static struct trip_config_map str3_trip_config[] = { > > > > > + { > > > > > + .irq_reg = BXTWC_THRM2IRQ, > > > > > + .irq_mask = 0x10, > > > > > + .irq_en = BXTWC_MTHRM2IRQ, > > > > > +

Re: [PATCH v2] mfd: intel_soc_pmic_bxtwc: Add Intel BXT WhiskeyCove PMIC ADC thermal channel-zone mapping

2016-06-20 Thread Lee Jones
On Mon, 20 Jun 2016, Lee Jones wrote: > On Sun, 19 Jun 2016, Bin Gao wrote: > > On Fri, Jun 17, 2016 at 09:01:59AM +0100, Lee Jones wrote: > > > > +static struct trip_config_map str0_trip_config[] = { > > > > + { > > > > + .irq_reg = BXTWC_THRM0IRQ, > > > > + .irq

Re: [PATCH v2] mfd: intel_soc_pmic_bxtwc: Add Intel BXT WhiskeyCove PMIC ADC thermal channel-zone mapping

2016-06-20 Thread Lee Jones
On Sun, 19 Jun 2016, Bin Gao wrote: > On Fri, Jun 17, 2016 at 09:01:59AM +0100, Lee Jones wrote: > > > +static struct trip_config_map str0_trip_config[] = { > > > + { > > > + .irq_reg = BXTWC_THRM0IRQ, > > > + .irq_mask = 0x01, > > > + .irq_en = BXTWC_MTHRM0IRQ, > > > +

Re: [PATCH v2] mfd: intel_soc_pmic_bxtwc: Add Intel BXT WhiskeyCove PMIC ADC thermal channel-zone mapping

2016-06-19 Thread Bin Gao
On Fri, Jun 17, 2016 at 09:01:59AM +0100, Lee Jones wrote: > > +static struct trip_config_map str0_trip_config[] = { > > + { > > + .irq_reg = BXTWC_THRM0IRQ, > > + .irq_mask = 0x01, > > + .irq_en = BXTWC_MTHRM0IRQ, > > + .irq_en_mask = 0x01, > > +

Re: [PATCH v2] mfd: intel_soc_pmic_bxtwc: Add Intel BXT WhiskeyCove PMIC ADC thermal channel-zone mapping

2016-06-17 Thread Lee Jones
On Thu, 16 Jun 2016, Bin Gao wrote: > This patch adds the mapping of PMIC ADC channel to thermal zone. > This mapping is used in the pmic thermal driver to notify the thermal > zone with the pmic adc channel alert interrupts. > This patch also adds three new data structures to > include/linux/mfd/

[PATCH v2] mfd: intel_soc_pmic_bxtwc: Add Intel BXT WhiskeyCove PMIC ADC thermal channel-zone mapping

2016-06-16 Thread Bin Gao
This patch adds the mapping of PMIC ADC channel to thermal zone. This mapping is used in the pmic thermal driver to notify the thermal zone with the pmic adc channel alert interrupts. This patch also adds three new data structures to include/linux/mfd/intel_soc_pmic.h: struct trip_config_map{}, str