Linux-Rockchip Archive on lore.kernel.org
 help / color / Atom feed
* duplicated asoc  widget in pinebookpro dts
@ 2020-09-12  9:31 zhangn1985
       [not found] ` <SYCPR01MB37769E1B4C7E96DE77411CDCCD090@SYCPR01MB3776.ausprd01.prod.outlook.com>
  0 siblings, 1 reply; 2+ messages in thread
From: zhangn1985 @ 2020-09-12  9:31 UTC (permalink / raw)
  To: linux-rockchip; +Cc: zhangn1985

Hi, 
 
During read pinebookpro dts in 5.9-rc4, find:
 
              simple-audio-card,widgets =
                     "Microphone", "Mic Jack",
                     "Headphone", "Headphones",
                     "Speaker", "Speaker";
              simple-audio-card,routing =
 
 two "Speaker" widgets, duplicated or one should be "Speakers"

BR.
Ning
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

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

* Re: 回复: duplicated asoc widget in pinebookpro dts
       [not found] ` <SYCPR01MB37769E1B4C7E96DE77411CDCCD090@SYCPR01MB3776.ausprd01.prod.outlook.com>
@ 2020-10-10 16:29   ` Tobias Schramm
  0 siblings, 0 replies; 2+ messages in thread
From: Tobias Schramm @ 2020-10-10 16:29 UTC (permalink / raw)
  To: 张 宁, linux-rockchip, t.schramm

Hi Ning,

the widget property is a list of pairs. The first entry of each pair is
the name of the widget template, the second entry denotes the name that
is assigned to the widget created from the template. See [1].
Thus
>                      "Speaker", "Speaker";
simply creates a widget called "Speaker" from the Speaker widget
template, not two widgets called "Speaker".


Best regards,

Tobias

[1]
https://elixir.bootlin.com/linux/v5.9-rc8/source/Documentation/devicetree/bindings/sound/widgets.txt

_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-12  9:31 duplicated asoc widget in pinebookpro dts zhangn1985
     [not found] ` <SYCPR01MB37769E1B4C7E96DE77411CDCCD090@SYCPR01MB3776.ausprd01.prod.outlook.com>
2020-10-10 16:29   ` 回复: " Tobias Schramm

Linux-Rockchip Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-rockchip/0 linux-rockchip/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-rockchip linux-rockchip/ https://lore.kernel.org/linux-rockchip \
		linux-rockchip@lists.infradead.org
	public-inbox-index linux-rockchip

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-rockchip


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git