diff mbox

[03/16] ARM: dts: i.MX6qdl: Add i.MX31 compatible to gpt node

Message ID 1372168320-22605-4-git-send-email-s.hauer@pengutronix.de (mailing list archive)
State New, archived
Headers show

Commit Message

Sascha Hauer June 25, 2013, 1:51 p.m. UTC
The i.MX6 gpt is handled by the i.MX31 gpt driver in the kernel,
so add a corresponding compatible entry.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/boot/dts/imx6qdl.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Shawn Guo June 26, 2013, 1:59 p.m. UTC | #1
On Tue, Jun 25, 2013 at 03:51:47PM +0200, Sascha Hauer wrote:
> The i.MX6 gpt is handled by the i.MX31 gpt driver in the kernel,

Just out of curiosity, where is the gpt driver you are talking about?

Shawn

> so add a corresponding compatible entry.
> 
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> ---
>  arch/arm/boot/dts/imx6qdl.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
> index 9efaa56..7707f2e 100644
> --- a/arch/arm/boot/dts/imx6qdl.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl.dtsi
> @@ -294,7 +294,7 @@
>  			};
>  
>  			gpt: gpt@02098000 {
> -				compatible = "fsl,imx6q-gpt";
> +				compatible = "fsl,imx6q-gpt", "fsl,imx31-gpt";
>  				reg = <0x02098000 0x4000>;
>  				interrupts = <0 55 0x04>;
>  				clocks = <&clks 119>, <&clks 120>;
> -- 
> 1.8.3.1
>
Sascha Hauer June 26, 2013, 2:13 p.m. UTC | #2
On Wed, Jun 26, 2013 at 09:59:21PM +0800, Shawn Guo wrote:
> On Tue, Jun 25, 2013 at 03:51:47PM +0200, Sascha Hauer wrote:
> > The i.MX6 gpt is handled by the i.MX31 gpt driver in the kernel,
> 
> Just out of curiosity, where is the gpt driver you are talking about?

In barebox. In the kernel we have mxc_timer_init() which I called
'driver', but the i.MX6 uses the same codepath as i.MX31.

Sascha
diff mbox

Patch

diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
index 9efaa56..7707f2e 100644
--- a/arch/arm/boot/dts/imx6qdl.dtsi
+++ b/arch/arm/boot/dts/imx6qdl.dtsi
@@ -294,7 +294,7 @@ 
 			};
 
 			gpt: gpt@02098000 {
-				compatible = "fsl,imx6q-gpt";
+				compatible = "fsl,imx6q-gpt", "fsl,imx31-gpt";
 				reg = <0x02098000 0x4000>;
 				interrupts = <0 55 0x04>;
 				clocks = <&clks 119>, <&clks 120>;