From: Gwendal Grignou
Add cros_ec_get_event() entry point to retrieve event within functions
called by the notifier.
Signed-off-by: Gwendal Grignou
Signed-off-by: Enric Balletbo i Serra
---
drivers/platform/chrome/cros_ec_proto.c | 20
include/linux/mfd/cros_ec.h
From: Stephen Barber
If the EC supports RTC host commands, expose an RTC device.
Signed-off-by: Stephen Barber
Signed-off-by: Enric Balletbo i Serra
---
drivers/platform/chrome/cros_ec_dev.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/drivers/platform/chrome
From: Stephen Barber
The EC can function as a simple RT, this patch adds the RTC related
definitions needed by the rtc-cros-ec driver.
Signed-off-by: Stephen Barber
Signed-off-by: Enric Balletbo i Serra
---
include/linux/mfd/cros_ec_commands.h | 8
1 file changed, 8 insertions
From: Stephen Barber
On platforms with a Chrome OS EC, the EC can function as a simple RTC.
Add a basic driver with this functionality.
Signed-off-by: Stephen Barber
Signed-off-by: Enric Balletbo i Serra
---
drivers/rtc/Kconfig | 10 ++
drivers/rtc/Makefile | 1 +
drivers/rtc
From: Stephen Barber
If the EC supports RTC host commands, expose an RTC device.
Signed-off-by: Stephen Barber
Signed-off-by: Enric Balletbo i Serra
---
drivers/platform/chrome/cros_ec_dev.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/drivers/platform/chrome
From: Gwendal Grignou
Add cros_ec_get_event() entry point to retrieve event within functions
called by the notifier.
Signed-off-by: Gwendal Grignou
Signed-off-by: Enric Balletbo i Serra
Acked-by: Lee Jones
---
Changelog:
* Added the ack by Lee Jones
drivers/platform/chrome
From: Stephen Barber
On platforms with a Chrome OS EC, the EC can function as a simple RTC.
Add a basic driver with this functionality.
Signed-off-by: Stephen Barber
Signed-off-by: Enric Balletbo i Serra
---
Changelog
* Moved RTC_DRV_CROS_EC after "Platform RTC drivers" (Alexand
From: Stephen Barber
The EC can function as a simple RT, this patch adds the RTC related
definitions needed by the rtc-cros-ec driver.
Signed-off-by: Stephen Barber
Signed-off-by: Enric Balletbo i Serra
Acked-by: Lee Jones
---
Changelog:
* Added the ack by Lee Jones
include/linux/mfd
age of the backup supply. You might want to enable/disable
the TCFE switch from userspace (e.g when device is only connected to a
battery)
This patch introduces a new sysfs entry to enable and disable this FET
form userspace.
Signed-off-by: Enric Balletbo i Serra
---
.../ABI/testing/sysfs-bus-i
Hi Lee,
On 23/01/17 13:14, Lee Jones wrote:
> On Mon, 23 Jan 2017, Alexandre Belloni wrote:
>
>> On 19/01/2017 at 13:30:31 +0100, Enric Balletbo i Serra wrote :
>>> From: Stephen Barber
>>>
>>> On platforms with a Chrome OS EC, the EC can function as a
From: Gwendal Grignou
Add cros_ec_get_event() entry point to retrieve event within functions
called by the notifier.
Signed-off-by: Gwendal Grignou
Signed-off-by: Enric Balletbo i Serra
Acked-by: Lee Jones
---
Changes since v2:
- none
Changes since v1:
- Acked by Lee Jones
drivers
From: Stephen Barber
If the EC supports RTC host commands, expose an RTC device.
Signed-off-by: Stephen Barber
Signed-off-by: Enric Balletbo i Serra
Acked-by: Benson Leung
---
Changes since v2:
- Acked by Benson Leung
Changes since v1:
- none
drivers/platform/chrome/cros_ec_dev.c | 22
From: Stephen Barber
The EC can function as a simple RT, this patch adds the RTC related
definitions needed by the rtc-cros-ec driver.
Signed-off-by: Stephen Barber
Signed-off-by: Enric Balletbo i Serra
Acked-by: Lee Jones
---
Changes since v2:
- none
Changes since v1:
- Acked by Lee Jones
From: Stephen Barber
On platforms with a Chrome OS EC, the EC can function as a simple RTC.
Add a basic driver with this functionality.
Signed-off-by: Stephen Barber
Signed-off-by: Enric Balletbo i Serra
Acked-by: Alexandre Belloni
---
Changes since v2:
- Acked by Alexandre Belloni
Changes
On 14/02/17 16:26, Lee Jones wrote:
> On Tue, 14 Feb 2017, Enric Balletbo i Serra wrote:
>
>> Hi Lee,
>>
>> On 23/01/17 13:14, Lee Jones wrote:
>>> On Mon, 23 Jan 2017, Alexandre Belloni wrote:
>>>
>>>> On 19/01/2017 at 13:30:31 +0100, Enr
Hi Lee,
On 14/03/17 14:59, Lee Jones wrote:
> On Tue, 14 Feb 2017, Enric Balletbo i Serra wrote:
>
>> From: Stephen Barber
>>
>> If the EC supports RTC host commands, expose an RTC device.
>>
>> Signed-off-by: Stephen Barber
>> Signed-off-by: Enric B
Hi Lee,
On 15/03/17 11:24, Lee Jones wrote:
> On Tue, 14 Mar 2017, Enric Balletbo i Serra wrote:
>> On 14/03/17 14:59, Lee Jones wrote:
>>> On Tue, 14 Feb 2017, Enric Balletbo i Serra wrote:
>>>
>>>> From: Stephen Barber
>>>>
>>>
is connected via SPI.
Signed-off-by: Vic Yang
Tested-by: Enric Balletbo i Serra
---
This patch is a FIX, and I think that would be interesting see it merged
in this release cycle. This should go through the MFD tree and can be picked
independently of the other patches. Lee Jones I think this is
kml/2017/3/17/321
Best regards,
Enric Balletbo i Serra (3):
iio: cros_ec_sensors: Fix return value to get raw and calibbias data.
iio: cros_ec_sensors: Use devm to setup the triggered buffer.
mfd: cros_ec: Get rid of cros_ec_check_features from cros_ec_dev.
Stephen Barber (3):
mf
Use resourced managed function devm_iio_triggered_buffer_setup
to make error path simpler and be able to get rid of the remove
function.
Signed-off-by: Enric Balletbo i Serra
---
This is an improvement that can wait to 4.12 merge window, again can be
picked independently of the other patches
independent the IIO driver from the character device as also has no
sense.
Signed-off-by: Enric Balletbo i Serra
---
As pointed by Lee Jones in this thread [1] we should not use the MFD API
outside of MFD. For this reason the cros-ec-rtc did not get accepted yet.
The reality is that we are calling
From: Stephen Barber
On platforms with a Chrome OS EC, the EC can function as a simple RTC.
Add a basic driver with this functionality.
Signed-off-by: Stephen Barber
Signed-off-by: Enric Balletbo i Serra
Acked-by: Alexandre Belloni
---
drivers/rtc/Kconfig | 10 ++
drivers/rtc
ChromeOS EC
Contiguous Sensors driver)
Signed-off-by: Enric Balletbo i Serra
---
This is another FIX, so would be interesting see it merged in this release
cycle too. Like the above patch can be picked independently of the other
patches and should go through IIO Jonathan's Cameron tree.
dr
From: Stephen Barber
The EC can function as a simple RT, this patch adds the RTC related
definitions needed by the rtc-cros-ec driver.
Signed-off-by: Stephen Barber
Signed-off-by: Enric Balletbo i Serra
Acked-by: Lee Jones
---
include/linux/mfd/cros_ec_commands.h | 8
1 file
From: Stephen Barber
If the EC supports RTC host commands, expose an RTC device.
Signed-off-by: Stephen Barber
Signed-off-by: Enric Balletbo i Serra
---
drivers/mfd/cros_ec.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers/mfd/cros_ec.c b/drivers/mfd/cros_ec.c
On 03/04/17 16:25, Lee Jones wrote:
> On Fri, 24 Mar 2017, Enric Balletbo i Serra wrote:
>
>> From: Stephen Barber
>>
>> If the EC supports RTC host commands, expose an RTC device.
>>
>> Signed-off-by: Stephen Barber
>> Signed-off-by: Enric Balletbo
On 03/04/17 16:30, Lee Jones wrote:
> On Mon, 03 Apr 2017, Lee Jones wrote:
>
>> On Fri, 24 Mar 2017, Enric Balletbo i Serra wrote:
>>
>>> From: Vic Yang
>>>
>>> For SPI, we can get up to 32 additional bytes for response preamble.
>>> The
ww.spinics.net/lists/kernel/msg2465099.html
[2] https://lkml.org/lkml/2017/3/17/319
[3] https://lkml.org/lkml/2017/3/17/321
Best regards,
Enric Balletbo i Serra (1):
mfd: cros_ec: Get rid of cros_ec_check_features from cros_ec_dev.
Stephen Barber (3):
mfd: cros_ec: Introduce RTC commands and event
is connected via SPI.
Signed-off-by: Vic Yang
Tested-by: Enric Balletbo i Serra
---
This patch is a FIX, and I think that would be interesting see it merged
in this release cycle. This should go through the MFD tree and can be picked
independently of the other patches. Lee Jones I think this is
From: Stephen Barber
On platforms with a Chrome OS EC, the EC can function as a simple RTC.
Add a basic driver with this functionality.
Signed-off-by: Stephen Barber
Signed-off-by: Enric Balletbo i Serra
Acked-by: Alexandre Belloni
---
Changes since v1:
- None
drivers/rtc/Kconfig
From: Stephen Barber
The EC can function as a simple RT, this patch adds the RTC related
definitions needed by the rtc-cros-ec driver.
Signed-off-by: Stephen Barber
Signed-off-by: Enric Balletbo i Serra
Acked-by: Lee Jones
---
include/linux/mfd/cros_ec_commands.h | 8
1 file
From: Stephen Barber
If the EC supports RTC host commands, expose an RTC device.
Signed-off-by: Stephen Barber
Signed-off-by: Enric Balletbo i Serra
---
Changes since v1:
- Use PLATFORM_DEVID_AUTO to add the subdevice.
drivers/mfd/cros_ec.c | 18 ++
1 file changed, 18
independent the IIO driver from the character device as also has no
sense.
Signed-off-by: Enric Balletbo i Serra
Acked-by: Jonathan Cameron
---
As pointed by Lee Jones in this thread [1] we should not use the MFD API
outside of MFD. For this reason the cros-ec-rtc did not get accepted yet.
The
On 11/04/17 11:19, Lee Jones wrote:
> On Mon, 03 Apr 2017, Enric Balletbo i Serra wrote:
>
>> The cros_ec_dev driver should be used only to expose the Chrome OS Embedded
>> Controller to user-space and should not be used to add MFD devices by
>> calling mfd_add_device
Lee,
On 11/04/17 11:48, Lee Jones wrote:
> On Mon, 03 Apr 2017, Enric Balletbo i Serra wrote:
>
>> From: Stephen Barber
>>
>> If the EC supports RTC host commands, expose an RTC device.
>
> This could be made nicer by checking RTC compatibility in the RTC
> d
and
calibbias data' from series as was already picked.
- Patch 2/5: Acked-by: Jonathan Cameron <***@kernel.org>
[1] https://www.spinics.net/lists/kernel/msg2465099.html
[2] https://lkml.org/lkml/2017/3/17/319
[3] https://lkml.org/lkml/2017/3/17/321
Best regards,
Enric Balletbo i S
From: Stephen Barber
The EC can function as a simple RT, this patch adds the RTC related
definitions needed by the rtc-cros-ec driver.
Signed-off-by: Stephen Barber
Signed-off-by: Enric Balletbo i Serra
Acked-by: Lee Jones
---
include/linux/mfd/cros_ec_commands.h | 8
1 file
From: Stephen Barber
On platforms with a Chrome OS EC, the EC can function as a simple RTC.
Add a basic driver with this functionality.
Signed-off-by: Stephen Barber
Signed-off-by: Enric Balletbo i Serra
Acked-by: Alexandre Belloni
---
drivers/rtc/Kconfig | 10 ++
drivers/rtc
From: Stephen Barber
If the EC supports RTC host commands, expose an RTC device.
Signed-off-by: Stephen Barber
Signed-off-by: Enric Balletbo i Serra
---
drivers/mfd/cros_ec.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers/mfd/cros_ec.c b/drivers/mfd/cros_ec.c
independent the IIO driver from the character device as also has no
sense.
Signed-off-by: Enric Balletbo i Serra
Acked-by: Jonathan Cameron
---
.../iio/common/cros_ec_sensors/cros_ec_sensors.c | 8 -
.../common/cros_ec_sensors/cros_ec_sensors_core.c | 8 +-
drivers/iio/light
From: Stephen Barber
The EC can function as a simple RT, this patch adds the RTC related
definitions needed by the rtc-cros-ec driver.
Signed-off-by: Stephen Barber
Signed-off-by: Enric Balletbo i Serra
Acked-by: Lee Jones
Acked-by: Benson Leung
---
include/linux/mfd/cros_ec_commands.h | 8
From: Stephen Barber
On platforms with a Chrome OS EC, the EC can function as a simple RTC.
Add a basic driver with this functionality.
Signed-off-by: Stephen Barber
Signed-off-by: Enric Balletbo i Serra
Acked-by: Alexandre Belloni
Acked-by: Benson Leung
---
drivers/rtc/Kconfig | 10
Dear all,
This is an attempt to revive some patches from that [1] patchset, some
of them are still under discussion but I think there is no reason to not
have the other two in this fourth version to land upstream meanwhile we
discuss about the others.
[1] https://lkml.org/lkml/2017/7/12/182
Chan
43 matches
Mail list logo