From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2829FC433FE for ; Wed, 5 Jan 2022 10:05:04 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1A62082F87; Wed, 5 Jan 2022 11:05:01 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=walle.cc Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; secure) header.d=walle.cc header.i=@walle.cc header.b="iGJ3r49k"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 18E978344C; Wed, 5 Jan 2022 11:04:59 +0100 (CET) Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6DECB82F87 for ; Wed, 5 Jan 2022 11:04:56 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=walle.cc Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=michael@walle.cc Received: from mwalle01.kontron.local. (unknown [213.135.10.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id C167122239; Wed, 5 Jan 2022 11:04:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1641377095; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iE6YCLJJ899qjR6RYxNQGQ5leViuyy3gZOB+hkyly9o=; b=iGJ3r49kvEBPcy6AkO8qLHhdbFU2C7Uq4ZFj/6ejUe50K7KiGLZAz3mEWqgP3g0Cd16g3B UcGFAF6R95L2jz3AdS2ipkYQ0jksLnGbIttjj3tJTQZvIR/NBpc8V690k7VwgBQxiai4OB avuAtVQGOKCzQpih/lJPwUm7snid/hk= From: Michael Walle To: eugen.hristev@microchip.com Cc: hs@denx.de, u-boot@lists.denx.de, Michael Walle Subject: Re: [PATCH 1/4] i2c: at91: add compatible with microchip,sama7g5-i2c Date: Wed, 5 Jan 2022 11:04:48 +0100 Message-Id: <20220105100448.1420182-1-michael@walle.cc> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220104184359.315440-1-eugen.hristev@microchip.com> References: <20220104184359.315440-1-eugen.hristev@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Hi, > Add compatible and data platform struct for sama7g5 SoC. > > Signed-off-by: Eugen Hristev > --- > 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..400a3786ca 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 sama7g5_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,sama7g5-i2c", .data = (long)&sama7g5_config }, I see that this compatible string is is also used in the linux device tree, but there is no dt binding for it in linux. Could you add it, so the binding is approved by Rob? -michael