indio_dev was unused in function body plus some small style fix - add new
lines after "if(sth) return sth" and before the last return statement.
Change-Id: I9495c778dc7bc87cc4503e890397b576966c44fd
Signed-off-by: Karol Wrona
---
drivers/iio/kfifo_buf.c |4 +++-
include
ocate refactored.
I apologise if I missed something and it was done in such way intentionally.
Karol Wrona (2):
iio: kfifo: Remove unused argument in iio_kfifo_allocate
iio: kfifo: Add resource management devm_iio_kfifo_allocate/free
drivers/iio/kfifo_buf.c |
iio kfifo allocate/free gained their devm_ wrappers.
Change-Id: I10c19ccd7c01491caf088b3629137425ddccd29c
Signed-off-by: Karol Wrona
Suggested-by: Jonathan Cameron
---
drivers/iio/kfifo_buf.c | 54 +
include/linux/iio/kfifo_buf.h |3 +++
2
Add sensorhub bindings for sensorhub on Galaxy Gear 2.
Change-Id: I4ee25aef33c21a4662de230841de9a8684f2c26b
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
.../devicetree/bindings/iio/sensorhub.txt | 46
1 file changed, 46 insertions(+)
create mode
This patch adds accelerometer iio driver which uses sensorhub as data
provider.
Change-Id: I4686741b7401ec5cbf4b5d0f2a5cc146fbe24d53
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/iio/accel/Makefile |1 +
drivers/iio/accel/ssp_accel_sensor.c | 203
- Fixes after Hartmut Knaack review
- Sensorhub driver was moved from misc to iio after the discussion with Arnd
and Jonathan
- Firmware upgrade is not supported in this patchset. I hope it will be
applied when it will find its own place in the tree.
Karol Wrona (5):
iio: common: ssp_s
This patch adds common library for sensorhub iio drivers.
Change-Id: I1038cb31c051f7e8ffde696a4121518daa5af081
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/iio/common/ssp_sensors/ssp_iio.c| 82 +++
drivers/iio/common/ssp_sensors/ssp_iio_sensor.h
sensorhub MCU to communicate with sensors.
Change-Id: I4f066e9f3f477d4f6faabd4507be98e32f79e344
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/iio/common/Kconfig |1 +
drivers/iio/common/Makefile |1 +
drivers/iio/common/ssp_sensors/Kconfig | 24
This patch adds gyroscope iio driver which uses sensorhub as data
provider.
Change-Id: Ia16bc92159d062a29957de8e62ea3fefdcd7985a
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/iio/gyro/Makefile |2 +
drivers/iio/gyro/ssp_gyro_sensor.c | 202
On 12/05/2014 08:54 PM, Karol Wrona wrote:
This patchset adds support for sensorhub. It is an external mcu which
manages and collects data from several sensors i.e. on Galaxy Gear 2 watch.
It contains:
- spi driver for sensorhub device
- DT binding for the device
- IIO common utils for ssp
On 12/06/2014 03:52 PM, Jonathan Cameron wrote:
On 05/12/14 19:54, Karol Wrona wrote:
This patch adds accelerometer iio driver which uses sensorhub as data
provider.
Change-Id: I4686741b7401ec5cbf4b5d0f2a5cc146fbe24d53
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/iio
[...]
>> +EXPORT_SYMBOL(ssp_common_setup_buffer);
>> diff --git a/drivers/iio/common/ssp_sensors/ssp_iio_sensor.h
>> b/drivers/iio/common/ssp_sensors/ssp_iio_sensor.h
>> new file mode 100644
>> index 000..4b79be0
>> --- /dev/null
>> +++ b/drivers/iio/common/ssp_sensors/ssp_iio_sensor.h
>> @@ -
This patch adds accelerometer iio driver which uses sensorhub as data
provider.
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/iio/accel/Makefile |1 +
drivers/iio/accel/ssp_accel_sensor.c | 170 ++
2 files changed, 171 insertions
4aa3b17e9f66221e2fa44bee
iio: Move buffer registration to the core
Karol
Karol Wrona (5):
iio: common: ssp_sensors: Add sensorhub driver
iio: sensorhub: Add sensorhub bindings
iio: common: ssp_sensors: Add sensorhub iio commons
iio: common: ssp_sensors: Add sensorhub accelerometer sens
This patch adds gyroscope iio driver which uses sensorhub as data
provider.
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/iio/gyro/Makefile |2 +
drivers/iio/gyro/ssp_gyro_sensor.c | 169
2 files changed, 171 insertions
From: Lars-Peter Clausen
Originally device and buffer registration were kept as separate operations
in IIO to allow to register two distinct sets of channels for buffered and
non-buffered operations. This has since already been further restricted and
the channel set registered for the buffer need
This patch adds common library for sensorhub iio drivers.
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/iio/common/ssp_sensors/ssp_iio.c| 107 +++
drivers/iio/common/ssp_sensors/ssp_iio_sensor.h | 70 +++
2 files changed, 177
sensorhub MCU to communicate with sensors.
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/iio/common/Kconfig |1 +
drivers/iio/common/Makefile |1 +
drivers/iio/common/ssp_sensors/Kconfig | 25 ++
drivers/iio/common/ssp_sensors/Makefile |8
Add sensorhub bindings for sensorhub on Galaxy Gear 2.
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
.../devicetree/bindings/iio/sensorhub.txt | 25
1 file changed, 25 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/sensorhub.txt
Please, ignore that. This one was sent by accident.
On 01/14/2015 05:09 PM, Karol Wrona wrote:
> From: Lars-Peter Clausen
>
> Originally device and buffer registration were kept as separate operations
> in IIO to allow to register two distinct sets of channels for buffered and
&g
There was a need for non triggered software buffer type. It can be used when
triggered model does not fit and INDIO_BUFFER_HARDWARE causes confusion because
the data stream can be obtained not directly form hardware backend.
Suggested-by: Jonathan Cameron
Signed-off-by: Karol Wrona
These ones helps to create and manage iio_kfifo buffer when
no-triggered buffer is used.
Signed-off-by: Karol Wrona
Suggested-by: Jonathan Cameron
---
drivers/iio/Kconfig |6 +++
drivers/iio/Makefile |1 +
drivers/iio/industrialio
this one to be sure if I do not
missed something. TI's AM335X ADC driver uses kfifo directly but without
triggered buffer/trigger in its sources so I hope there should be no problem
with that.
Thanks,
Karol
Karol Wrona (2):
iio: Add no-triggered buffer helper functions
iio: Deselect IIO_T
iio kfifo can be used without trigger support so there is no need to build it.
Signed-off-by: Karol Wrona
---
drivers/iio/Kconfig |1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/iio/Kconfig b/drivers/iio/Kconfig
index 50f6599..dfda2c3 100644
--- a/drivers/iio/Kconfig
+++ b/drivers
On 01/10/2015 07:22 PM, Jonathan Cameron wrote:
> On 10/01/15 11:10, Lars-Peter Clausen wrote:
>> On 01/08/2015 05:40 PM, Karol Wrona wrote:
>>> These ones helps to create and manage iio_kfifo buffer when
>>> no-triggered buffer is used.
>> [...]
>>>
Add sensorhub bindings for sensorhub on Galaxy Gear 2.
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
.../devicetree/bindings/iio/sensorhub.txt | 25
1 file changed, 25 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/sensorhub.txt
om v4:
- fix Kconfig - missing MFD_CORE dependency
- rebase on next-20150128
- remove THIS_MODULE usage in sensors' drivers as not needed
Thanks,
Karol
Karol Wrona (5):
iio: common: ssp_sensors: Add sensorhub driver
iio: sensorhub: Add sensorhub bindings
iio: common: ssp_sensors: Ad
This patch adds accelerometer iio driver which uses sensorhub as data
provider.
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/iio/accel/Makefile |1 +
drivers/iio/accel/ssp_accel_sensor.c | 169 ++
2 files changed, 170 insertions
This patch adds gyroscope iio driver which uses sensorhub as data
provider.
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/iio/gyro/Makefile |2 +
drivers/iio/gyro/ssp_gyro_sensor.c | 168
2 files changed, 170 insertions
sensorhub MCU to communicate with sensors.
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/iio/common/Kconfig |1 +
drivers/iio/common/Makefile |1 +
drivers/iio/common/ssp_sensors/Kconfig | 26 ++
drivers/iio/common/ssp_sensors/Makefile |8
This patch adds common library for sensorhub iio drivers.
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/iio/common/ssp_sensors/ssp_iio.c| 107 +++
drivers/iio/common/ssp_sensors/ssp_iio_sensor.h | 70 +++
2 files changed, 177
ime functions to dw_mmc.c
- change runtime autosuspend timeout
>From v2:
- rebase on next-20150306
>From v3:
- add wrappers for pm_runtime put and get - bare ones are used only in
probe/remove
Thanks,
Karol
Karol Wrona (1):
mmc: dw_mmc: Add runtime pm
This patch adds runtime pm handling to dw_mmc.
It mainly uses mci_request/mci_request_end for mmc host state information.
The goal of the runtime pm in dw_mmc host is mainly for giving an information
for containing it power domain about its activity.
Signed-off-by: Karol Wrona
Acked-by: Kyungmin
On 04/18/2015 09:02 PM, Jonathan Cameron wrote:
> On 16/04/15 10:30, Karol Wrona wrote:
>> calculated_time variable caused warning as uninitialized. It was not harmful
>> because it was evaluated in the path in which was used later but it is to
>> satisfy the checkers.
>&
calculated_time variable caused warning as uninitialized. It was not harmful
because it was evaluated in the path in which was used later but it is to
satisfy the checkers.
Signed-off-by: Karol Wrona
---
drivers/iio/common/ssp_sensors/ssp_iio.c |2 +-
1 file changed, 1 insertion(+), 1
On 03/19/2015 02:44 PM, Karol Wrona wrote:
> Hello,
>
> This patch adds runtime pm for dw_mmc. There is no runtime pm callbacks for
> exynos dw_mmc because the host hardware gates interface clock itself and it is
> done separately. The reason for runtime is mainly get an
.
Change-Id: I4a850aef9034ece4e45760291d0a6fdceffb3304
Signed-off-by: Karol Wrona
---
drivers/clk/clk-s2mps11.c | 33 +++--
1 file changed, 11 insertions(+), 22 deletions(-)
diff --git a/drivers/clk/clk-s2mps11.c b/drivers/clk/clk-s2mps11.c
index b5274a9..5df99a4 100644
information. Enabled field was removed from struct s2mps11_clk.
Signed-off-by: Karol Wrona
---
drivers/clk/clk-s2mps11.c | 33 +++--
1 file changed, 11 insertions(+), 22 deletions(-)
diff --git a/drivers/clk/clk-s2mps11.c b/drivers/clk/clk-s2mps11.c
index b5274a9..5df99a4
On 09/03/2014 09:52 PM, Jonathan Cameron wrote:
On September 3, 2014 3:55:44 PM GMT+01:00, Karol Wrona
wrote:
Hello,
This patchset adds support for sensorhub. It is an external mcu which
manages
and collects data from several sensors i.e. on Galaxy Gear 2 watch.
It contains:
- spi driver
This patch adds accelerometer iio driver which uses sensorhub as data
provider.
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/iio/accel/Makefile |2 +
drivers/iio/accel/ssp_accel_sensor.c | 240 ++
2 files changed, 242 insertions
Sensorhub is MCU dedicated to collect data and manage several sensors.
Sensorhub is a spi device which provides a layer for IIO devices. It provides
some data parsing and common mechanism for sensorhub sensors.
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/misc/Kconfig
look for solution in IIO and implement
something like IIO_BULK sensor with no standard channel description
or solve this problem using cdev. This is the reason why the part of the
patchset is intended to be placed in misc.
Regards,
Karol
Karol Wrona (6):
iio:sensorhub: Add sensorhub common li
This patch adds common library and trigger module for sensorhub iio drivers.
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/iio/common/Kconfig |1 +
drivers/iio/common/Makefile|1 +
drivers/iio/common/ssp_sensors/Kconfig
This patch adds gyroscope iio driver which uses sensorhub as data
provider.
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/iio/gyro/Makefile |2 +
drivers/iio/gyro/ssp_gyro_sensor.c | 225
2 files changed, 227 insertions
This patch adds common sensorhub library for sensorhub driver and iio drivers
which uses sensorhub MCU to communicate with sensors.
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
include/linux/iio/common/ssp_sensors.h | 82
1 file changed, 82
Add sensorhub bindings for sensorhub on Galaxy Gear 2.
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
.../devicetree/bindings/misc/sensorhub.txt | 51
1 file changed, 51 insertions(+)
create mode 100644 Documentation/devicetree/bindings/misc
On 10/11/2014 11:47 AM, Daniel Baluta wrote:
On Thu, Oct 9, 2014 at 10:31 PM, Jonathan Cameron wrote:
On 06/10/14 15:17, Daniel Baluta wrote:
On 10/04/2014 04:12 PM, Jonathan Cameron wrote:
On 02/10/14 14:43, Daniel Baluta wrote:
This is to be used by drivers to signal detection of motion.
On 10/13/2014 12:08 PM, Antonio Borneo wrote:
On Fri, Oct 10, 2014 at 7:54 PM, Karol Wrona wrote:
Adds stm32 bootloader protocol handling.
SPI transfers are done using DMA safe buffer which is allocated once per
spi upgrade life cycle. Now it supports only SPI bus but it looks that UART
or
On 10/13/2014 12:08 PM, Antonio Borneo wrote:
On Fri, Oct 10, 2014 at 7:54 PM, Karol Wrona wrote:
Adds stm32 bootloader protocol handling.
SPI transfers are done using DMA safe buffer which is allocated once per
spi upgrade life cycle. Now it supports only SPI bus but it looks that UART
or
tested on STM32F401 MCU.
Change-Id: I5e5b441310c897ff822e65041531d80ea0e7426c
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/misc/Kconfig |1 +
drivers/misc/Makefile |1 +
drivers/misc/stm32fwu/Kconfig |6 +
drivers/misc/stm32fwu/Makefile
not have had time to touch it for few weeks):
erase command with sector mode
command checking and disabling unimplemented ones
Also some Antonio opinion is needed if we are able (or want) to use the same
stm32_core layer for this.
Karol Wrona (1):
misc: st32fwu: Add stm32 upgrade proto
ith sector mode
command checking and disabling unimplemented ones
Karol Wrona (1):
misc: st32fwu: Add stm32 upgrade protocol handling
drivers/misc/Kconfig |1 +
drivers/misc/Makefile |1 +
drivers/misc/stm32fwu/Kconfig |6 +
drivers/misc/stm32
tested on STM32F401 MCU.
Change-Id: I5e5b441310c897ff822e65041531d80ea0e7426c
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/misc/Kconfig |1 +
drivers/misc/Makefile |1 +
drivers/misc/stm32fwu/Kconfig |6 +
drivers/misc/stm32fwu/Makefile
Fixes after Jonathan rewiev
Karol Wrona (5):
misc: sensorhub: Add sensorhub driver
sensorhub: Add sensorhub bindings
iio: sensorhub: Add sensorhub iio commons
iio: sensorhub: Add sensorhub accelerometer sensor
iio: sensorhub: Add sensorhub gyroscope sensor
.../devicetree/bindings/misc/
This patch adds common library for sensorhub iio drivers.
Change-Id: I1038cb31c051f7e8ffde696a4121518daa5af081
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/iio/common/Kconfig |1 +
drivers/iio/common/Makefile |1 +
drivers/iio
Add sensorhub bindings for sensorhub on Galaxy Gear 2.
Change-Id: I4ee25aef33c21a4662de230841de9a8684f2c26b
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
.../devicetree/bindings/misc/sensorhub.txt | 46
1 file changed, 46 insertions(+)
create mode
This patch adds accelerometer iio driver which uses sensorhub as data
provider.
Change-Id: I4686741b7401ec5cbf4b5d0f2a5cc146fbe24d53
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/iio/accel/Makefile |2 +
drivers/iio/accel/ssp_accel_sensor.c | 211
This patch adds gyroscope iio driver which uses sensorhub as data
provider.
Change-Id: Ia16bc92159d062a29957de8e62ea3fefdcd7985a
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/iio/gyro/Makefile |2 +
drivers/iio/gyro/ssp_gyro_sensor.c | 209
sensorhub MCU to communicate with sensors.
Change-Id: I4f066e9f3f477d4f6faabd4507be98e32f79e344
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/misc/Kconfig |1 +
drivers/misc/Makefile |1 +
drivers/misc/sensorhub/Kconfig | 13
On 11/20/2014 07:18 AM, Antonio Borneo wrote:
On Sat, Nov 8, 2014 at 9:29 PM, Karol Wrona wrote:
Adds stm32 bootloader protocol handling.
Hi Karol,
Sorry for not being able to reply earlier. I'm finally back after a
period off-line.
I have implemented a first version of SPI flash up
On 11/20/2014 07:18 AM, Antonio Borneo wrote:
On Sat, Nov 8, 2014 at 9:29 PM, Karol Wrona wrote:
Adds stm32 bootloader protocol handling.
Hi Karol,
Sorry for not being able to reply earlier. I'm finally back after a
period off-line.
I have implemented a first version of SPI flash up
This is only a small clean-up. The driver can be built without SYSFS
as there exist stubs for used functions.
Signed-off-by: Karol Wrona
---
drivers/power/Kconfig |1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index 0108c2a..69fa8a9 100644
ode v1.1
Karol Wrona (1):
misc: st32fwu: Add stm32 upgrade protocol handling
drivers/misc/Kconfig |1 +
drivers/misc/Makefile |1 +
drivers/misc/stm32fwu/Kconfig |6 +
drivers/misc/stm32fwu/Makefile |1 +
drivers/misc/stm32fwu/stm32_core.c |
tested on STM32F401 MCU.
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/misc/Kconfig |1 +
drivers/misc/Makefile |1 +
drivers/misc/stm32fwu/Kconfig |6 +
drivers/misc/stm32fwu/Makefile |1 +
drivers/misc/stm32fwu/stm32_core.c
This patch adds accelerometer iio driver which uses sensorhub as data
provider.
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/iio/accel/Makefile |2 +
drivers/iio/accel/ssp_accel_sensor.c | 223 ++
2 files changed, 225 insertions
dopted to new stm32fwu v5
- Fixed sensors' data process callbacks
- Fixed comments style
Karol Wrona (5):
misc: sensorhub: Add sensorhub driver
sensorhub: Add sensorhub bindings
iio: sensorhub: Add sensorhub iio commons
iio: sensorhub: Add sensorhub accelerometer sensor
iio: sensor
Add sensorhub bindings for sensorhub on Galaxy Gear 2.
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
.../devicetree/bindings/misc/sensorhub.txt | 46
1 file changed, 46 insertions(+)
create mode 100644 Documentation/devicetree/bindings/misc
This patch adds gyroscope iio driver which uses sensorhub as data
provider.
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/iio/gyro/Makefile |2 +
drivers/iio/gyro/ssp_gyro_sensor.c | 222
2 files changed, 224 insertions
sensorhub MCU to communicate with sensors.
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/misc/Kconfig |1 +
drivers/misc/Makefile |1 +
drivers/misc/sensorhub/Kconfig | 13 +
drivers/misc/sensorhub/Makefile|6 +
drivers
This patch adds common library for sensorhub iio drivers.
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/iio/common/Kconfig |1 +
drivers/iio/common/Makefile |1 +
drivers/iio/common/ssp_sensors/Kconfig | 13
On 11/22/2014 01:17 PM, Jonathan Cameron wrote:
On 21/11/14 19:38, Arnd Bergmann wrote:
On Friday 21 November 2014 19:19:13 Karol Wrona wrote:
Sensorhub is MCU dedicated to collect data and manage several sensors.
Sensorhub is a spi device which provides a layer for IIO devices. It provides
On 11/24/2014 01:35 PM, Arnd Bergmann wrote:
On Monday 24 November 2014 12:39:12 Karol Wrona wrote:
It is possible that it can serve as input device sth else. So you are
right about MFD.
The structure of mfd directory is flat. I wonder what can be better:
just putting these sources inside mfd
tested on STM32F401xx MCU.
Change-Id: I5e5b441310c897ff822e65041531d80ea0e7426c
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/misc/Kconfig|1 +
drivers/misc/Makefile |1 +
drivers/misc/stm32boot/Kconfig |6 +
drivers/misc/stm32boot
adding proper
hw access callbacks will do all work.
It supports:
- get info frame
- get version
- firmware write
Karol
Karol Wrona (1):
misc: st32boot: Add stm32 upgrade protocol handling
drivers/misc/Kconfig|1 +
drivers/misc/Makefile |1 +
drivers
adding proper
hw access callbacks will do all work.
It supports:
- get info frame
- get version
- firmware write (write, read, write address, erase)
>From v1: some typos fixes
Karol
Karol Wrona (1):
misc: st32boot: Add stm32 upgrade protocol handling
drivers/misc/Kcon
tested on STM32F401 MCU.
Change-Id: I5e5b441310c897ff822e65041531d80ea0e7426c
Signed-off-by: Karol Wrona
Acked-by: Kyungmin Park
---
drivers/misc/Kconfig|1 +
drivers/misc/Makefile |1 +
drivers/misc/stm32boot/Kconfig |6 +
drivers/misc/stm32boot
iio core
Karol Wrona (3):
iio: kfifo: Remove unused argument in iio_kfifo_allocate
iio: kfifo: Add resource management devm_iio_kfifo_allocate/free
iio: core: Get rid of misleading comment
drivers/iio/adc/ti_am335x_adc.c |2 +-
drivers/iio/industrialio-core.c
indio_dev was unused in function body plus some small style fix - add new
lines after "if(sth) return sth" and before the last return statement.
The argument was removed also in its client.
Signed-off-by: Karol Wrona
---
drivers/iio/adc/ti_am335x_adc.c |2 +-
d
iio kfifo allocate/free gained their devm_ wrappers.
Signed-off-by: Karol Wrona
Suggested-by: Jonathan Cameron
---
drivers/iio/kfifo_buf.c | 54 +
include/linux/iio/kfifo_buf.h |3 +++
2 files changed, 57 insertions(+)
diff --git a/drivers
This comment did not fit here. It explains why devm_kmalloc
uses dr_alloc. Generally is not needed at all.
Signed-off-by: Karol Wrona
---
drivers/iio/industrialio-core.c |1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c
On 03/09/2015 06:23 AM, Jaehoon Chung wrote:
> Hi, Karol.
>
> This patch can't apply. You need to rebase on latest mmc-next.
> Then i will check this patch.
Ok, no problem. Sorry for that.
>
> Best Regards,
> Jaehoon Chung
>
> On 03/06/2015 10:29 PM, Karol
ime functions to dw_mmc.c
- change runtime autosuspend timeout
>From v2:
- rebase on next-20150306
Thanks,
Karol
Karol Wrona (1):
mmc: dw_mmc: Add runtime pm to dw_mmc
drivers/mmc/host/dw_mmc.c | 103 ++---
drivers/mmc/host/dw_mmc.h
This patch adds runtime pm handling to dw_mmc.
It mainly uses mci_request/mci_request_end for mmc host state information.
The goal of the runtime pm in dw_mmc host is mainly for giving an information
for containing it power domain about its activity.
Signed-off-by: Karol Wrona
Acked-by: Kyungmin
Hello,
This patch adds runtime pm for dw_mmc. There is no runtime pm callbacks for
exynos dw_mmc because the host hardware gates interface clock itself and it is
done separately. The reason for runtime is mainly get an info about host state
for now.
Thanks,
Karol
Karol Wrona (1):
mmc
This patch adds runtime pm handling to dw_mmc.
It mainly uses mci_request/mci_request_end for mmc host state information.
The goal of the runtime pm in dw_mmc host is mainly for giving an information
for containing it power domain about its activity.
Signed-off-by: Karol Wrona
Acked-by: Kyungmin
ty. The cpu should not enter LPA/LPD/WAFTR state when mmc host is
active. I think we can do some experiments on the host later and do
something in runtime callbacks with clock gating but for now I do not
know how to do it.
Some ans. inline.
>
> On 03/09/2015 10:46 PM, Karol Wrona wrote:
On 01/30/2015 12:57 PM, Lorenzo Pieralisi wrote:
> On Fri, Jan 30, 2015 at 08:43:22AM +, amit daniel kachhap wrote:
>> Hi Karol,
>>
>> I guess this patch series is not complete and use case implementation
>> will be more helpful for clarity. Also I can think of another way in
>> which this comp
On 01/22/2015 10:02 AM, Ulf Hansson wrote:
> On 21 January 2015 at 17:43, Karol Wrona wrote:
>> This patch adds runtime pm handling to dw_mmc and enables it for
>> dw_mmc-exynos.
>> It mainly uses mci_request/mci_request_end for mmc host state information.
>>
&g
retention
in LPD state and to enter it some devices (i.e. mmc host controller) have
to be inactive. Using domains and runtime PM it would be able to give
an information to PM core that the SoC is ready for deeper power state.
TODO: binding doc, add child-parent hierarchy
Thanks,
Karol
Karol Wrona (1
i.e. the domain can
not be put to retention if some devices are active. Virtual power domain has
empty power_on/off callbacks as there is no need to gate anything.
Signed-off-by: Karol Wrona
---
drivers/base/power/Makefile |3 +-
drivers/base/power/pm_domains_virt.c | 54
On 01/29/2015 07:35 PM, Jonathan Cameron wrote:
> On 28/01/15 14:05, Karol Wrona wrote:
>> Sensorhub is MCU dedicated to collect data and manage several sensors.
>> Sensorhub is a spi device which provides a layer for IIO devices. It provides
>> some data parsing and
On 12/06/2014 03:29 PM, Jonathan Cameron wrote:
> On 05/12/14 19:54, Karol Wrona wrote:
>> Add sensorhub bindings for sensorhub on Galaxy Gear 2.
>>
>> Change-Id: I4ee25aef33c21a4662de230841de9a8684f2c26b
>> Signed-off-by: Karol Wrona
>> Acked-by: Kyungmin Pa
On 12/06/2014 03:09 PM, Jonathan Cameron wrote:
> On 05/12/14 19:54, Karol Wrona wrote:
>> Sensorhub is MCU dedicated to collect data and manage several sensors.
>> Sensorhub is a spi device which provides a layer for IIO devices. It provides
>> some data parsing and
and clock gated.
I will also look something to add to runtime callbacks to decrease power
consumption by the dw_mmc host during normal power mode but this is very tight
because clk to the card is gated in some dw_mmc modes (where there is no
communication).
Thanks,
Karol
Karol Wrona (1):
mmc
This patch adds runtime pm handling to dw_mmc and enables it for dw_mmc-exynos.
It mainly uses mci_request/mci_request_end for mmc host state information.
Signed-off-by: Karol Wrona
---
drivers/mmc/host/dw_mmc-exynos.c | 69 --
drivers/mmc/host/dw_mmc.c
On 02/18/2015 11:47 AM, Geert Uytterhoeven wrote:
> If CONFIG_PM_SLEEP=n:
>
> drivers/iio/common/ssp_sensors/ssp_dev.c:644: warning: ‘ssp_suspend’
> defined but not used
> drivers/iio/common/ssp_sensors/ssp_dev.c:669: warning: ‘ssp_resume’
> defined but not used
>
> Protect the unused f
SLEEP */
>
> static const struct dev_pm_ops ssp_pm_ops = {
> SET_SYSTEM_SLEEP_PM_OPS(ssp_suspend, ssp_resume)
>
Acked-by: Karol Wrona
Thanks for doing that.
Karol
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a messa
On 09/28/2015 12:08 PM, Vaishali Thakkar wrote:
> On Mon, Sep 28, 2015 at 6:42 AM, Vaishali Thakkar
> wrote:
>> On Sun, Sep 27, 2015 at 7:01 PM, Jonathan Cameron wrote:
>>> On 27/09/15 05:16, Vaishali Thakkar wrote:
>>>> On Mon, Sep 21, 2015 at 4:48 PM, Karol Wro
> To: Jonathan Cameron
> To: Lars-Peter Clausen
> To: Karol Wrona
> To: linux-...@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> ---
> drivers/iio/common/ssp_sensors/ssp_dev.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/iio/common/
On 09/20/2015 09:18 PM, Jonathan Cameron wrote:
> On 14/09/15 17:08, Vaishali Thakkar wrote:
>> Use resourced managed function devm_iio_device_register to
>> make error path simpler. To be compatible with the change,
>> the remove function is removed as it is now redundant.
>>
>> Signed-off-by: Vai
1 - 100 of 101 matches
Mail list logo