lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160704160736.GA25708@rob-hp-laptop>
Date:	Mon, 4 Jul 2016 11:07:36 -0500
From:	Rob Herring <robh@...nel.org>
To:	Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
Cc:	Mark Brown <broonie@...aro.org>, Mark Brown <broonie@...nel.org>,
	Laurent <laurent.pinchart@...asonboard.com>,
	Guennadi <g.liakhovetski@....de>,
	Grant Likely <grant.likely@...aro.org>,
	Frank Rowand <frowand.list@...il.com>,
	Linux-Kernel <linux-kernel@...r.kernel.org>,
	Linux-DT <devicetree@...r.kernel.org>,
	Linux-ALSA <alsa-devel@...a-project.org>
Subject: Re: [PATCH v2 0/7] of_graph: prepare for ALSA graph support

On Wed, Jun 29, 2016 at 12:33:15AM +0000, Kuninori Morimoto wrote:
> 
> Hi Rob
> 
> These are v2 of of_graph patch-set
> 
> Now OF graph is mainly used by V4L2 SoC, and ALSA SoC is using
> different style for SoC <-> Codec binding.
> But, for example, HDMI case, V4L2 <-> ALSA need to collaborate,
> and then ALSA SoC needs to adjust to OF graph.
> 
> OTOH, V4L2's "OF graph" position is same as ALSA SoC "sound card" position.
> And ALSA SoC side want to keep existing supported feature on new
> OF graph style. I'm posting this on ALSA SoC ML now.
> 
> Now, current of_graph is indicating port/endpoint,
> but there is no way to understand that it is for video port ? or sound port ?
> or other device port ?

I need to see how you want to use this. I'm not completely convinced 
this is necessary as the port number should be meaningful. For example, 
port 0 is video and port 1 is audio. This information is specific to the 
local parent node which could be problematic if you have generic code 
parsing the local node. However, if you know which local port is audio, 
then you know the remote endpoint's port is also the audio port. 

> For example, HDMI has video port, and sound port.
> Because of this reason, ALSA SoC side can't handle OF graph correctly.
> Thus, this patch-set tries to add new "type" on OF graph.
> 
> And this patch-set includes small feature which are useful for ALSA SoC
> side OF graph support.

In general, all these helpers look okay if you have a user for them.

Rob

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ