From patchwork Thu May 23 23:15:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Judith Mendez X-Patchwork-Id: 13672413 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C8542127E1F; Thu, 23 May 2024 23:16:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.249 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716506192; cv=none; b=Q322F/p+/3fTIdrfDfYfhb9GC/2kwfmAQDATRwads4W/OVfWjAADUMmVYJ+2PGLHTJmu+61i6lju7WUBJjvc7K3BaZf2bxBXbD7jFMiq8HiimbFBhndupo7Y2eVeXYQxyeXV1vKP7aAIPjZ0HCq/LTNMPf7WR+yAqDEqeVuiyfw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716506192; c=relaxed/simple; bh=7w2a51UaKxarzqzM7pJtSiUaDkAWGTvnUINgHqdFuV4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=UQj41tRPD8c+WU6zzPD7HQodvObfHAVXGqKgeHR89kJGGPvbhdsSmKMTG57VcUV2Km4bTH8+MQ2c+w9O57+kSH4WxYvU9f4c1hbg0mPO2kJvTIED78LDClFJzwwjlp5qY33KbeWpvsSq86WW0SpKjrc+Qx5gE3t1fWa1MURLNyY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=RhD3ufVC; arc=none smtp.client-ip=198.47.23.249 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="RhD3ufVC" Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44NNFGFD117071; 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=q19jeaCQFXtosVWBpMk1pGxAbpQGyV41IyPxtR7L6rc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=RhD3ufVCDsdqfDn0EqxPGgyO5xcCBlL/KTzJDbRM71H7dNDHBy0JljGF6qPtt9wIM y+efku/eZ1EjpM7g19Wd9CLbNeEzsNAQbJ2SeKWKS2hWLpXIyf96js3NhxjOQHPH+j 0erQNuPsxuCmdlemqIXk+HPlXL47w0b4fpdk9g54= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44NNFG4Q111066 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 23 May 2024 18:15:16 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE102.ent.ti.com (157.170.170.32) 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 DLEE115.ent.ti.com (157.170.170.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 44NNFGqL008143; 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 1/8] counter/ti-eqep: Add new ti-am62-eqep compatible Date: Thu, 23 May 2024 18:15:09 -0500 Message-ID: <20240523231516.545085-2-jm@ti.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240523231516.545085-1-jm@ti.com> References: <20240523231516.545085-1-jm@ti.com> Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Add new compatible for ti-am62-eqep for TI K3 SoC's. Signed-off-by: Judith Mendez Reviewed-by: David Lechner --- Changes since v1: - Add new compatible ti,am62-eqep --- drivers/counter/ti-eqep.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/counter/ti-eqep.c b/drivers/counter/ti-eqep.c index b0f24cf3e891d..f6850e142ddff 100644 --- a/drivers/counter/ti-eqep.c +++ b/drivers/counter/ti-eqep.c @@ -439,6 +439,7 @@ static int ti_eqep_remove(struct platform_device *pdev) static const struct of_device_id ti_eqep_of_match[] = { { .compatible = "ti,am3352-eqep", }, + { .compatible = "ti,am62-eqep", }, { }, }; MODULE_DEVICE_TABLE(of, ti_eqep_of_match); From patchwork Thu May 23 23:15:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Judith Mendez X-Patchwork-Id: 13672416 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8E3C9128362; Thu, 23 May 2024 23:16:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.249 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716506193; cv=none; b=HGlo9nlIJ7VK463pjWz5+oLK24u+lvPIdynj6GW9GbIyPIopr7l2x3Wh4wyMU8klAK0aaC8/p+mYrDBC+uAr8qMwawko5v1UWR1Xskzg56bO9AjxfrPCew1ZQrCEYefvDarcjXgwhakEuPQ7w7/qu12kAKcTBUCWhpJig+Mpr8M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716506193; c=relaxed/simple; bh=NGu570RHFGceiey1igTao25OUDYzi+gWESyBkc7sHMY=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=DIGlifBqMbx4nFJrNNFeWOoTUIrwl4qjeQ/3Ejzm/jWRRjapqqv22w0Pf6LoTGkh9O75G5muieFM0Y1Hn3S4MHQpnjwBuRA/81fswG/tNlOiw6Khx6aWeOkA34h9gNKDcOCyUorA8nDisHVcRuMm0zeUPu6vV94jcM1DoHNdADQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=yPKHXuml; arc=none smtp.client-ip=198.47.23.249 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="yPKHXuml" Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44NNFGZN117075; 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=5kbdjIH/ML8iAwsZorBTaSmYVbL7B/CuMu+J8qO8tbw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=yPKHXumlaY/2MYgecu1nB0JiT3JAR5RZDi4tICk/JlYHfXkwo6KK9LLia/ey7MZiZ Rtg58MDos3COKSXzXyhcv40207wSP1JMYddtnycno19sFZnrPo94ueiB8irE0vHm1F h8JozC0GfWmr1jdCbJMT9AvlfT09PubNUjgXxPbg= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44NNFGjk022501 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 23 May 2024 18:15:16 -0500 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE102.ent.ti.com (157.170.170.32) 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 DLEE106.ent.ti.com (157.170.170.36) 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 44NNFGqM008143; 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 2/8] dt-bindings: counter: Add new ti,am62-eqep compatible Date: Thu, 23 May 2024 18:15:10 -0500 Message-ID: <20240523231516.545085-3-jm@ti.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240523231516.545085-1-jm@ti.com> References: <20240523231516.545085-1-jm@ti.com> Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Add new compatible ti,am62-eqep for TI K3 devices. If a device uses this compatible, require power-domains property. Since there is only one functional and interface clock for eqep, clock-names is not really required. The clock-name also changed for TI K3 SoCs so make clock-names optional for the new compatible since there is only one clock that is routed to the IP. While we are here, add an example using ti,am62-eqep compatible. Signed-off-by: Judith Mendez Acked-by: Conor Dooley --- Changes since v1: - Fix eqep binding for new compatible, require power-domains for new compatible --- .../devicetree/bindings/counter/ti-eqep.yaml | 53 +++++++++++++++++-- 1 file changed, 48 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/counter/ti-eqep.yaml b/Documentation/devicetree/bindings/counter/ti-eqep.yaml index 85f1ff83afe72..c4bb0231f166a 100644 --- a/Documentation/devicetree/bindings/counter/ti-eqep.yaml +++ b/Documentation/devicetree/bindings/counter/ti-eqep.yaml @@ -11,7 +11,9 @@ maintainers: properties: compatible: - const: ti,am3352-eqep + enum: + - ti,am3352-eqep + - ti,am62-eqep reg: maxItems: 1 @@ -21,19 +23,43 @@ properties: maxItems: 1 clocks: - description: The clock that determines the SYSCLKOUT rate for the eQEP - peripheral. + description: The functional and interface clock that determines the clock + rate for the eQEP peripheral. maxItems: 1 clock-names: - const: sysclkout + enum: + - sysclkout + - fck + + power-domains: + maxItems: 1 + +allOf: + - if: + properties: + compatible: + contains: + enum: + - ti,am3352-eqep + then: + required: + - clock-names + - if: + properties: + compatible: + contains: + enum: + - ti,am62-eqep + then: + required: + - power-domains required: - compatible - reg - interrupts - clocks - - clock-names additionalProperties: false @@ -47,4 +73,21 @@ examples: interrupts = <79>; }; + - | + #include + #include + #include + + bus { + #address-cells = <2>; + #size-cells = <2>; + eqep1: counter@23210000 { + compatible = "ti,am62-eqep"; + reg = <0x00 0x23210000 0x00 0x100>; + power-domains = <&k3_pds 60 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 60 0>; + interrupts = ; + status = "disabled"; + }; + }; ... From patchwork Thu May 23 23:15:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Judith Mendez X-Patchwork-Id: 13672417 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A66DD12839F; Thu, 23 May 2024 23:16:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.248 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716506193; cv=none; b=onML2s73TN6QmfyJJpo3HVMld6wPsnp1wyJRz+mLZvaktNwyV4s7hV7eSMNHswaRMk3zznYFwRrOfRPaIIxJg3TTgwMOZKJrSNtahLAkqMbzPj+Ucjxoa3BlJtFCP22B6aPlj4tgUHd2BIEjP3GiBOfF6BJP4X+BA3RMD8eStFw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716506193; c=relaxed/simple; bh=Fiy9FZC90iyPQI4FYNFzR2r1POOuIK5s0dZl/CyEnAE=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=SmA3ToRLxD+LxbRpl25zQ2mgmVz/E5bKUIxpxrYTAD9/beJIsMzsv1SEQ/jRyIlEBIYPMkGXaW+HZY2m/Ydbid7HQ2ku/IxbCD3ZDeMr7SXztYg0OKSAdUx01xUT+bCLX77AoMH1OJ9LfAPiNHX3tAuEYWhM8LqSBpF3idi9TGU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=qa8mY9RF; arc=none smtp.client-ip=198.47.23.248 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="qa8mY9RF" Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44NNFHhJ010386; Thu, 23 May 2024 18:15:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1716506117; bh=CUvMYdfFJ0Ynek6aFUQ1v4TMZimAu/nHC9sX7i+o8Vs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=qa8mY9RFVx/7Azr3Um253d37swN2wshjhV1RtUsGVTB2FA2dKfBJwQzy3PxFKdf/2 CLwlUcALrunaVkqw30PG0AdyIH0PbzXYXpoaeTy4UFmdCBu04cnh6UO4q44DIS2WXh kRvSnA5ecCJoeeqg/+LF2FluOHV4kRHo6+5Fd9k4= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44NNFGM8047690 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 23 May 2024 18:15:17 -0500 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE108.ent.ti.com (157.170.170.38) 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 DLEE110.ent.ti.com (157.170.170.21) 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 44NNFGqN008143; 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 3/8] arm64: dts: ti: k3-am62-main: Add eQEP nodes Date: Thu, 23 May 2024 18:15:11 -0500 Message-ID: <20240523231516.545085-4-jm@ti.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240523231516.545085-1-jm@ti.com> References: <20240523231516.545085-1-jm@ti.com> Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Add eQEP device tree nodes 0-2 for AM625 SoC. Signed-off-by: Judith Mendez --- Changes since v1: - Fix eQEP DT node to use new ti,am62-eqep compatible --- arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 27 ++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi index e9cffca073efc..cffc40eeb1516 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi @@ -844,6 +844,33 @@ ecap2: pwm@23120000 { status = "disabled"; }; + eqep0: counter@23200000 { + compatible = "ti,am62-eqep"; + reg = <0x00 0x23200000 0x00 0x100>; + power-domains = <&k3_pds 59 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 59 0>; + interrupts = ; + status = "disabled"; + }; + + eqep1: counter@23210000 { + compatible = "ti,am62-eqep"; + reg = <0x00 0x23210000 0x00 0x100>; + power-domains = <&k3_pds 60 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 60 0>; + interrupts = ; + status = "disabled"; + }; + + eqep2: counter@23220000 { + compatible = "ti,am62-eqep"; + reg = <0x00 0x23220000 0x00 0x100>; + power-domains = <&k3_pds 62 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 62 0>; + interrupts = ; + status = "disabled"; + }; + main_mcan0: can@20701000 { compatible = "bosch,m_can"; reg = <0x00 0x20701000 0x00 0x200>, From patchwork Thu May 23 23:15:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Judith Mendez X-Patchwork-Id: 13672418 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 97947128370; Thu, 23 May 2024 23:16:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716506193; cv=none; b=dmMPfyHO9TLYjl+tQe2b3strH5kzmIL09/l/wGLBW1cnmabb3baUXFUxX+MKaSUzzTL2zVpS3PEWr3fZd+yR8zSlSE1koPMSG/cAAiLWQaYBy7VuOQ9kka9iR/lqetvaNGFBFNK9J9Dfk/TklCTMwkkNHJJoVxhV/q3HPnIFZY4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716506193; c=relaxed/simple; bh=XeQr2Hm1vQXQNmSyZLKyMm3uuO5KI7MBdaPWr1RnyvI=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=nbHbwhhWSy/8B5t2GtjCWcgpCcO0dpm2wF+Z0adx1C+nPBAx/NVt3IZJ+0SiBAvSLrqLKRfqeILNljzu2ANgYEPk+DE9pugdIYBtU1pxFVqLDSX+dkPScS3pB7hOzeSPoTjmrZwAiSN4kIXn03ECWcNFycndg1JV3jH9MKZUE1Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=ZZrh/A84; arc=none smtp.client-ip=198.47.19.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="ZZrh/A84" Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44NNFGa8035338; 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=1716506117; bh=gk/P2ZbNHP1gliAkrbJNYYJwl8NuEUMORCCZtnysE3k=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=ZZrh/A84RvLcLdlprQXphcrnvLM2tkkaR7ASo5Jz8jJhDUsaO0dkj0B52eFvbNSEC 4IF2HPub0K4U3hIiBfeqioIG3iP5A/kuq8QFcgbgdprkQVMVDhnvpc2i2t8V3Ppdjc VzRk9z6TiVnHqi2ZB4n8yL1yaDE4bHvNFibpb/P8= 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 44NNFGw3116658 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 23 May 2024 18:15:16 -0500 Received: from DFLE101.ent.ti.com (10.64.6.22) 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; Thu, 23 May 2024 18:15:16 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) 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 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 44NNFGqO008143; 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 4/8] arm64: dts: ti: k3-am62a-main: Add eQEP nodes Date: Thu, 23 May 2024 18:15:12 -0500 Message-ID: <20240523231516.545085-5-jm@ti.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240523231516.545085-1-jm@ti.com> References: <20240523231516.545085-1-jm@ti.com> Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Add eQEP device tree nodes 0-2 for AM62A7 SoC. Signed-off-by: Judith Mendez --- Changes since v1: - Fix eQEP DT node to use new ti,am62-eqep compatible --- arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 27 +++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi index aa1e057082f08..4537417faa2d4 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi @@ -905,6 +905,33 @@ ecap2: pwm@23120000 { status = "disabled"; }; + eqep0: counter@23200000 { + compatible = "ti,am62-eqep"; + reg = <0x00 0x23200000 0x00 0x100>; + power-domains = <&k3_pds 59 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 59 0>; + interrupts = ; + status = "disabled"; + }; + + eqep1: counter@23210000 { + compatible = "ti,am62-eqep"; + reg = <0x00 0x23210000 0x00 0x100>; + power-domains = <&k3_pds 60 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 60 0>; + interrupts = ; + status = "disabled"; + }; + + eqep2: counter@23220000 { + compatible = "ti,am62-eqep"; + reg = <0x00 0x23220000 0x00 0x100>; + power-domains = <&k3_pds 62 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 62 0>; + interrupts = ; + status = "disabled"; + }; + mcasp0: audio-controller@2b00000 { compatible = "ti,am33xx-mcasp-audio"; reg = <0x00 0x02b00000 0x00 0x2000>, From patchwork Thu May 23 23:15:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Judith Mendez X-Patchwork-Id: 13672411 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 53C4082D83; Thu, 23 May 2024 23:16:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.141 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716506181; cv=none; b=RmpHAHrt3P4N6kP4b/0ljuKWwq9UcYkPbVkGxM/qxoju4SnsPQiy/u/8/ya7gJi9MvevT9elXMIKJXsHEEYrCbsCkwm8Vys06VpLINoJaW8u8usqs00SaA40xf9jLK7C7Xk86cf9bRLUnZ8luH9FYfwPggnUJG8ewmjBovTSQE8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716506181; c=relaxed/simple; bh=drXu3dcyn7zDotZ6pdI6OgCN3ap16dPIJidDp4/l0wA=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=iKwY0MVIlrEqqkeii5442SWarJT2f/YVXsEtyMdHx2B9YTviicsJdKp6o267vyDhRlzeGgUVZihQn/2rqGIpOXrR3KjP7LwegUUS0YDIEeVgY9Wb+FkwSkpP5J4hxELDNWCOYMJaevdGzWJQfKcvUtsvzubCfrGEWXdh4HqAh/s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=mOwhIPcx; arc=none smtp.client-ip=198.47.19.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="mOwhIPcx" Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44NNFHCs024885; Thu, 23 May 2024 18:15:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1716506117; bh=JjZPG2hiL1XiLa7Omwqd0sFEr7VUyvWc+aG3OrEZDc0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=mOwhIPcx8i9TiXnz4iFLXo28cNISrky5jXkNCmAi6krGOOcJQWI+GMMBwUqFQ91PO EHclT3TxxjxKrGedh1iFr9vojVGFe1tFX4vW1RNA1PNNB934cn2fulYvzu4u/YoD7u xGn2+m43z+0yhQEuP+mEgg4JnwuBDOEkWcZLdT2M= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44NNFHoV047699 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 23 May 2024 18:15:17 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE107.ent.ti.com (157.170.170.37) 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 DLEE104.ent.ti.com (157.170.170.34) 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 44NNFGqP008143; 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 5/8] arm64: dts: ti: k3-am62p-main: Add eQEP nodes Date: Thu, 23 May 2024 18:15:13 -0500 Message-ID: <20240523231516.545085-6-jm@ti.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240523231516.545085-1-jm@ti.com> References: <20240523231516.545085-1-jm@ti.com> Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Add eQEP device tree nodes 0-2 for AM62P5 SoC. Signed-off-by: Judith Mendez --- Changes since v1: - Fix eQEP DT node to use new ti,am62-eqep compatible --- arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 27 +++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi index 88bc64111234b..35c966b6a5c43 100644 --- a/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi @@ -805,6 +805,33 @@ ecap2: pwm@23120000 { status = "disabled"; }; + eqep0: counter@23200000 { + compatible = "ti,am62-eqep"; + reg = <0x00 0x23200000 0x00 0x100>; + power-domains = <&k3_pds 59 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 59 0>; + interrupts = ; + status = "disabled"; + }; + + eqep1: counter@23210000 { + compatible = "ti,am62-eqep"; + reg = <0x00 0x23210000 0x00 0x100>; + power-domains = <&k3_pds 60 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 60 0>; + interrupts = ; + status = "disabled"; + }; + + eqep2: counter@23220000 { + compatible = "ti,am62-eqep"; + reg = <0x00 0x23220000 0x00 0x100>; + power-domains = <&k3_pds 62 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 62 0>; + interrupts = ; + status = "disabled"; + }; + main_mcan0: can@20701000 { compatible = "bosch,m_can"; reg = <0x00 0x20701000 0x00 0x200>, From patchwork Thu May 23 23:15:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Judith Mendez X-Patchwork-Id: 13672415 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9790712836E; Thu, 23 May 2024 23:16:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716506193; cv=none; b=DPl5SdJNSi7qa1UpVp533nKxzaxU9JF64nHkSuchv4NCAFZs4l+yFJ44aHvssPYch8YUFF6DVlzCxzBzCV48pXMp2JYIGoVBPEax9I9nBtZruxaa0TVytbdOXYK2ax6VtZBJWTOHsce6x17BhpuCMYH+UZIzQK6Iq7fDmqEGVME= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716506193; c=relaxed/simple; bh=xYKXyFXnXkijTIBsjIicustRNjXvIeU+D8LFQVpaegI=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=eo7VEP693sKqmbe3PwivWSGRE68jO7Iwud8AuDOLXHGdjxbJ6KrXP62NzKmOCxd48CLuNKmr6MsbHFf13/2Z4ozU9SNJN5oXyPKOcAlZITs3Sr6DpqoJ3YELxcAhFUERO6efTEkHjqXpd1C0x9dcbiG8GtJsKWmFbZtyhPZ8DoY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=NLJ6l30W; arc=none smtp.client-ip=198.47.19.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="NLJ6l30W" Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44NNFHSv035342; Thu, 23 May 2024 18:15:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1716506117; bh=k7yNi1LOmFF8qRSr3l6u9QkvXTM0dWfaZuj0DGMhiq8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=NLJ6l30Wawc83efGDAiQ6fHCSlE/jWhEhIUVOTbW5qJJ386C+o/HcYOfqbiYfL845 gn/w9a7Be3xVenyFOcRKo7rSIE0e9dAlnFOAmO6VHTQemjrZpqxUc5Sx+aYHyimVei q0agrICSYexUEC0ku965B3Jx2u4zh/qahG335wqU= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44NNFH5P111070 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 23 May 2024 18:15:17 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE103.ent.ti.com (157.170.170.33) 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 DLEE111.ent.ti.com (157.170.170.22) 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 44NNFGqQ008143; 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 6/8] arm64: dts: ti: k3-am64-main: Add eQEP nodes Date: Thu, 23 May 2024 18:15:14 -0500 Message-ID: <20240523231516.545085-7-jm@ti.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240523231516.545085-1-jm@ti.com> References: <20240523231516.545085-1-jm@ti.com> Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Add eQEP device tree nodes 0-2 for AM642 SoC. Signed-off-by: Judith Mendez --- Changes since v1: - Fix eQEP DT node to use new ti,am62-eqep compatible --- arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 27 ++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi index 6f9aa5e02138f..6be710138dded 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi @@ -1171,6 +1171,33 @@ ecap2: pwm@23120000 { status = "disabled"; }; + eqep0: counter@23200000 { + compatible = "ti,am62-eqep"; + reg = <0x00 0x23200000 0x00 0x100>; + power-domains = <&k3_pds 59 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 59 0>; + interrupts = ; + status = "disabled"; + }; + + eqep1: counter@23210000 { + compatible = "ti,am62-eqep"; + reg = <0x00 0x23210000 0x00 0x100>; + power-domains = <&k3_pds 60 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 60 0>; + interrupts = ; + status = "disabled"; + }; + + eqep2: counter@23220000 { + compatible = "ti,am62-eqep"; + reg = <0x00 0x23220000 0x00 0x100>; + power-domains = <&k3_pds 62 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 62 0>; + interrupts = ; + status = "disabled"; + }; + main_rti0: watchdog@e000000 { compatible = "ti,j7-rti-wdt"; reg = <0x00 0xe000000 0x00 0x100>; From patchwork Thu May 23 23:15:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Judith Mendez X-Patchwork-Id: 13672414 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 978BC128365; Thu, 23 May 2024 23:16:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716506193; cv=none; b=qmn0x+olu6rTnb4Mk/xE+yLPqMXH3HyiwIeT89vQCqgTV9/BcM+u8ZZrpyY9SiuGkP8gpNAsCOY6DxmJY3T8BWzqI0PUHiVmElcn66Pz7Gu18fLg7xLu7I0Jj2Je5kA1oP0+nw0nInjFaqF3wsNsZAVrRlSLQ3pfMOWU/yJQJws= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716506193; c=relaxed/simple; bh=w3FVlpgXc9fXZpLX1ft6ZyAQ/mXCFoTSn6q6NYD5DM8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=aRQfHTyRqKwVcEx/m2k+WuS7Ilih3kikmKl0+NtyvIFvLRDaUvzHz0hNmIatA9fQyTdKIPuAwMj9Et3UQFOi/cLrrCu2c4zxGOOOX32VIESJghDIOQ4/8rSXo7qPZyH5GQQcUKiszPvpnE0i/peZfG1E87x54FA2CP3troxzeio= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=xgkXqaD/; arc=none smtp.client-ip=198.47.19.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="xgkXqaD/" Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44NNFHvA035343; Thu, 23 May 2024 18:15:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1716506117; bh=zME/Z2ylqO3L8pwSFiqVG5UTliz6kRk+vTJ9aaQMxSE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=xgkXqaD/6FYNGuqF/X+Uw+ZdcimgUwgfEbXRvS33+ictaf/Aw4q8rVBNSZwdj0uVo NucbbHRi8jSyXjjUnq2N/PBz+Leg4p5e8QFCOrw7cfIA6lG0tjKVGK4RuQIOI8z/uv GSxxYuOAumEAsFkiZ6MwnhdkiFVM3R8sdYQgGP9M= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44NNFH4L022516 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 23 May 2024 18:15:17 -0500 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE108.ent.ti.com (157.170.170.38) 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 DLEE110.ent.ti.com (157.170.170.21) 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 44NNFGqR008143; 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 7/8] counter: ti-eqep: Allow eQEP driver to be built for K3 devices Date: Thu, 23 May 2024 18:15:15 -0500 Message-ID: <20240523231516.545085-8-jm@ti.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240523231516.545085-1-jm@ti.com> References: <20240523231516.545085-1-jm@ti.com> Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 TI K3 SoC's support eQEP hardware, so add ARCH_K3 to the depends so the TI eQEP driver can be built for K3 devices. Signed-off-by: Judith Mendez Reviewed-by: David Lechner --- Changes since v1: - No change --- drivers/counter/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/counter/Kconfig b/drivers/counter/Kconfig index 497bc05dca4df..d30d22dfe5774 100644 --- a/drivers/counter/Kconfig +++ b/drivers/counter/Kconfig @@ -138,7 +138,7 @@ config TI_ECAP_CAPTURE config TI_EQEP tristate "TI eQEP counter driver" - depends on (SOC_AM33XX || COMPILE_TEST) + depends on SOC_AM33XX || ARCH_K3 || COMPILE_TEST select REGMAP_MMIO help Select this option to enable the Texas Instruments Enhanced Quadrature From patchwork Thu May 23 23:15:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Judith Mendez X-Patchwork-Id: 13672412 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C84F282D83; Thu, 23 May 2024 23:16:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.249 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716506192; cv=none; b=VEj7GFtsjT+tSjFQfwCgtg8z30km5cxmIHD0iJciW84v4BRxFLSa+//ydhFtO/kgQ+ANJBF2Il9hWNq8O4fwPFFEsFRZaj2vNllOZ/ZZQ4OHwPApgYK84gNB9zuDt0nzGFpiGIbrkNuFXEGWxpDYb8tS6bMmLLvwmefQOSk1AEo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716506192; c=relaxed/simple; bh=cLErUw8qY59WfzNbSCseF2h9TWh1n1R9lbqIIBgcRKo=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=cuYTEm7qXWNK7P1FVVfn//QGiMcHqBA4UIiIaJnaA5Aqhx1rRcxmQywNUTei4HwQWzgT6ulOq9z7zautKq2wYWz3R6RqKcucTkrU8kj8OhCQWbv36S0so4rvP17RddwMxG4EYPTuBZas8dHBBs7jVT7Q9qvGPEf0MCLM1Y8Oai8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=d1YwV1wa; arc=none smtp.client-ip=198.47.23.249 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="d1YwV1wa" Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44NNFH7r117079; Thu, 23 May 2024 18:15:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1716506117; bh=AWN/I0yky+1/CkoEwQUxLaCCwtG1xFx236NM/NCPa0w=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=d1YwV1wauDVJPaoLqG6Ypmb/AK8ZOk9nsLYo1Ukv9Jf/vrRrYhMzAekMrq/mH6YMT ASBe71XtLPaG7LXoraH+rlEjoWdgHlFFLcNC63eBZp/y0VCLSEB9TBqPcbLOYmQa3O +jH01ryXp3gvFKkgcWoP1fUDxJTWWtfepdCZNLus= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44NNFHLo116686 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 23 May 2024 18:15:17 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE103.ent.ti.com (10.64.6.24) 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 DFLE113.ent.ti.com (10.64.6.34) 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 44NNFGqS008143; 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 8/8] arm64: defconfig: Enable TI eQEP Driver Date: Thu, 23 May 2024 18:15:16 -0500 Message-ID: <20240523231516.545085-9-jm@ti.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240523231516.545085-1-jm@ti.com> References: <20240523231516.545085-1-jm@ti.com> Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 TI K3 SoC's support eQEP hardware, so enable TI eQEP driver to be built as a module. Signed-off-by: Judith Mendez --- Changes since v1: - No change --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 2c30d617e1802..23d11a1b20195 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1593,6 +1593,7 @@ CONFIG_INTERCONNECT_QCOM_SM8550=y CONFIG_INTERCONNECT_QCOM_SM8650=y CONFIG_INTERCONNECT_QCOM_X1E80100=y CONFIG_COUNTER=m +CONFIG_TI_EQEP=m CONFIG_RZ_MTU3_CNT=m CONFIG_HTE=y CONFIG_HTE_TEGRA194=y