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 6D7C2C433F5 for ; Tue, 4 Jan 2022 18:44:37 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5AFE48302A; Tue, 4 Jan 2022 19:44:25 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=microchip.com header.i=@microchip.com header.b="vFxQSXCk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9FE7682F89; Tue, 4 Jan 2022 19:44:22 +0100 (CET) Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CE9DE82F91 for ; Tue, 4 Jan 2022 19:44:16 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=Eugen.Hristev@microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1641321858; x=1672857858; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=P+Su0vvKWh85KurNBIXM70naBiz/F3jOirO6IHcGjh0=; b=vFxQSXCkQn+fiyrIwknsAsfcVaU7I9I9A2vIvAcWJ6+ofyHwhRlsileo qElHcpboAvE6bKFI6TFlgGjVDFK4UM6PSBo+IVf34Y0SQiXK3BwRAlE4W 3fVFdIfD8tLy8N8Svd4wH8bwR4dL1YQye4Zv4RuvKUKE+eVoQ3hDVG8Xr trWdwPi5J7mACUmr9YlKlGbEZnSXUCFd3E1skOViIYXI064eJ8ZqB8Eat YmqXfCQn4GIeKPlGcHv9KUM22B9lUGNMdUWhQ+7/zkjLu9Tw9z4Iha1yC mz6Cl1NPeahm1ezy5VtDG9+yROpjYJk0YEPFlzJoVgmSsaoHJ9OHWWySv w==; IronPort-SDR: c0Is5Uz6Ba/rWeq26Fh+DqwDiOrtDrx9zASQy/nISoSnIm6UAiXYoqGEFZDn3VXG9vtU+ddh06 K4Ys/O4/Io4NAALVOfjzmj2bots+QOaML4U+IoHnVHMiUVEPMXOx+7ziM4xam7H+SLC+k6joek r0e80fxcRyvlturOIz4s4keKktLzUdu3VUm8Qy9RCVXCaVkOvVx/+Uy1LUEoznzktQAweqIE5Z lJKDxthIzQsOhdK0LL4jHRdlTxi6LxPfB1uqaif7hxWCNMNIImyuGftWg90ZtVlJa02ahRc3vz bavbZvhFgo0uaAABQMggLTpD X-IronPort-AV: E=Sophos;i="5.88,261,1635231600"; d="scan'208";a="148540938" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 04 Jan 2022 11:44:10 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.87.72) by chn-vm-ex02.mchp-main.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Tue, 4 Jan 2022 11:44:08 -0700 Received: from ROB-ULT-M18282.microchip.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Tue, 4 Jan 2022 11:44:05 -0700 From: Eugen Hristev To: , CC: Eugen Hristev Subject: [PATCH 1/4] i2c: at91: add compatible with microchip,sama7g5-i2c Date: Tue, 4 Jan 2022 20:43:56 +0200 Message-ID: <20220104184359.315440-1-eugen.hristev@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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 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 }, { } }; -- 2.25.1