From a6cc0b082f0ec14695c2813bbf0de702080d1352 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Tue, 19 Apr 2022 15:01:31 +0200 Subject: [PATCH 1/3] i2c: ihs: intel: Fix typo in comments (actual) s/actucal/actual/g Signed-off-by: Michal Simek Reviewed-by: Heiko Schocher --- drivers/i2c/ihs_i2c.c | 2 +- drivers/i2c/intel_i2c.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/ihs_i2c.c b/drivers/i2c/ihs_i2c.c index ecca90628e7..d715714638f 100644 --- a/drivers/i2c/ihs_i2c.c +++ b/drivers/i2c/ihs_i2c.c @@ -195,7 +195,7 @@ static int ihs_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, int nmsgs) memset(&dummy, 0, sizeof(struct i2c_msg)); /* We expect either two messages (one with an offset and one with the - * actucal data) or one message (just data) + * actual data) or one message (just data) */ if (nmsgs > 2 || nmsgs == 0) { debug("%s: Only one or two messages are supported\n", __func__); diff --git a/drivers/i2c/intel_i2c.c b/drivers/i2c/intel_i2c.c index dc26fa8c542..4fc6f1a11a7 100644 --- a/drivers/i2c/intel_i2c.c +++ b/drivers/i2c/intel_i2c.c @@ -213,7 +213,7 @@ static int intel_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, int nmsgs) /* * We expect either two messages (one with an offset and one with the - * actucal data) or one message (just data) + * actual data) or one message (just data) */ if (nmsgs > 2 || nmsgs == 0) { debug("%s: Only one or two messages are supported", __func__); From 25965e8613c1b89ed5b29c5ed3b53a3153356913 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pali=20Roh=C3=A1r?= Date: Thu, 28 Apr 2022 20:58:28 +0200 Subject: [PATCH 2/3] doc: Add device-tree-bindings for atsha204 and atsha204a MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Document trivial bindings for atsha204 and atsha204a. Signed-off-by: Pali Rohár Reviewed-by: Heiko Schocher --- doc/device-tree-bindings/misc/atsha204.txt | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 doc/device-tree-bindings/misc/atsha204.txt diff --git a/doc/device-tree-bindings/misc/atsha204.txt b/doc/device-tree-bindings/misc/atsha204.txt new file mode 100644 index 00000000000..3adc12112f5 --- /dev/null +++ b/doc/device-tree-bindings/misc/atsha204.txt @@ -0,0 +1,4 @@ +Atmel ATSHA204 and ATSHA204A i2c h/w symmetric crypto module + +Required properties: +- compatible : should be "atmel,atsha204" or "atmel,atsha204a" From 89eabd2f3562115ee56cdad03324cc748f78d177 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pali=20Roh=C3=A1r?= Date: Tue, 5 Apr 2022 14:49:08 +0200 Subject: [PATCH 3/3] misc: atsha204a: Add support for atsha204 chip MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit atsha204 chip is predecessor of atsha204a chip. Current U-Boot driver atsha204a-i2c.c can use both atsha204 and atsha204a chips because it does not call specific functions to just one of these chips. So just add compatible string for atsha204. Signed-off-by: Pali Rohár Reviewed-by: Heiko Schocher --- drivers/misc/atsha204a-i2c.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/atsha204a-i2c.c b/drivers/misc/atsha204a-i2c.c index 5da8134f05c..aa6acf0f9a0 100644 --- a/drivers/misc/atsha204a-i2c.c +++ b/drivers/misc/atsha204a-i2c.c @@ -283,6 +283,7 @@ static int atsha204a_of_to_plat(struct udevice *dev) } static const struct udevice_id atsha204a_ids[] = { + { .compatible = "atmel,atsha204" }, { .compatible = "atmel,atsha204a" }, { } };