Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp769305rwb; Sat, 5 Aug 2023 00:13:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHHN7KmMRAeo8SgVZAI0e44JzuEYXVUoN68GF1bY/sWW2XmebsIv7ys6bGBKYrczXI8yt78 X-Received: by 2002:a17:902:e546:b0:1ae:6947:e63b with SMTP id n6-20020a170902e54600b001ae6947e63bmr2247823plf.16.1691219607536; Sat, 05 Aug 2023 00:13:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691219607; cv=none; d=google.com; s=arc-20160816; b=GbzVpLfBVPKsDCJPmE3mFSmhJg6mo9YZzYYAyQZvdExirQc3CnFi4TKRBcGLyBVVj/ uIQM88ZUE8Zs4VrNnL0UfqAtmZ5GjhpWaJNWqF8jH43hTAmyQh0XSToZF934pyZplb8i fHnZMfYkbiSpaVxXoBfkRScXrccPyTtS8hnRu4974ItKXO8qc8R8JbI65juS7DmN0Fif vWFCuitS/6M1jtDAqAEvkc9FynNkg+feviBwRwIqAJ/j29BlpLRBkSyzVFfDcb5diWOg pj6uMStdh61RjbWttTRBqQM/Lfj9RTTMqXIwgexU/7xAoxqnws2w9SHqR+4oQnMqeTRX sWdw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=LbPx6unMfm99M2erei+3z5Fvj12KtkSdmpVzoBEKAP4=; fh=NjEw9lc0wySB4F/SGuPiPVJSggMohgymTZhBNFLRl/c=; b=TTFUmn2WgmlDv7ocmxuegc46NCwGk1TVo4uIgxQ4nlcZCMW0DCNoDAjj9B5V2swOBz Y0zL3xpho0GywqgEcpeU2dU7fkptd89xT9JkrZA/SCDqxyuQom/dL0zrhWIJR6tMyPly mEza+bvQeDyipgqhz9LFWB5sTlhcImnHaTD0ebIxO1mOjsE9jG6YaTJpaVc9hLjlZVkE 0yeTrMBSCWrB25W7Bfj/CudR5Zs6hNyEI/j3yf1v+w8ZesZS4fZ5sEPL7dP5vRfjWfmc vDhs6EZ0qm/t3NyvY4Shbrxd5nGJGX3AcH0KbLweow0XMKuMezunF5XXA3j0UN5iRMZs fvfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="F6HY88Q/"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jf14-20020a170903268e00b001bba73ddf5bsi2756408plb.566.2023.08.05.00.13.15; Sat, 05 Aug 2023 00:13:27 -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="F6HY88Q/"; 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 S229523AbjHEE5w (ORCPT + 99 others); Sat, 5 Aug 2023 00:57:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbjHEE5s (ORCPT ); Sat, 5 Aug 2023 00:57:48 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E17AE11B; Fri, 4 Aug 2023 21:57:44 -0700 (PDT) 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 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED 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 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 }, -- 2.34.1