From patchwork Thu May 23 23:15:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Judith Mendez X-Patchwork-Id: 13672431 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 90999C25B79 for ; Thu, 23 May 2024 23:16:29 +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=e8DZx1tb5b0E/CIzbK2X7W6Ms+JQqeDPaLE8YKMdRGE=; b=CW68aCnbvroeGh qAk+C7MdHgSUGoPIdmhFYhELxslJzjSGA3SRnLswZipRCAx5i+O3/hGidQ+e9MyMjq5njRN73WMf6 0y/sfnKOAEagS67wCkBfHjE8QuXl7NcxzYdmCoiMKsbuHC5YaHA0Mq5tEfEO/UoWLYZMFr07WFXv9 SX92ogiCAqdXdxkt4LstHu7IMeYUlRJJIdaWf4IZ/KYZpxVDll3mjT7qNG1dVw0gEWaTOkWpMIXWb Pzr3bezd+UdC9qKpOicBf2OebQHJkBhY5PjTsvYb+pMxUICtIC+0Qin73ImiBe6PmnMMcDGHgR1I5 iS/6dG1wYe7nB9kISzXg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sAHfX-00000007Y5O-2OwA; Thu, 23 May 2024 23:16:19 +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 1sAHfR-00000007Y3J-3Yi3 for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 23:16:18 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44NNFGDH024880; Thu, 23 May 2024 18:15:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1716506116; bh=qZ1DEGnaLNezLOzzeQrglFpvM2/JdS3Dq5AU/Q5NwRg=; h=From:To:CC:Subject:Date; b=rBc97HNNBmZj3M+HyXfTX/UITDf7MiizL6f6aj+cprIVXkE9cdh+ac1SHWFEUfpdx HDRCqaUZM+VSrrwbG9GbV5NeBcVefcCuPnfNt4qXKiJHy7hdSxK6P2u9R5XuYSuYEq cFezM4fZTjCsTnLhSHSedgiJ21Kz/0W97TYL1BcQ= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44NNFGrl047687 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 23 May 2024 18:15:16 -0500 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 23 May 2024 18:15:16 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) 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, 23 May 2024 18:15:16 -0500 Received: from judy-hp.dhcp.ti.com (judy-hp.dhcp.ti.com [128.247.81.105]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 44NNFGqK008143; Thu, 23 May 2024 18:15:16 -0500 From: Judith Mendez To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon , William Breathitt Gray CC: David Lechner , , , , , Nishanth Menon , Vignesh Raghavendra Subject: [PATCH v2 0/8] Enable eQEP DT support for Sitara K3 platforms Date: Thu, 23 May 2024 18:15:08 -0500 Message-ID: <20240523231516.545085-1-jm@ti.com> X-Mailer: git-send-email 2.45.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-20240523_161614_104620_8D32EDEC X-CRM114-Status: UNSURE ( 9.77 ) X-CRM114-Notice: Please train this message. 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 This patch series adds eQEP DT nodes for K3 Sitara devices: - AM62x - AM62ax - AM62px - AM64x Also enable eQEP to be built as a module for ARCH_k3. Changes since v1: - Add new compatible ti,am62-eqep - Fix eqep binding for new compatible, require power-domains for new compatible - Fix eQEP DT node to use new ti,am62-eqep compatible Judith Mendez (8): counter/ti-eqep: Add new ti-am62-eqep compatible dt-bindings: counter: Add new ti,am62-eqep compatible arm64: dts: ti: k3-am62-main: Add eQEP nodes arm64: dts: ti: k3-am62a-main: Add eQEP nodes arm64: dts: ti: k3-am62p-main: Add eQEP nodes arm64: dts: ti: k3-am64-main: Add eQEP nodes counter: ti-eqep: Allow eQEP driver to be built for K3 devices arm64: defconfig: Enable TI eQEP Driver .../devicetree/bindings/counter/ti-eqep.yaml | 53 +++++++++++++++++-- arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 27 ++++++++++ arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 27 ++++++++++ arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 27 ++++++++++ arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 27 ++++++++++ arch/arm64/configs/defconfig | 1 + drivers/counter/Kconfig | 2 +- drivers/counter/ti-eqep.c | 1 + 8 files changed, 159 insertions(+), 6 deletions(-) base-commit: 534ad093bb80f19c20b251a89f09ce1a0e3d4f2d