From patchwork Mon Aug 29 08:21:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vignesh Raghavendra X-Patchwork-Id: 12957522 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 7E822ECAAD4 for ; Mon, 29 Aug 2022 08:25:23 +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=hLWXTvysJnYMcTxRKqC04wfYPEdH+tJVV02mMM6cZ3s=; b=UJ6chuSO8yCLUo BpZ7+9KflESKRgHwNeNBvAkk8XKMEYL9BRCgW6z99b5yfqo5nWqr6vWx1Ka4iDNGsgrh+Haxus/oI caw/f++sYnKD36RcCr0n5ofkm8/+67LW36qu5rnN8tAXrHZGo9gfsnM1t+LVqeDOrX7mkCi31xh4I BDvlF9RaGogbBrRntZvegqfCdOBLtL7p9HKgcBc6SMls1qpHkOGw34vrta3uio1t4HU1G/YnKWqPf NPAzikN8x5Rq/vgjij3VITrFeKDRyGylPnw8Gsgjym8kSKu8iYBMlwSfDTfLA4c4cjyvqJb4DzLoR o3mjvutM2TT812GNkNIw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oSa3s-0069GU-JE; Mon, 29 Aug 2022 08:24:01 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oSa2H-0068MY-5y for linux-arm-kernel@lists.infradead.org; Mon, 29 Aug 2022 08:22:31 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 27T8MIaU028612; Mon, 29 Aug 2022 03:22:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1661761338; bh=0p631o+37+RBsDxNt/tvZKJK942T9FsIOH4T8evU86g=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=XKfgwIvzyUNHzXLqmES5XQoJBW2h2rHJiHoEQGUfd7jVgWQilHKvrLg54Bpx6hYdC 3F4KunjzJawGeUIWPSAuCTOwwf2sWYqNkFJK1QB6LAd/NIDT7gUgS/wGC0GmSa4tY+ 8/7qfB9MZ1OfAk54+xA1icuIVn+6U0Hl1FYuA/1o= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 27T8MIPw029582 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 29 Aug 2022 03:22:18 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Mon, 29 Aug 2022 03:22:17 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Mon, 29 Aug 2022 03:22:17 -0500 Received: from uda0132425.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 27T8M7Yb059309; Mon, 29 Aug 2022 03:22:14 -0500 From: Vignesh Raghavendra To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Linus Walleij CC: , , , , Bryan Brattlof Subject: [PATCH 2/4] dt-bindings: pinctrl: k3: Introduce pinmux definitions for AM62A Date: Mon, 29 Aug 2022 13:51:58 +0530 Message-ID: <20220829082200.241653-3-vigneshr@ti.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220829082200.241653-1-vigneshr@ti.com> References: <20220829082200.241653-1-vigneshr@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220829_012221_339327_D29840F1 X-CRM114-Status: GOOD ( 12.02 ) 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 Add pinctrl macros for AM62AX SoCs. These macro definitions are similar to that of previous platforms, but adding new definitions to avoid any naming confusions in the SoC dts files. checkpatch insists the following error exists: ERROR: Macros with complex values should be enclosed in parentheses However, we do not need parentheses enclosing the values for this macro as we do intend it to generate two separate values as has been done for other similar platforms. Signed-off-by: Vignesh Raghavendra Acked-by: Krzysztof Kozlowski Acked-by: Linus Walleij --- include/dt-bindings/pinctrl/k3.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dt-bindings/pinctrl/k3.h b/include/dt-bindings/pinctrl/k3.h index a5204ab91d3e..97cd2e39efa4 100644 --- a/include/dt-bindings/pinctrl/k3.h +++ b/include/dt-bindings/pinctrl/k3.h @@ -44,4 +44,6 @@ #define AM62X_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) #define AM62X_MCU_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) +#define AM62AX_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) +#define AM62AX_MCU_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) #endif