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 703EAC433EF for ; Wed, 5 Jan 2022 11:05:27 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 322A68361E; Wed, 5 Jan 2022 12:05: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="n/ioo2Z5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2DB8C835EA; Wed, 5 Jan 2022 12:05:24 +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 31381835EA for ; Wed, 5 Jan 2022 12:05:21 +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=1641380721; x=1672916721; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=qvmUxiYOJcJvVvbNBOD6xcwCda3JyzxMvU9Dox9KXmw=; b=n/ioo2Z5Xt4EL0oWWGjgdGw0PoplSWHPdjuHcLwgMwDD7dyDUnxNLAAq k+9mnzz46+soeFmoMaND7beTYYJgoKWSppuRiNR3W/1AVJQzRc+6Vf2lK OP9cTFuqrwbTWiWv7prSgqUAYNMNuYKXEKUNt39ucggmvqEbRYjvS506v fjrL1oNG8kguv8I110AM+Myj7R7YjWYPv3AabAg4b5z6f6Ip3SgxdyHdE WIr040aM/PJJ4vbwwI4zBFz0k001dSztEOHfmmqmPF/hFci6XkyDVndOL UAAD2VGsM4Qd0Sl8ypaSxLWc3DlP/AyoEIIutRQpDqiQ1BT+hqfCZ+Uup g==; IronPort-SDR: X9SYzA2ppA401ioxYSSXxcCuwDsmm9CwDKM7EBPuIgmpWBLPGYpfbhpdUdMwnA4+35M8TydZCs ZIW3SoBzHgoEzdK1SnoTA7PKYcZWpm/8t/yBNfaRTqUJRrpKq8i0rnipbnZ3XDlDgTWx3O0YFw wJaJLH0LGAt3srRtzL+5aQuRER1DhkuLNb90r0JVKhuDu7PlITctHCo6mNflsDe+gJ3LoIK+2T RGgx0U+NjtxozJvPRHTsxlLhfHYVaFqpY23rhzPKtKPSR5fwPe2JvxkdBDT5QrdcxN/UwgZR6r YAB5fLqfa3O8637KSE0yomX9 X-IronPort-AV: E=Sophos;i="5.88,263,1635231600"; d="scan'208";a="148616620" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 05 Jan 2022 04:05:19 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Wed, 5 Jan 2022 04:05:18 -0700 Received: from ROB-ULT-M18282.microchip.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Wed, 5 Jan 2022 04:05:13 -0700 From: Eugen Hristev To: , , CC: Eugen Hristev Subject: [PATCH] i2c: at91: add compatible with microchip,sam9x60-i2c Date: Wed, 5 Jan 2022 13:05:08 +0200 Message-ID: <20220105110508.347026-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 sam9x60 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..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