From mboxrd@z Thu Jan 1 00:00:00 1970 From: shawnguo@kernel.org (Shawn Guo) Date: Sun, 4 Nov 2018 22:46:16 +0800 Subject: [PATCH] ARM: dts: i.MX25: add the clocks for the EPIT blocks In-Reply-To: <1541093567-29205-1-git-send-email-martin@kaiser.cx> References: <1541093567-29205-1-git-send-email-martin@kaiser.cx> Message-ID: <20181104144614.GJ26016@tiger> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Nov 01, 2018 at 06:32:47PM +0100, Martin Kaiser wrote: > The i.MX25 contains two EPIT (Enhanced Periodic Interrupt Timer) > function blocks. Add their ipg and per clocks to the device tree. > > Signed-off-by: Martin Kaiser Are these EPIT devices actually used in upstream kernel, or just somewhere else? Shawn > --- > > I tried to make this similar to gpt1 and gpt2. > > arch/arm/boot/dts/imx25.dtsi | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm/boot/dts/imx25.dtsi b/arch/arm/boot/dts/imx25.dtsi > index b25309d26ea5..e80101847aff 100644 > --- a/arch/arm/boot/dts/imx25.dtsi > +++ b/arch/arm/boot/dts/imx25.dtsi > @@ -388,12 +388,16 @@ > epit1: timer at 53f94000 { > compatible = "fsl,imx25-epit"; > reg = <0x53f94000 0x4000>; > + clocks = <&clks 83>, <&clks 43>; > + clock-names = "ipg", "per"; > interrupts = <28>; > }; > > epit2: timer at 53f98000 { > compatible = "fsl,imx25-epit"; > reg = <0x53f98000 0x4000>; > + clocks = <&clks 84>, <&clks 43>; > + clock-names = "ipg", "per"; > interrupts = <27>; > }; > > -- > 2.1.4 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel at lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel