Yocto Project Linux Firmware
  1. Yocto Project Linux Firmware

linux-wandboard

Public

Network

 
AuthorCommitMessageCommit Date
Laurentiu PalcuLaurentiu Palcu
55a4ee0ff53MLK-17232-3: dts: arm64: imx8mq: remove APB clock for rm67191 DTS According to commit: <8c9aa9e83e37> "MLK-16942-2: dts: Remove disp_apb clock rate setting" APB clock is configured by ROM code and it should be 133MHz. Remove the setting from this DTS. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
Laurentiu PalcuLaurentiu Palcu
2a70f322285MLK-17232-2: drm: imx: dcss: ignore SB_PEND_DISP_ACTIVE interrupt There is a logic error in the DCSS B0 silicon and this interrupt does not behave as it's supposed to. Ignore for now. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
Laurentiu PalcuLaurentiu Palcu
898a74a37a9MLK-17232-1: drm: imx: dcss: Fix context loader settings for LCD panel If the vfront/vback porches are small are vsync length is small, the dis_ulc_y is also small. Hence, the DB trigger setting will be inappropriate and the DB context will not be able to load in time. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
Laurentiu PalcuLaurentiu Palcu
15045e09d6eMLK-17231-3: drm: imx: dcss: drop runtime autosuspend feature This was needed when using the mode_set_nofb() callback. Since everything was moved to crtc_enable() callback, runtime autosuspend can be dropped. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
Laurentiu PalcuLaurentiu Palcu
824238b4d3fMLK-17231-2: drm: imx: dcss: Do not use mode_set_nofb callback This callback is not suitable for drivers using runtime PM. Move everything in the crtc_enable() callback. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
Laurentiu PalcuLaurentiu Palcu
bb251b4a020MLK-17231-1: drm: imx: dcss: set own KMS commit_tail callback According to documentation, for the default commit_tail helper: * Note that the default ordering of how the various stages are called is to * match the legacy modeset helper library closest. One peculiarity of that is * that it doesn't mesh well with runtime PM at all. * * For drivers supporting runtime PM the recommended sequence is instead :: * * drm_atomic_helper_commit_modeset_disables(dev, state); * * drm_at...
Meng MingmingMeng Mingming
70f70fad106MLK-17204-2 drm/imx: dpu: Set driver data as null when to unbind device Set driver data as null when to unbind device. Signed-off-by: Meng Mingming <mingming.meng@nxp.com>
Peter ChenPeter Chen
d8c551e921aMLK-17237 staging: typec: return error when tcpci_parse_config has failed Otherwise, the probe would be considered successfully, and without do any destroy jobs, eg, the interrupt has still registered. Acked-by: Jun Li <jun.li@nxp.com> Signed-off-by: Peter Chen <peter.chen@nxp.com>
Peter ChenPeter Chen
f9dd4fd92c9MLK-17062 usb: cdns3: gadget: add test mode support for USB2 Add USB2 device test mode support for CDNS3 IP Acked-by: Jun Li <jun.li@nxp.com> Signed-off-by: Peter Chen <peter.chen@nxp.com>
Li JunLi Jun
151ff87cb6fMLK-17242-3 arm64: dts: fsl-imx8qm-mek: remove properties for power sink As imx8qm MEK typec port only can support power source on power role, remove those properties for power sink after we add fixed power sink settings. Tested-by: Peter Chen <peter.chen@nxp.com> Acked-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Li Jun <jun.li@nxp.com>
Li JunLi Jun
cb695edc042MLK-17242-2 arm64: dts: fsl-imx8qxp-mek: remove properties for power sink As imx8qxp MEK typec port only can support power source on power role, remove those properties for power sink after we add fixed power sink settings. Tested-by: Peter Chen <peter.chen@nxp.com> Acked-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Li Jun <jun.li@nxp.com>
Li JunLi Jun
65e4c207c17MLK-17242-1 staging: typec: tcpci: add sink setting for sink-disable Adding fixed sink power settings for sink-disable case, which is only for PD protocol talk to know the cc orientation if connects to a PD capable host, HW doesn't really sink any power in this case. Tested-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Li Jun <jun.li@nxp.com>
Zhou Peng-B04994Zhou Peng-B04994
94cfc1f46c5MA-10829-2: add compat ioctl for malone vpu Fix the ioctl issue of VPU_IOC_WAIT4INT Signed-off-by: Zhou Peng-B04994 <eagle.zhou@nxp.com>
Tomi ValkeinenTomi Valkeinen
a932f61ce6cdrm: fix possible_crtc's type drm_universal_plane_init() and drm_plane_init() take "unsigned long possible_crtcs" parameter, but then stuff it into uint32_t. Change the parameter to uint32_t. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> (cherry picked from commit 5cd57a46e3e3dc088b50bbfcdc85d9e0d9c22159)
Kristian H. KristensenKristian H. Kristensen
dcfeb43c820drm_fourcc: Fix DRM_FORMAT_MOD_LINEAR #define We need to define DRM_FORMAT_MOD_VENDOR_NONE for the fourcc_mod_code() macro to work correctly. Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1481657272-25975-1-git-send-email-hoegsberg@google.com (cherry picked from commit af913418261d6d3e7a29f06cf35f04610ead667c)
Daniel VetterDaniel Vetter
f9c59801c36drm_fourcc: Document linear modifier Not setting the fb modifiers flag is something different from setting the fb modifiers to 0 (which means explicitly linear). We kinda failed to document that properly. Spotted by Kristian. Cc: hoegsberg@google.com Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1478694996-4200-1-git-send-email-daniel.vetter@ffwll.ch (cherry picked from comm...
Zhou Peng-B04994Zhou Peng-B04994
a6d84063285MA-10829: add compat ioctl for malone vpu Define 32bit ioctl for Android platform Signed-off-by: Zhou Peng-B04994 <eagle.zhou@nxp.com>
Oliver BrownOliver Brown
157d5410585MLK-17206 hdp: Disable firmware hdp loading Disabling HDP firmware loading except for debug. Added simple checks to test HDP firmware status. Signed-off-by: Oliver Brown <oliver.brown@nxp.com>
Aymen SghaierAymen Sghaier
a4a99b620aaMLK-17111-4: crypto: caam: Fix RNG Kernel oops on i.MX8QXP Seen on i.MX8QXP board by reboot test, that Kernel oops occurs due to failing RNG instantiation with default entropy delay. The fix is to disable all job rings if RNG failed to prevent Kernel crash. And print an error message saying that this is a known limitation on REV A0 SoC. Signed-off-by: Aymen Sghaier <aymen.sghaier@nxp.com>
XianzhongXianzhong
2b20dff2514MGS-3255: gpu-viv: implement command commit worker i.MX8QM dual GPU SW workaround since no command sharing HW fix in B0, optimized driver to improve GPU benchmark with better performance. Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
Guoniu.ZhouGuoniu.Zhou
876bcc402f0MLK-17088: mipi_csi: improve the compatiblility of S_FMT 1) When app call S_FMT ioctl, they may only set width, height and format of image. So driver can't determine whether it support the specified format by checking the format fourcc value and the plane number. 2) Driver should also fill plane and sizeimage member in S_FMT ioctl, because some apps use this information after they call S_FMT ioctl, such as gstreamer. Reviewed-by: Sandor.Yu <sandor.yu@nxp.com> Signed-off-by: ...
Dong AishengDong Aisheng
dab1f87d39eMLK-16879-3 can: flexcan: add notes for avaliable fd mode rate combinations CAN FD can only support some specific bitrate combinations in FD mode due to HW limitations. See below info mentioned in RM: "To minimize errors when processing FD frames, use the same value for FPRESDIV and PRESDIV (in CAN_CBT or CAN_CTRL1)." Add notes in driver to let user know easily: CAN FD supported rates combinations * Combination 1: * Bitrate: 225000 375000 400000 425000 500000 875000 * Data rate: 1000000 ...
Dong AishengDong Aisheng
699c75d79dcMLK-16879-2 can: flexcan: allow user to disable can fd mode from device tree Normally CAN FD capable device must work on FD mode as it has different statically claimed bittiming capability. This patch provides users to disable CAN FD capability if users want to only work at normal mode. Acked-by: Jason Liu <jason.hui.liu@nxp.com> Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Dong AishengDong Aisheng
7a8a587435eMLK-16879-1 can: flexcan: improve can fd bittiming setting The CAN bit timing variables (PRESDIV, PROPSEG, PSEG1, PSEG2 and RJW) can also be configured in CAN_CBT register, which extends the range of all these variables. It can improve the bittiming accuracy. Acked-by: Jason Liu <jason.hui.liu@nxp.com> Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Dong AishengDong Aisheng
915d5631112MLK-17159 dts: imx8qm-mek: fix can regulator name Fix can regulator names which may cause the debugfs creation fail due to the duplicated regulator-name of can0/1. No functions affect. root@imx8qmmek:~# dmesg | grep Fail [ 3.276839] can01-en: Failed to create debugfs directory [ 3.292414] can01-stby: Failed to create debugfs directory Fixes: 90cd72423ed5 ("MLK-16606-4 arm64: dts: imx8qm-mek: add flexcan support") Reported-by: Jason Liu <jason.hui.liu@nxp.com> Reviewed-by: Jason Liu <...
Jason LiuJason Liu
d19fbbf7bd0MLK-17224 arm64: dts: jdi-wuxga-lvds1-panel.dts: disable ldb1 current dts supports dual channel LVDS panel connected with ldb2, while it also needs the cable connected with ldb1 for example need LVDS-HDMI covert connect with LVDS0_CH0 on the board, otherwise, the LVDS panel not work. This is not user friendly. This patch removes the limitation by disable the ldb1 interface by default. Signed-off-by: Jason Liu <jason.hui.liu@nxp.com> Acked-by: Liu Ying <victor.liu@nxp.com>
Liu YingLiu Ying
7cd2b87805fMLK-17225 gpu: imx: imx8_dprc: Directly map color component for 32bit RGB pixels The DPR prefetch engine has the A/R/G/B_COMP_SEL fields in the MODE_CTRL0 register to control the color component position mapping from input to output. We may choose to use direct mapping and leave the pixel format to be handled by the display controllers. Fixes: a0a3a82f90e9 ("MLK-15110-3 gpu: imx: Add i.MX8 DPR(Display Prefetch Resolve) support") Reported-by: Richard Liu <xuegang.liu@nxp.com> Signed-off-by:...
Sandor YuSandor Yu
3e885501553MLK-17223-2: dts: Add eight cameras dts for imx8qm arm2 board Enable mipi csi 1 in the dts. MAX support eight cameras for imx8qm arm2 board with the dtb. Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
Sandor YuSandor Yu
cc8200ca138MLK-17223-1: dts: Add eight cameras dts for imx8qm mek board Enable mipi csi 1 in the dts. MAX support eight cameras for imx8qm mek board with the dtb. Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
Fancy FangFancy Fang
1735630bbe8MLK-17215-3 video: fbdev: mipi_dsi_northwest: refine 'phy-ref-clkfreq' get to support all socs Move the code slice of getting 'phy-ref-clkfreq' property to probe function to support arm32 socs besides arm64. Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Fancy FangFancy Fang
49268e1f99eMLK-17215-2 ARM: dts: imx7ulp: add 'phy-ref-clkfreq' property for mipi dsi Add 'phy-ref-clkfreq' property for 'mipi_dsi' node on imx7ulp board. Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Fancy FangFancy Fang
6e822feb8ddMLK-17215-1 video: fbdev: mipi_dsi_northwest: fix an integer overflow issue On ARM32 socs, the 'UL' and 'ULL' postfix are different. And if using a 64bit constant integer, 'ULL' is the right postfix. Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Yong GanYong Gan
1bb3c379067MGS-3506 [#imx-805] Support compression for GPU no resolve Support compression for GPU no resolve between client and compositor. Enable gcdENABLE_RENDER_INTO_WINDOW_WITH_FC, Implement enable_tile_status in viv protocol. Signed-off-by: Yong Gan yong.gan@nxp.com Reviewed-by: Xianzhong Li xianzhong.li@nxp.com Reviewed-by: Y.c. Gan yuchou.gan@nxp.com Reviewed-by: Prabhu Sundararaj prabhu.sundararaj@nxp.com
Richard LiuRichard Liu
0ce92cf296fMA-10665-3 [#imx-615] Fix monkey test reboot issue due to drm gem bug Fix monkey test reboot issue due to drm gem bug. 1. deref gem_obj in the end of funtion 2. replace async unlock with bottom half unlock. Monkey commands: while true;do monkey --pct-syskeys 0 -v 100000;done Reboot log: [ 884.062236] WARNING: CPU: 3 PID: 3987 at drivers/gpu/drm/drm_gem.c:776 drm_gem_object_release+0x40/0x48 [ 884.076072] Modules linked in: bcmdhd [ 884.079760] [ 884.081260] CPU: 3 PID: 3987 Comm: Reference...
XianzhongXianzhong
de40b73b462MGS-3464 [#imx-811] fix busfreq build break only include busfreq header when CONFIG_PM is enabled Date: Nov 29, 2017 Signed-off-by: Xianzhong <xianzhong.li@nxp.com> Reviewed-by: Prabhu Sundararaj <prabhu.sundararaj@nxp.com> Reviewed-by: Yuchou Gan <yuchou.gan@nxp.com>
Sandor YuSandor Yu
c467ea8ee4fMLK-17208-4: mipi csi: Add rxhs_settle calculate function Add rxhs_settle calculate function according mipi csi phy clock rate. Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
Sandor YuSandor Yu
fc351fe66e1MLK-17208-3: mipi sensor: Clean max9286 driver -Remove AP0101 initilize code, it is not support in max9286 driver -Fix comment error -Remove un-usefule code. Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
Sandor YuSandor Yu
422c3ee8105MLK-17208-2: mipi sensor: Fill subdev_format reserved[0] Pass mipi csi-2 output clock rate from mipi sensor to mipi csi-2 rx controller by v4l2_subdev_format.reserved[0]. Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
Sandor YuSandor Yu
3df8e3d0099MLK-17208-1: mipi sensor: Reorder mipi CSI-2 sensor output Reorder sensor to support different cameras combination. Driver can support 1 ~ 4 cameras when device bootup. And cameras should be connected according camera daughter marked. For example: one camera case: connected camera to IN0 on board. two cameras case: Connected cameras to IN0 and IN1 on board. ... Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
Sandor YuSandor Yu
eafa2445246MLK-17107-03: hdp: return unknow status if cable detect failed Return unknow status to connector if hdp cable detect function failed to get cable status. Signed-off-by: Sandor Yu <Sandor.yu@nxp.com> (cherry picked from commit d16c633b1be1326b3583632c5279ea6b34ed3ec2)
Sandor YuSandor Yu
d371a345dc5MLK-17107-02: hdmi: Add api function return check Add api function return check to hdmi api call. Signed-off-by: Sandor Yu <Sandor.yu@nxp.com> (cherry picked from commit cba6f4fc6f382731fabf938fb9e03db1c17b1666) Conflicts: drivers/gpu/drm/imx/hdp/imx-hdmi.c
Sandor YuSandor Yu
4eae1e19ed3MLK-17107-01: hdp api: Add return value check for hdmi api Add return value check for hdmitx api. Signed-off-by: Sandor Yu <Sandor.yu@nxp.com> (cherry picked from commit fa29a23b5327e2739389c12e3d6ae54298c10c2f) Conflicts: drivers/mxc/hdp/API_HDMITX.c
Ye LiYe Li
038f2a8e04aMLK-17221 clk: imx8mq: Add shared gate for apbh-dma and gpmi clocks The CCGR RAWNAND is shared by apbh-dma and gpmi clocks, so must use imx_clk_gate2_shared2 to produce two clocks. Otherwise, apbh-dma clock won't be enabled individually. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Bai Ping <ping.bai@nxp.com>
Fugang DuanFugang Duan
d401854f7cbMLK-17218 tty: serial: imx: add lock for register save/restore The driver save/restore registers in system suspend/resume noirq stage to support no_console_suspend in power lost case. In noirq stage with no_console_suspend, .imx_console_write() _maybe_ called to print out log_buf message in .printk() or console_unlock() called by other drivers. It should add port.lock to protect the registers save/restore in noirq stage since .imx_console_write() also access them. Reported-by: Anson Huang ...
Marius VladMarius Vlad
63f1a8ab58fdrm/drm_lease: Prevent deadlock in case drm_lease_create() fails This case can been seen when creating the lease with the same objects passed. [ 605.515097] 2 locks held by testapp/3337: [ 605.519027] #0: (&dev->mode_config.idr_mutex){......}, at: [<ffff0000085f1664>] drm_mode_create_lease_ioctl+0x384/0x858 [ 605.530045] #1: (&dev->mode_config.idr_mutex){......}, at: [<ffff0000085f11bc>] drm_lease_destroy+0x2c/0x110 Which was causing the process to hang: [ 605.398827] [<ffff000008...
Viorel SumanViorel Suman
91c0d72e190MLK-17220: ASoC: fsl_rpmsg_i2s: restore original lock context Restore original lock context and unlock the mutex in case if info->rpdev is uninitialized. Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Viorel SumanViorel Suman
6c0c3680ee0MLK-17220: ASoC: fsl_rpmsg_i2s: unlock mutex on error Mutex must be unlocked when i2s_send_message method fails. Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Li JunLi Jun
185db772ee5MLK-17217 staging: typec: tcpci: system wakeup source support As GPIO normally can be system wakeup source, so enable typec events as system wakeup source if user requested. Acked-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Li Jun <jun.li@nxp.com>
Li JunLi Jun
7463333d45fMLK-17128-3 staging: typec: reading max_snk_mw setting from OF It's missing while do typec related properties read, sink needs it to check if the provided PDO can match the required power. Acked-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Li Jun <jun.li@nxp.com>
Li JunLi Jun
ae1d3237e5eMLK-17128-2 ARM64: dts: imx8mq-evk: add max_snk_mw property for typec Add the max_snk_mw property to specify the max power of i.MX8MQ EVK power limit is 18W, also change the max current to be 2A, which is more matching the actual HW design. Acked-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Li Jun <jun.li@nxp.com>