Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp1269768rwb; Sat, 5 Aug 2023 10:43:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE3ZBdOY/x2ldYV1b3zKDv4xM3MxDCCtFB5NSB2H1GhmzESSgsosccQvDXrfRiVk3PXpm+j X-Received: by 2002:a2e:9a92:0:b0:2b6:eefc:3e4f with SMTP id p18-20020a2e9a92000000b002b6eefc3e4fmr4044657lji.21.1691257404543; Sat, 05 Aug 2023 10:43:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691257404; cv=none; d=google.com; s=arc-20160816; b=bZPxyT7zc6LaGug4MS9ly9Xmf12UnJ1uZx/6rfbA/eRkpDPSAhvlr9AfngIraUmYPs /MYLq/O/KRmDkMUL32vvgb785pKkrqZbUeGNhJtcy5NGMGXbTDu5XFlzZxr0lco0lcZ/ B/aHFVwXSgFhMDkktlCkMxi1oVlT62/aimsWp/pNhd5FvI41mnYGXq5JURbTvStH/hsu ohrV9NZTWJVmFJsArlf54clUmIwIEqDXtHSAFPmI2LfRnKfqk9aZRXDh0ldYrULTyw4S LrLIPxFLZWH28kmM87J1E9L3HaS7X3bIhVXPilTrp4pA/i3pAPcJmVQLCsRfJYKZ6UCv 9lpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=EScFImeXpCeHeumWjkkLDl7mHRhAqEj9tr3yBKEd7rU=; fh=CdQxThK5tlen2WDOedFCZYeViy1Pb6EeR1WljOu0ZZw=; b=EsouxafDgdz113n5VbVZx7YJtEpABwFaVB+yLpGJWHsXbj5TJt7FvTKL/9zp5Npdzb VXgb9QK2225fQbUYJ2YxzpiK8qXWuNo5NWkXdOauewx0UTgYntp/hh1jXJ0nZ5KYoil4 qpqAtJWeidcSDweP0I3o6eW+QEG4BfqT7BxEzko3iqGOsXMiF6ma4iAdGOLrnXUMWZny mM0uJAraWmBeAgAYyn+m3E7X/4tXvz5IvNxp+/HXuPqbLOhJVo4gW6HYT1oH75MWg8yz DHU/j4nwB7ZaTZSaM9qFiIxoLG2zvKrTjrSWxomtnDxgh4RSgSsxcVwOLcLIm54N//Sm 1aJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=aO1MTkog; 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 e20-20020a50fb94000000b00523146595a4si2348005edq.449.2023.08.05.10.43.00; Sat, 05 Aug 2023 10:43:24 -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=aO1MTkog; 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 S229999AbjHERPW (ORCPT + 99 others); Sat, 5 Aug 2023 13:15:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbjHERPV (ORCPT ); Sat, 5 Aug 2023 13:15:21 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB4CFE6E; Sat, 5 Aug 2023 10:15:19 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 375HF934093337; Sat, 5 Aug 2023 12:15:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1691255709; bh=EScFImeXpCeHeumWjkkLDl7mHRhAqEj9tr3yBKEd7rU=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=aO1MTkog61RI7+kD/UottjJj18ouSB4vYlRLyNSGloB9uUBGJ7y+EBNQJ6D1xFVyZ IHjUHEweJDbgkeFWGomF/0F+INqE/KCImbskcXTR8KuT2QwsdjSOKqZUyUVcTCCbIs 0c+qpbcQEAYJcJLtYgBDDX8GplxmQjSVnfw0vk6Q= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 375HF95u095136 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 5 Aug 2023 12:15:09 -0500 Received: from DFLE107.ent.ti.com (10.64.6.28) 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.23; Sat, 5 Aug 2023 12:15:09 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE107.ent.ti.com (10.64.6.28) 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; Sat, 5 Aug 2023 12:15:08 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 375HF86h035194; Sat, 5 Aug 2023 12:15:08 -0500 Date: Sat, 5 Aug 2023 12:15:08 -0500 From: Nishanth Menon To: Dhruva Gole CC: Tony Lindgren , Linus Walleij , , , , , Vignesh Raghavendra Subject: Re: [PATCH] pinctrl: single: Add compatible for ti,am625-padconf Message-ID: <20230805171508.schg4xquoa24klk5@october> References: <20230805045554.786092-1-d-gole@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230805045554.786092-1-d-gole@ti.com> 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 On 10:25-20230805, Dhruva Gole wrote: > 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 */ > +}; > + Why cant we set this in the k3-pinctrl.h and set it once? The event will not be generated until wakeup daisy chain is triggered anyways. Have you looked at all the padconf registers across devices to ensure the WKUP_EN/EVT bits are present? daisy chain feature is used elsewhere as well. > 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 > -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D