Re: [PATCH 3/8] arm: dts: k3-am62: Bump dtsi from ti-next

2023-01-25 Thread Tom Rini
On Wed, Jan 25, 2023 at 08:32:39AM +0100, Sjoerd Simons wrote:
> On Tue, 2023-01-24 at 15:47 -0500, Tom Rini wrote:
> > On Sat, Jan 21, 2023 at 04:54:29PM +0100, Sjoerd Simons wrote:
> > 
> > > Update the am62 and am625 device-trees from current ti-k3-next 
> 
> ...
> 
> > These need to come from linux-next or similar, not a TI tree. What's
> > the
> > status on upstreaming those changes?
> 
> With ti-k3-next i was referring to: 
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git/log/?h=ti-k3-next
> 
> Which is a maintainer branch that flows into the ti tree that gets
> pulled into linux next.. Just checked this morning and the relevant
> commit is now available in linux-next as well (it wasn't just yet when
> i sent this out).
> 
> 
> Would you like me to resend this series with the body of this patch
> updated to reflect that ?

Thanks for clarifying, both of you. For this go-round it's fine, just
please rephrase things for future series.

-- 
Tom


signature.asc
Description: PGP signature


Re: [PATCH 3/8] arm: dts: k3-am62: Bump dtsi from ti-next

2023-01-24 Thread Sjoerd Simons
On Tue, 2023-01-24 at 15:47 -0500, Tom Rini wrote:
> On Sat, Jan 21, 2023 at 04:54:29PM +0100, Sjoerd Simons wrote:
> 
> > Update the am62 and am625 device-trees from current ti-k3-next 

...

> These need to come from linux-next or similar, not a TI tree. What's
> the
> status on upstreaming those changes?

With ti-k3-next i was referring to: 

https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git/log/?h=ti-k3-next

Which is a maintainer branch that flows into the ti tree that gets
pulled into linux next.. Just checked this morning and the relevant
commit is now available in linux-next as well (it wasn't just yet when
i sent this out).


Would you like me to resend this series with the body of this patch
updated to reflect that ?

-- 
Sjoerd Simons
Collabora Ltd.


Re: [PATCH 3/8] arm: dts: k3-am62: Bump dtsi from ti-next

2023-01-24 Thread Tom Rini
On Sat, Jan 21, 2023 at 04:54:29PM +0100, Sjoerd Simons wrote:

> Update the am62 and am625 device-trees from current ti-k3-next (commit
> 880932e657f). This needed the following tweaks to the u-boot specific$
> dtsi as well:
> - Switch tick-timer to the main_timer as it's now defined in the main dtsi
> - Add mdio pins to the cpsw3g pinctrl. It moved to a subnode in the
>   linux dtsi that u-boot doesn't use/support
> 
> Signed-off-by: Sjoerd Simons 

These need to come from linux-next or similar, not a TI tree. What's the
status on upstreaming those changes?

-- 
Tom


signature.asc
Description: PGP signature


[PATCH 3/8] arm: dts: k3-am62: Bump dtsi from ti-next

2023-01-21 Thread Sjoerd Simons
Update the am62 and am625 device-trees from current ti-k3-next (commit
880932e657f). This needed the following tweaks to the u-boot specific$
dtsi as well:
- Switch tick-timer to the main_timer as it's now defined in the main dtsi
- Add mdio pins to the cpsw3g pinctrl. It moved to a subnode in the
  linux dtsi that u-boot doesn't use/support

Signed-off-by: Sjoerd Simons 
---

 arch/arm/dts/k3-am62-main.dtsi   | 259 ---
 arch/arm/dts/k3-am62-mcu.dtsi|  49 +
 arch/arm/dts/k3-am62-wakeup.dtsi |   4 +-
 arch/arm/dts/k3-am625-r5-sk.dts  |   2 +-
 arch/arm/dts/k3-am625-sk-u-boot.dtsi |   8 +-
 arch/arm/dts/k3-am625-sk.dts |  95 +-
 arch/arm/dts/k3-am625.dtsi   |  52 ++
 7 files changed, 381 insertions(+), 88 deletions(-)

diff --git a/arch/arm/dts/k3-am62-main.dtsi b/arch/arm/dts/k3-am62-main.dtsi
index 4a42f1b2e31..ea683fd77d6 100644
--- a/arch/arm/dts/k3-am62-main.dtsi
+++ b/arch/arm/dts/k3-am62-main.dtsi
@@ -54,6 +54,12 @@
reg = <0x4044 0x8>;
#phy-cells = <1>;
};
+
+   epwm_tbclk: clock@4130 {
+   compatible = "ti,am62-epwm-tbclk", "syscon";
+   reg = <0x4130 0x4>;
+   #clock-cells = <1>;
+   };
};
 
dmss: bus@4800 {
@@ -144,8 +150,8 @@
compatible = "ti,k2g-sci";
ti,host-id = <12>;
mbox-names = "rx", "tx";
-   mboxes= <&secure_proxy_main 12>,
-   <&secure_proxy_main 13>;
+   mboxes = <&secure_proxy_main 12>,
+<&secure_proxy_main 13>;
reg-names = "debug_messages";
reg = <0x00 0x44043000 0x00 0xfe0>;
 
@@ -186,6 +192,102 @@
pinctrl-single,function-mask = <0x>;
};
 
+   main_timer0: timer@240 {
+   compatible = "ti,am654-timer";
+   reg = <0x00 0x240 0x00 0x400>;
+   interrupts = ;
+   clocks = <&k3_clks 36 2>;
+   clock-names = "fck";
+   assigned-clocks = <&k3_clks 36 2>;
+   assigned-clock-parents = <&k3_clks 36 3>;
+   power-domains = <&k3_pds 36 TI_SCI_PD_EXCLUSIVE>;
+   ti,timer-pwm;
+   };
+
+   main_timer1: timer@241 {
+   compatible = "ti,am654-timer";
+   reg = <0x00 0x241 0x00 0x400>;
+   interrupts = ;
+   clocks = <&k3_clks 37 2>;
+   clock-names = "fck";
+   assigned-clocks = <&k3_clks 37 2>;
+   assigned-clock-parents = <&k3_clks 37 3>;
+   power-domains = <&k3_pds 37 TI_SCI_PD_EXCLUSIVE>;
+   ti,timer-pwm;
+   };
+
+   main_timer2: timer@242 {
+   compatible = "ti,am654-timer";
+   reg = <0x00 0x242 0x00 0x400>;
+   interrupts = ;
+   clocks = <&k3_clks 38 2>;
+   clock-names = "fck";
+   assigned-clocks = <&k3_clks 38 2>;
+   assigned-clock-parents = <&k3_clks 38 3>;
+   power-domains = <&k3_pds 38 TI_SCI_PD_EXCLUSIVE>;
+   ti,timer-pwm;
+   };
+
+   main_timer3: timer@243 {
+   compatible = "ti,am654-timer";
+   reg = <0x00 0x243 0x00 0x400>;
+   interrupts = ;
+   clocks = <&k3_clks 39 2>;
+   clock-names = "fck";
+   assigned-clocks = <&k3_clks 39 2>;
+   assigned-clock-parents = <&k3_clks 39 3>;
+   power-domains = <&k3_pds 39 TI_SCI_PD_EXCLUSIVE>;
+   ti,timer-pwm;
+   };
+
+   main_timer4: timer@244 {
+   compatible = "ti,am654-timer";
+   reg = <0x00 0x244 0x00 0x400>;
+   interrupts = ;
+   clocks = <&k3_clks 40 2>;
+   clock-names = "fck";
+   assigned-clocks = <&k3_clks 40 2>;
+   assigned-clock-parents = <&k3_clks 40 3>;
+   power-domains = <&k3_pds 40 TI_SCI_PD_EXCLUSIVE>;
+   ti,timer-pwm;
+   };
+
+   main_timer5: timer@245 {
+   compatible = "ti,am654-timer";
+   reg = <0x00 0x245 0x00 0x400>;
+   interrupts = ;
+   clocks = <&k3_clks 41 2>;
+   clock-names = "fck";
+   assigned-clocks = <&k3_clks 41 2>;
+   assigned-clock-parents = <&k3_clks 41 3>;
+   power-domains = <&k3_pds 41 TI_SCI_PD_EXCLUSIVE>;
+   ti,timer-pwm;
+   };
+
+   main_timer6: timer@246 {
+   compatible = "ti,am654-timer";
+   reg = <0x00 0x246 0x00 0x400>;
+   interrupts = ;
+   clocks = <&k3_clks 42 2>;
+   clock-names = "fck";
+   assigned-clocks = <&k3_clks 42 2>;
+