Re: [PATCH 2/3] ASoC: twl4030: allow voice port to be connected externally.
From: Mark Brown
Date: Mon Nov 10 2014 - 07:13:40 EST
On Mon, Nov 10, 2014 at 10:25:51AM +1100, NeilBrown wrote:
> says it is a "reference platform". Does that mean it is a board with a bunch
> of chips soldered onto it? If it were a board it should be described by a
> dts file, not by a pile of C code (I thought), so I must be wrong about that.
No, like I say please see previous discussion ad nauseum about this.
> The twl4030 needs to know the master/polarity of the clk/frm lines. The GSM
> module declares that these are. So presumably we need some sort of linkage.
> Ahhhh... I found Documentation/devicetree/bindings/sound/simple-card.txt
Or just write a machine driver. simple-card is one such machine driver
but it's not going to be suitable for non-trivial systems. Possibly
your system is simple enough, possibly it isn't - I don't know anything
about it really. Regardless of how you do this it shouldn't have
individual devices needing to open code configuration for links, it's
something essentially every device is going to need to do and forcing
the DT to configure the same thing twice for a link isn't a good idea
either.
Attachment:
signature.asc
Description: Digital signature