linux-rockchip.lists.infradead.org archive mirror
 help / color / mirror / 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, other threads:[~2020-10-10 16:50 UTC | newest]

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).