diff mbox series

arm64: dts: ti: k3-am64-main: add timesync router node

Message ID 20211109150158.164778-1-christian.gmeiner@gmail.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: ti: k3-am64-main: add timesync router node | expand

Commit Message

Christian Gmeiner Nov. 9, 2021, 3:01 p.m. UTC
The Time Sync Event Router (TIMESYNC_INTRTR0) implements a set of
multiplexers to provide selection of active CPTS time sync events for
routing to CPTS capable modules.

This patch adds DT node TIMESYNC_INTRTR0 using "pinctrl-single" bindings.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
---
 arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Vignesh Raghavendra Dec. 2, 2021, 10:44 a.m. UTC | #1
Hi,

On 11/9/21 8:31 PM, Christian Gmeiner wrote:
> The Time Sync Event Router (TIMESYNC_INTRTR0) implements a set of
> multiplexers to provide selection of active CPTS time sync events for
> routing to CPTS capable modules.
> 
> This patch adds DT node TIMESYNC_INTRTR0 using "pinctrl-single" bindings.
> 
> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
> Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
> ---
>  arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
> index 42d1d219a3fd..c9321a80353a 100644
> --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
> @@ -564,6 +564,14 @@ cpts@39000000 {
>  		ti,cpts-ext-ts-inputs = <8>;
>  	};
>  
> +	timesync_router: timesync-router@a40000 {

Node with "pinctrl-single" would need to be named pinctrl@reg.
Else this would probably fail dtbs_check once pinctrl-single bindings is
converted to YAML format.

> +		compatible = "pinctrl-single";
> +		reg = <0x0 0xa40000 0x0 0x800>;
> +		#pinctrl-cells = <1>;
> +		pinctrl-single,register-width = <32>;
> +		pinctrl-single,function-mask = <0x000107ff>;
> +	};
> +
>  	usbss0: cdns-usb@f900000{
>  		compatible = "ti,am64-usb";
>  		reg = <0x00 0xf900000 0x00 0x100>;
> 

Regards
Vignesh
Christian Gmeiner Dec. 2, 2021, 5:31 p.m. UTC | #2
Hi

>
> On 11/9/21 8:31 PM, Christian Gmeiner wrote:
> > The Time Sync Event Router (TIMESYNC_INTRTR0) implements a set of
> > multiplexers to provide selection of active CPTS time sync events for
> > routing to CPTS capable modules.
> >
> > This patch adds DT node TIMESYNC_INTRTR0 using "pinctrl-single" bindings.
> >
> > Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
> > Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
> > Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
> > ---
> >  arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 8 ++++++++
> >  1 file changed, 8 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
> > index 42d1d219a3fd..c9321a80353a 100644
> > --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
> > +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
> > @@ -564,6 +564,14 @@ cpts@39000000 {
> >               ti,cpts-ext-ts-inputs = <8>;
> >       };
> >
> > +     timesync_router: timesync-router@a40000 {
>
> Node with "pinctrl-single" would need to be named pinctrl@reg.
> Else this would probably fail dtbs_check once pinctrl-single bindings is
> converted to YAML format.
>

Okay.. will send a v2.

> > +             compatible = "pinctrl-single";
> > +             reg = <0x0 0xa40000 0x0 0x800>;
> > +             #pinctrl-cells = <1>;
> > +             pinctrl-single,register-width = <32>;
> > +             pinctrl-single,function-mask = <0x000107ff>;
> > +     };
> > +
> >       usbss0: cdns-usb@f900000{
> >               compatible = "ti,am64-usb";
> >               reg = <0x00 0xf900000 0x00 0x100>;
> >
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
index 42d1d219a3fd..c9321a80353a 100644
--- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
@@ -564,6 +564,14 @@  cpts@39000000 {
 		ti,cpts-ext-ts-inputs = <8>;
 	};
 
+	timesync_router: timesync-router@a40000 {
+		compatible = "pinctrl-single";
+		reg = <0x0 0xa40000 0x0 0x800>;
+		#pinctrl-cells = <1>;
+		pinctrl-single,register-width = <32>;
+		pinctrl-single,function-mask = <0x000107ff>;
+	};
+
 	usbss0: cdns-usb@f900000{
 		compatible = "ti,am64-usb";
 		reg = <0x00 0xf900000 0x00 0x100>;