Thread (9 messages) 9 messages, 4 authors, 2019-07-10

Re: [RFC] SW connection between DVB Transport Stream demuxer and I2C-based frontend

From: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Date: 2019-07-09 23:22:49
Also in: linux-gpio, linux-i2c, linux-media

On Mon, Jul 08, 2019 at 07:58:00PM +0000, Peter Rosin wrote:
On 2019-07-08 13:08, Marc Gonzalez wrote:
[...]
quoted
+	dvb_demod: si2168@64 {
+		compatible = "silabs,si2168";
+		reg = <0x64>;
+		reset-gpios = <&tlmm 84 GPIO_ACTIVE_LOW>;

In principle, I think you should be able to add something like this here:

		i2c-gate {
			#address-cells = <1>;
			#size-cells = <0>;

			tuner@60 {
				compatible = "silabs,si2157";
				reg = <0x60>;
				/* whatever else is needed */
			};
		};

But in practice, I don't know if the si2157 driver understands that or
if there is anything else that gets in the way. Totally untested...
So far, both drivers don't deal with devicetree at all, and there are no
bindings, so we have the chance to write the best bindings possible.

An i2c-gate subnode on the si2168 node looks good to me, FWIW.


Greetings,
Jonathan Neuschäfer
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help