1
0
Fork 0
Commit Graph

874486 Commits (a9278aadeb4c8edb3d982e8003f537bc73531729)

Author SHA1 Message Date
Radu Alexe a9278aadeb crypto: add support for TLS 1.0 record encryption
This patch adds kernel support for encryption/decryption of TLS 1.0
records using block ciphers. Implementation is similar to authenc in the
sense that the base algorithms (AES, SHA1) are combined in a template to
produce TLS encapsulation frames. The composite algorithm will be called
"tls10(hmac(<digest>),cbc(<cipher>))". The cipher and hmac keys are
wrapped in the same format used by authenc.c.

Signed-off-by: Radu Alexe <radu.alexe@nxp.com>
Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com>
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
2019-12-02 18:02:09 +08:00
Dong Aisheng 749f4d590f Merge branch 'config/next' into next
* config/next: (194 commits)
  LF-238-1 ARM: configs: imx_v6_v7_defconfig: enable USB ACM
  MLK-21599-2 arm64: defconfig: FORCE_MAX_ZONEORDER default 14 for imx
  LF-210 arm64: defconfig: add imx fragment config
  LF-238 ARM64: defconfig: enable USB ACM
  LF-45 ARM64: defconfig: build as module for synaptics dsx touch
  ...
2019-12-02 18:02:08 +08:00
Dong Aisheng 9872ac8647 Merge branch 'clock/next' into next
* clock/next: (122 commits)
  LF-279 clk: imx: scu: ignore cpu resources when do owned check
  clk: s32v234: Enable FlexCAN clock
  clk: s32v234: Add definitions for CAN clocks
  clk: imx: Add missing mipi1_dsi_phy_clk
  LF-202-3 clk: imx: scu: ignore clks not owned
  ...
2019-12-02 18:02:07 +08:00
Dong Aisheng 1e188020fb Merge branch 'capture/next' into next
* capture/next: (68 commits)
  LF-237 media: ov5640_mipi: fix regulator dump when i2c access for camera fail
  staging: media: imx: add g_parm/s_parm for imx8 capture device
  staging: media: imx: enable ISI for imx8mn platform
  media: staging: imx: add media device driver support for IMX8
  LF-115: media: i2c: ov5640: fix enumerate capture mode issue
  ...
2019-12-02 18:02:07 +08:00
Dong Aisheng 80c4b9b705 Merge branch 'can/next' into next
* can/next: (29 commits)
  can: flexcan: Add S32V234 support to FlexCAN driver
  can: flexcan: add CAN wakeup function for i.MX8
  can: flexcan: change the way of stop mode acknowledgment
  can: flexcan: fix deadlock when using self wakeup
  can: flexcan: add LPSR mode support for i.MX7D
  ...
2019-12-02 18:02:07 +08:00
Dong Aisheng 371f523934 Merge branch 'backlight/next' into next
* backlight/next:
  MLK-12932-01: pwm backlight: Add fb name check feature
2019-12-02 18:02:06 +08:00
Dong Aisheng 45efd194bf Merge branch 'audio/next' into next
* audio/next: (528 commits)
  LF-276: ASoC: fsl_easi: constrain period size for edma case
  LF-215: ASoC: fsl_rpmsg_i2s: Enable WQ_FREEZABLE for workqueue
  ASoC: SOF: Read tplg filename from board descriptor
  ASoC: SOF: Update fw_filename from board description
  ASoC: SOF: Allow probe to continue when we have an actual codec
  ...
2019-12-02 18:02:06 +08:00
Dong Aisheng 96aa3bc2ff Merge branch 'arch/next' into next
* arch/next: (81 commits)
  MLK-21599-1 arm64: Kconfig: Make FORCE_MAX_ZONEORDER configurable
  LF-171 ARM: imx: Add cpu type check for imx6ulz in msl code
  LF-176 ARM: imx: mach-imx6q: Revert "ARM: imx: correct the enet_clk_ref clock string"
  drivers: soc: fsl: add qixis driver
  Add APIs to setup HugeTLB mappings for USDPAA
  ...
2019-12-02 18:02:06 +08:00
Dong Aisheng 8756248f28 Merge branch 'adc/next' into next
* adc/next:
  iio: adc: Add imx8qxp adc driver support
  MLK-11476 iio: adc: Enable i.MX6SX adc driver.
2019-12-02 18:02:05 +08:00
Dong Aisheng 8c64fabeb0 Merge branch 'core' into next
* core: (8 commits)
  Revert "jffs2: Fix possible null-pointer dereferences in jffs2_add_frag_to_fragtree()"
  of: of_reserved_mem: Ensure cma reserved region not cross the low/high memory
  mm: Re-export ioremap_page_range
  nand: raw: workaround for EDO high speed mode
  cgroup/bfq: revert bfq.weight symlink change
  ...
2019-12-02 18:02:05 +08:00
Dong Aisheng 0211ada0b3 Merge branch 'base' into next
* base: (7 commits)
  perf/imx_ddr: Dump AXI ID filter info to userspace
  perf/imx_ddr: Add driver for DDR PMU in i.MX8MPlus
  perf/imx_ddr: Add enhanced AXI ID filter support
  bindings: perf: imx-ddr: Add new compatible string
  docs: perf: Add imx-ddr to documentation index
  ...
2019-12-02 18:02:05 +08:00
Dong Aisheng e6b5173647 Merge remote-tracking branch 'origin/config/powerpc' into config/next
* origin/config/powerpc:
  powerpc/configs/sdk_dpaa: enable the Cortina PHY driver
  powerpc/configs/sdk_dpaa: add defconfigs
2019-12-02 18:00:57 +08:00
Dong Aisheng 2e47b6c603 Merge remote-tracking branch 'origin/config/arm64' into config/next
* origin/config/arm64: (112 commits)
  MLK-21599-2 arm64: defconfig: FORCE_MAX_ZONEORDER default 14 for imx
  LF-210 arm64: defconfig: add imx fragment config
  LF-238 ARM64: defconfig: enable USB ACM
  LF-45 ARM64: defconfig: build as module for synaptics dsx touch
  LF-209-2 arm64: defconfig: Select CONFIG_PM_TEST_SUSPEND by default
  ...
2019-12-02 18:00:57 +08:00
Dong Aisheng 7bedb1d449 Merge remote-tracking branch 'origin/config/arm' into config/next
* origin/config/arm: (80 commits)
  LF-238-1 ARM: configs: imx_v6_v7_defconfig: enable USB ACM
  LF-63-2 ARM: imx_v6_v7_defconfig: build SM test as module
  LF-141: ARM: imx_v6_v7_defconfig: enable CONFIG_PREEMPT
  LF-40 ARM: imx_v6_v7_defconfig: remove HCI SDIO config
  ARM: imx_v6_v7_defconfig: enable adv7180
  ...
2019-12-02 18:00:57 +08:00
Dong Aisheng c8505b1bc2 Merge remote-tracking branch 'origin/clock/s32' into clock/next
* origin/clock/s32: (9 commits)
  clk: s32v234: Enable FlexCAN clock
  clk: s32v234: Add definitions for CAN clocks
  clk: s32v234: Initial enet clk support
  clk: s32v234: Add dfs clk
  clk: Enable SDHC clock for S32V234
  ...
2019-12-02 18:00:53 +08:00
Dong Aisheng 19f5dd2561 Merge remote-tracking branch 'origin/clock/qoriq' into clock/next
* origin/clock/qoriq:
  clk: ls1028a: Add clock driver for Display output interface
  dt/bindings: clk: Add YAML schemas for LS1028A Display Clock bindings
2019-12-02 18:00:53 +08:00
Dong Aisheng 3d8281ed47 Merge remote-tracking branch 'origin/capture/pi' into capture/next
* origin/capture/pi:
  LF-101: staging: media: imx: fix XR24 format R and B are opposite issue
  staging: media: imx: add video ops for imx8 parallel subdev
  staging: media: imx: add parallel capture interface driver for imx8qxp
  media: dt-bindings: add bindings for i.MX8QXP parallel interface
  imx busfreq: Add API header file
2019-12-02 18:00:52 +08:00
Dong Aisheng a01dcca551 Merge remote-tracking branch 'origin/clock/imx' into clock/next
* origin/clock/imx: (111 commits)
  LF-279 clk: imx: scu: ignore cpu resources when do owned check
  clk: imx: Add missing mipi1_dsi_phy_clk
  LF-202-3 clk: imx: scu: ignore clks not owned
  LF-108 clk: imx: clk-imx7ulp: Add missing sentinel of ulp_div_table
  clk: imx8qxp: acm: Support suspend and resume
  ...
2019-12-02 18:00:52 +08:00
Dong Aisheng d2de144463 Merge remote-tracking branch 'origin/capture/ov5640' into capture/next
* origin/capture/ov5640: (16 commits)
  LF-237 media: ov5640_mipi: fix regulator dump when i2c access for camera fail
  LF-115: media: i2c: ov5640: fix enumerate capture mode issue
  media: i2c: ov5640: add mode and fps checking for ov5640
  media: i2c: fix the incomplete first frame issue
  media: i2c: fix hang issue when ov5640 work at DVP mode
  ...
2019-12-02 18:00:51 +08:00
Dong Aisheng b8cb1caf1e Merge remote-tracking branch 'origin/capture/mxc' into capture/next
* origin/capture/mxc: (11 commits)
  media: v4l2: vadc: Enable vadc driver
  media: mx6s_capture: accommodate the driver to framework's change
  media: v4l2 capture: add v4l2 capture driver based on csi
  media: mipi csi: add IPU CSI driver
  media: add adv7180 video decoder driver
  ...
2019-12-02 18:00:51 +08:00
Dong Aisheng 9c17c11604 Merge remote-tracking branch 'origin/capture/media-dev' into capture/next
* origin/capture/media-dev:
  media: staging: imx: add media device driver support for IMX8
  media: dt-bindings: add bindings for i.MX8QXP/QM virtual media device
2019-12-02 18:00:50 +08:00
Dong Aisheng 9553b03d09 Merge remote-tracking branch 'origin/capture/media' into capture/next
* origin/capture/media: (7 commits)
  Revert "media: v4l2-ioctl: clear fields in s_parm"
  media: v4l2: export video_usercopy function
  Revert "media: v4l2-subdev.h: remove obsolete g/s_parm"
  MLK-21770: media: v4l: Add packed YUV444 24bpp pixel format
  MLK-20724: uapi: add RGBA to exend V4L2 standard format for android usage
  ...
2019-12-02 18:00:49 +08:00
Dong Aisheng c7a3925dd6 Merge remote-tracking branch 'origin/capture/max9286' into capture/next
* origin/capture/max9286:
  LF-116: staging: media: imx: fix no enum_frameinterval result issue
  media: staging: imx: add driver for GMSL MAX9286 device
2019-12-02 18:00:49 +08:00
Dong Aisheng 9c7f085807 Merge remote-tracking branch 'origin/capture/jpeg' into capture/next
* origin/capture/jpeg: (9 commits)
  MLK-22835: mxc-jpeg: jpeg decoder stuck due to race condition
  mxc-jpeg: Fix warning at build, for EXPORT_SYMBOL on static variable
  media: mxc-jpeg: jpeg: Replace stracpy with strscpy
  mxc-jpeg: Build mxc-jpeg as module, by default
  mxc-jpeg: Add support for multi power domain
  ...
2019-12-02 18:00:48 +08:00
Dong Aisheng 028cc80de9 Merge remote-tracking branch 'origin/capture/isi' into capture/next
* origin/capture/isi: (9 commits)
  staging: media: imx: add g_parm/s_parm for imx8 capture device
  staging: media: imx: enable ISI for imx8mn platform
  media: staging: imx: add V4L2 memory to memory driver for ISI of imx8qxp/qm
  media: staging: imx: add isi capture driver support for imx8qm/qxp
  media: staging: imx: add isi core driver support for imx8qm/qxp
  ...
2019-12-02 18:00:47 +08:00
Dong Aisheng 06e92d2f26 Merge remote-tracking branch 'origin/capture/csi2-samsung' into capture/next
* origin/capture/csi2-samsung:
  staging: media: imx: add V4L2 subdev driver for MIPI CSI2 of Samsung
  media: mipi csi: accommodate the driver to framework's change
  media: mipi csi: add samsung's mipi csi support
2019-12-02 18:00:47 +08:00
Dong Aisheng 4981735db9 Merge remote-tracking branch 'origin/capture/csi2-mixel' into capture/next
* origin/capture/csi2-mixel:
  staging: media: imx: add video ops for imx8 mipi csi subdev
  media: mipi csi: add mixel's mipi csi driver
  media: staging: csi: add mipi csi driver support for IMX8
  media: dt-bindings: add bindings for i.MX8QXP/QM mipi csi-2 driver
2019-12-02 18:00:46 +08:00
Dong Aisheng 8d66f9b461 Merge remote-tracking branch 'origin/audio/ssi' into audio/next
* origin/audio/ssi:
  LF-106: ASoC: fsl_ssi: request BUS_FREQ_AUDIO
  MLK-15975-1: ASoC: fsl_ssi: support multi fifo script
2019-12-02 18:00:44 +08:00
Dong Aisheng 635de10e16 Merge remote-tracking branch 'origin/audio/spdif' into audio/next
* origin/audio/spdif: (20 commits)
  LF-106: ASoC: fsl_spdif: request BUS_FREQ_HIGH
  ASoC: fsl_spdif:Support multi power domains
  ASoC: fsl_spdif: Add pm_runtime_enable in probe
  MLK-21484-2: ASoC: fsl_spdif: ensure clk is unprepared before reparent
  MLK-19154-5: ASoC: fsl_spdif: refine PLL switch handling
  ...
2019-12-02 18:00:44 +08:00
Dong Aisheng b7f8883066 Merge remote-tracking branch 'origin/audio/sof' into audio/next
* origin/audio/sof: (21 commits)
  ASoC: SOF: Read tplg filename from board descriptor
  ASoC: SOF: Update fw_filename from board description
  ASoC: SOF: Allow probe to continue when we have an actual codec
  ASoC: SOF: Hardcode ignore_machine
  ASoC: fsl: Add generic DAI driver
  ...
2019-12-02 18:00:44 +08:00
Dong Aisheng 2a635fc846 Merge remote-tracking branch 'origin/audio/sai' into audio/next
* origin/audio/sai: (65 commits)
  LF-106: ASoC: fsl_sai: request BUS_FREQ_AUDIO
  ASoC: fsl_sai: Mark cache dirty at resume
  MLK-21876-4 ASoC: fsl: sai: fix build for next-20190524 upgrade
  ASoC: fsl: sai: fix build failture due to 5.1 RC7 upgrade
  ASoC: fsl_sai: support multi power domain
  ...
2019-12-02 18:00:43 +08:00
Dong Aisheng d7ba9dc826 Merge remote-tracking branch 'origin/audio/rpmsg' into audio/next
* origin/audio/rpmsg: (59 commits)
  LF-215: ASoC: fsl_rpmsg_i2s: Enable WQ_FREEZABLE for workqueue
  ASoC: imx-pcm-rpmsg: Remove the prtd
  ASoC: imx-pcm-rpmsg: Fix writecombine/wc build error
  ASoC: rpmsg_ak4497: ignore suspend with DAPM
  Revert "ASoC: soc-pcm: remove soc_rtdcom_ack()"
  ...
2019-12-02 18:00:43 +08:00
Dong Aisheng f543f63f55 Merge remote-tracking branch 'origin/audio/micfil' into audio/next
* origin/audio/micfil:
  MLK-22598: ASoC: fsl_micfil: Reset channel output data Flag
  ASoC: fsl_micfil: Merge the changes from imx_4.19.y
2019-12-02 18:00:42 +08:00
Dong Aisheng af11fb98c2 Merge remote-tracking branch 'origin/audio/hdmi' into audio/next
* origin/audio/hdmi: (22 commits)
  ASoC: imx-hdmi: Fix compile error
  ASoC: imx-hdmi-dma: Fix issue with dma_alloc_coherent
  ASoC: imx-hdmi-dma: replace platform to component
  ASoC: imx-cdnhdmi: Fix compile error
  MLK-20183-2: ASoC: imx-cdnhdmi: reconfigure the mclk for HDMI on imx8mq
  ...
2019-12-02 18:00:42 +08:00
Dong Aisheng 25d4beddff Merge remote-tracking branch 'origin/audio/fm' into audio/next
* origin/audio/fm: (8 commits)
  MLK-11429-21: ASoC: fsl: port si476x machine driver from imx_3.10.y
  MLK-11305 radio-si476x: support set V4L2_CID_AUDIO_MUTE CTRL
  MLK-22355: mfd: si476x: Use system_freezable_wq instead of system_wq
  MLK-10055-2: mfd: si476x-i2c: sound is registered when no FM module attached
  MLK-10038-1: mfd: si476x-i2c: Add support of si476x-rev4.0 board
  ...
2019-12-02 18:00:41 +08:00
Dong Aisheng 845f67dda2 Merge remote-tracking branch 'origin/audio/esai' into audio/next
* origin/audio/esai: (7 commits)
  LF-276: ASoC: fsl_easi: constrain period size for edma case
  ASoC: fsl_esai: Remove the tasklet
  ASoC: fsl_esai: Add spin lock to protect reset, stop and start
  ASoC: fsl_esai: Remove expensive print in irq handler
  ASoC: fsl_esai: support multi power domain
  ...
2019-12-02 18:00:40 +08:00
Dong Aisheng 5d9b52c341 Merge remote-tracking branch 'origin/audio/dsp' into audio/next
* origin/audio/dsp: (78 commits)
  MLK-22815-1: ASoC: fsl: dsp: Expand parameter msg size
  MLK-21144 ASoC: fsl: Fix crash with multiple open/close
  ASoC: fsl_dsp: Use new compatible string for FSL DSP
  ASoC: fsl: dsp: remove unused types.h
  MLK-21985-6 ASoC: imx-dsp: fix build for next 20190607 upgrade
  ...
2019-12-02 18:00:40 +08:00
Dong Aisheng d40375dbf7 Merge remote-tracking branch 'origin/audio/dma' into audio/next
* origin/audio/dma: (14 commits)
  ASoC: imx-pcm-dma-v2: Fix writecombine/wc build error
  ASoC: imx-pcm-dma-v2: Add component name
  ASoC: imx: fix build failture
  MLK-16224-2: ASoC: dmaengine_pcm: add fifo_num to snd_dmaengine_dai_dma_data
  MLK-18947: ASoC: imx-pcm-dma: alloc buffer from IRAM
  ...
2019-12-02 18:00:39 +08:00
Dong Aisheng dfc1c26529 Merge remote-tracking branch 'origin/audio/codec' into audio/next
* origin/audio/codec: (34 commits)
  LF-102: ASoC: ak4458: Support DSD512 when codec is ak4497
  ASoC: AK4458: Enable DSD for AK4497
  MLK-17817-1: ASoC: ak4458: enable daisy chain
  MLK-20189-7: ASoC: ak4458: check reset control status
  MLK-19573-2: ASoC: ak4458: enable DSD playback
  ...
2019-12-02 18:00:39 +08:00
Dong Aisheng 2e5482f337 Merge remote-tracking branch 'origin/audio/card' into audio/next
* origin/audio/card: (127 commits)
  ASoC: imx-pdm: Fix compile issue
  ASoC: imx-wm8524: remove unused audio route
  ASoC: imx-ak5558: remove unused audio route
  ASoC: imx-wm8962: change cpu-dai to audio-cpu
  ASoC: imx-sii902x: Fix compile error
  ...
2019-12-02 18:00:38 +08:00
Dong Aisheng bbeadc6b01 Merge remote-tracking branch 'origin/audio/audmix' into audio/next
* origin/audio/audmix:
  ASoC: fsl_audmix: Add spin lock to protect tdms
2019-12-02 18:00:37 +08:00
Dong Aisheng b1d0e4ce42 Merge remote-tracking branch 'origin/audio/asrc' into audio/next
* origin/audio/asrc: (68 commits)
  MLK-22722: ASoC: fsl_easrc: Use global variable instead local variable
  MLK-22591: ASoC: fsl_easrc: Add RUN_STOP in stop context
  MLK-22575-3: ASoC: fsl_easrc: reformat the fsl_easrc_config_slot
  MLK-22575-2: ASoC: fsl_easrc: disable PF_BYPASS_MODE
  MLK-22575-1: ASoC: fsl_easrc: configure slot according to pf memory size
  ...
2019-12-02 18:00:37 +08:00
Dong Aisheng 7e3b1c91d0 Merge remote-tracking branch 'origin/arch/qoriq' into arch/next
* origin/arch/qoriq: (17 commits)
  drivers: soc: fsl: add qixis driver
  Add APIs to setup HugeTLB mappings for USDPAA
  powerpc/pm: add sleep and deep sleep on QorIQ SoCs
  powerpc/cache: add cache flush operation for various e500
  powerpc/pm: Fix suspend=n in menuconfig for e500mc platforms.
  ...
2019-12-02 18:00:36 +08:00
Dong Aisheng 2287abcd65 Merge remote-tracking branch 'origin/arch/imx' into arch/next
* origin/arch/imx: (64 commits)
  MLK-21599-1 arm64: Kconfig: Make FORCE_MAX_ZONEORDER configurable
  LF-171 ARM: imx: Add cpu type check for imx6ulz in msl code
  LF-176 ARM: imx: mach-imx6q: Revert "ARM: imx: correct the enet_clk_ref clock string"
  LF-39 soc: imx: Update busfreq to support different frequncy setpoint
  MLK-23008 ARM: imx: Remove unused code on i.MX7D suspend driver
  ...
2019-12-02 18:00:36 +08:00
Robby Cai 98e786bdbd LF-237 media: ov5640_mipi: fix regulator dump when i2c access for camera fail
in 5451781dad commit, it added the check that
the regulator need to be disabled before calling regulator_put().

when i2c access for camera fails in some case, need disable the regulator to
fix following dump message.

[    3.881140] i2c i2c-2: cannot deal with slave irq,i2c_imx->slave is null
[    3.981772] ov5640_mipi 2-003c: Write reg error: reg=3008, val=2
[    3.987841] ov5640_mipi 2-003c: Camera init failed
[    4.001224] ------------[ cut here ]------------
[    4.005949] WARNING: CPU: 2 PID: 189 at drivers/regulator/core.c:2042 _regulator_put.part.0+0x140/0x148
[    4.015363] Modules linked in:
[    4.018466] CPU: 2 PID: 189 Comm: kworker/2:2 Not tainted 5.4.0-rc7-5.4-zeus-next+g56a9ca3b7f4e #1
[    4.027434] Hardware name: FSL i.MX8MM EVK board (DT)
[    4.032554] Workqueue: events deferred_probe_work_func
[    4.037712] pstate: 80000005 (Nzcv daif -PAN -UAO)
[    4.042511] pc : _regulator_put.part.0+0x140/0x148
[    4.047316] lr : regulator_put+0x34/0x48
[    4.051248] sp : ffff8000129935f0
[    4.054571] x29: ffff8000129935f0 x28: ffff000079d39580
[    4.059891] x27: ffff000079d6cc80 x26: ffff80001206eae0
[    4.065213] x25: ffff8000120ab538 x24: ffff000079d3fc00
[    4.070534] x23: 0000000000000009 x22: ffff8000129936a8
[    4.075856] x21: ffff00007a47c4c0 x20: ffff8000120550c0
[    4.081174] x19: ffff000079d3ff00 x18: 0000000000000000
[    4.086495] x17: 0000000000000000 x16: 0000000000000000
[    4.091817] x15: 0000000000000000 x14: ffff00007b0aa940
[    4.097138] x13: ffff80006c0ef000 x12: 0000000034d4d91d
[    4.102460] x11: 071c71c71c71c71c x10: 0000000000000990
[    4.107780] x9 : 0000000000000000 x8 : ffff8000107ef620
[    4.113102] x7 : ffff000079d5e2b8 x6 : ffff000079d3fc00
[    4.118424] x5 : ffff000079d5e2b8 x4 : 0000000000000000
[    4.123745] x3 : ffff800012055490 x2 : ffff00007a47c4c0
[    4.129066] x1 : 0000000000000000 x0 : 0000000000000001
[    4.134397] Call trace:
[    4.136861]  _regulator_put.part.0+0x140/0x148
[    4.141318]  regulator_put+0x34/0x48
[    4.144917]  devm_regulator_release+0x10/0x18
[    4.149298]  release_nodes+0x1a8/0x220
[    4.153057]  devres_release_all+0x34/0x58
[    4.157078]  really_probe+0x1b8/0x308
[    4.160748]  driver_probe_device+0x54/0xe8
[    4.164851]  __device_attach_driver+0x80/0xb8
[    4.169225]  bus_for_each_drv+0x74/0xc0
[    4.173070]  __device_attach+0xdc/0x138
[    4.176916]  device_initial_probe+0x10/0x18
[    4.181105]  bus_probe_device+0x90/0x98
[    4.184954]  device_add+0x378/0x648
[    4.188450]  device_register+0x1c/0x28
[    4.192230]  i2c_new_client_device+0x134/0x270
[    4.196681]  i2c_new_device+0xc/0x20
[    4.200277]  of_i2c_register_device+0x70/0x98
[    4.204640]  of_i2c_register_devices+0x9c/0x164
[    4.209176]  i2c_register_adapter+0x14c/0x400
[    4.213545]  __i2c_add_numbered_adapter+0x58/0xa0
[    4.218259]  i2c_add_adapter+0x9c/0xc8
[    4.222015]  i2c_add_numbered_adapter+0x24/0x30
[    4.226580]  i2c_imx_probe+0x37c/0x840
[    4.230340]  platform_drv_probe+0x50/0xa0
[    4.234357]  really_probe+0xd4/0x308
[    4.237944]  driver_probe_device+0x54/0xe8
[    4.242050]  __device_attach_driver+0x80/0xb8
[    4.246414]  bus_for_each_drv+0x74/0xc0
[    4.250264]  __device_attach+0xdc/0x138
[    4.254111]  device_initial_probe+0x10/0x18
[    4.258304]  bus_probe_device+0x90/0x98
[    4.262147]  deferred_probe_work_func+0x64/0x98
[    4.266720]  process_one_work+0x198/0x320
[    4.270740]  worker_thread+0x1f0/0x420
[    4.274523]  kthread+0xf0/0x120
[    4.277694]  ret_from_fork+0x10/0x18
[    4.281291] ---[ end trace 429c2bceeb60ea02 ]---

Signed-off-by: Robby Cai <robby.cai@nxp.com>
Reviewed-by: Guoniu.zhou <guoniu.zhou@nxp.com>
2019-12-02 17:59:19 +08:00
Guoniu.zhou 6e2908e6e7 staging: media: imx: add g_parm/s_parm for imx8 capture device
Add g_parm/s_parm for imx8 capture device

Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
2019-12-02 15:37:08 +08:00
Guoniu.zhou f093fe3262 staging: media: imx: enable ISI for imx8mn platform
ISI is image sensor interface of imx8 family. It's reused in imx8mn
platform. But they use different clock tree, so driver need to select
the related clock operation for different platform. In order to solve
the problem, driver define mxc_isi_dev_ops which used to control clock
operation.

Dispmix subsystem of imx8mn is consist of ISI, CSI, DSI and LCDIF modules.
It use GPR to manage the reset and clock signal for all modules. We add
a reset driver for dispmix reset function, so add related consumer of reset
in ISI core driver.

Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
2019-12-02 15:37:03 +08:00
Shengjiu Wang 125bad112c LF-276: ASoC: fsl_easi: constrain period size for edma case
There is limitaion for EDMA, which can only accept the period bytes
that can be divided by maxburst with no remainder. Otherwise EDMA
will not copy the left data in the end, and it will cause noise.
so add constraint for these chips.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2019-12-02 15:33:20 +08:00
Peter Chen f343c2747a
LF-238-1 ARM: configs: imx_v6_v7_defconfig: enable USB ACM
It is used for CDC ACM function.

Acked-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
2019-12-02 15:27:32 +08:00
Peng Fan 04231adf80 LF-279 clk: imx: scu: ignore cpu resources when do owned check
CPU resources are specical resources, it is assigned in ATF, not
non-secure OS, but we still need to allow cpu freq, so return
true for non-secure OS for cpu resources.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Tested-by: Anson Huang <anson.huang@nxp.com>
2019-12-02 11:14:28 +08:00