From nobody Fri Nov 29 03:42:16 2024 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 A67CC14AD38; Tue, 24 Sep 2024 22:07:58 +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=1727215680; cv=none; b=gAj3OJnBY9Dn15MjVmpHtNZFbmH4CZNk0SxS++8s4RbVehkkzGNIFaIDrbra/mdWn2XLGitTv4ZjlMBvbVa8clXUTXfQEDQaAUA5gpJ6OlTLIvrv5MPJuFOlIyG3cpb3JDj4s5teMhI9+EzPbFE2vAGb0ElqxVKx7F76Wm62OT0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727215680; c=relaxed/simple; bh=raSvKoA3ksmtugSdOUBrOfmdLCzIRBy6BsDy4q183tE=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=XSL/NWZIgmwSxi9qCrzgclZTWkMzxy5PUlYla2KGkM77gx/Y0pPCP8jQQHVhy0JlKqz9iQa7duOf7lyT5Rx8xjTPZ3v13uiGCtc0+CM4fOxCbWZA1FXoQQzV6uI4D5Xyj280daDVxZVvWGJnR8Go37Te1wQ6Y85C00yEyRCAJJY= 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=sesD+Gbr; 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="sesD+Gbr" Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 48OM726n054742; Tue, 24 Sep 2024 17:07:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1727215622; bh=ONaBeW9h8KgQVtHpNupMLiZgcPjn4X+YUwoYmMnYDP0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=sesD+Gbr516aRXhD7eX4fDnjbViefafKE93FFhrFuZI5GtevTnjzbzbnhOZ+hUVR6 WIaHlxXSnutfXRqI9jnhQTmFTlXOCRm7PZ8OUwlcWc5340rC+LTd5RRoan2Ic37njk m7PCaV37R+VdZq4wdSZd8Ymj5HytsET4i+cdH3Tc= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 48OM72Rl019426 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 24 Sep 2024 17:07:02 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) 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; Tue, 24 Sep 2024 17:07:02 -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; Tue, 24 Sep 2024 17:07:02 -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 48OM72lS037639; Tue, 24 Sep 2024 17:07:02 -0500 From: Judith Mendez To: William Breathitt Gray CC: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vignesh Raghavendra , Nishanth Menon , Tero Kristo , David Lechner , , , , , Judith Mendez Subject: [PATCH v6 1/5] arm64: dts: ti: k3-am62-main: Add eQEP nodes Date: Tue, 24 Sep 2024 17:06:56 -0500 Message-ID: <20240924220700.886313-2-jm@ti.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240924220700.886313-1-jm@ti.com> References: <20240924220700.886313-1-jm@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea Content-Type: text/plain; charset="utf-8" Add eQEP device tree nodes 0-2 for AM625 SoC. Signed-off-by: Judith Mendez --- Changes since v5: - No change --- 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 5b92aef5b284..98ba75af8730 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi @@ -843,6 +843,33 @@ ecap2: pwm@23120000 { status =3D "disabled"; }; =20 + eqep0: counter@23200000 { + compatible =3D "ti,am62-eqep"; + reg =3D <0x00 0x23200000 0x00 0x100>; + power-domains =3D <&k3_pds 59 TI_SCI_PD_EXCLUSIVE>; + clocks =3D <&k3_clks 59 0>; + interrupts =3D ; + status =3D "disabled"; + }; + + eqep1: counter@23210000 { + compatible =3D "ti,am62-eqep"; + reg =3D <0x00 0x23210000 0x00 0x100>; + power-domains =3D <&k3_pds 60 TI_SCI_PD_EXCLUSIVE>; + clocks =3D <&k3_clks 60 0>; + interrupts =3D ; + status =3D "disabled"; + }; + + eqep2: counter@23220000 { + compatible =3D "ti,am62-eqep"; + reg =3D <0x00 0x23220000 0x00 0x100>; + power-domains =3D <&k3_pds 62 TI_SCI_PD_EXCLUSIVE>; + clocks =3D <&k3_clks 62 0>; + interrupts =3D ; + status =3D "disabled"; + }; + main_mcan0: can@20701000 { compatible =3D "bosch,m_can"; reg =3D <0x00 0x20701000 0x00 0x200>, --=20 2.46.0 From nobody Fri Nov 29 03:42:16 2024 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 F40CE1AB519; Tue, 24 Sep 2024 22:07:59 +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=1727215681; cv=none; b=N6NCuA/QnfKxDCYAJtshrli/5npkguoMhIAMVZjBtEZG4+lC7WtTrVpK03t5L55XsK5yhFFcsJ6MLX+tgBZ9PisCMG4Ek9D+YllaT7Gt3ea7FiTWaTEr8mUSxfRKG3bHTrhcBppH4ufVd/wTW/wo6svaUxSbB9Z/VJY7Aa+Hz94= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727215681; c=relaxed/simple; bh=Lm4eEehHmGZ56HFJ1rm8sdQ2HFVye/tnWeXbh92iEr0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=R479PjDo8UJ8SLE3rTvs1wEnbrP5IghRFex9O0BVMguDHbAVi6FRcPvFOsOeNxeehg6FmXUrv+K01wqHghNzK1O+3B3n5btCztFXM3qIRa9tDfqLR8ozlUx1C1cK59jKiQpbBlLz4SGSERyD+pU/TPjeaMFehjgCfP6lNUbrwJ4= 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=wispDvV3; 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="wispDvV3" Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 48OM72Gw082927; Tue, 24 Sep 2024 17:07:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1727215622; bh=1M2n6m+75pbsYposN1bAhoWmo9g+O2FkqiGVf/F7xdc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=wispDvV3xWKAqC5BMq3OM/8u5OOzmDU93RhfZY/WPIODlz+UTZDjgeckseDLYyEHc C36oI7dpMoby27XPr9KcckeZlvfHQn5wRaZktfCvdZervyhOpjQvBnUPf6NeLr9JI3 YonIWNK8KCvdEsr5Qe6g/EgVDEPZ/J8KKCkbEfVA= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 48OM72Rf019415 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 24 Sep 2024 17:07:02 -0500 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 24 Sep 2024 17:07:02 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) 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 via Frontend Transport; Tue, 24 Sep 2024 17:07:02 -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 48OM72lT037639; Tue, 24 Sep 2024 17:07:02 -0500 From: Judith Mendez To: William Breathitt Gray CC: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vignesh Raghavendra , Nishanth Menon , Tero Kristo , David Lechner , , , , , Judith Mendez Subject: [PATCH v6 2/5] arm64: dts: ti: k3-am62a-main: Add eQEP nodes Date: Tue, 24 Sep 2024 17:06:57 -0500 Message-ID: <20240924220700.886313-3-jm@ti.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240924220700.886313-1-jm@ti.com> References: <20240924220700.886313-1-jm@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea Content-Type: text/plain; charset="utf-8" Add eQEP device tree nodes 0-2 for AM62A7 SoC. Signed-off-by: Judith Mendez --- Changes since v5: - No change --- 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/dt= s/ti/k3-am62a-main.dtsi index 16a578ae2b41..a93e2cd7b8c7 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi @@ -943,6 +943,33 @@ ecap2: pwm@23120000 { status =3D "disabled"; }; =20 + eqep0: counter@23200000 { + compatible =3D "ti,am62-eqep"; + reg =3D <0x00 0x23200000 0x00 0x100>; + power-domains =3D <&k3_pds 59 TI_SCI_PD_EXCLUSIVE>; + clocks =3D <&k3_clks 59 0>; + interrupts =3D ; + status =3D "disabled"; + }; + + eqep1: counter@23210000 { + compatible =3D "ti,am62-eqep"; + reg =3D <0x00 0x23210000 0x00 0x100>; + power-domains =3D <&k3_pds 60 TI_SCI_PD_EXCLUSIVE>; + clocks =3D <&k3_clks 60 0>; + interrupts =3D ; + status =3D "disabled"; + }; + + eqep2: counter@23220000 { + compatible =3D "ti,am62-eqep"; + reg =3D <0x00 0x23220000 0x00 0x100>; + power-domains =3D <&k3_pds 62 TI_SCI_PD_EXCLUSIVE>; + clocks =3D <&k3_clks 62 0>; + interrupts =3D ; + status =3D "disabled"; + }; + mcasp0: audio-controller@2b00000 { compatible =3D "ti,am33xx-mcasp-audio"; reg =3D <0x00 0x02b00000 0x00 0x2000>, --=20 2.46.0 From nobody Fri Nov 29 03:42:16 2024 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 C0BBC1494D9; Tue, 24 Sep 2024 22:07:57 +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=1727215679; cv=none; b=M0BZ7rNSGmT6xoEZA8duHuIg/SynvhzU/MDhymua3TUKblyK01JviqeAbt2+nSGRDeLVxvmDqivVHi82CkZYWVcCIi/x4aCmFBCOe75zsRcmWMOHken6xnhVjiBiPlkb5ejf7s5kk/CIgl388vsTWjGkBqZV1PLUokYNg2yKmfo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727215679; c=relaxed/simple; bh=g5eh0v9N2uKEGPHUBipSkmNsslKkF0EnBwmSr9WPKzw=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Zt7avhJmNfmZvv1CtQqahoMVUs61skWAjQQ4vvJSd+Nl2Lq6HlFXj+VviXtWCtRZeC0zfAZ2QISucfuNM1RSIv8iJtcrq32P/s59JWSqAlhiYNSOy2GDLw7rUdx80WTS7au9t0Twik653vKefFzwiNPXpluqMCMZFEzSi6kqvIo= 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=lllOsajG; 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="lllOsajG" Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 48OM72MR020935; Tue, 24 Sep 2024 17:07:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1727215622; bh=h2+K/JTxxMPAnbM0XfeePQudoZnGIMc/ai/7g8Ha0HI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=lllOsajGkvnrLnMRIji3ZPYYHTqom9dYBMk+a/w9l04fQiJQ2OklOLWzHIYYcgv9w 6ZXTFxuDlmkf4Rdj+FyvoOIwTewHL1al605v9iggBnGBTS4UYVkwHXZGuvCiwTCIVd fimoQfWHceACsGoI9E+EukpKN9RS2ghaxnPLoSSE= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 48OM727N036400 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 24 Sep 2024 17:07:02 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 24 Sep 2024 17:07:02 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE114.ent.ti.com (157.170.170.25) 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; Tue, 24 Sep 2024 17:07:02 -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 48OM72lU037639; Tue, 24 Sep 2024 17:07:02 -0500 From: Judith Mendez To: William Breathitt Gray CC: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vignesh Raghavendra , Nishanth Menon , Tero Kristo , David Lechner , , , , , Judith Mendez Subject: [PATCH v6 3/5] arm64: dts: ti: k3-am62p-main: Add eQEP nodes Date: Tue, 24 Sep 2024 17:06:58 -0500 Message-ID: <20240924220700.886313-4-jm@ti.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240924220700.886313-1-jm@ti.com> References: <20240924220700.886313-1-jm@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea Content-Type: text/plain; charset="utf-8" Add eQEP device tree nodes 0-2 for AM62P5 SoC. Signed-off-by: Judith Mendez --- Changes since v5: - No change --- .../dts/ti/k3-am62p-j722s-common-main.dtsi | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi b/arch/= arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi index 9b6f51379108..41e1c24b1144 100644 --- a/arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi @@ -827,6 +827,33 @@ ecap2: pwm@23120000 { status =3D "disabled"; }; =20 + eqep0: counter@23200000 { + compatible =3D "ti,am62-eqep"; + reg =3D <0x00 0x23200000 0x00 0x100>; + power-domains =3D <&k3_pds 59 TI_SCI_PD_EXCLUSIVE>; + clocks =3D <&k3_clks 59 0>; + interrupts =3D ; + status =3D "disabled"; + }; + + eqep1: counter@23210000 { + compatible =3D "ti,am62-eqep"; + reg =3D <0x00 0x23210000 0x00 0x100>; + power-domains =3D <&k3_pds 60 TI_SCI_PD_EXCLUSIVE>; + clocks =3D <&k3_clks 60 0>; + interrupts =3D ; + status =3D "disabled"; + }; + + eqep2: counter@23220000 { + compatible =3D "ti,am62-eqep"; + reg =3D <0x00 0x23220000 0x00 0x100>; + power-domains =3D <&k3_pds 62 TI_SCI_PD_EXCLUSIVE>; + clocks =3D <&k3_clks 62 0>; + interrupts =3D ; + status =3D "disabled"; + }; + main_mcan0: can@20701000 { compatible =3D "bosch,m_can"; reg =3D <0x00 0x20701000 0x00 0x200>, --=20 2.46.0 From nobody Fri Nov 29 03:42:16 2024 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 E842342A8F; Tue, 24 Sep 2024 22:07:53 +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=1727215675; cv=none; b=gDrxT0jsoFBO+fyL/ArXkNbfQk2xNvnokD+mVA8uGuLfxTm9/0liQnsGyyfyMrDAZ1oTbQ9CzqjojnkvSYnPPpZMVJtHpyGq6WfoOq1x0U7ISBQU3hdizHfx2O//HzmgjYkMI+eJc94ZvvRrzlJxcBFT236tCATMDlkZLK0qFRs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727215675; c=relaxed/simple; bh=OEsZlL28t6ljfz8fnmFkCuS4GL68Hylplw9Z++0KTL4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=R8Mog62yCgR8qRJuCd0w0rhovhwOXl9QgCs3Cls/Er/Rdfqj8rb90Cb2uwpCLXGx4U6N4yZtqTv5N87irwW6k+8AACAYD3fyEJ0OLs3uUYCEp7akTsnjaLtkRHn6QIvRxARnprddeSG69iKkh7rLcg/v+3X2Cz67ubS7dzipPqY= 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=fV+KWLSO; 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="fV+KWLSO" Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 48OM721A075118; Tue, 24 Sep 2024 17:07:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1727215623; bh=FcKDVO/ernx5jW4HFCuPYGGehp3bOmlb7zjPFCcNZbo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=fV+KWLSOslrQj7rb0oEEd/RkF5NhAp3MS2xlf67QC484+2T50gC2hm/hwwba2HzaO jsCuuNBgH3SgmdGglM8BYk5T2W5UheI3Ht5QQ9kL5SkhRDWLXFhL4/PB56VCaTidx6 vmKMD4+V9n/je4vAT1g0Omhq2/8c5/3jRMOYLDDI= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 48OM72Rn019426 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 24 Sep 2024 17:07:02 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) 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; Tue, 24 Sep 2024 17:07:02 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) 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 via Frontend Transport; Tue, 24 Sep 2024 17:07:02 -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 48OM72lV037639; Tue, 24 Sep 2024 17:07:02 -0500 From: Judith Mendez To: William Breathitt Gray CC: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vignesh Raghavendra , Nishanth Menon , Tero Kristo , David Lechner , , , , , Judith Mendez Subject: [PATCH v6 4/5] arm64: dts: ti: k3-am64-main: Add eQEP nodes Date: Tue, 24 Sep 2024 17:06:59 -0500 Message-ID: <20240924220700.886313-5-jm@ti.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240924220700.886313-1-jm@ti.com> References: <20240924220700.886313-1-jm@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea Content-Type: text/plain; charset="utf-8" Add eQEP device tree nodes 0-2 for AM642 SoC. Signed-off-by: Judith Mendez --- Changes since v5: - No change --- 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 7eae18399caa..f96cb19fb3f1 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi @@ -1175,6 +1175,33 @@ ecap2: pwm@23120000 { status =3D "disabled"; }; =20 + eqep0: counter@23200000 { + compatible =3D "ti,am62-eqep"; + reg =3D <0x00 0x23200000 0x00 0x100>; + power-domains =3D <&k3_pds 59 TI_SCI_PD_EXCLUSIVE>; + clocks =3D <&k3_clks 59 0>; + interrupts =3D ; + status =3D "disabled"; + }; + + eqep1: counter@23210000 { + compatible =3D "ti,am62-eqep"; + reg =3D <0x00 0x23210000 0x00 0x100>; + power-domains =3D <&k3_pds 60 TI_SCI_PD_EXCLUSIVE>; + clocks =3D <&k3_clks 60 0>; + interrupts =3D ; + status =3D "disabled"; + }; + + eqep2: counter@23220000 { + compatible =3D "ti,am62-eqep"; + reg =3D <0x00 0x23220000 0x00 0x100>; + power-domains =3D <&k3_pds 62 TI_SCI_PD_EXCLUSIVE>; + clocks =3D <&k3_clks 62 0>; + interrupts =3D ; + status =3D "disabled"; + }; + main_rti0: watchdog@e000000 { compatible =3D "ti,j7-rti-wdt"; reg =3D <0x00 0xe000000 0x00 0x100>; --=20 2.46.0 From nobody Fri Nov 29 03:42:16 2024 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 A681914D290; Tue, 24 Sep 2024 22:07:58 +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=1727215681; cv=none; b=Y5fuJf7uwPMX2WJagAS08eaI6DkoR7ucCh1wQoxI5w3t6yFQqIoS4xEztRJqJzk2mDM9P5vycS3yF0amK3WahmrP3jZ2jNpGuzGkyqqoJB50OrnRZFXshf82bawL5me01w7nc5rkrig4vW7LLoi768lRYFSoJHb4SHLtfs2FP0U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727215681; c=relaxed/simple; bh=96tCrm9njad6b6PBI7E/wWAqn4rwOO8KZwmwSrlayPM=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=FHHZg9BqsVKHK+vwXwuaj7VLBRjyt9tAQjE+eMgwwd4rxepnEnITIxM76llMxGSqqOJt6LMV9/QtKTAr3DhYgPEmkpHRiqCGmr/uiMUnHOivKzyqL+uagAI1wJj3DZNzjP+9ZAZocNTJRULTQmpeXLpvx7rN407KxdKfaY3PqZQ= 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=tGzg0TIx; 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="tGzg0TIx" Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 48OM72FC054738; Tue, 24 Sep 2024 17:07:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1727215622; bh=4h53RmnxU7gpILaf3yHrv+tcrbJnvBSStCmsQx4E+QM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=tGzg0TIxL3x7WT9trsK/QBnnh61XHnkmm4NKPf6n3j6CfO48MfHxAtVHcBMo0MdRr CiJ5hFHtR4FgANRfI7JMAkz4tGdT8vi7Pvazcl8NYhpA9lriZGMS2LrnicWJkq1alV T8P/5TUfHKvZEsCI/kF39dAsHQohRlaRd/4vRKxE= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 48OM729W036385 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 24 Sep 2024 17:07:02 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 24 Sep 2024 17:07:02 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) 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 via Frontend Transport; Tue, 24 Sep 2024 17:07:02 -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 48OM72lW037639; Tue, 24 Sep 2024 17:07:02 -0500 From: Judith Mendez To: William Breathitt Gray CC: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vignesh Raghavendra , Nishanth Menon , Tero Kristo , David Lechner , , , , , Judith Mendez Subject: [PATCH v6 5/5] arm64: dts: ti: k3-am64x-sk: Enable eQEP Date: Tue, 24 Sep 2024 17:07:00 -0500 Message-ID: <20240924220700.886313-6-jm@ti.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240924220700.886313-1-jm@ti.com> References: <20240924220700.886313-1-jm@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea Content-Type: text/plain; charset="utf-8" There are 3 instances of eQEP on AM64x. Only EQEP0 signals can be routed to the user expansion so enable only EQEP0 in k3-am642-sk.dts. Signed-off-by: Judith Mendez --- Changes since v5: - No change --- arch/arm64/boot/dts/ti/k3-am642-sk.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am642-sk.dts b/arch/arm64/boot/dts/t= i/k3-am642-sk.dts index 86369525259c..47b351067bb8 100644 --- a/arch/arm64/boot/dts/ti/k3-am642-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am642-sk.dts @@ -357,6 +357,16 @@ main_ecap0_pins_default: main-ecap0-default-pins { AM64X_IOPAD(0x0270, PIN_INPUT, 0) /* (D18) ECAP0_IN_APWM_OUT */ >; }; + + main_eqep0_pins_default: main-eqep0-default-pins { + pinctrl-single,pins =3D < + AM64X_IOPAD(0x00a0, PIN_INPUT, 3) /* (N16) GPMC0_WPn.EQEP0_A */ + AM64X_IOPAD(0x00a4, PIN_INPUT, 3) /* (N17) GPMC0_DIR.EQEP0_B */ + AM64X_IOPAD(0x00ac, PIN_INPUT, 3) /* (R20) GPMC0_CSn1.EQEP0_I */ + AM64X_IOPAD(0x00a8, PIN_INPUT, 3) /* (R19) GPMC0_CSn0.EQEP0_S */ + >; + }; + main_wlan_en_pins_default: main-wlan-en-default-pins { pinctrl-single,pins =3D < AM64X_IOPAD(0x00c4, PIN_OUTPUT_PULLUP, 7) /* (V8) GPIO0_48 */ @@ -687,3 +697,10 @@ &ecap0 { pinctrl-names =3D "default"; pinctrl-0 =3D <&main_ecap0_pins_default>; }; + +&eqep0 { + status =3D "okay"; + /* EQEP0 A & B available on pins 18 & 22 of J4 header */ + pinctrl-names =3D "default"; + pinctrl-0 =3D <&main_eqep0_pins_default>; +}; --=20 2.46.0