From patchwork Fri Jun 7 16:27:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Judith Mendez X-Patchwork-Id: 13690525 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 841A6C41513 for ; Fri, 7 Jun 2024 16:29:20 +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=HHN7TSmhF6mVUsnx9dW9BX70XSVh8cHmqpMeSK/y+UE=; b=NrvVLbJsHbn7Yv 2PH1+8pwg/o+LgPshIAm/hFoy1Y7vp3BWYaTEvKuJDN+drWfasIagerR3JKzX+8xhq6pwSizraJ8m QpNiRCNGlU7L7Ex4zG6s3nCysNu8RoPAE3MO9E93dT5eeLVXtbhkkr2EIqZc53qWs9tmTDXLhFeKA e/t30uQvFlhl4SCGzeNQmaoBWKrBvlBpw4Z3w9u/FxRGHiM0h8kMqb25COKbBvkntYq9Uf4rvp5Eh pKOR4QZft/FVYkRnx8AQB7qfzrD2lejYbYbHaggKLekXnmHqW2uO5iKkS9HkLgh/eD3skudhuPZpe qfYnJvOSIjXTpIqcKijw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sFcSd-0000000Eufy-2bsD; Fri, 07 Jun 2024 16:29:03 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sFcSR-0000000EuZy-1BM5 for linux-arm-kernel@lists.infradead.org; Fri, 07 Jun 2024 16:28:54 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 457GRuu2075995; Fri, 7 Jun 2024 11:27:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1717777676; bh=kno6ACLOq8Y9n1TpA0E35jfWU5eoBQgLbX+JqdbSDCA=; h=From:To:CC:Subject:Date; b=VNIx7AMT27XFAmnO7PMzAreOl+ioVwJzyQFCwWNDxzudb/PxOgbew0YBI2SaTp9dw xzazxmENrODeARNwb/Umgy+YOVUr0l83DP8VF80yFxbYEX1I02DfHkwHTwVJrqymBa T1dYjYxYngEdywuIxHUEBgdm45hjMpP+eIv7E4P4= Received: from DFLE110.ent.ti.com (dfle110.ent.ti.com [10.64.6.31]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 457GRuxj016585 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 7 Jun 2024 11:27:56 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 7 Jun 2024 11:27:56 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE110.ent.ti.com (10.64.6.31) 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, 7 Jun 2024 11:27:55 -0500 Received: from judy-hp.dhcp.ti.com (judy-hp.dhcp.ti.com [128.247.81.105]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 457GRt1g068019; Fri, 7 Jun 2024 11:27:55 -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 v3 0/8] Enable eQEP DT support for Sitara K3 platforms Date: Fri, 7 Jun 2024 11:27:47 -0500 Message-ID: <20240607162755.366144-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-20240607_092851_445324_749CB497 X-CRM114-Status: UNSURE ( 9.81 ) 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 The series also allows the eQEP driver to be built for K3 architecture. Changes since v2: - Drop patch 8/8 ("Enable TI eQEP Driver") - Enable eQEP0 in k3-am64 SK board - Make clock-name optional for ti,am3352-eqep compatible and do not allow for ti,am62-eqep compatible Link to v2: https://lore.kernel.org/linux-devicetree/20240523231516.545085-1-jm@ti.com/ Link to v1: https://lore.kernel.org/linux-devicetree/20240418221417.1592787-1-jm@ti.com/ Judith Mendez (8): dt-bindings: counter: Add new ti,am62-eqep compatible counter/ti-eqep: 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 arm64: dts: ti: k3-am64x-sk: Enable eQEP counter: ti-eqep: Allow eQEP driver to be built for K3 devices .../devicetree/bindings/counter/ti-eqep.yaml | 44 ++++++++++++++++--- 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/boot/dts/ti/k3-am642-sk.dts | 18 ++++++++ drivers/counter/Kconfig | 2 +- drivers/counter/ti-eqep.c | 1 + 8 files changed, 167 insertions(+), 6 deletions(-)