From patchwork Thu Feb 16 22:25:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Wanner X-Patchwork-Id: 13144081 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3DD30C636CC for ; Thu, 16 Feb 2023 22:26:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ab0fNGvIYQW6RxYAxr/pCF1ABp3J42DAOk/3dKmQnJo=; b=2t12C5lYauv+Lq rHtfKbgUEm5Lv8Tgha1z/jGEUNNl1xpFFMkPgNaNaMB2omqvowp9l15bvxqnnKp+ueet+SSQa+1Q5 KT8Va7n3y2/vpl9TK/S0IiEIxUIjR4Ruo/YQW7JUBOoGBU3hAiq0SWVlXGaSVzSkKjzihn6NdFeBZ NkaFXO4D7hhzZ8pei1Eo9dlKZi1KBgovUmhT23Vb0J9ojoYsmNUofQ0+PXyoMlXeTt9YJOWSnGk7w w6LtApNRzRLHebvVb0n39zULYbvfrq8OwOmXJWy1RSAy9tVnc+elE8Q3gdoePEufqD5eO0+FfTN+4 4bY/5VsTDH/OMY0g6r3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pSmh5-00C0mK-27; Thu, 16 Feb 2023 22:25:35 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pSmgw-00C0kA-DB for linux-arm-kernel@lists.infradead.org; Thu, 16 Feb 2023 22:25:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1676586326; x=1708122326; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=MY99QrfOBLMmoR5qfOBBHic4fkNzKFK/inr8InHiPlo=; b=d5jW/T8rCtmCVBvzfkQaA0c0ApW02+3oKy4NtYWkk8Aww7muXXeslU2U 9X84J4QIGqirOmP1o2FwMZU91cYXLrVBwl8Q9/sWSUcil0Id+vznP+gWB HHMB7NQOpiYTC76459dn1tDacgIL0dfwl7q6xyuoBTkAtdIrIuU0mvu6/ nNLaTzTmdB8fb5qBtKVTtEV/jPRoXOzJAjk4bUY1ibSid+JpxuCS9aag9 9Ib1kgXEgW336Oo3nsNVNWADwRLCJCYMxdlUxbZITfywqlWkJdMYj9OyY WPZyd9vbK0XwtlUVMX1CLvSYGzgLJe1+3ZyoxJP2V5uIYGXVcu9a/hyZe A==; X-IronPort-AV: E=Sophos;i="5.97,304,1669100400"; d="scan'208";a="201366783" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 16 Feb 2023 15:25:17 -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.2507.16; Thu, 16 Feb 2023 15:25:16 -0700 Received: from ryan-Precision-3630-Tower.microchip.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.16 via Frontend Transport; Thu, 16 Feb 2023 15:25:16 -0700 From: To: , , , , , , CC: , , , , Ryan Wanner Subject: [PATCH v2 2/2] ARM: at91: dt: adding new macros Date: Thu, 16 Feb 2023 15:25:24 -0700 Message-ID: <20230216222524.3107759-3-Ryan.Wanner@microchip.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230216222524.3107759-1-Ryan.Wanner@microchip.com> References: <20230216222524.3107759-1-Ryan.Wanner@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230216_142526_472734_71E52D74 X-CRM114-Status: UNSURE ( 9.85 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Ryan Wanner Adding macros for sama7g drive strength. Signed-off-by: Ryan Wanner --- changes from v1: - Fix ABI break. - Add some small comments to describe drive strength macros. include/dt-bindings/pinctrl/at91.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/pinctrl/at91.h b/include/dt-bindings/pinctrl/at91.h index e8e117306b1b..12f3edf2a9c4 100644 --- a/include/dt-bindings/pinctrl/at91.h +++ b/include/dt-bindings/pinctrl/at91.h @@ -42,8 +42,16 @@ #define AT91_PERIPH_C 3 #define AT91_PERIPH_D 4 -#define ATMEL_PIO_DRVSTR_LO 1 +/*These macros are for all other at91 pinctrl drivers*/ +#define ATMEL_PIO_DRVSTR_LO 0 +#define ATMEL_PIO_DRVSTR_LO_1 1 #define ATMEL_PIO_DRVSTR_ME 2 #define ATMEL_PIO_DRVSTR_HI 3 +/* These macros are for the sama7g5 pinctrl driver*/ +#define ATMEL_PIO_DRVSTR_LO_D 0 +#define ATMEL_PIO_DRVSTR_HI_A 1 +#define ATMEL_PIO_DRVSTR_LO_C 2 +#define ATMEL_PIO_DRVSTR_LO_B 3 + #endif /* __DT_BINDINGS_AT91_PINCTRL_H__ */