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 devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html