Yocto Project Linux Firmware
  1. Yocto Project Linux Firmware

linux-wandboard

Public

Network

 
AuthorCommitMessageCommit Date
Shengjiu WangShengjiu Wang
93cc2d7e9a0MLK-16224-7: ASoC: imx-ak4497: support dsd format for dsd, specify the slot number is 1, SND_SOC_DAIFMT_PDM is used for DSD, and add constraint for sample rate. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
Shengjiu WangShengjiu Wang
e842d04fd32MLK-16224-6: ASoC: ak4497: support dsd format Add DSD_U8, DSD_U16_LE, DSD_U32_LE in support list. and SND_SOC_DAIFMT_PDM is used for DSD format Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
Shengjiu WangShengjiu Wang
a980c7e8f30MLK-16224-5: dma: imx-sdma: support mulit fifo script The type IMX_DMATYPE_MULTI_SAI is used for SAI multi-fifo mode, in this mode, the fifo num parameter is configured through dma_slave_config The watermark definition is: bit0~7: wartermark level bit8~11: fifo number bit16~19: fifo offset bit27~24: sw done selector bit23: sw done enabled Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Robin Gong<yibin.gong@nxp.com>
Shengjiu WangShengjiu Wang
1dccd67ceeeMLK-16224-4: ASoC: fsl_sai: support multi fifo and DSD The codec always mux the LRCLK pin to DSD data line, so when we want to support DSD, the pinmux is different. For two channel DSD, the DSDL is mapped to TX0, but the DSDR is mapped to TX4, there is address offset for the fifo address of TX0 and TX4, TX4's fifo is not adjacent to TX0's. Usually, if mapping is TX0 and TX1, that will be easy for SAI and SDMA to handle, that SAI can use the FIFO combine mode, SDMA can use the normal script....
Shengjiu WangShengjiu Wang
de30d1597f6MLK-16224-3: ASoC: imx-pcm-dma-v2: fifo_num is used by dma slave config fifo_num is a new added parameter for dma slave config Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
Shengjiu WangShengjiu Wang
40bcf470ba6MLK-16224-2: ASoC: dmaengine_pcm: add fifo_num to snd_dmaengine_dai_dma_data In order to support multi-fifo sdma script, the audio driver need to send the fifo number to dma driver through dma_slave_config, and the cpu_dai driver should config fifo_num for the audio platform driver, then platform driver can config fifo_num to dma. So add new variable fifo_num for struct snd_dmaengine_dai_dma_data. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Robin Gong<yibin.gong@nxp.com>
Shengjiu WangShengjiu Wang
bd6e14f5b9bMLK-16224-1: dmaengine: add src_fifo_num and dst_fifo_num in dma_slave_config In order to support multi-fifo sdma script, the audio driver need to send the fifo number to dma driver through dma_slave_config, so add src_fifo_num and dst_fifo_num two new variable for struct dma_slave_config. src_fifo_num: bit 0-7 is the fifo number, bit:8-11 is the fifo offset; dst_fifo_num: same as src_fifo_num Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Robin Gong<yibin.gong@nxp.com>
Cosmin-Gabriel SamoilaCosmin-Gabriel Samoila
f3a3319f915MLK-15033: ASoC: codecs: AK4458: Remove unsupported rates and channels Support only even number of channels greater than 2 and rates multiple of 8000. Signed-off-by: Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Shengjiu WangShengjiu Wang
ee8c5cebf2bMLK-17442: ASoC: fsl: fix wrong usage of filter_data The filter_data should be used for dma_filter_fn function, but we used the filter_data wrongly for dma channel name. This patch is to fix the issue. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviwed-by: Daniel Baluta <daniel.baluta@nxp.com>
Franck LENORMANDFranck LENORMAND
36494eaec57MLK-17412-02: Add support of secvio driver for imx8mq This patch: - Adds compilation of the secvio driver for all arm64 targets - Adds the secvio driver to fsl-imx8mq.dtsi Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com>
Franck LENORMANDFranck LENORMAND
e3fd30502eeMLK-17412-01: Fix secvio driver to have same driver name as DTS The name of the driver was "snvs-secvio" which doesn't corresponds to its use in the differents dts files. This patch change the driver name to "caam-snvs" to corresponds to the dts files. Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com>
Shengjiu WangShengjiu Wang
d0eca9c4506MLK-17410: ASoC: fsl_asrc: fix kernel panic in suspend resume After ASRC convert, there will be kernel panic [ 54.365777] [<ffff000008636528>] regmap_mmio_read32le+0x8/0x18 [ 54.371615] [<ffff00000862f004>] _regmap_bus_reg_read+0x14/0x20 [ 54.377538] [<ffff000008630830>] _regmap_read+0x60/0xe8 [ 54.382769] [<ffff000008630c30>] _regmap_update_bits+0xa0/0xf0 [ 54.388606] [<ffff000008631be8>] regmap_update_bits_base+0x60/0x90 [ 54.394794] [<ffff000008a275c4>] fsl_asrc_resume+0x74/0...
Gao PanGao Pan
a484a114d70MLK-17443 wireless: bcmdhd: fix build warning case1: statement "if (bustype != BUSTYPE(bustype))" equals "if (bustype != bustype)" when BCMBUSTYPE is not defined. Some compilers treat it as a build warning. case2: fix misleadingly indented of dhd_os_sdunlock(dhdp) Signed-off-by: Gao Pan <pandy.gao@nxp.com> Tested-by: Peng Fan <peng.fan@nxp.com>
Peng FanPeng Fan
689c4448f6aMLK-17441 ARM64: defconfig enable OP-TEE Enable OP-TEE by default. With OP-TEE, we could leverage security features exposed by OP-TEE os. Signed-off-by: Peng Fan <peng.fan@nxp.com>
Jens WiklanderJens Wiklander
86a2365011coptee: fix invalid of_node_put() in optee_driver_init() The first node supplied to of_find_matching_node() has its reference counter decreased as part of call to that function. In optee_driver_init() after calling of_find_matching_node() it's invalid to call of_node_put() on the supplied node again. So remove the invalid call to of_node_put(). Reported-by: Alex Shi <alex.shi@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> (cherry picked from commit f044113113dd95ba739...
Abel VesaAbel Vesa
fd4ff52bd9aarm64: defconfig: Fixed reordering Introduced by commits: 542070530eb0 MLK-15070-4: ARM64: defconfig: build in sound card for audio board of mscale 8f97c51d8318 MLK-17400-03 arm64: defconfig: add max732x enable This is due to manual editing the config instead of using Kconfig to generate it. Signed-off-by: Abel Vesa <abel.vesa@nxp.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Laurentiu PalcuLaurentiu Palcu
d8731f80e75MLK-17401: drm: imx: dcss: fix scaling issue Under certain circumstances (corner cases) the scaling fractions were not set properly. This patch fixes this. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
Anson HuangAnson Huang
ba1cfc997f9MLK-17440 ARM: dts: imx7ulp-evk-qspi: update cpu opp table i.MX7ULP B0 has different CPU opp table, update it accordingly. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> Tested-by: Haibo Chen <haibo.chen@nxp.com>
Shengjiu WangShengjiu Wang
860477b67fbMLK-17428-9: ARM64: dts: change the clock frequency to support 768kHz The bit clock for 786KHz, 16bit, 2 channel is 24.576MHz, and the default divider of SAI is at least 2, so the minimum master clock should be 49MHz. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Shengjiu WangShengjiu Wang
1b6f0496e01MLK-17428-8: ASoC: fsl_sai: support 768KHz sample rate support 768Hz sample rate and 2.8MHz for DSD Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Shengjiu WangShengjiu Wang
4c40d00539aMLK-17428-7: ASoC: imx-ak5558: support 768KHz sample rate For 768kHz sample rate, the codec can't support 64fs mclk, only can support 32fs mclk, so we can't fix the slot_width to 32, which is for S32_LE, use params_physical_width(params) to instead of hard code. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Shengjiu WangShengjiu Wang
233bc42551eMLK-17428-6: ASoC: imx-ak4497: support 768KHz sample rate For 768kHz sample rate, the codec can't support 64fs mclk, only can support 32fs mclk, so we can't fix the slot_width to 32, which is for S32_LE, use params_physical_width(params) to instead of hard code. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Shengjiu WangShengjiu Wang
3a67b6f3215MLK-17428-5: ASoC: imx-ak4458: support 768KHz sample rate For 768kHz sample rate, the codec can't support 64fs mclk, only can support 32fs mclk, so we can't fix the slot_width to 32, which is for S32_LE, use params_physical_width(params) to instead of hard code. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Shengjiu WangShengjiu Wang
38078b6549cMLK-17428-4: ASoC: AK5558: fix issue for 8k and 16kHz The first time recording for 8k and 16k is ok after boot up, but there is no data recorded for second time recording, so re-init the registers when BIAS_OFF to fix the issue. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Shengjiu WangShengjiu Wang
2af2c8cc43fMLK-17428-3: ASoC: AK5558: support 384kHz and 768kHz for ak5558 The default definition in ALSA for sample rate is in range 8kHz to 192kHz, but some codec support very high sample rate, so we need to use the SNDRV_PCM_RATE_KNOT and add constraint list for sample rate to support 384kHz and 768Hz. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Shengjiu WangShengjiu Wang
3fe11b5de70MLK-17428-2: ASoC: AK4497: support 384kHz and 768kHz for ak4497 The default definition in ALSA for sample rate is in range 8kHz to 192kHz, but some codec support very high sample rate, so we need to use the SNDRV_PCM_RATE_KNOT and add constraint list for sample rate to support 384kHz and 768Hz. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Shengjiu WangShengjiu Wang
852598ddcf2MLK-17428-1: ASoC: AK4458: support 384kHz and 768kHz for ak4458 The default definition in ALSA for sample rate is in range 8kHz to 192kHz, but some codec support very high sample rate, so we need to use the SNDRV_PCM_RATE_KNOT and add constraint list for sample rate to support 384kHz and 768Hz. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Gao PanGao Pan
97017cc97a4MLK-17438 arm64: dts: add emvsim0 device node in register address order Add emvsim0 device node in register address order Signed-off-by: Gao Pan <pandy.gao@nxp.com> Acked-by: Fugang Duan <fugang.duan@nxp.com>
Lionel LandwerlinLionel Landwerlin
abeac4402dddrm: rename u32 in __u32 in uapi All other fields use __ Cc: Ben Widawsky <ben@bwidawsk.net> Fixes: db1689aa61b ("drm: Create a format/modifier blob") Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Signed-off-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Ben Widawsky <ben@bwidawsk.net> Reviewed-by: Daniel Stone <daniels@collabora.com> Link: https://patchwork.fr...
Jameel kareemJameel kareem
d5bdd423064MLK-17430 Added firmware-6 support for Murata 1CQ mission mode Add support to load firmware-6.bin for Murata 1CQ mission mode. Modify the warning log to debug log for unknown eventid message when loading firmware-6 file. Signed-off-by: Jameel kareem <jameel.kareem@murata.com> Signed-off-by: Fugang Duan <fugang.duan@nxp.com> Acked-by: Gao Pan <pandy.gao@nxp.com>
Fugang DuanFugang Duan
ea8241bd533MLK-17400-06 arm64: dts: 8qxp: add enet2 phy regulator for arm2 board Add enet2 phy regulator for arm2 board to set IO voltage to 1.8v. Signed-off-by: Fugang Duan <fugang.duan@nxp.com> Acked-by: Gao Pan <pandy.gao@nxp.com>
Fugang DuanFugang Duan
1fa1950135eMLK-17400-05 arm64: dts: 8qm/8qxp: add enet2 phy regulator for MEK board Add enet2 phy regulator to fix IO voltage 1.8v for MEK board. Signed-off-by: Fugang Duan <fugang.duan@nxp.com> Acked-by: Gao Pan <pandy.gao@nxp.com>
Fugang DuanFugang Duan
cc4449cd632MLK-17400-04 arm64: dts: 8qxp: increase pin drive strength for i2c1 LPI2C1 bus mount many slave devices, the current drive strength is weak and device probe failed. Then increase the pin drive strength for LPI2C1 lines. Signed-off-by: Fugang Duan <fugang.duan@nxp.com> Acked-by: Gao Pan <pandy.gao@nxp.com>
Fugang DuanFugang Duan
8f97c51d831MLK-17400-03 arm64: defconfig: add max732x enable Add max732x config enable. Signed-off-by: Fugang Duan <fugang.duan@nxp.com> Acked-by: Gao Pan <pandy.gao@nxp.com>
Fugang DuanFugang Duan
55d5be21e3cMLK-17400-02 gpio: max732x: add device reset support Add device reset for max732x driver. Signed-off-by: Fugang Duan <fugang.duan@nxp.com> Acked-by: Gao Pan <pandy.gao@nxp.com>
Fugang DuanFugang Duan
9dccdbb2b59MLK-17400-01 net: fec: defer probe if regulator is not ready Defer probe if regulator is not ready. E.g. some regulator is fixed regulator controlled by i2c expander gpio, the i2c device may be probed after the driver, then it should handle the case of defer probe error. Signed-off-by: Fugang Duan <fugang.duan@nxp.com> Acked-by: Gao Pan <pandy.gao@nxp.com>
Gao PanGao Pan
544e790a405MLK-17426 imx: lpi2c: add debug message when i2c peripheral clk doesn't work add debug message when i2c peripheral clk rate is 0, then directly return -EINVAL. Signed-off-by: Gao Pan <pandy.gao@nxp.com> Reviewed-by: Andy Duan <fugang.duan@nxp.com>
Gao PanGao Pan
e37b22ae21aMLK-17427 arm64: dts: add ecspi device node for imx8mq add ecspi device node for imx8mq Signed-off-by: Gao Pan <pandy.gao@nxp.com> Reviewed-by: Andy Duan <fugang.duan@nxp.com>
Gao PanGao Pan
be5543c160bMLK-17429-2 Documentation: add doc for EMVSIM add devicetree binding doc for add for EMVSIM Signed-off-by: Gao Pan <pandy.gao@nxp.com> Reviewed-by: Andy Duan <fugang.duan@nxp.com>
Gao PanGao Pan
cf2da9749adMLK-17429-1 Documentation: add doc for SIMv2 add devicetree binding doc for SIMv2 Signed-off-by: Gao Pan <pandy.gao@nxp.com> Reviewed-by: Andy Duan <fugang.duan@nxp.com>
Gao PanGao Pan
648c4b0297bMLK-17416 imx8: sim: add usleep_range() before reading SPDP Bit Card Presence Detect Status Bit SPDP in EMV_SIM_PCSR is synchronized by two posedge of low_ref_clk which is 32KHz. So there should be 1.5 low_ref_clk cycles(about 90us) before reading SPDP Bit. Signed-off-by: Gao Pan <pandy.gao@nxp.com> Acked-by: Fugang Duan <fugang.duan@nxp.com>
Fugang DuanFugang Duan
92109229f01MLK-17362-04 bcmdhd: fix build warning for .reg_notifier callback drivers/net/wireless/bcmdhd/wl_cfg80211.c: In function 'wl_setup_wiphy': drivers/net/wireless/bcmdhd/wl_cfg80211.c:8253:28: warning: assignment from incompatible pointer type wdev->wiphy->reg_notifier = wl_cfg80211_reg_notifier; Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Fugang DuanFugang Duan
336e66bee4aMLK-17362-03 ARM: imx_v7_defconfig: enable configs for QCA9377-3 Add some necessary configs for qualcomm wifi QCA9377-3. Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Fugang DuanFugang Duan
f5be404abfbMLK-17362-02 arm: dts: imx7ulp-evk: add qualcomm Qca9377-3 bt wifi support Add qualcomm Qca9377-3 bt wifi support for i.MX7ULP B0 chip EVK RevA3 board. Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Nakul KachhwahaNakul Kachhwaha
2f7303cfeaaMLK-17362-01 Changes for wireless and cfg80211 for v4.9.11 support [Patch] Pulling the following commits and some general changes from custom v3.10 kernel for supporting qcacld2.0 on kernel v4.9.11. 1. cfg80211: Using new wiphy flag WIPHY_FLAG_DFS_OFFLOAD When flag WIPHY_FLAG_DFS_OFFLOAD is defined, the driver would handle all the DFS related operations. Therefore the kernel needs to ignore the DFS state that it uses to block the userspace calls to the driver through cfg80211 APIs. Also it s...
Shengjiu WangShengjiu Wang
542070530ebMLK-15070-4: ARM64: defconfig: build in sound card for audio board of mscale build in AK4458, AK5558, AK4497 Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Shengjiu WangShengjiu Wang
fa7278e192bMLK-15070-3: ARM64: dts: enable audio codec on the audio board of mscale Enable the AK4458, AK5558, and AK4497 with mode 0. For ak4497 use same SAI interface with AK4458, so move ak4497 device node to a separate dts. The AK4458 support maximum 16 channels, the AK5558 support maximum 8 channels, AK4497 is for stereo. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Daniel BalutaDaniel Baluta
d792adf8118MLK-15070-2: ASoC: fsl: Add machine driver for AK4497 This glues SAI interface with AK4497 DAC codec on i.MX boards. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Daniel BalutaDaniel Baluta
ef442581bb1MLK-15070-1: ASoC: codecs: Add support for AK4497 DAC AK4497 is a 32-bit 2ch DAC, supporting up to 6 types of digital filters and accepts up to 768kHz PCM data and 22.4MHz DSD data. This is based on original code received from Asahi Kasei with the following modifications: * there is now a .component_driver inside snd_soc_codec_driver holding the controls, dapm_widgets and dap_routes. * Remove akdbgprt * Use module_i2c_driver * Add NXP copyright * Use symbolic names for registers * Fix co...
Shengjiu WangShengjiu Wang
4d0c1d9baf5MLK-15071-2: ASoC: fsl: Add machine driver for AK5558 Add machine driver for i.MX boards that have AK5558 ADC attached to SAI. Signed-off-by: Mihai Serban <mihai.serban@nxp.com> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>