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
+++
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
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
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 =
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
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)
>>> +
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
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
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
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
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
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
*
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
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
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
15 matches
Mail list logo