[PATCH v3 6/9] ARM: dts: sun5i: Add cpu thermal zones to dtsi

2015-01-11 Thread Chen-Yu Tsai
The core temperature sensor now supports thermal zones. Add a thermal zone mapping for the cpus with passive cooling (cpufreq throttling). Signed-off-by: Chen-Yu Tsai Acked-by: Eduardo Valentin --- changes since v2: - Added Acked-by from Eduardo changes since v1: - Use thermal dt bin

[PATCH v3 4/9] ARM: dts: sun7i: cubieboard2: add axp209 regulator nodes

2015-01-11 Thread Chen-Yu Tsai
This patch adds the regulator nodes for the axp209 by including the axp209 dtsi. As the inputs of these regulators are from the axp209's PS output, which is basically just a mux over the 2 inputs, it is considered to be unregulated. Thus we do not provide input supply properties for them. The regu

[PATCH v3 5/9] ARM: dts: sun7i: cubietruck: add axp209 regulator nodes

2015-01-11 Thread Chen-Yu Tsai
This patch adds the regulator nodes for the axp209 by including the axp209 dtsi. As the inputs of these regulators are from the axp209's PS output, which is basically just a mux over the 2 inputs, it is considered to be unregulated. Thus we do not provide input supply properties for them. The regu

[PATCH v3 9/9] ARM: dts: sun4i: cubieboard: add axp209 regulator nodes

2015-01-11 Thread Chen-Yu Tsai
This patch adds the regulator nodes for the axp209 by including the axp209 dtsi. As the inputs of these regulators are from the axp209's PS output, which is basically just a mux over the 2 inputs, it is considered to be unregulated. Thus we do not provide input supply properties for them. The regu

[PATCH v3 3/9] ARM: dts: sun7i: Add cpu thermal zones to dtsi

2015-01-11 Thread Chen-Yu Tsai
The core temperature sensor now supports thermal zones. Add a thermal zone mapping for the cpus with passive cooling (cpufreq throttling). Signed-off-by: Chen-Yu Tsai Acked-by: Eduardo Valentin --- changes since v2: - Added Acked-by from Eduardo changes since v1: - Use thermal dt bin

[PATCH v3 8/9] ARM: dts: sun4i: Add cpu thermal zones to dtsi

2015-01-11 Thread Chen-Yu Tsai
The core temperature sensor now supports thermal zones. Add a thermal zone mapping for the cpus with passive cooling (cpufreq throttling). Signed-off-by: Chen-Yu Tsai --- changes since v2: none changes since v1: - Use thermal dt bindings macros in cooling-device --- arch/arm/boot/dt

[PATCH v3 2/9] ARM: dts: sunxi: Add dtsi for AXP209 PMIC

2015-01-11 Thread Chen-Yu Tsai
The AXP209 PMIC is used with some Allwinner SoCs. This patch adds a dtsi file listing all the regulator nodes. The regulators are initialized based on their device node names. Signed-off-by: Chen-Yu Tsai --- changes since v2: none changes since v1: - Moved interrupt controller propert

[PATCH v3 0/9] ARM: sunxi: Support cpufreq on sun[457]i

2015-01-11 Thread Chen-Yu Tsai
Hi, This is v3 of the cpufreq support series for sunxi. The series has been rebased onto the latest sunxi-next. I've dropped all the patches Maxime merged. This includes "ARM: sunxi: Register cpufreq-dt for sun[45678]i" which was merged but not published yet. Individual changes since v2 are liste

[PATCH v3 1/9] Input: sun4i-ts: Add thermal zone sensor support

2015-01-11 Thread Chen-Yu Tsai
The touchscreen controller has a temperature sensor embedded in the SoC, which already has hwmon support in the driver. Add DT thermal zone support so we can use it with cpufreq for thermal throttling. This also adds a comment stating that we do not know the actual formula for calculating the tem

[PATCH v3 7/9] ARM: dts: sun5i: hsg-h702: add axp209 regulator nodes

2015-01-11 Thread Chen-Yu Tsai
This patch adds the regulator nodes for the axp209 by including the axp209 dtsi. As the inputs of these regulators are from the axp209's PS output, which is basically just a mux over the 2 inputs, it is considered to be unregulated. Thus we do not provide input supply properties for them. The regu

Re: [PATCH v1 1/2] HID: hid-sensor-hub: Enhance get feature report API

2015-01-11 Thread Antonio Borneo
On Mon, Jan 12, 2015 at 9:55 AM, Srinivas Pandruvada wrote: > Some hid sensor feature report can contain more than one reports. > This API can now support receiving multiple values from the feature > report. > Also update the parameters in the users of this API. > > Signed-off-by: Srinivas Pandruv

Re: [PATCH] Input:Evdev Flush pending events on clk change

2015-01-11 Thread Anshul Garg
Dear Mr Dmitry , Both patch versions are same. In recent patch i have added in recipent list. In this patch as per our discussion I have done changes for client pending event flush functionality in evdev_queue_syn_dropped api by addition of one more boolean parameter "flush". Hope to hear fro

[PATCH v1] Asynchronous attribute reads

2015-01-11 Thread Srinivas Pandruvada
v1 Squashed into a single patch for bisectability. v0 Separate patches for each driver/module Srinivas Pandruvada (1): HID: hid-sensor-hub: Extend API for async reads drivers/hid/hid-sensor-hub.c | 15 ++- drivers/iio/accel/hid-sensor-accel-3d.c | 3 ++- dr

[PATCH v1] HID: hid-sensor-hub: Extend API for async reads

2015-01-11 Thread Srinivas Pandruvada
Add additional flag to read in async mode. In this mode the caller will get reply via registered callback for capture_sample. Callbacks can be registered using sensor_hub_register_callback function. The usage id parameter of the capture_sample can be matched with the usage id of the requested attri

[PATCH v1 1/2] HID: hid-sensor-hub: Enhance get feature report API

2015-01-11 Thread Srinivas Pandruvada
Some hid sensor feature report can contain more than one reports. This API can now support receiving multiple values from the feature report. Also update the parameters in the users of this API. Signed-off-by: Srinivas Pandruvada --- drivers/hid/hid-sensor-hub.c | 16 ++

[PATCH v1 2/2] HID: hid-sensor-hub: Enhance feature report set API

2015-01-11 Thread Srinivas Pandruvada
Current API only allows setting one offset in the field. This API is extended to set multiple offsets in the field report. Also update parameters in the users of this API. Signed-off-by: Srinivas Pandruvada --- drivers/hid/hid-sensor-hub.c | 22 -- .../i

[PATCH v1 0/2] Enhance feature report APIs

2015-01-11 Thread Srinivas Pandruvada
Current get and set feature report is enhanced to have multiple values in get and set. v1 Squashed into two patches one for get and one for set feature report for bisectability. v0 Separate patches for each driver/modules Srinivas Pandruvada (2): HID: hid-sensor-hub: Enhance get feature report

Re: [PATCH 5/7] input: alps: Fix name, product and version of dev2 input device

2015-01-11 Thread Dmitry Torokhov
On Fri, Nov 14, 2014 at 08:38:24PM +0100, Pali Rohár wrote: > This patch fix name, product and version of dev2 input device based on format > used in function psmouse_switch_protocol() in file psmouse-base.c. > > Signed-off-by: Pali Rohár Applied, thank you. > --- > drivers/input/mouse/alps.c

Re: [PATCH 6/7] input: alps: Add sanity checks for non DualPoint devices

2015-01-11 Thread Dmitry Torokhov
On Fri, Nov 14, 2014 at 08:38:25PM +0100, Pali Rohár wrote: > This patch adds sanity checks and reject trackstick packets from ALPS devices > which do not have trackstick present (those without ALPS_DUALPOINT flag). > > Make sure that driver does not process some bogus packets as trackstick data >

Re: [PATCH 2/9] iio: hid-sensor-accel-3d: Adjust parameter for attribute read

2015-01-11 Thread Srinivas Pandruvada
On 01/11/2015 03:08 PM, Srinivas Pandruvada wrote: On 01/10/2015 02:42 PM, Jonathan Cameron wrote: On 07/01/15 18:47, Srinivas Pandruvada wrote: The new API added a flag for sync/async mode. Added sync mode flag. Signed-off-by: Srinivas Pandruvada Again, please don't break the build betwe

Re: [PATCH 2/9] iio: hid-sensor-accel-3d: Adjust parameter for attribute read

2015-01-11 Thread Srinivas Pandruvada
On 01/10/2015 02:42 PM, Jonathan Cameron wrote: On 07/01/15 18:47, Srinivas Pandruvada wrote: The new API added a flag for sync/async mode. Added sync mode flag. Signed-off-by: Srinivas Pandruvada Again, please don't break the build between patches like this. As we did in the past, the hid s

Re: [PATCH] Input:Evdev Flush pending events on clk change

2015-01-11 Thread Dmitry Torokhov
Hi Anshul, On Sun, Jan 11, 2015 at 07:54:52AM -0800, Anshul Garg wrote: > From: Anshul Garg > > If client clk_type is changed , flush pending events > from client buffer as events time would be incorrect > and queue SYN_DROPPED event. > Added check for duplicate clk_type change request. What ha

[PATCH] Input:Evdev Flush pending events on clk change

2015-01-11 Thread Anshul Garg
From: Anshul Garg If client clk_type is changed , flush pending events from client buffer as events time would be incorrect and queue SYN_DROPPED event. Added check for duplicate clk_type change request. Signed-off-by: Anshul Garg --- drivers/input/evdev.c | 56 +-

Re: [PATCH] m68k/atari: Remove obsolete keyboard_tasklet scheduling

2015-01-11 Thread Geert Uytterhoeven
Hi Michael, On Sun, Aug 31, 2014 at 11:16 AM, Geert Uytterhoeven wrote: > On Sun, Aug 31, 2014 at 11:07 AM, Michael Schmitz > wrote: >>> If CONFIG_VT=n: >>> >>> arch/m68k/atari/built-in.o: In function `atari_keyboard_interrupt': >>> atakeyb.c:(.text+0x1846): undefined reference to `keyboard_tas