[PATCH] drivers/spi: spi-qup: report errors on probe failures

2015-10-07 Thread Jorge Ramirez-Ortiz
Signed-off-by: Jorge Ramirez-Ortiz --- drivers/spi/spi-qup.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c index 810a7fa..01a0f47 100644 --- a/drivers/spi/spi-qup.c +++

[PATCH] drivers/spi: spi-qup: report errors on probe failures

2015-10-07 Thread Jorge Ramirez-Ortiz
Trivial patch to report errors during driver probe. -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH v2] scsi: ufs: add ioctl interface for query request

2015-10-07 Thread Yaniv Gardi
This patch exposes the ioctl interface for UFS driver via SCSI device ioctl interface. As of now UFS driver would provide the ioctl for query interface to connected UFS device. Signed-off-by: Dolev Raviv Signed-off-by: Noa Rubens Signed-off-by: Raviv

Re: [PATCH v2] scsi: ufs: add ioctl interface for query request

2015-10-07 Thread Arnd Bergmann
On Wednesday 07 October 2015 10:54:03 Yaniv Gardi wrote: > > +/* IOCTL opcode for command - ufs set device read only */ > +#define UFS_IOCTL_BLKROSET BLKROSET > + What is this for? Can't you just use the normal BLKROSET definition in user space? > + > + ioctl_data =

[PATCH v3 7/9] arm: dts: apq8064: Add thermal zones, tsens and qfprom nodes

2015-10-07 Thread Rajendra Nayak
TSENS is part of GCC, hence add TSENS properties as part of GCC node. Also add thermal zones and qfprom nodes. Cc: Andy Gross Signed-off-by: Rajendra Nayak --- arch/arm/boot/dts/qcom-apq8064.dtsi | 101 1 file

Re: [PATCH v2 2/9] thermal: qcom: tsens-8916: Add support for 8916 family of SoCs

2015-10-07 Thread Rajendra Nayak
On 09/21/2015 09:58 AM, Rajendra Nayak wrote: > [].. > >>> +static inline int code_to_degc(u32 adc_code, const struct tsens_sensor *s) >>> +{ >>> +int degc, num, den; >>> + >>> +num = (adc_code * SLOPE_FACTOR) - s->offset; >>> +den = s->slope; >>> + >>> +if (num > 0) >>> +

[PATCH v3 1/9] thermal: qcom: tsens: Add a skeletal TSENS drivers

2015-10-07 Thread Rajendra Nayak
TSENS is Qualcomms' thermal temperature sensor device. It supports reading temperatures from multiple thermal sensors present on various QCOM SoCs. Calibration data is generally read from a non-volatile memory (eeprom) device. Add a skeleton driver with all the necessary abstractions so a variety

[PATCH v3 3/9] thermal: qcom: tsens-8974: Add support for 8974 family of SoCs

2015-10-07 Thread Rajendra Nayak
Add .calibrate support for 8974 family as part of tsens_ops. Based on the original code by Siddartha Mohanadoss and Stephen Boyd. Signed-off-by: Rajendra Nayak --- drivers/thermal/qcom/Makefile | 2 +- drivers/thermal/qcom/tsens-8974.c | 239

[PATCH v3 2/9] thermal: qcom: tsens-8916: Add support for 8916 family of SoCs

2015-10-07 Thread Rajendra Nayak
Add support to calibrate sensors on 8916 family and also add common functions to read temperature from sensors (This can be reused on other SoCs having similar TSENS device) The calibration data is read from eeprom using the generic nvmem framework apis. Based on the original code by Siddartha

[PATCH v3 6/9] arm: dts: msm8974: Add thermal zones, tsens and qfprom nodes

2015-10-07 Thread Rajendra Nayak
Add thermal zones, tsens and qfprom nodes Cc: Andy Gross Signed-off-by: Rajendra Nayak --- arch/arm/boot/dts/qcom-msm8974.dtsi | 105 1 file changed, 105 insertions(+) diff --git

[PATCH v3 9/9] arm64: dts: msm8916: Add thermal zones, tsens and qfprom nodes

2015-10-07 Thread Rajendra Nayak
Add thermal zones, tsens and qfprom nodes Cc: Andy Gross Signed-off-by: Rajendra Nayak --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 66 +++ 1 file changed, 66 insertions(+) diff --git

[PATCH v3 0/9] qcom: Add support for TSENS driver

2015-10-07 Thread Rajendra Nayak
Changes since v2: * Minor review fixes from Stephen/Punit and rebase on 4.3-rc4 Changes since v1: * Created virtual tsens device from gcc driver for 8960, with DT having a single node for gcc and tsens * Minor fixes with rebasing on 4.3-rc1 Changes since RFC: * Added support for 8916 and 8084 *

[PATCH v3 8/9] arm: dts: apq8084: Add thermal zones, tsens and qfprom nodes

2015-10-07 Thread Rajendra Nayak
Add thermal zones, tsens and qfprom nodes Cc: Andy Gross Signed-off-by: Rajendra Nayak --- arch/arm/boot/dts/qcom-apq8084.dtsi | 105 1 file changed, 105 insertions(+) diff --git

Re: [PATCH v2] scsi: ufs: add ioctl interface for query request

2015-10-07 Thread ygardi
Thanks Arnd. comments inline and will upload V3 shortly Yaniv > On Wednesday 07 October 2015 10:54:03 Yaniv Gardi wrote: >> >> +/* IOCTL opcode for command - ufs set device read only */ >> +#define UFS_IOCTL_BLKROSET BLKROSET >> + > > What is this for? Can't you just use the normal BLKROSET

Re: [PATCH v2] scsi: ufs: add ioctl interface for query request

2015-10-07 Thread Arnd Bergmann
On Wednesday 07 October 2015 12:27:54 yga...@codeaurora.org wrote: > > >> + > >> +/* > >> + * IOCTL opcode for ufs queries has the following opcode after > >> + * SCSI_IOCTL_GET_PCI > >> + */ > >> +#define UFS_IOCTL_QUERY 0x5388 > > > > Use _IOWR() to define that number with