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 X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5A78FC432BE for ; Fri, 27 Aug 2021 10:44:52 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 94F2660FDA for ; Fri, 27 Aug 2021 10:44:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 94F2660FDA Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4D8C48329B; Fri, 27 Aug 2021 12:44:39 +0200 (CEST) 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="BskNxX1a"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 14CE380612; Fri, 27 Aug 2021 12:44:33 +0200 (CEST) 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 3337F83271 for ; Fri, 27 Aug 2021 12:44:28 +0200 (CEST) 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=1630061068; x=1661597068; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=HTXdjDmU/AyHCvpFR8wuL6baAlr3uP85Y+5HGg8GPPo=; b=BskNxX1amZ5IDFFS2VjOaslnzHCy7mjLJMEq/iACKK6rnZbht9Bs6LuG bNK/xqLuITWcjuwfvas+pRvyiVhqizNpQzZf0TZte5GNi5BHE7lV8QdMQ 3w7/r1rWMESf0wL1prosmrb9gvUlcc8uLcF99gabrefexUJJEjWZcrIls qVWeHezcAzdO4cA1RAc8/FyUZ8T6sX9EDU/aOujGhF62Dqm8rgYhBkTSO xmj24I7owtDvFj7B/HoOCGp4K5eJkdP4FAGqBweT0d1JIn5BpNSripJzV mPGahWUvgrrNsZhxaygnXu6HC6w6I5pSBYgXvd1UGcjJw6Y71pLvmEQix Q==; IronPort-SDR: yKXg4j6xNf9OEEqz4uTZ9ysJwRRfu8qYCGcUTQOWRn1Iw6IKWufc5gNS3V27qLORu1DlQsS4rA qqy1+GWGKEJCjz6x8NKdaNWoTk423OqxUsIwcBRPnAco6/5XpbEN3f+nxGrhtLQTWBnpDlfwLE RZRYlwiG27D22OuFh26bRbGPet+u8h6A38LjTY12dl0ZhyY+I+cHjebjG6zT9tuKluF+eD2nMp GdKSFUAILK22Z54ButAiEkfJBRhPvsNaGrpwq1/f/+51aEuBmIk/GcgJFhZS3JHCT30zltqZMD YnuLdVlN2sLfR3CpXniZHnHs X-IronPort-AV: E=Sophos;i="5.84,356,1620716400"; d="scan'208";a="141833592" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 27 Aug 2021 03:44:23 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Fri, 27 Aug 2021 03:44:23 -0700 Received: from ROB-ULT-M18282.microchip.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Fri, 27 Aug 2021 03:44:21 -0700 From: Eugen Hristev To: CC: Eugen Hristev Subject: [PATCH 2/2] ARM: dts: at91: update flexcom defines using include file Date: Fri, 27 Aug 2021 13:44:12 +0300 Message-ID: <20210827104412.41793-2-eugen.hristev@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210827104412.41793-1-eugen.hristev@microchip.com> References: <20210827104412.41793-1-eugen.hristev@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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 Replace the number in the flexcom-mode property with the define from the include file. This corresponds to the approach in Linux kernel. Signed-off-by: Eugen Hristev --- arch/arm/dts/sam9x60ek.dts | 3 ++- arch/arm/dts/sama7g5ek.dts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/sam9x60ek.dts b/arch/arm/dts/sam9x60ek.dts index 77edd593b4..32ffe93b4d 100644 --- a/arch/arm/dts/sam9x60ek.dts +++ b/arch/arm/dts/sam9x60ek.dts @@ -7,6 +7,7 @@ * Author: Sandeep Sheriker M */ /dts-v1/; +#include #include "sam9x60.dtsi" / { @@ -57,7 +58,7 @@ }; flx0: flexcom@f801c600 { - atmel,flexcom-mode = <3>; + atmel,flexcom-mode = ; status = "okay"; i2c@600 { diff --git a/arch/arm/dts/sama7g5ek.dts b/arch/arm/dts/sama7g5ek.dts index 3a4fdd38a5..1c59a8aaf8 100644 --- a/arch/arm/dts/sama7g5ek.dts +++ b/arch/arm/dts/sama7g5ek.dts @@ -8,6 +8,7 @@ * 2020, Claudiu Beznea */ /dts-v1/; +#include #include "sama7g5.dtsi" #include "sama7g5-pinfunc.h" @@ -64,7 +65,7 @@ }; &flx1 { - atmel,flexcom-mode = <3>; + atmel,flexcom-mode = ; status = "okay"; }; -- 2.25.1