From patchwork Thu Jan 12 14:27:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Apurva Nandan X-Patchwork-Id: 42472 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3917641wrt; Thu, 12 Jan 2023 06:40:03 -0800 (PST) X-Google-Smtp-Source: AMrXdXsP+g7ojLyoylOu2MnshDxSP/R5c4M+y7BRMpEWia6GXMFKnKav4V/6a3V31SjzRRWHuNSb X-Received: by 2002:a17:90a:3985:b0:226:df9e:9147 with SMTP id z5-20020a17090a398500b00226df9e9147mr23700288pjb.38.1673534402700; Thu, 12 Jan 2023 06:40:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673534402; cv=none; d=google.com; s=arc-20160816; b=TXYzfoEKuYtHzs/K+1crbTjcdI0A/r2T7lHeF+P7iJ/SLlRztTcvTdjDBYHMPTCxAG VyZJsvQc0uaIQkWVFz3blMk4KeHnseKzjjfUD4hogCAtDgTqpZF8HTchjm1NjhCgmUxl moFX3DEfnh6d+N+ie5ASVJuGAE3uZe5JcDaxO5cVI4EReiFwQyr+hZuCRqp7kVFeNMcG dQIQnsnOF2WVgjOCEv1i4wusk0nac837JPM0LF3MON/VCWwyGmuQZABoB6bpkaH7QqKt R0XaZ7ESIQJ7cNEUXkOFFrpQk8F73tv5qIzGd+RgKVFnmOijfj47XHqVyGHrBDwPPPft Pqvg== 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=GgYVNTtLLxuQAUfFVQHL0X2flXcVrkhVhziH9Zv1+mOyqScbJjuTtYOxPTOjwFKpGf M6tWZHGyC1HVH9EvorGEAMdaBmm6TGjxTEteCvaiuSOVEammM5gDDnzvus/DAFqXdqo1 P5rl4dtfEA6Q0+qr9rTxzQrfHoXaP3Hd1ijlOyMV50JzVNjX/auexiBpzHX3+o14UbsJ daPWM/UKyU3RzWFb2o/fDfri/AnbXt7AJ0ojkdq0KiLh5jG5Y/c8LFismzD95lZbwqiC PX6wtTSpUgNcE7rin3Mwsta5Q6s5XxgH8vJ/CQ+M4a9u+6LgL3PdKqkP8ybGcjekjejT 4MEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=h+hYM8Tu; 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 lx1-20020a17090b4b0100b0021929c5bd92si22649153pjb.127.2023.01.12.06.39.50; Thu, 12 Jan 2023 06:40:02 -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=h+hYM8Tu; 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 S239173AbjALOjF (ORCPT + 99 others); Thu, 12 Jan 2023 09:39:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238133AbjALOhv (ORCPT ); Thu, 12 Jan 2023 09:37:51 -0500 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27E4711809; Thu, 12 Jan 2023 06:27:52 -0800 (PST) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 30CERch3013084; Thu, 12 Jan 2023 08:27:38 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1673533658; bh=G8IfDjeF9OatKkGTf/bUwoWngRZXkRz2n41kG8wRAQg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=h+hYM8TuXPn4l08la4sFCFE86r599tt7Mcrow/72hEi0BuJbRzspvuS4Gq9pNQtrw oZ09wDyqO1IYaqtAAu1R92AB4/k00wBOD/SzkOodSt2He1LTjmXTAOlu6v5puy2AOn dTy4482iqjwTXE2n2qr7kr1LuVRKlMpBvEbS9asI= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 30CERcKS032928 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 12 Jan 2023 08:27:38 -0600 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Thu, 12 Jan 2023 08:27:37 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) 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.16 via Frontend Transport; Thu, 12 Jan 2023 08:27:37 -0600 Received: from LT5CD112GSQZ.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 30CERQZ5037713; Thu, 12 Jan 2023 08:27:34 -0600 From: Apurva Nandan To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Linus Walleij , , , , CC: Apurva Nandan , Hari Nagalla Subject: [PATCH v5 2/4] dt-bindings: pinctrl: k3: Introduce pinmux definitions for J784s4 Date: Thu, 12 Jan 2023 19:57:23 +0530 Message-ID: <20230112142725.77785-3-a-nandan@ti.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230112142725.77785-1-a-nandan@ti.com> References: <20230112142725.77785-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_PASS,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?1754828009878604621?= X-GMAIL-MSGID: =?utf-8?q?1754828009878604621?= 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