From patchwork Sat Aug 5 04:55:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dhruva Gole X-Patchwork-Id: 13342513 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 DC800C001DB for ; Sat, 5 Aug 2023 04:58:12 +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: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:In-Reply-To:References: List-Owner; bh=vuS5wGp54WvU0WqFkPF0LAZMFOziibm0pTTnTstjVfk=; b=R0FhYniiigJLJN aib1abQAnbsrgpA1kz6r/LhOnOK6FhV9dMX4OOi6qGK4FInlN8qSNFU5ObdozxkwV3/mYDB47MRbd i3qG4xvFzdgP5aB9+3lh1TetLwAWVhMdV8WQ/9aa5D5vivd23xRchVDxqY7gW7iqXl0jtBq0C38x8 G/NtHlgjor/ZVRYQsjRSeAUaaa5OV3LkaRCFDinks3g7z1yvvc+kNjjlIcnnPAqfJXZRckCw562vV 60PdH/OApbpVUdHfbcZuFwuJ4ieEBkjIFY0DfljJicUUYBkN8UmxwTk3eIwsKG4NTu0ZMtWY1BhtD qallUxGKP0dbKZvofKxw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qS9MH-00Dhlc-1V; Sat, 05 Aug 2023 04:57:45 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qS9ME-00Dhkt-1b for linux-arm-kernel@lists.infradead.org; Sat, 05 Aug 2023 04:57:44 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3754va3Z093118; Fri, 4 Aug 2023 23:57:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1691211456; bh=LbPx6unMfm99M2erei+3z5Fvj12KtkSdmpVzoBEKAP4=; h=From:To:CC:Subject:Date; b=F6HY88Q/MB9BqA7CYkjDDk1/vLCClp1nmhy3rvUMXCiKrSN8sM1AMNkOlxK+qKfl/ jhOAvvY2AdciDYkHYOx/6AKTCuqsawTd59vmxiWiCcx2rgACAuZi8qx1ougVQGhnc4 rzPqyVAOtSWFAlfSPXa9SUvF3zp6g08qnNX08g4g= Received: from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3754vaWG056991 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 4 Aug 2023 23:57:36 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 4 Aug 2023 23:57:36 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 4 Aug 2023 23:57:36 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3754vZ2l095184; Fri, 4 Aug 2023 23:57:36 -0500 From: Dhruva Gole To: Tony Lindgren , Linus Walleij CC: , , , , Dhruva Gole , Nishanth Menon , Vignesh Raghavendra Subject: [PATCH] pinctrl: single: Add compatible for ti,am625-padconf Date: Sat, 5 Aug 2023 10:25:55 +0530 Message-ID: <20230805045554.786092-1-d-gole@ti.com> X-Mailer: git-send-email 2.34.1 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-20230804_215742_683080_404903EB X-CRM114-Status: GOOD ( 11.05 ) 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 From: Tony Lindgren Add compatible for ti,am625-padconf to enable the use of wake-up events. Signed-off-by: Tony Lindgren Signed-off-by: Dhruva Gole --- Base: ***** tag: next-20230731 + below "depends on" patches Depends on: *********** [0] Update pinctrl-single to use yaml [1] dt-binding: pinctrl-single: add am625 compatible Links: ****** [0] https://lore.kernel.org/linux-omap/20230731061908.GG5194@atomide.com/T/ [1] https://lore.kernel.org/all/20230804050737.635186-1-d-gole@ti.com/ Cc: Nishanth Menon Cc: Vignesh Raghavendra Link to this patch: ****************** https://lore.kernel.org/all/20230805045554.786092-1-d-gole@ti.com drivers/pinctrl/pinctrl-single.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c index f056923ecc98..3a2a9910f2ec 100644 --- a/drivers/pinctrl/pinctrl-single.c +++ b/drivers/pinctrl/pinctrl-single.c @@ -1954,6 +1954,12 @@ static const struct pcs_soc_data pinctrl_single_am437x = { .irq_status_mask = (1 << 30), /* OMAP_WAKEUP_EVENT */ }; +static const struct pcs_soc_data pinctrl_single_am625 = { + .flags = PCS_QUIRK_SHARED_IRQ | PCS_CONTEXT_LOSS_OFF, + .irq_enable_mask = (1 << 29), /* WKUP_EN */ + .irq_status_mask = (1 << 30), /* WKUP_EVT */ +}; + static const struct pcs_soc_data pinctrl_single = { }; @@ -1962,6 +1968,7 @@ static const struct pcs_soc_data pinconf_single = { }; static const struct of_device_id pcs_of_match[] = { + { .compatible = "ti,am625-padconf", .data = &pinctrl_single_am625 }, { .compatible = "ti,omap3-padconf", .data = &pinctrl_single_omap_wkup }, { .compatible = "ti,omap4-padconf", .data = &pinctrl_single_omap_wkup }, { .compatible = "ti,omap5-padconf", .data = &pinctrl_single_omap_wkup },