<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/platform/chrome, branch v4.20</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.20</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.20'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2018-10-10T05:40:12Z</updated>
<entry>
<title>platform/chrome: chromeos_tbmc - Remove unneeded const</title>
<updated>2018-10-10T05:40:12Z</updated>
<author>
<name>Nathan Chancellor</name>
<email>natechancellor@gmail.com</email>
</author>
<published>2018-10-08T22:20:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=bc3f4b5c60db2a835e68bfdce23b6ae75df7e295'/>
<id>urn:sha1:bc3f4b5c60db2a835e68bfdce23b6ae75df7e295</id>
<content type='text'>
Clang warns:

drivers/platform/chrome/chromeos_tbmc.c:102:14: warning: duplicate
'const' declaration specifier [-Wduplicate-decl-specifier]
static const SIMPLE_DEV_PM_OPS(chromeos_tbmc_pm_ops, NULL,
             ^
./include/linux/pm.h:365:56: note: expanded from macro
'SIMPLE_DEV_PM_OPS'
                                                       ^
1 warning generated.

SIMPLE_DEV_PM_OPS is already declared as const, this one is unnecessary
so remove it.

Signed-off-by: Nathan Chancellor &lt;natechancellor@gmail.com&gt;
Signed-off-by: Benson Leung &lt;bleung@chromium.org&gt;
</content>
</entry>
<entry>
<title>platform/chrome: Add a new interrupt path for cros_ec_lpc</title>
<updated>2018-10-10T04:44:44Z</updated>
<author>
<name>Enrico Granata</name>
<email>egranata@chromium.org</email>
</author>
<published>2018-10-09T17:56:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=da1cf5a1cf124fc0a0b50c4ec78d5e97ee68bae2'/>
<id>urn:sha1:da1cf5a1cf124fc0a0b50c4ec78d5e97ee68bae2</id>
<content type='text'>
This commit allows cros_ec_lpc to register a direct IRQ instead of relying
on the ACPI notification chain to receive MKBP events.

This change is done in the interest of allowing reduced jitter in the
communication path between the CrOS EC and the host for receiving sensor
data.

Signed-off-by: Enrico Granata &lt;egranata@chromium.org&gt;
Signed-off-by: Benson Leung &lt;bleung@chromium.org&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/ib-chrome-platform-mfd-move-cros_ec_lpc' into working-branch-for-4.20</title>
<updated>2018-10-10T04:29:51Z</updated>
<author>
<name>Benson Leung</name>
<email>bleung@chromium.org</email>
</author>
<published>2018-10-10T04:29:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2c42dd6e0e3b0f5949924c8251a9d34ab373d2e0'/>
<id>urn:sha1:2c42dd6e0e3b0f5949924c8251a9d34ab373d2e0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mfd: cros-ec: copy the whole event in get_next_event_xfer</title>
<updated>2018-10-10T03:57:30Z</updated>
<author>
<name>Emil Karlson</name>
<email>jekarlson@gmail.com</email>
</author>
<published>2018-10-03T18:43:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d4d2313a3c17eff4aef9a544023c2df5b9f5bedc'/>
<id>urn:sha1:d4d2313a3c17eff4aef9a544023c2df5b9f5bedc</id>
<content type='text'>
Commit 57e94c8b974db2d83c60e1139c89a70806abbea0 caused cros-ec keyboard events
be truncated on many chromebooks so that Left and Right keys on Column 12 were
always 0. Use ret as memcpy len to fix this.

The old code was using ec_dev-&gt;event_size, which is the event payload/data size
excluding event_type header, for the length of the memcpy operation. Use ret
as memcpy length to avoid the off by one and copy the whole msg-&gt;data.

Fixes: 57e94c8b974d ("mfd: cros-ec: Increase maximum mkbp event size")

Acked-by: Enric Balletbo i Serra &lt;enric.balletbo@collabora.com&gt;
Tested-by: Emil Renner Berthing &lt;kernel@esmil.dk&gt;
Signed-off-by: Emil Karlson &lt;jekarlson@gmail.com&gt;
Signed-off-by: Benson Leung &lt;bleung@chromium.org&gt;
</content>
</entry>
<entry>
<title>platform/chrome: Move mfd/cros_ec_lpc* includes to drivers/platform.</title>
<updated>2018-09-07T07:56:36Z</updated>
<author>
<name>Enric Balletbo i Serra</name>
<email>enric.balletbo@collabora.com</email>
</author>
<published>2018-07-18T16:09:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cc8a4ea182efac95ad4582053f8a51271fab734d'/>
<id>urn:sha1:cc8a4ea182efac95ad4582053f8a51271fab734d</id>
<content type='text'>
The cros-ec-lpc driver lives in drivers/platform because is platform
specific, however there are two includes (cros_ec_lpc_mec.h and
cros_ec_lpc_reg.h) that lives in include/linux/mfd. These two includes
are only used for the platform driver and are not really related to the
MFD subsystem, so move the includes from include/linux/mfd to
drivers/platform/chrome.

Signed-off-by: Enric Balletbo i Serra &lt;enric.balletbo@collabora.com&gt;
Signed-off-by: Benson Leung &lt;bleung@chromium.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'chrome-platform-for-linus-4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/bleung/chrome-platform</title>
<updated>2018-08-21T20:33:33Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2018-08-21T20:33:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=40fafdcbcd7a74e80ab0229b35bf6e497831e28f'/>
<id>urn:sha1:40fafdcbcd7a74e80ab0229b35bf6e497831e28f</id>
<content type='text'>
Pull chrome platform updates from Benson Leung.

Everything but the SPDX identifier updates actually came in earlier
through the MFD merge.

* tag 'chrome-platform-for-linus-4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/bleung/chrome-platform:
  platform/chrome: chromeos_tbmc - fix SPDX identifier
</content>
</entry>
<entry>
<title>Merge branches 'ib-mfd-4.19', 'ib-mfd-gpio-pinctrl-4.19', 'ib-mfd-i915-media-platform-4.19' and 'ib-mfd-regulator-4.19', tag 'ib-platform-chrome-mfd-move-cros-ec-transport-for-4.19' into ibs-for-mfd-merged</title>
<updated>2018-07-27T07:11:37Z</updated>
<author>
<name>Lee Jones</name>
<email>lee.jones@linaro.org</email>
</author>
<published>2018-07-27T07:11:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e5ff19cf75f33a4654fc54631577146a1162d527'/>
<id>urn:sha1:e5ff19cf75f33a4654fc54631577146a1162d527</id>
<content type='text'>
Immutable branch (mfd, chrome) due for the v4.19 window

Immutable Branch which moves the cros_ec_i2c and cros_ec_spi
transport drivers from mfd to platform/chrome. Changes in arm are a simple
rename in defconfigs. Change in input is a rename in help text.
</content>
</entry>
<entry>
<title>mfd: cros-ec: Increase maximum mkbp event size</title>
<updated>2018-07-13T07:44:31Z</updated>
<author>
<name>Neil Armstrong</name>
<email>narmstrong@baylibre.com</email>
</author>
<published>2018-07-04T15:08:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=57e94c8b974db2d83c60e1139c89a70806abbea0'/>
<id>urn:sha1:57e94c8b974db2d83c60e1139c89a70806abbea0</id>
<content type='text'>
Having a 16 byte mkbp event size makes it possible to send CEC
messages from the EC to the AP directly inside the mkbp event
instead of first doing a notification and then a read.

Signed-off-by: Stefan Adolfsson &lt;sadolfsson@chromium.org&gt;
Signed-off-by: Neil Armstrong &lt;narmstrong@baylibre.com&gt;
Tested-by: Enric Balletbo i Serra &lt;enric.balletbo@collabora.com&gt;
Acked-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'ib-platform-chrome-mfd-move-cros-ec-transport-for-4.19' into working-branch-for-4.19</title>
<updated>2018-07-09T23:36:00Z</updated>
<author>
<name>Benson Leung</name>
<email>bleung@chromium.org</email>
</author>
<published>2018-07-09T23:36:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=40291fb75123816b35ba06696e56b9cf2d96bf90'/>
<id>urn:sha1:40291fb75123816b35ba06696e56b9cf2d96bf90</id>
<content type='text'>
Immutable branch (mfd, chrome) due for the v4.19 window

Immutable Branch which moves the cros_ec_i2c and cros_ec_spi
transport drivers from mfd to platform/chrome. Changes in arm are a simple
rename in defconfigs. Change in input is a rename in help text.
</content>
</entry>
<entry>
<title>platform/chrome: Move cros-ec transport drivers to drivers/platform.</title>
<updated>2018-07-03T19:40:06Z</updated>
<author>
<name>Enric Balletbo i Serra</name>
<email>enric.balletbo@collabora.com</email>
</author>
<published>2018-07-02T10:21:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d00a8741fd8fab2dc82f1c44d4111a337d505e60'/>
<id>urn:sha1:d00a8741fd8fab2dc82f1c44d4111a337d505e60</id>
<content type='text'>
There are some cros-ec transport drivers (I2C, SPI) living in MFD, while
others (LPC) living in drivers/platform. The transport drivers are more
platform specific. So, move the I2C and SPI transport drivers to the
platform/chrome directory. The patch also removes the MFD_ prefix of
their Kconfig symbols.

Signed-off-by: Enric Balletbo i Serra &lt;enric.balletbo@collabora.com&gt;
Reviewed-by: Guenter Roeck &lt;groeck@chromium.org&gt;
Acked-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Signed-off-by: Benson Leung &lt;bleung@chromium.org&gt;
</content>
</entry>
</feed>
