27 Nov, 2018
12 commits
-
Move sai_hdmi_rx to fsl-imx8qm-mek-hdmi-in.dts.
Signed-off-by: Sandor Yu
(cherry picked from commit f9e95e95796830ed6c22b95f96be9370461796fe) -
ISI channel 0,1 or 2,3 could concatenate to support 4K image.
ISI channel 1,2 couldn't support such function,
otherwise image will lost line data.Signed-off-by: Sandor Yu
(cherry picked from commit 18d3cf890a41ac773aefddd2ebe285d4b0197f5d) -
1. get boot size and rpc size from dts file
2. set p[18]=1 in vpu_firmware_download()Signed-off-by: Huang Chaofan
(cherry picked from commit b859b67f2cc6ea05ece69294a960e85eb198d61e) -
Adding more statistic info for debug
Signed-off-by: Huang Chaofan
(cherry picked from commit ebef17b0a54a307a5f98d5912a7848b922bb863d) -
1. Add dma memory counting
2. Delay the free of instance file when firmware hangSigned-off-by: Huang Chaofan
(cherry picked from commit 431eb4f32b31ef82500c2405c690775c6eb87d33) -
update function
1. Modified EOS filling size
2. add mb() before function rpc_update_cmd_buffer_ptr and
rpc_update_msg_buffer_ptr
3. modify some log print functionSigned-off-by: Huang Chaofan
(cherry picked from commit b58bbfe0e75568e7f3104589a06519d1eaddb01a) -
Signed-off-by: ming_qian
-
Register setting for ov5640 30fps is the same with 15fps, so
correct itSigned-off-by: Guoniu.Zhou
(cherry picked from commit 80b4f71476ffa3f45de01ccbac88fb131a3c444c) -
Keep wlreg_on regulator on during system suspended status due to
external wifi module power requirement. Also keep the old Murata
1CQ M.2 card support.To set the PIN to "latch" status before the GPIO controller is power
off during suspend, and set the PIN to "PASS" status after GPIO
controller status restored during system resume back.Reviewed-by: yang.tian
Tested-by: yang.tian
Signed-off-by: Fugang Duan
(cherry picked from commit: 015599e40fd5cc942f8f6a8d4b6c3475440a114e) -
Signed-off-by: ming_qian
-
Signed-off-by: ming_qian
-
1.get frame size from uFrameSize reported by frame_done event
2.strip stuff data at the end of frame
3.avoid merging two frames into oneSigned-off-by: ming_qian
26 Nov, 2018
7 commits
-
This patch fixes the interrupts used by ADV7535. Initial patch
configured the GPIO0 IO00 as IO pin for the DSI_INT, used by ADV7535,
but the correct one is IO01, since IO00 is used by PWM.Fixes: c2f1eceb5629 ("arm64: dts: imx8qm/qxp mek: Configure interrupts
for adv7535")
Signed-off-by: Robert Chiras -
The system can be wakeuped only when system is totally suspend, when the
wakeup event comes during suspend will cause the system hang. For the reason
that CAN will not call flexcan_noirq_resume() callback if the wakeup event
comes before noirq suspend stage.The way to fix the issue is that assure the system to call
flexcan_noirq_suspend() during suspend and then call
flexcan_noirq_resume() during resume.Signed-off-by: Joakim Zhang
-
When dev->power.can_wakeup set to true, device_prepare() may runtime resume the device:
dpm_suspend_start()
dpm_prepare(state);
dev->driver->pm->prepare()
pm_genpd_prepare()
if (resume_needed(dev, genpd))
pm_runtime_resume(dev);And imx8qm/qxp power domain driver don't implement the active_wakeup() callback, then
resume_needed() always return "true" when dev->power.can_wakeup is true.Once CAN device is runtime active status, then CAN's clock's count is 1 during system
suspend. And CAN0/CAN1/CAN2 share the same module clock, so we can say all CAN's module
clock is enabled during system suspended.flexcan_runtime_resume()
flexcan_clks_enable(priv);i.MX8QM/QXP SCU code clock logic requires linux kernel clocks should be disabled during
suspend, otherwise SCU don't enable them after system resume back.There are two ways to fix the issue:
1. CAN driver should check the runtime status to ensure all clocks are disabled during
system suspend.
2. Don't set CAN wakeup capability during probe, move it into flexcan_open().Signed-off-by: Fugang Duan
Signed-off-by: Joakim Zhang -
M4 will run flexspi XIP image on iMX8MM. Thus, we have to disable flexspi
in M4 dedicated DTS, otherwise the M4 will crash because flexspi probe
in kernel will re-configure the controller.Signed-off-by: Ye Li
Reviewed-by: Richard Zhu
(cherry picked from commit 2a370901a663bb518303ed2d5e774f1faa41f5fd) -
The description of dmas pointed to the common description of dma,
and the introduction of dmas was unclear. Add a doc link to sdma
introduction.Signed-off-by: Clark Wang
-
Fix the wrong configuration of "dmas" in dts. This leads the spi
transfer error in dma mode and cause this issue.Signed-off-by: Clark Wang
-
For ECSPI test, add these two dts files.
imx6ul-14x14-evk-ecspi.dts: enable ecspi4 function. Because ethernet2
uses the same pins with ecspi4, so disable fec1/fec2.
imx6ul-14x14-evk-ecspi-slave.dts: Add "spi-slave" attribute to enable
slave mode.Wire Connection:
J1704:
3 - SCS
4 - MOSI
5 - MISO
6 - SCK
7 - GNDModify "Makefile" to build these two dts files.
Signed-off-by: Clark Wang
23 Nov, 2018
21 commits
-
- Fix GPU-viv drivers to build without SMP
Signed-off-by: Cedric Neveux
(cherry picked from commit 6558c2881b0cd1441708933fa1ac397f54b5aa70) -
- Fix busfreq optee mode to not install the linux assembly function
used to synchronize all CPU in case of SMP mode
- Fix l2cache OPTEE/Linux share mutex operationsSigned-off-by: Cedric Neveux
(cherry picked from commit 68f47bb3328e56c63d647f855fc654f4736658ce) -
Coverity complains CID 3411292: Improper use of negative valure
(NEGATIVE_RETURNS), as possibly assign a negative value to unsigned
int, fix it by use an int temp value for negative value return.Acked-by: Peter Chen
Signed-off-by: Li Jun
(cherry picked from commit 9ab72e25fcda73a455a434993c8186663c241f27) -
Fix the b value to be compliant with FIPS 186-4 D.1.2.1. This fix is
required to make sure the SP800-56A public key test passes for P-192.Signed-off-by: Stephan Mueller
Signed-off-by: Herbert Xu
(cherry picked from commit aef66587f19c7ecc52717328a4c5484f1d2268e9)
(cherry picked from commit b179af3efe0c48c2cec4e4add7f3c4b8129d7a07) -
The iMX6 platform does not support fardware GCM, more
recent iMX does so we enable it.Signed-off-by: Franck LENORMAND
(cherry picked from commit 2a4e35399f37caff111d420866a9d4beb494e2e9) -
A tagged key is a key which has been tagged with metadata
using tag_object.h API.We add the support for these keys to caamalg.
For each algo of caamalg which supports tagged keys , it is done by:
- Creating a modified version of the algo
- Registering the modified version
- When the modified transform is used, it gets
the load parameter of the key.Signed-off-by: Franck LENORMAND
(cherry picked from commit 88dee97d985890dbf37cafa7934c476d0ecfd0b3) -
Add functions to tag an object with metadata(configuration).
It is possible to:
- create metadata:
- init_tag_object_header
- init_blackey_conf
- set_tag_object_conf
- retrieve metadata:
- get_tag_object_conf
- get_blackey_confThe API expects an object to be a space a memory
with an address and a size.The implementation of the tag is currently exposed
but users shouldn't access it directly, they should
use the functions provided.Signed-off-by: Franck LENORMAND
(cherry picked from commit ebbb132da8e7f9de7f3d375eff8d87f684feb1eb) -
Change source and header License comment to SPDX format.
Signed-off-by: Cosmin-Gabriel Samoila
Reviewed-by: Daniel Baluta
(cherry picked from commit 6d17e38a8d8cd3eab3015988a6f24cf64ec0d1df) -
When CONFIG_PM is not defined, the runtime suspend and resume
are unused so we should use __maybe_unused attribute.Signed-off-by: Cosmin-Gabriel Samoila
Reviewed-by: Daniel Baluta
(cherry picked from commit b2285d1937872b5023074644d0a8f7c9a2e3158a) -
It is error prone to use soc_enum array for controls because introducing
new controls must always be done at the end of array or it will add
offset to existing controls.Signed-off-by: Cosmin-Gabriel Samoila
Reviewed-by: Daniel Baluta
(cherry picked from commit 409e235cb0e3fbf48251375e040d7f37b2734be2) -
Default value must be prefixed by "0".
Signed-off-by: Viorel Suman
(cherry picked from commit e1f214bd631bda58ab7850866447a53e4a479ac8) -
Default value must be prefixed by "0".
Signed-off-by: Viorel Suman
(cherry picked from commit 1a8e10215cc07c83b0e26b55fef94aae18151633) -
a) Default value must be prefixed by "0".
b) Map 2 pins case to rx=0xff tx=0x11.Signed-off-by: Viorel Suman
(cherry picked from commit cb4d69f098ee003edc2dcfec7075b043a78345e6) -
Default value must be prefixed by "0".
Signed-off-by: Viorel Suman
(cherry picked from commit a38075f068fd07dda55cb5bb5d74450ba29d6483) -
Default value must be prefixed by "0".
Signed-off-by: Viorel Suman
(cherry picked from commit b81a9884f85f750673a4ee0da60096d330add7a5) -
a) Default value must be prefixed by "0".
b) Map 2 pins case to rx=0xff tx=0x11.Signed-off-by: Viorel Suman
(cherry picked from commit bb1d5eac8b6ba4371ec04f362071c06cd3f5066b) -
Default value must be prefixed by "0".
Signed-off-by: Viorel Suman
(cherry picked from commit 5252bd4b838eaa849fafdfa42a9e322a012a1e98) -
Default value must be prefixed by "0".
Signed-off-by: Viorel Suman
(cherry picked from commit 4ce702331a6c7b5a84fe4fdc210b62147e04fa84) -
The patch enable mapping the number of pins required to play or record
a specific number of channels to a specific dataline mask.Three consequent elements in "fsl,dataline" and "fsl,dataline,dsd" defines a
particular mapping, for instance for: fsl,dataline = "0 0xff 0xff 2 0x11 0x11"
there are two mappings defined:default (0 pins) "rx" and "tx" dataline masks: 0 0xff 0xff
2 pins "rx" and "tx" dataline masks: 2 0x11 0x11In case if property is missing, then default value "0 0x1 0x1" is considered.
Signed-off-by: Viorel Suman
(cherry picked from commit 707fdf7759c0e11abf84573eb60bba104d681736) -
If the FMT of tx and rx is different, there will be issue. for example
tx is working at TDM mode, but rx want to work at I2S mode, this case
is not supported in current ALSA driver, the best way to support this
is to distinguish substream in set_fmt function.Signed-off-by: Shengjiu Wang
(cherry picked from commit 897e9e8b4e7a59d81048d05f9377b8c68fc7cd64) -
TDM mode can only work with codec slave mode, and the mclk
frequency should be 256FS.Signed-off-by: Shengjiu Wang
(cherry picked from commit 769121ead6ef8919b7f6869defe594be978d82cd)