Skip to contentSkip to conversation

alsa-state: Using one unified version to set configuration values for mx6/mx6ul/mx7

PATCH In review Yuqing Zhu 2 participants 3 messages Mar 2, 2016 – Mar 3, 2016 Arm i.MX and Layerscape

lore
Share & tools
lore

Yuqing Zhu

author
#0 lore raw

PATCH v3 1/1 alsa-state: Using one unified version to set configuration values for mx6/mx6ul/mx7

As i.MX6UL uses the SOC Family name as "mx6ul", need to add configuration for mx6ul separately.

Unify the configuration files to be easy to maintain. For asound.conf, there is no change.
For asound.state,

    wm8962/cs42888 audio configuration for mx6.
    wm8958/wm8960 audio configuration for mx6ul/mx7.
---
 recipes-bsp/alsa-state/alsa-state.bbappend         |    7 +-
 .../alsa-state/alsa-state/{mx6 => imx}/asound.conf |    0
 .../alsa-state/{mx7 => imx}/asound.state           |  788 ++++++++---
 recipes-bsp/alsa-state/alsa-state/mx6/asound.state | 1374 --------------------
 recipes-bsp/alsa-state/alsa-state/mx7/asound.conf  |  257 ----
 5 files changed, 622 insertions(+), 1804 deletions(-)
 rename recipes-bsp/alsa-state/alsa-state/{mx6 => imx}/asound.conf (100%)
 rename recipes-bsp/alsa-state/alsa-state/{mx7 => imx}/asound.state (90%)
 mode change 100644 => 100755
 delete mode 100644 recipes-bsp/alsa-state/alsa-state/mx6/asound.state
 delete mode 100644 recipes-bsp/alsa-state/alsa-state/mx7/asound.conf
recipes-bsp/alsa-state/alsa-state.bbappend +5 -2
index dbfed38..58a763a 100644
@@ -1,5 +1,8 @@
 # Append path for freescale layer to include alsa-state asound.conf
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+FILESEXTRAPATHS_prepend_mx6 := "${THISDIR}/${PN}/imx:"
+FILESEXTRAPATHS_prepend_mx6ul := "${THISDIR}/${PN}/imx:"
+FILESEXTRAPATHS_prepend_mx7 := "${THISDIR}/${PN}/imx:"
 
-PACKAGE_ARCH_mx7 = "${MACHINE_ARCH}"
 PACKAGE_ARCH_mx6 = "${MACHINE_ARCH}"
+PACKAGE_ARCH_mx6ul = "${MACHINE_ARCH}"
+PACKAGE_ARCH_mx7 = "${MACHINE_ARCH}"
recipes-bsp/alsa-state/alsa-state/imx/asound.conf renamed from recipes-bsp/alsa-state/alsa-state/mx6/asound.conf +0 -0
similarity index 100%
rename from recipes-bsp/alsa-state/alsa-state/mx6/asound.conf
rename to recipes-bsp/alsa-state/alsa-state/imx/asound.conf
recipes-bsp/alsa-state/alsa-state/imx/asound.state renamed from recipes-bsp/alsa-state/alsa-state/mx7/asound.state +617 -171

1,615 lines not on this page · raw message

recipes-bsp/alsa-state/alsa-state/mx6/asound.state deleted +0 -1374

1,374 lines not on this page · raw message

recipes-bsp/alsa-state/alsa-state/mx7/asound.conf deleted +0 -257

1 line not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.9.1

Part of the diff is not shown here. View the raw message.

#1 lore raw
Quoted 9 lines · Yuqing Zhu

As i.MX6UL uses the SOC Family name as "mx6ul", need to add configuration for mx6ul separately.

Unify the configuration files to be easy to maintain. For asound.conf, there is no change.
For asound.state,

    wm8962/cs42888 audio configuration for mx6.
    wm8958/wm8960 audio configuration for mx6ul/mx7.

Which tests this configuration update has passed on? Did you test it in every SoC family here?

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
author
#2 lore raw

Hi Otavio,

This patch is for fido_3.14.52_1.1.0_ga release. And we have tested it on mx6/mx6ul/mx7.

B.R.
Carol

-----Original Message-----
From: Otavio Salvador [mailto:[email protected]]
Sent: Wednesday, March 02, 2016 7:52 PM
To: Yuqing Zhu <[email protected]>
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-arm][PATCH v3] alsa-state: Using one unified version to set configuration values for mx6/mx6ul/mx7

Quoted 9 lines · Yuqing Zhu

As i.MX6UL uses the SOC Family name as "mx6ul", need to add configuration for mx6ul separately.

Unify the configuration files to be easy to maintain. For asound.conf, there is no change.
For asound.state,

    wm8962/cs42888 audio configuration for mx6.
    wm8958/wm8960 audio configuration for mx6ul/mx7.

Which tests this configuration update has passed on? Did you test it in every SoC family here?

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750