On Wed, Mar 04, 2015 at 09:56:24AM +0200, Jyri Sarha wrote:
On 03/03/2015 05:34 PM, Mark Brown wrote:
I am wondering if there would be some better way to select the dai-link configuration than writing it to DT or creating a custom machine driver for each setup.
Continuing this tought. I wonder if it would be better to introduce a new compatible match for each new card, with some clever way to manage the accumulating matches in the code, and hard code DAI-link configurations for each match. This way the old configurations would not be carved to stone in the old dtbs.
I would prefer that, yes - if only for override capability.
As there is a proper way to deal with this, I'll look into that first. However, if there still is a need for these properties I am happy to finish the patch.
OK, a proper fix is of course better. Might be worth looking at tooling to make it easier to find/use but IIRC there's not a lot doing there.