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/[email protected]/
Link to v1: https://lore.kernel.org/linux-devicetree/[email protected]/
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(-)
--
2.45.1
Add eQEP device tree nodes 0-2 for AM625 SoC.
Signed-off-by: Judith Mendez <[email protected]>
---
Changes since v2:
- 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 448a59dc53a77..525997456adaa 100644
--- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
@@ -846,6 +846,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 = <GIC_SPI 116 IRQ_TYPE_EDGE_RISING>;
+ 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 = <GIC_SPI 117 IRQ_TYPE_EDGE_RISING>;
+ 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 = <GIC_SPI 118 IRQ_TYPE_EDGE_RISING>;
+ status = "disabled";
+ };
+
main_mcan0: can@20701000 {
compatible = "bosch,m_can";
reg = <0x00 0x20701000 0x00 0x200>,
--
2.45.1
On 6/7/24 11:27 AM, Judith Mendez wrote:
> This patch series adds eQEP DT nodes for K3 Sitara devices:
FYI, it looks like you still have William's old not working email address
so he might not be seeing this to pick it up.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/MAINTAINERS?id=c90663596e7c97363d8855c635f39500ed2f0030
Hi,
On 6/8/24 8:58 AM, David Lechner wrote:
> On 6/7/24 11:27 AM, Judith Mendez wrote:
>> This patch series adds eQEP DT nodes for K3 Sitara devices:
>
> FYI, it looks like you still have William's old not working email address
> so he might not be seeing this to pick it up.
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/MAINTAINERS?id=c90663596e7c97363d8855c635f39500ed2f0030
Thanks David, will update with the respin.
~ Judith