Re: [PATCH v2 2/2] reset: simple: Add AST2600 compatibility string
From: Philipp Zabel <p.zabel@pengutronix.de>
Date: 2019-12-12 15:17:52
Also in:
linux-aspeed, linux-devicetree
From: Philipp Zabel <p.zabel@pengutronix.de>
Date: 2019-12-12 15:17:52
Also in:
linux-aspeed, linux-devicetree
Hi Brad, On Thu, 2019-12-12 at 09:51 -0500, Brad Bishop wrote:
Hi Philipp. Thanks for your time.quoted
On Dec 2, 2019, at 7:53 AM, Philipp Zabel [off-list ref] wrote: On Fri, 2019-11-29 at 10:38 +1030, Joel Stanley wrote:quoted
From: Brad Bishop <redacted> The AST2600 SoC contains the same LPC register set as the AST2500.If the LPC register set is exactly the same, shouldn't AST2600 reuse the AST2500 compatible, i.e.: compatible = "aspeed,ast2600-lpc-reset", "aspeed,ast2500-lpc-reset"; ?I’m not sure. I let what was already there be my guide - the ast2500 LPC registers are the same as the ast2400 as well and those got their own compatibles. Is there a guideline written down somewhere that backs your thinking up?
I read section 2.3.1 "compatible" of the DeviceTree Specification [1] as supporting that view. If all three LPC reset controllers are in fact identical, I would argue that both ast2500 and ast2600 are compatible to ast2400 and should be specified as: compatible = "aspeed,ast2500-lpc-reset", "aspeed,ast2400-lpc-reset"; and: compatible = "aspeed,ast2600-lpc-reset", "aspeed,ast2400-lpc-reset"; respectively. [1] https://github.com/devicetree-org/devicetree-specification/releases/download/v0.2/devicetree-specification-v0.2.pdf regards Philipp _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel