Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3177227rdh; Mon, 27 Nov 2023 08:02:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IHPsglV7cDCET86fIt7VESQ73oMUevN95F3KlgMvuE7dY1EJ/YOA8Muh7wfnIUlA5auS3pd X-Received: by 2002:a05:6870:524b:b0:1fa:3014:adaa with SMTP id o11-20020a056870524b00b001fa3014adaamr7652141oai.19.1701100941245; Mon, 27 Nov 2023 08:02:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701100941; cv=none; d=google.com; s=arc-20160816; b=QatdL3lvSajMyLNfL59+IiiXU7IhAeAlVkN8Ci7p24fQak9C8LfXtNGUxnSs0AQCbx mkeXHR+W1ChVSSMpd9v1XW9hHP8F4SC86mqpm7VJn4m/gpXamgVvrpnjRNr5Nyme7cPk 1k+Tn/5sHG+9E1N5GMudAMq/ziT4WL7ccxV9+1y5llEyMBo7rZxjiQ8PZjFnXPUSp++Q uz/JRn9yV4LEA0juN14ws+EhSgbDIL/wXEAJKXmCdYquF5pbWaNJFeocAnWDt6C0xt8m tVLtxIgwpI8m2G6uwUkjMg9G+pTtl5jL0BS+XEEvvBtR+jPKTCcM3kQRQxjRL1e1abq2 lsRA== 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=DkNYOh3WI1Z8sgvoainrTIvlDD/uER17VIsjEaXQfok=; fh=hFjq2jk63shDVT5/WbribXVYFmPCvIfMd3IMsldZ3Xs=; b=Hf5gWum7SUAJMU2dBPAIhaTx8ETARicomdkvKnFiU+8dZSga6JrhEU67CGwD7FH5YP lNGjUTr+dobKQdxnEFit5lFnBbsTIiDsRwss7YaNgbvtHxiZDSnVTeYrR/tSgh7pUJzQ YzIo2POjP2ML+AFEvEcIZBuBNq69UjuMHIwhIG3XthRQztqmYEfHnbLWhtL6w70h4wMs ORQKF7nPO049R4hdL17p2Y1UyobqeAolV/RxrxRH79EKlj0qGG9vRMoxNJB+jx9a0psN x2E6CdDfsOIqfiGTKIWQf16sNoY+PlxSgPV/bjulKMpRJcJe0eHozztFIkKbD/VOBIuB +pdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=GnFO8zsP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id r23-20020a056830135700b006ce2a47bc3asi3793949otq.351.2023.11.27.08.02.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 08:02:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=GnFO8zsP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id B7D6C806CF62; Mon, 27 Nov 2023 08:02:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234278AbjK0QCI (ORCPT + 99 others); Mon, 27 Nov 2023 11:02:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233859AbjK0QCG (ORCPT ); Mon, 27 Nov 2023 11:02:06 -0500 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D49E9B4; Mon, 27 Nov 2023 08:02:11 -0800 (PST) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3ARG1pI6110363; Mon, 27 Nov 2023 10:01:51 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1701100911; bh=DkNYOh3WI1Z8sgvoainrTIvlDD/uER17VIsjEaXQfok=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=GnFO8zsPuESwH/yF+CK/9Rz+/8wthIhHjiWdUlyUCJGzRirkDhUrDati4bHPBPOt6 TCpiBQ2KGKIp/jUYV/qJruvEqLNfXmLyMA1/1YXBwcJZlP8Z7CTrWzBuOxtSIoI5FN qkOhEX4G63W1h8lR7zCIvJjwq4KSEdaU0ZRBALIU= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3ARG1p5A006427 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 27 Nov 2023 10:01:51 -0600 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 27 Nov 2023 10:01:50 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE109.ent.ti.com (10.64.6.30) 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; Mon, 27 Nov 2023 10:01:50 -0600 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3ARG1npe011871; Mon, 27 Nov 2023 10:01:50 -0600 Date: Mon, 27 Nov 2023 21:31:48 +0530 From: Jai Luthra To: Aradhya Bhatia CC: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Devicetree List , Linux Kernel List , Linux ARM Kernel List , Devarsh Thakkar Subject: Re: [PATCH] arm64: dts: ti: k3-am62a7-sk: Add interrupt support for IO Expander Message-ID: <47bohluxljqwmehol6d6owgkf2zrlornyne6xi2zddhapgtwok@jukkjr7kwton> References: <20231108191652.1118155-1-a-bhatia1@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nxg2xsltibpzyyyn" Content-Disposition: inline In-Reply-To: <20231108191652.1118155-1-a-bhatia1@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,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 27 Nov 2023 08:02:19 -0800 (PST) --nxg2xsltibpzyyyn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Aradhya, On Nov 09, 2023 at 00:46:52 +0530, Aradhya Bhatia wrote: > The Hot Plug Detect (HPD) signal for the HDMI display travels from the > on-board HDMI connector, through the IO Expander 1, and finally to the > main_gpio1 line #23, of the SoC. >=20 > Add interrupt information for the IO Expander 1 (exp1). > Also add pinmux info of main gpio 1, line #23. >=20 > Signed-off-by: Aradhya Bhatia Reviewed-by: Jai Luthra > --- >=20 > Notes: >=20 > - HDMI display on AM62A7 is not in the mainline yet. All the patches, > including this one, required to enable HDMI display and HPD on > AM62A7 SK-EVM, can be found on my github fork in the branch > "next_am62a-v3"[0]. >=20 > [0]: https://github.com/aradhya07/linux-ab/tree/next_am62a-v3 >=20 > arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 12 ++++++++++++ > 1 file changed, 12 insertions(+) >=20 > diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dt= s/ti/k3-am62a7-sk.dts > index 8f64ac2c7568..560dad02ef62 100644 > --- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts > +++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts > @@ -274,6 +274,12 @@ AM62AX_IOPAD(0x08c, PIN_OUTPUT, 2) /* (K19) GPMC0_WE= n.MCASP1_AXR0 */ > AM62AX_IOPAD(0x084, PIN_INPUT, 2) /* (L18) GPMC0_ADVn_ALE.MCASP1_AXR2= */ > >; > }; > + > + main_gpio1_ioexp_intr_pins_default: main-gpio1-ioexp-intr-default-pins { > + pinctrl-single,pins =3D < > + AM62AX_IOPAD(0x01d4, PIN_INPUT, 7) /* (C15) UART0_RTSn.GPIO1_23 */ > + >; > + }; > }; > =20 > &mcu_pmx0 { > @@ -407,6 +413,12 @@ exp1: gpio@22 { > reg =3D <0x22>; > gpio-controller; > #gpio-cells =3D <2>; > + interrupt-parent =3D <&main_gpio1>; > + interrupts =3D <23 IRQ_TYPE_EDGE_FALLING>; > + interrupt-controller; > + #interrupt-cells =3D <2>; > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&main_gpio1_ioexp_intr_pins_default>; > =20 > gpio-line-names =3D "GPIO_CPSW2_RST", "GPIO_CPSW1_RST", > "BT_EN_SOC", "MMC1_SD_EN", >=20 > base-commit: 2220f68f4504aa1ccce0fac721ccdb301e9da32f > --=20 > 2.42.0 >=20 --=20 Thanks, Jai GPG Fingerprint: 4DE0 D818 E5D5 75E8 D45A AFC5 43DE 91F9 249A 7145 --nxg2xsltibpzyyyn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEETeDYGOXVdejUWq/FQ96R+SSacUUFAmVkvV0ACgkQQ96R+SSa cUUtxxAAlDWzech4ZFVVHTV4LVfOJMd45nH9fgx/cZ7UyW6ohOUcIFW8eSTl+ze8 yrrHBlRXIIO/DWl9OHhHEGnfnJ1rJ7/CNRaoq3MsgyfxuYits8AA7hJBPxoio7+3 1asxTxabvgNgxMZVc0xeMNqYeNzOs2NCnpWMPbhovHkv1lPz18nK94/o4WrIkiQy UEu3PMh3DBkKsrnJSjU442yne8XF7tZdRNU5flslGsv+89xO9lIhtO6g5yJfcH5B k7NocQuwdfA482RHJYLdIQFIkHJ5tIS10Ar9kMQtDsnybX+kl5TAKZRYkdeTR9Wg cKl1xT1T9NBZFhDs/URGDcQuxG/7sLudPF+3SCzQYDnT6WOy2Uq9b83fGFaClCSM mikdNkuYtLs876asIIkw8+opLXosLU9PHqUaJFOiXaxrX14rw87LiWi/dj3+SMXy BE3ZWyUxYA2xnxX8UGKSyw4mH9dVFOSIQqLCojBYjzjvLReTKbjlB/b8zQbWUvkf rb8B5qQ6QUoXYfQeQCEbA0Vk3H1lkBEvLd8crEuB8gZzh1O2KqIz8oIMRFAYTzJR Z3XNtcEi6so+TlVWoJ1i1CSMhpeY0Wujh25VMl7AZEeTIvh1wrjCQ17aNwUmDWg8 NpgyK0z8Q035rrWXWhEEoycycTE0aVPsSEGQnszdEXlVx3FwHbE= =WIOm -----END PGP SIGNATURE----- --nxg2xsltibpzyyyn--