samples: usb: Audio samples support for nRF53
This patch adds support for USB Audio class samples for nRF5340dk. Signed-off-by: Emil Obalski <emil.obalski@nordicsemi.no>
This commit is contained in:
parent
d86c43fbb0
commit
0728949948
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* Copyright (c) 2020 Nordic Semiconductor ASA
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&usbd {
|
||||
hp_0 {
|
||||
label = "HEADPHONES";
|
||||
compatible = "usb-audio-hp";
|
||||
feature-mute;
|
||||
channel-l;
|
||||
channel-r;
|
||||
};
|
||||
mic_0 {
|
||||
label = "MICROPHONE";
|
||||
compatible = "usb-audio-mic";
|
||||
feature-mute;
|
||||
channel-l;
|
||||
channel-r;
|
||||
};
|
||||
};
|
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2020 Nordic Semiconductor ASA
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&usbd {
|
||||
hs_0 {
|
||||
label = "HEADSET";
|
||||
compatible = "usb-audio-hs";
|
||||
mic-feature-mute;
|
||||
mic-channel-l;
|
||||
mic-channel-r;
|
||||
|
||||
hp-feature-mute;
|
||||
hp-channel-l;
|
||||
hp-channel-r;
|
||||
};
|
||||
};
|
Loading…
Reference in a new issue