From patchwork Thu Feb 9 15:45:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Wanner X-Patchwork-Id: 652179 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E082BC61DA4 for ; Thu, 9 Feb 2023 15:47:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231393AbjBIPrQ (ORCPT ); Thu, 9 Feb 2023 10:47:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231230AbjBIPrP (ORCPT ); Thu, 9 Feb 2023 10:47:15 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7DB9658D1; Thu, 9 Feb 2023 07:46:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1675957603; x=1707493603; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=cRZrnanpYDkbJPYdwlxFjU/jZt2cfSVpf0RQ5VKig+c=; b=iDUemL93Q4KHdXG7inlZouW4qZLktiUe/WGT5cTij6V3Axg7K8026Wrs rwaCsj/7KJAFlMSWP27Lt5k7AifK/4gSHwG/3DhCXw5GT3t38E6USdGt9 1MKr82vHyti/IV43ZJlqGE0GExm1uxmczhnB0+ghpsSQl39r/+Cgb4uFz gL0sjyP/iAZmMWON8uy6C8uavhKd36DLPgRl8SCyKf0bMaB6WV0IP5sdd f1PvUpnfEINJVzva2Zp41TzcfbDZxgWCLGeUwrQAVhLiZ5FAChpxd7w1R fJIWa/ktzNQTuyPKs6xhbzEFHVikcVDYBbqcdENfoTYasbAcsj2Ja/APE Q==; X-IronPort-AV: E=Sophos;i="5.97,284,1669100400"; d="scan'208";a="211286114" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 09 Feb 2023 08:45:37 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Thu, 9 Feb 2023 08:45:35 -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, 9 Feb 2023 08:45:35 -0700 From: To: , , , , , , CC: , , , , , Ryan Wanner Subject: [PATCH 2/2] pinctrl: at91: adding new macros Date: Thu, 9 Feb 2023 08:45:44 -0700 Message-ID: <20230209154544.535136-3-Ryan.Wanner@microchip.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230209154544.535136-1-Ryan.Wanner@microchip.com> References: <20230209154544.535136-1-Ryan.Wanner@microchip.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org From: Ryan Wanner Adding macros for sama7g drive strength. Signed-off-by: Ryan Wanner --- include/dt-bindings/pinctrl/at91.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/pinctrl/at91.h b/include/dt-bindings/pinctrl/at91.h index e8e117306b1b..fd0a389b2a0f 100644 --- a/include/dt-bindings/pinctrl/at91.h +++ b/include/dt-bindings/pinctrl/at91.h @@ -42,8 +42,14 @@ #define AT91_PERIPH_C 3 #define AT91_PERIPH_D 4 -#define ATMEL_PIO_DRVSTR_LO 1 +#define ATMEL_PIO_DRVSTR_LO_0 0 +#define ATMEL_PIO_DRVSTR_LO_1 1 #define ATMEL_PIO_DRVSTR_ME 2 #define ATMEL_PIO_DRVSTR_HI 3 +#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__ */