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 B7975C4320E for ; Fri, 27 Aug 2021 10:44:38 +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 EA73F608FB for ; Fri, 27 Aug 2021 10:44:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org EA73F608FB 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 41C008326F; Fri, 27 Aug 2021 12:44:35 +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="xRlGebeq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7179183296; Fri, 27 Aug 2021 12:44:32 +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 4B49380612 for ; Fri, 27 Aug 2021 12:44:26 +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=1630061066; x=1661597066; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=rKfNzaps5FqNIE/wzOhEvI97t3JZyRo9KVHxNXuz7qU=; b=xRlGebeqwcZZV1M6geYcXLKajDs4jTw/GM7bkYD++/H5i+00L2g+d72B 6xlgvImfoEMmEqIjo0VgjykZPKJkG7lbSFiJeyRgPizTX1WH1blB7l9mb gDme/yUbs3V4hj4yivnMO8qUmVPtYmwusCuhJchYBODWJpROUkfUxuJPY CBtwrOhh9dq1cWlDWyDPd9fBLvDKOQTQw1cgAfcMemusU/ncN13RjuFIX QrT/hlDVhScfeOv52XFsegaK/YYmQ/DVaV4aVFC96fUzKxw9bEkeC8hXL IK/u+Adj+rPQxd95rwhCpCO4Egxdm7pJ0hq/CE67Oq4HtXJQ9mQ7ZRQhz Q==; IronPort-SDR: MLdxt0CU07QQ4sGiKgKkkosl6li3746lPn2kBWgziRevwnn871b1LIGx5g3N62gJuKHMxn6IqN ttM5tEKQ4+OclQkwPD+2Obd+7zKk96SdFnoVSX688BbcwMLfksKKHAYmpeEpeO7VPzuiWEJCwy HlUgAHLnxzj+FeJ0zcvyRHH8sKOP83c+TzStNn20MSQJXr6gS7rwAu+BEDhFXlmZB+WBvCfR8M l0T8QH3bwD3E5E4f+sHPcijTwViovX/2Bj2bcgj7aI/B64kOjClPFt6OQfIx+sHTgE0UtZL1zF Pho= X-IronPort-AV: E=Sophos;i="5.84,356,1620716400"; d="scan'208";a="141833587" 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:21 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) 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.2176.14; Fri, 27 Aug 2021 03:44:21 -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:18 -0700 From: Eugen Hristev To: CC: Eugen Hristev Subject: [PATCH 1/2] include: dt-bindings: mfd: add atmel flexcom include file Date: Fri, 27 Aug 2021 13:44:11 +0300 Message-ID: <20210827104412.41793-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.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 Add dt-bindings include file for Atmel Flexcom hardware block. This file is copied from Linux kernel. It is used in devicetrees from Linux. Signed-off-by: Eugen Hristev --- MAINTAINERS | 1 + include/dt-bindings/mfd/atmel-flexcom.h | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 include/dt-bindings/mfd/atmel-flexcom.h diff --git a/MAINTAINERS b/MAINTAINERS index 776ff703b9..f4059c1cf4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -312,6 +312,7 @@ F: arch/arm/mach-at91/ F: board/atmel/ F: drivers/cpu/at91_cpu.c F: drivers/misc/microchip_flexcom.c +F: include/dt-bindings/mfd/atmel-flexcom.h F: drivers/timer/mchp-pit64b-timer.c ARM NEXELL S5P4418 diff --git a/include/dt-bindings/mfd/atmel-flexcom.h b/include/dt-bindings/mfd/atmel-flexcom.h new file mode 100644 index 0000000000..4e2fc32363 --- /dev/null +++ b/include/dt-bindings/mfd/atmel-flexcom.h @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * This header provides macros for Atmel Flexcom DT bindings. + * + * Copyright (C) 2015 Cyrille Pitchen + */ + +#ifndef __DT_BINDINGS_ATMEL_FLEXCOM_H__ +#define __DT_BINDINGS_ATMEL_FLEXCOM_H__ + +#define ATMEL_FLEXCOM_MODE_USART 1 +#define ATMEL_FLEXCOM_MODE_SPI 2 +#define ATMEL_FLEXCOM_MODE_TWI 3 + +#endif /* __DT_BINDINGS_ATMEL_FLEXCOM_H__ */ -- 2.25.1