This patch initiates cros-ec in board_init() to enable it for smdk5250.
This patch depends on the patch in the MMC series that brings in exynos5-dt.c.
Refer to http://patchwork.ozlabs.org/patch/240084.
Signed-off-by: Simon Glass
Signed-off-by: Vincent Palatin
Signed-off-by: Hung-ying Tyan
This patch adds cros-ec related device nodes to exynos5250-snow.dts.
It also adds a gpio node to exynos5250.dtsi.
Signed-off-by: Hung-ying Tyan
---
Changes in v5:
- Change ec-interrupt gpio pin from 174 to 782. This has to be changed again
after the GPIO pin numbering patches
(http
This patch adds SPI support for carrying out the cros_ec protocol.
Signed-off-by: Hung-ying Tyan
Signed-off-by: Randall Spangler
Signed-off-by: Simon Glass
---
Changes in v5:
- Add exynos: tag as the patch includes changes in exynos_spi.c.
Changes in v4:
- Removed old code and comment
This patch adds LPC support for carrying out the cros_ec protocol.
Signed-off-by: Randall Spangler
Signed-off-by: Simon Glass
Signed-off-by: Hung-ying Tyan
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
- Fixed warnings of exceeding 80 chars in a line.
- Added
This patch adds the driver for keyboard that's controlled by ChromeOS EC.
Signed-off-by: Randall Spangler
Signed-off-by: Simon Glass
Signed-off-by: Vincent Palatin
Signed-off-by: Hung-ying Tyan
---
Changes in v5: None
Changes in v4:
- Added cros-ec-keyb.txt.
Changes in v3:
- Rearr
in v2:
- Moved code from smdk5250.c (non-FDT) to exynos5-dt.c (FDT).
- Moved code from smdk5250.h to exynos5250-dt.h.
- Added gpio node to exynos5250.dtsi.
- Fixed warnings of exceeding 80 chars in a line.
- Added commit message.
- Dropped the period from commit subject.
Hung-ying Tyan (7):
cros
This patch adds I2C support for carrying out the cros_ec protocol.
Signed-off-by: Randall Spangler
Signed-off-by: Simon Glass
Signed-off-by: Hung-ying Tyan
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
- Fixed warnings of exceeding 80 chars in a line.
- Added
On which branch is this patch based? It looks quite off from ToT.
On Mon, Mar 25, 2013 at 7:46 PM, Akshay Saraswat wrote:
> From: Gabe Black
>
> The exynos s3c24x0 i2c driver wouldn't do the right thing when a NACK was
> received on a read because it didn't attempt a read before waiting for the
This patch adds I2C support for carrying out the cros_ec protocol.
Signed-off-by: Randall Spangler
Signed-off-by: Simon Glass
Signed-off-by: Hung-ying Tyan
---
Changes in v4: None
Changes in v3: None
Changes in v2:
- Fixed warnings of exceeding 80 chars in a line.
- Added Commit message
This patch initiates cros-ec in board_init() to enable it for smdk5250.
Signed-off-by: Simon Glass
Signed-off-by: Vincent Palatin
Signed-off-by: Hung-ying Tyan
---
Changes in v4: None
Changes in v3: None
Changes in v2:
- Moved code from smdk5250.c (non-FDT) to exynos5-dt.c (FDT).
- Moved code
This patch adds SPI support for carrying out the cros_ec protocol.
Signed-off-by: Hung-ying Tyan
Signed-off-by: Randall Spangler
Signed-off-by: Simon Glass
---
Changes in v4:
- Removed old code and comment.
Changes in v3: None
Changes in v2:
- Fixed warnings of exceeding 80 chars in a line
This patch adds the driver for keyboard that's controlled by ChromeOS EC.
Signed-off-by: Randall Spangler
Signed-off-by: Simon Glass
Signed-off-by: Vincent Palatin
Signed-off-by: Hung-ying Tyan
---
Changes in v4:
- Added cros-ec-keyb.txt.
Changes in v3:
- Rearranged #include directiv
This patch adds cros-ec related device nodes to exynos5250-snow.dts.
It also adds a gpio node to exynos5250.dtsi.
Signed-off-by: Hung-ying Tyan
---
Changes in v4:
- Added commit message.
Changes in v3: None
Changes in v2:
- Added gpio node to exynos5250.dtsi.
- Dropped the period from commit
This patch adds LPC support for carrying out the cros_ec protocol.
Signed-off-by: Randall Spangler
Signed-off-by: Simon Glass
Signed-off-by: Hung-ying Tyan
---
Changes in v4: None
Changes in v3: None
Changes in v2:
- Fixed warnings of exceeding 80 chars in a line.
- Added commit message
.
Changes in v2:
- Moved code from smdk5250.c (non-FDT) to exynos5-dt.c (FDT).
- Moved code from smdk5250.h to exynos5250-dt.h.
- Added gpio node to exynos5250.dtsi.
- Fixed warnings of exceeding 80 chars in a line.
- Added commit message.
- Dropped the period from commit subject.
Hung-ying Tyan
This patch adds I2C support for carrying out the cros_ec protocol.
Signed-off-by: Randall Spangler
Signed-off-by: Simon Glass
Signed-off-by: Hung-ying Tyan
---
Changes in v3: None
Changes in v2:
- Fixed warnings of exceeding 80 chars in a line.
- Added Commit message.
- Dropped the period
This patch adds LPC support for carrying out the cros_ec protocol.
Signed-off-by: Randall Spangler
Signed-off-by: Simon Glass
Signed-off-by: Hung-ying Tyan
---
Changes in v3: None
Changes in v2:
- Fixed warnings of exceeding 80 chars in a line.
- Added commit message.
- Dropped the period
Signed-off-by: Hung-ying Tyan
---
Changes in v3: None
Changes in v2:
- Added gpio node to exynos5250.dtsi.
- Added commit message.
- Dropped the period from commit subject.
arch/arm/dts/exynos5250.dtsi | 3 ++
board/samsung/dts/exynos5250-snow.dts | 82
This patch initiates cros-ec in board_init() to enable it for smdk5250.
Signed-off-by: Simon Glass
Signed-off-by: Vincent Palatin
Signed-off-by: Hung-ying Tyan
---
Changes in v3: None
Changes in v2:
- Moved code from smdk5250.c (non-FDT) to exynos5-dt.c (FDT).
- Moved code from smdk5250.h to
This patch adds the driver for keyboard that's controlled by ChromeOS EC.
Signed-off-by: Randall Spangler
Signed-off-by: Simon Glass
Signed-off-by: Vincent Palatin
Signed-off-by: Hung-ying Tyan
---
Changes in v3:
- Rearranged #include directives in alphabetical order.
- Removed outdated
This patch adds SPI support for carrying out the cros_ec protocol.
Signed-off-by: Hung-ying Tyan
Signed-off-by: Randall Spangler
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2:
- Fixed warnings of exceeding 80 chars in a line.
- Added commit message.
- Dropped the period
line.
- Added commit message to each patch.
- Dropped the period from commit subjects.
Hung-ying Tyan (7):
cros: add cros_ec driver
cros: add I2C support for cros_ec
cros: add SPI support for cros_ec
cros: add LPC support for cros_ec
cros: adds cros_ec keyboard driver
cros: exynos: add
from commit subjects.
Hung-ying Tyan (7):
cros: add cros_ec driver
cros: add I2C support for cros_ec
cros: add SPI support for cros_ec
cros: add LPC support for cros_ec
cros: adds cros_ec keyboard driver
cros: exynos: add cros-ec device nodes to exynos5250-snow.dts
cros: enable cros
This patch adds the driver for keyboard that's controlled by ChromeOS EC.
Signed-off-by: Randall Spangler
Signed-off-by: Simon Glass
Signed-off-by: Vincent Palatin
Signed-off-by: Hung-ying Tyan
---
Changes in v2:
- Wrapped lines to comply with the 80-char rule.
R
Signed-off-by: Hung-ying Tyan
---
Changes in v2:
- Add gpio node to exynos5250.dtsi.
arch/arm/dts/exynos5250.dtsi | 3 ++
board/samsung/dts/exynos5250-snow.dts | 82 +++
2 files changed, 85 insertions(+)
diff --git a/arch/arm/dts/exynos5250.dtsi b
This patch initiates cros-ec in board_init() to enable it for smdk5250.
Signed-off-by: Simon Glass
Signed-off-by: Vincent Palatin
Signed-off-by: Hung-ying Tyan
---
Changes in v2:
- Code moved from smdk5250.c (non-FDT) to exynos5-dt.c (FDT).
- Code moved from smdk5250.h to exynos5250-dt.h
This patch adds SPI support for carrying out the cros_ec protocol.
Signed-off-by: Hung-ying Tyan
Signed-off-by: Randall Spangler
Signed-off-by: Simon Glass
---
Changes in v2:
- Wrapped lines to comply with the 80-char rule.
drivers/misc/Makefile | 1 +
drivers/misc/cros_ec_spi.c
This patch adds I2C support for carrying out the cros_ec protocol.
Signed-off-by: Randall Spangler
Signed-off-by: Simon Glass
Signed-off-by: Hung-ying Tyan
---
Changes in v2:
- Wrapped lines to comply with the 80-char rule.
drivers/misc/Makefile | 1 +
drivers/misc/cros_ec_i2c.c
This patch adds LPC support for carrying out the cros_ec protocol.
Signed-off-by: Randall Spangler
Signed-off-by: Simon Glass
Signed-off-by: Hung-ying Tyan
---
Changes in v2:
- Wrapped lines to comply with the 80-char rule.
drivers/misc/Makefile | 1 +
drivers/misc/cros_ec_lpc.c
On Tue, Mar 5, 2013 at 9:11 PM, Amar wrote:
> This patch adds FDT and non-FDT support for I2C, and initialise
> the I2C channels.
>
> Signed-off-by: Amar
>
Tested-by: Hung-ying Tyan
___
U-Boot mailing list
U-Boot@lists.denx.de
http:
mistake of making an equality check to an assignment.
>In the case of I2C write with the zero-length address, while tranfering
> the
>data, it should be an equality check (==) instead of an assignment (=).
>
> Signed-off-by: Tom Wai-Hong Tam
> Signed-off-by:
Signed-off-by: Alim Akhtar
Signed-off-by: Bernie Thompson
Signed-off-by: Doug Anderson
Signed-off-by: Gabe Black
Signed-off-by: Hatim Ali
Signed-off-by: Sean Paul
Signed-off-by: Simon Glass
Signed-off-by: Vincent Palatin
Signed-off-by: Hung-ying Tyan
---
board/samsung/dts/exynos5250
Signed-off-by: Randall Spangler
Signed-off-by: Simon Glass
Signed-off-by: Hung-ying Tyan
---
drivers/misc/Makefile | 1 +
drivers/misc/cros_ec_i2c.c | 198 +
2 files changed, 199 insertions(+)
create mode 100644 drivers/misc/cros_ec_i2c.c
Signed-off-by: Hung-ying Tyan
Signed-off-by: Randall Spangler
Signed-off-by: Simon Glass
---
drivers/misc/Makefile | 1 +
drivers/misc/cros_ec_spi.c | 165 +
drivers/spi/exynos_spi.c | 22 ++
include/spi.h | 16 +
4
Signed-off-by: Sean Paul
Signed-off-by: Simon Glass
Signed-off-by: Taylor Hutt
Signed-off-by: Terry Lambert
Signed-off-by: Tom Wai-Hong Tam
Signed-off-by: Vic Yang
Signed-off-by: Vincent Palatin
Signed-off-by: Hung-ying Tyan
---
board/samsung/smdk5250/smdk5250.c | 44
Signed-off-by: Randall Spangler
Signed-off-by: Simon Glass
Signed-off-by: Vincent Palatin
Signed-off-by: Hung-ying Tyan
---
README | 5 +
drivers/input/Makefile | 1 +
drivers/input/cros_ec_keyb.c | 263 +++
include
The series depends on http://patchwork.ozlabs.org/patch/217347.
Hung-ying Tyan (7):
Add cros_ec driver.
Add cros_ec_i2c.
Add cros_ec_spi.
Add cros_ec_lpc.
Add cros_ec_keyb.
Add cros-ec-keyb to exynos5250-snow.dts.
Enable cros-ec for smdk5250.
README
Signed-off-by: Randall Spangler
Signed-off-by: Simon Glass
Signed-off-by: Hung-ying Tyan
---
drivers/misc/Makefile | 1 +
drivers/misc/cros_ec_lpc.c | 282 +
2 files changed, 283 insertions(+)
create mode 100644 drivers/misc/cros_ec_lpc.c
38 matches
Mail list logo