From patchwork Fri Oct 14 08:23:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Apurva Nandan X-Patchwork-Id: 2579 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp64832wrs; Fri, 14 Oct 2022 01:29:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7gPSX1bekl96/JOP2Wqe2dGblyFh9upLpbFIZ1CFOFijsiAcsA6mRXWuQLYMOHuw4jRF87 X-Received: by 2002:a17:90a:bb06:b0:20d:9ac5:c227 with SMTP id u6-20020a17090abb0600b0020d9ac5c227mr4554122pjr.4.1665736143761; Fri, 14 Oct 2022 01:29:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665736143; cv=none; d=google.com; s=arc-20160816; b=hWCV4xg/rpfTO35FPXOO/5ovb06JKLmdehb6VVYrAsz3lySbM+kBrHSbAJ5mbwcSgu gJYAZCRQtvQn+8Csk9aR6EXCk7I3v3X8EtuuezNv1gs2uuc64NC6U5RCIyumSeKYzvJE uSTQZybPLYmhMGeRJnkT9VXJLqqbHiUpvIMbloAscVjiRmjS+G9WDtP8fpt3ON51IxlQ cx8hV6xF8M0HWbKN6xp/bzEWMbHN8ZK4FAiJXWP+q/si7MjkyY5CbRnirBA/1ImapaOo ZMzGTI92DDC7ZkQ4CeVXxLRql1d6HpyGPwmL/SkMPZerpiAFQRrWaoyKFM1V7N1JXSfh tINQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ADec0qEVW0iiqBqWzNyc2AtibtjJ4Hp0q1Rx5ZGR0H8=; b=Ah3CTWQ4baY3483k/Jezj9CXPGvTHIufW+gsD3UCaItK0XXyugpa7x3KyVukf29hY0 tB//BLB+clu0wSwdNyKZuCsVWxMQiCeNrHcct2kTiEpTIO/R5FouEFHtSvSqvGrFZFN7 +hO3K7bykLSF2LNLZB7LLoDtOLsUag1x01/nO9ePqFFKhi1xElD7l7qx+6TqEGkDXM5v n+Blhz9QEl7JAn7Mm7Z4n24VmwLEdpjQMRvOtuMAzhn/DoZ3XuiIlYaXXBvX+rIZwsHL DzYMm1pqitWuDTd0a0uEh21pQw9xTDbbQO01YrgyA8Vyoi1ao2p0DnKBIPtFquahzzfg a8Ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=KyZayiuj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j124-20020a636e82000000b00439398fcb63si2030011pgc.24.2022.10.14.01.28.46; Fri, 14 Oct 2022 01:29:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=KyZayiuj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229838AbiJNIXz (ORCPT + 99 others); Fri, 14 Oct 2022 04:23:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229703AbiJNIXp (ORCPT ); Fri, 14 Oct 2022 04:23:45 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E855DA98DA; Fri, 14 Oct 2022 01:23:44 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 29E8NXDm076257; Fri, 14 Oct 2022 03:23:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1665735813; bh=ADec0qEVW0iiqBqWzNyc2AtibtjJ4Hp0q1Rx5ZGR0H8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=KyZayiujgJK/m0t8x52tJ8Afn/h2F/ucjNzF6bQCdLABCz7NJLg/S3PS6iimgTAEq ZqPa2kfanqH9vcdz7egVPORu1OBerAxVXbalAcco6mhUobt55T1gNRCNe+BCjT1h/q YsX+4YsgbSdp8IXKxK+flJnZRykoXUrK6eNDhF+4= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 29E8NXO0066360 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 14 Oct 2022 03:23:33 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Fri, 14 Oct 2022 03:23:33 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE115.ent.ti.com (10.64.6.36) 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; Fri, 14 Oct 2022 03:23:33 -0500 Received: from LT5CD112GSQZ.ent.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 29E8NFmV021645; Fri, 14 Oct 2022 03:23:28 -0500 From: Apurva Nandan To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Linus Walleij , , , , CC: Apurva Nandan , Hari Nagalla Subject: [PATCH v2 2/4] dt-bindings: pinctrl: k3: Introduce pinmux definitions for J784s4 Date: Fri, 14 Oct 2022 13:53:12 +0530 Message-ID: <20221014082314.118361-3-a-nandan@ti.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221014082314.118361-1-a-nandan@ti.com> References: <20221014082314.118361-1-a-nandan@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746650942711065132?= X-GMAIL-MSGID: =?utf-8?q?1746650942711065132?= Add pinctrl macros for J784s4 SoC. These macro definitions are similar to that of J721s2, 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: Hari Nagalla Signed-off-by: Apurva Nandan Acked-by: Rob Herring Acked-by: Linus Walleij --- include/dt-bindings/pinctrl/k3.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/dt-bindings/pinctrl/k3.h b/include/dt-bindings/pinctrl/k3.h index a5204ab91d3e..f258074fd009 100644 --- a/include/dt-bindings/pinctrl/k3.h +++ b/include/dt-bindings/pinctrl/k3.h @@ -41,6 +41,9 @@ #define J721S2_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) #define J721S2_WKUP_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) +#define J784S4_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) +#define J784S4_WKUP_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) + #define AM62X_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) #define AM62X_MCU_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode))