From patchwork Thu Jun 27 16:25:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 13714783 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 03363C3064D for ; Thu, 27 Jun 2024 16:26:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding: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=fgYhpcw093MJq02OE39ek/JeBKZVyhhLarJy9EUqBvg=; b=1fdEh8k5mMpvJsO2lCzc+wtzOD GFrUus0gCPetANRVRWTMUAPqxmElGOq47dXHfOP9LKoZqe0hzONaaWSawpcu5GX8Yl3Y5fI368JBL mytPXw+mRc52kTzVicqewSDZPDv7LfSEYByqx44DGmjGjb99HzmErcpVA6tzV2r/oUk6EOtKAwZyA Fji6abLRVNNB8+dTGbddOOp7+LQKpbHxs5SXay/exNhUgmlPKLWuntjnrUMMeAmrVh+8KxTfasJJ3 VeDQPQNPtuStB3vAWMhe8RdoDADug7A+nSmKYmbPy6et8nSvaiWDhsy/pyycDzZNMwDu5opOAZI4x GZQAjTiQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMrwr-0000000B1vK-2rjs; Thu, 27 Jun 2024 16:26:13 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMrwV-0000000B1le-3Ugd for linux-arm-kernel@lists.infradead.org; Thu, 27 Jun 2024 16:25:54 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 45RGPf8H049641; Thu, 27 Jun 2024 11:25:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1719505541; bh=fgYhpcw093MJq02OE39ek/JeBKZVyhhLarJy9EUqBvg=; h=From:To:CC:Subject:Date; b=X4gHTvhELPwJyEfZYqyvL5rrpo1wwoW0pQFkn8l9V4C9HKjVJObjrIXZfV72e1NH3 oFBcjApl5KaYHPikwi0Uuo2Qiq4HrAmAmkQbm1rCHx/iCHOYgusjgGlL9qsLHA//RS EjM6B3a4zTM1mgtmcr6ML2B3407BVgaDXpsbnAT0= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 45RGPfEH079358 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 27 Jun 2024 11:25:41 -0500 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 27 Jun 2024 11:25:41 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE105.ent.ti.com (10.64.6.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; Thu, 27 Jun 2024 11:25:41 -0500 Received: from localhost (uda0133052.dhcp.ti.com [128.247.81.232]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 45RGPeV2130217; Thu, 27 Jun 2024 11:25:41 -0500 From: Nishanth Menon To: Conor Dooley , Krzysztof Kozlowski , Rob Herring , Vignesh Raghavendra CC: , , , Tero Kristo , Vaishnav Achath , Jared McArthur , Bryan Brattlof , Dhruva Gole , Nishanth Menon Subject: [PATCH V2 0/3] arm64: dts: ti: k3-am62p/j722s: Add gpio-ranges properties Date: Thu, 27 Jun 2024 11:25:36 -0500 Message-ID: <20240627162539.691223-1-nm@ti.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Organization: Texas Instruments, Inc. 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-20240627_092552_031224_3ABEC693 X-CRM114-Status: GOOD ( 10.04 ) 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 Hi, This series was tested on BeagleY-AI[1] using the script[2]. This allows gpiod to request for a gpio that is not in the default GPIO mux mode and the framework controls the mux over to required GPIO mode. The series is based off next-20240617. NOTE: there is also a dtb_warning that is added, The fix for which is in the binding[3]. Changes since V1: - Mux definition PIN_GPIO_RANGE_IOPAD instead of PIN_GPIO_MUX_MODE - Refactored on top of next-20240626 - Note: since the patches have changed, I have skipped Dhruva's reviewed-by V1: https://lore.kernel.org/linux-arm-kernel/20240618173123.2592074-1-nm@ti.com/ Jared McArthur (1): arm64: dts: ti: k3-j722s: Add gpio-ranges properties Nishanth Menon (2): arm64: dts: ti: k3-pinctrl: Define a generic GPIO MUX Mode arm64: dts: ti: k3-am62p: Add gpio-ranges properties .../boot/dts/ti/k3-am62p-j722s-common-mcu.dtsi | 8 ++++++++ arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 17 +++++++++++++++++ arch/arm64/boot/dts/ti/k3-j722s-main.dtsi | 18 ++++++++++++++++++ arch/arm64/boot/dts/ti/k3-pinctrl.h | 3 +++ 4 files changed, 46 insertions(+) base-commit: df9574a57d02b265322e77fb8628d4d33641dda9 [1] https://www.beagleboard.org/boards/beagley-ai [2] https://gist.github.com/nmenon/4973770cf0df3f02c2e4f7f3d048d80d [3] https://lore.kernel.org/linux-arm-kernel/20240627150610.469645-1-nm@ti.com/