Messages in this thread | | | Date | Thu, 30 Jul 2015 11:52:33 +0100 | From | Mark Brown <> | Subject | Re: [RFC PATCH 2/2] dt: spi: s3c64xx: add compatible to controller-data |
| |
On Thu, Jul 30, 2015 at 10:24:37AM +0200, Michal Suchanek wrote:
> So my suggestion is to
> 1) search of ofpart subnode in mtd node. If present read address and > reg from it and search partitions as subnodes of the ofpart node. In > this case unknown nodes can cause error.
> 2) failing that issue a warning and try to parse ofpart partitions > from the mtd node itself. In this case unknown nodes cannot cause > error for compatibility with other drivers including the already > exisitn s3c64xx controller-data node.
> The parser code can be the same for both cases and only operate on > different node with a flag to reject unknown subnodes or not.
That seems reasonable to me. [unhandled content-type:application/pgp-signature] | |