On 25 October 2012 18:11, Viresh Kumar wrote:
> On 25 October 2012 15:34, Viresh Kumar wrote:
>> On 25 October 2012 15:26, Hongbo Zhang wrote:
>
> This is what your prcmu driver's routines are doing:
>
> int db8500_prcmu_config_hotmon(u8 low, u8 high)
> {
> ...
> wait_for_completion(&mb4
On 25 October 2012 17:42, Viresh Kumar wrote:
> On 25 October 2012 15:03, Hongbo Zhang wrote:
>> On 25 October 2012 16:41, Viresh Kumar wrote:
>
>> Just paste my current pieces of codes here:
>>
>> static struct db8500_thsens_platform_data*
>> db8500_thermal_parse_dt(struct platf
On 25 October 2012 15:34, Viresh Kumar wrote:
> On 25 October 2012 15:26, Hongbo Zhang wrote:
This is what your prcmu driver's routines are doing:
int db8500_prcmu_config_hotmon(u8 low, u8 high)
{
...
wait_for_completion(&mb4_transfer.work);
...
return 0;
}
This is why others i
On 25 October 2012 15:26, Hongbo Zhang wrote:
> Verish, see the codes in include/linux/interrupt.h:
s/verish/viresh :)
> static inline int __must_check
> devm_request_irq(struct device *dev, unsigned int irq, irq_handler_t handler,
> unsigned long irqflags, const char *devname,
On 25 October 2012 17:33, Hongbo Zhang wrote:
> On 25 October 2012 16:41, Viresh Kumar wrote:
>> On 25 October 2012 13:56, Hongbo Zhang wrote:
>>
>> While replying to mails, don't remove lines like above. They help
>> identifying who
>> wrote what.
>>
>>> [...]
> +/* Callback to get temperat
On 25 October 2012 15:03, Hongbo Zhang wrote:
> On 25 October 2012 16:41, Viresh Kumar wrote:
> Just paste my current pieces of codes here:
>
> static struct db8500_thsens_platform_data*
> db8500_thermal_parse_dt(struct platform_device *pdev)
> {
> if (!np) {
>
On 25 October 2012 16:41, Viresh Kumar wrote:
> On 25 October 2012 13:56, Hongbo Zhang wrote:
>
> While replying to mails, don't remove lines like above. They help
> identifying who
> wrote what.
>
>> [...]
+/* Callback to get temperature changing trend */
+static int db8500_sys_get_tre
On 25 October 2012 13:56, Hongbo Zhang wrote:
While replying to mails, don't remove lines like above. They help
identifying who
wrote what.
> [...]
>>> +/* Callback to get temperature changing trend */
>>> +static int db8500_sys_get_trend(struct thermal_zone_device *thermal,
For example, you ca
[...]
>> +/* Callback to get temperature changing trend */
>> +static int db8500_sys_get_trend(struct thermal_zone_device *thermal,
>> + int trip, enum thermal_trend *trend)
>> +{
>> + struct db8500_thermal_zone *pzone = thermal->devdata;
>> +
>> + *trend = pzone->
On 24 October 2012 17:28, hongbo.zhang wrote:
> From: "hongbo.zhang"
>
> This diver is based on the thermal management framework in thermal_sys.c. A
> thermal zone device is created with the trip points to which cooling devices
> can be bound, the current cooling device is cpufreq, e.g. CPU frequ
From: "hongbo.zhang"
This diver is based on the thermal management framework in thermal_sys.c. A
thermal zone device is created with the trip points to which cooling devices
can be bound, the current cooling device is cpufreq, e.g. CPU frequency is
clipped down to cool the CPU, and other cooling
11 matches
Mail list logo