All of lore.kernel.org
 help / color / mirror / Atom feed
* [adv7511] Adding audio to transmitter driver
@ 2016-02-15 19:13 Jose Abreu
  2016-02-15 23:21 ` Laurent Pinchart
  0 siblings, 1 reply; 3+ messages in thread
From: Jose Abreu @ 2016-02-15 19:13 UTC (permalink / raw)
  To: dri-devel; +Cc: Jose.Abreu, daniel.vetter, nariman, wsa, laurent.pinchart

Hi all,

I am an employee at Synopsys and as part of our IP Prototyping Kits we are adding audio support to the ADV7511 HDMI transmitter. Our work is based on the Analog Devices kernel tree available at: https://github.com/analogdevicesinc/linux/blob/xcomm_zynq/drivers/gpu/drm/i2c/adv7511_audio.c.

Currently we are facing an difficulty regarding the organization of the driver. Analog Devices compiles both audio and video in a single global driver but we were wondering if its better to separate audio from video and make them as separate Kconfig entries.

As we expect to introduce this in the mainline we are asking you for suggestions or comments about this matter. Is it any driver in the mainline that faces the same situation so we can base our work? What do you think its the best solution? Enable audio and video at the same time or make them separate entries?

Best regards,
Jose Miguel Abreu


_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: [adv7511] Adding audio to transmitter driver
@ 2016-02-16 10:45 Jose Abreu
  0 siblings, 0 replies; 3+ messages in thread
From: Jose Abreu @ 2016-02-16 10:45 UTC (permalink / raw)
  To: laurent.pinchart
  Cc: kuninori.morimoto.gx, daniel.vetter, nariman, dri-devel, wsa

Hi Laurent,

Thanks for your reply. The video stream must be inited to the transmittion of audio (the HDMI mode must be enabled) so it is not possible to transmit audio over HDMI without a video stream.

I will keep audio and video in a single driver and add a Kconfig option to the audio support.

As for the DT bindings I think they are already implemented in our kernel 4.5 tree for the ARC AXS platform (see https://github.com/foss-for-synopsys-dwc-arc-processors/linux/blob/abrodkin-pgu/arch/arc/boot/dts/axs10x_mb.dtsi#L150) but its not in the mainline. For audio support unsing ALSA simple-audio-card its just needed to add #sound-dai-cells = <0>.


Best regards,
Jose Miguel Abreu

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-16 10:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-15 19:13 [adv7511] Adding audio to transmitter driver Jose Abreu
2016-02-15 23:21 ` Laurent Pinchart
  -- strict thread matches above, loose matches on Subject: below --
2016-02-16 10:45 Jose Abreu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.