Re: [PATCH 2/8] soc: Add MediaTek pericfg controller support

From: Sascha Hauer
Date: Wed Jan 21 2015 - 03:18:03 EST


On Tue, Jan 20, 2015 at 04:15:55PM +0000, Mark Rutland wrote:
> > +
> > + pericfg: pericfg@10003000 {
> > + #reset-cells = <1>;
> > + #clock-cells = <1>;
> > + compatible = "mediatek,mt8135-pericfg";
> > + reg = <0 0x10003000 0 0x1000>;
> > + };
>
> This looks identical to the infracfg (same address too). Is that
> deliberate?

Both controllers indeed control clocks and resets, but with a different
register layout, so the nodes really look identical. I'll change the
address to the real address of the MT8135 pericfg though to make the
example more realistic.

--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/