From patchwork Thu Dec 22 20:45:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Apurva Nandan X-Patchwork-Id: 35956 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp159037wrn; Thu, 22 Dec 2022 12:58:52 -0800 (PST) X-Google-Smtp-Source: AMrXdXtpcIghBVeiLZoDRyKEFHKuM5fr2Nml0IG4Tt8KHyBBxwpDBJ+Jvxw+aEflSD78xtvwLGW6 X-Received: by 2002:aa7:d7c2:0:b0:472:cee9:bbd3 with SMTP id e2-20020aa7d7c2000000b00472cee9bbd3mr5999005eds.27.1671742732244; Thu, 22 Dec 2022 12:58:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671742732; cv=none; d=google.com; s=arc-20160816; b=UNMVLokqJHiWqt1vcML1A5TQHw/ipGo4aeeJliKbGvbXvbCdF+4Po5BiS07uDCZH6v gKMbqd0H6NzTA69MPtcfoYC89u76JUYvJl/BcFGCCQDXkBHvo+3H2GiH36y75OLZtUWl EvRLUoa/LxnHOSQjY4/4P1yiXa1aaTWZgVDfmzX8i+XUHAovve3iGZedlcuu5s61rzY7 gJfw9j8ug2Aoqu71C+sjFjgHfwiPehdVyUvxtsrJBDWf4xgp2lN5Qchoyfsm66NQ/GLN mrmXq0MyqSzh57u4K7QHW6JRjCa3lOdHUKKk+cyXOKnSoDglsx5Tnd2LO0Rnd1sV+JbL oOAQ== 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=G8IfDjeF9OatKkGTf/bUwoWngRZXkRz2n41kG8wRAQg=; b=Vg1anCx07q0z6xwLc+pJeFTjW0SbCKij54r9fOwS0SYZQNJAxi/Kyd91VhRio3BZdO wCmkKjX1SJ8AouKQDDGWPmGDsTNYSjzOt+ouUDSfFJ10HPx1e89OAsnNlXFOPNQapk5g HYz+FQcz8ElgTxD5LGZK/L26MGHNizzqvLzqT2IIZRnQTSdPZdrUVqktBifdLS7kV4Un wRUnn5X0Wqbq42Z4zLZAvhW15acXni9sKGkmWRRsWxvaNNATI1zaTDlTofC4XwE8L00R q+lACj6PS82jSKoRiHHWfGpxeZg3k+vZ3DHiBJo2CQ6mrP/M08RuLbbHMt10JELqcqH5 pJRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=dNbGzFhD; 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 xb7-20020a170907070700b007822665aa36si1178086ejb.430.2022.12.22.12.58.25; Thu, 22 Dec 2022 12:58:52 -0800 (PST) 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=dNbGzFhD; 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 S235482AbiLVUqW (ORCPT + 99 others); Thu, 22 Dec 2022 15:46:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231892AbiLVUqO (ORCPT ); Thu, 22 Dec 2022 15:46:14 -0500 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F4261C416; Thu, 22 Dec 2022 12:46:11 -0800 (PST) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 2BMKk1p2042030; Thu, 22 Dec 2022 14:46:01 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1671741961; bh=G8IfDjeF9OatKkGTf/bUwoWngRZXkRz2n41kG8wRAQg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=dNbGzFhDmhwk8+6Zqf6NH0mpkIPeaK6LYWdaGant6Jsq8Xr1F2dmy+cIDI5EpExR2 X3mcUjt1d7gzRvTgWMKOaCYop9fWsz2PXEROAKI22PgjoKShTMhxIqXLF0QgC++8qC j4feGcEbo3vAVlezlHQ9N7S9oUB/Ih1lhY41mGEk= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2BMKk1Jf120356 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 22 Dec 2022 14:46:01 -0600 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Thu, 22 Dec 2022 14:46:00 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Thu, 22 Dec 2022 14:46:00 -0600 Received: from LT5CD112GSQZ.dhcp.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 2BMKjk7O004121; Thu, 22 Dec 2022 14:45:56 -0600 From: Apurva Nandan To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Linus Walleij , , , , CC: Apurva Nandan , Hari Nagalla Subject: [PATCH v4 2/4] dt-bindings: pinctrl: k3: Introduce pinmux definitions for J784s4 Date: Fri, 23 Dec 2022 02:15:43 +0530 Message-ID: <20221222204545.45281-3-a-nandan@ti.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221222204545.45281-1-a-nandan@ti.com> References: <20221222204545.45281-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?1752949306906810388?= X-GMAIL-MSGID: =?utf-8?q?1752949306906810388?= 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 54df633f9bfe..6bb9df1a264d 100644 --- a/include/dt-bindings/pinctrl/k3.h +++ b/include/dt-bindings/pinctrl/k3.h @@ -47,4 +47,7 @@ #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)) + #endif