Re: [PATCH v9 1/4] drm/i2c: tda998x: Add DT support for audio

From: Russell King - ARM Linux
Date: Tue Jan 13 2015 - 07:27:46 EST


On Tue, Jan 13, 2015 at 01:21:58PM +0100, Philipp Zabel wrote:
> I wonder if it wouldn't be nicer to have the AP# and type in the device
> tree and then calculate the register value from that in the driver.
>
> port@1 {
> reg = <1>; /* AP1 */
> nxp,audio-port = "i2s";
> tda998x_i2s: endpoint {
> remote-endpoint = <&audio1_i2s>;
> };
> };

What about the case where we have 4 I2S streams being supplied to the
device on four separate AP inputs?

--
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.
--
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/