All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] i2c: at91: add compatible with microchip,sam9x60-i2c
@ 2022-01-05 11:05 Eugen Hristev
  2022-01-10  5:41 ` Heiko Schocher
  0 siblings, 1 reply; 3+ messages in thread
From: Eugen Hristev @ 2022-01-05 11:05 UTC (permalink / raw)
  To: hs, u-boot, michael; +Cc: Eugen Hristev

Add compatible and data platform struct for sam9x60 SoC.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---
 drivers/i2c/at91_i2c.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/i2c/at91_i2c.c b/drivers/i2c/at91_i2c.c
index 6b4c0e4804..e743d2a849 100644
--- a/drivers/i2c/at91_i2c.c
+++ b/drivers/i2c/at91_i2c.c
@@ -305,6 +305,11 @@ static const struct at91_i2c_pdata sama5d2_config = {
 	.clk_offset = 3,
 };
 
+static const struct at91_i2c_pdata sam9x60_config = {
+	.clk_max_div = 7,
+	.clk_offset = 3,
+};
+
 static const struct udevice_id at91_i2c_ids[] = {
 { .compatible = "atmel,at91rm9200-i2c", .data = (long)&at91rm9200_config },
 { .compatible = "atmel,at91sam9260-i2c", .data = (long)&at91sam9260_config },
@@ -314,6 +319,7 @@ static const struct udevice_id at91_i2c_ids[] = {
 { .compatible = "atmel,at91sam9x5-i2c", .data = (long)&at91sam9x5_config },
 { .compatible = "atmel,sama5d4-i2c", .data = (long)&sama5d4_config },
 { .compatible = "atmel,sama5d2-i2c", .data = (long)&sama5d2_config },
+{ .compatible = "microchip,sam9x60-i2c", .data = (long)&sam9x60_config },
 { }
 };
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] i2c: at91: add compatible with microchip,sam9x60-i2c
  2022-01-05 11:05 [PATCH] i2c: at91: add compatible with microchip,sam9x60-i2c Eugen Hristev
@ 2022-01-10  5:41 ` Heiko Schocher
  2022-01-13  9:48   ` Eugen.Hristev
  0 siblings, 1 reply; 3+ messages in thread
From: Heiko Schocher @ 2022-01-10  5:41 UTC (permalink / raw)
  To: Eugen Hristev, u-boot, michael

Hello Eugen,

On 05.01.22 12:05, Eugen Hristev wrote:
> Add compatible and data platform struct for sam9x60 SoC.
> 
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
> ---
>  drivers/i2c/at91_i2c.c | 6 ++++++
>  1 file changed, 6 insertions(+)

Thanks!

Reviewed-by: Heiko Schocher <hs@denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs@denx.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] i2c: at91: add compatible with microchip,sam9x60-i2c
  2022-01-10  5:41 ` Heiko Schocher
@ 2022-01-13  9:48   ` Eugen.Hristev
  0 siblings, 0 replies; 3+ messages in thread
From: Eugen.Hristev @ 2022-01-13  9:48 UTC (permalink / raw)
  To: hs, u-boot, michael

On 1/10/22 7:41 AM, Heiko Schocher wrote:
> Hello Eugen,
> 
> On 05.01.22 12:05, Eugen Hristev wrote:
>> Add compatible and data platform struct for sam9x60 SoC.
>>
>> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
>> ---
>>   drivers/i2c/at91_i2c.c | 6 ++++++
>>   1 file changed, 6 insertions(+)
> 
> Thanks!
> 
> Reviewed-by: Heiko Schocher <hs@denx.de>

Applied to u-boot-at91/master

> 
> bye,
> Heiko
> --
> DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs@denx.de
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-13  9:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-05 11:05 [PATCH] i2c: at91: add compatible with microchip,sam9x60-i2c Eugen Hristev
2022-01-10  5:41 ` Heiko Schocher
2022-01-13  9:48   ` Eugen.Hristev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.