Lf 6.12.49 2.2.0 yocto bmb 13 a1#9
Open
9278978 wants to merge 13 commits into
Open
Conversation
commit 04b05c5527e9af8d81254638c307df07dc9a5dd3 (HEAD -> linux-6.1.36_2.1.0, tag: lf-6.1.36-2.1.0, origin/linux-6.1.36_2.1.0, origin/HEAD)
Author: Jacky Bai <ping.bai@nxp.com>
Date: Fri Aug 25 11:39:31 2023 +0800
LF-9952 clocksource: imx-tpm: Wait for CnV write to take effect
The value write into the TPM CnV can only be updated into the HW when
CNT increase. Additional writes to the CnV write buffer are ignored until
the register has been updated. So we need to check if the CnV has been
updated before continue. Wait for 1 CNT cycle in worst case.
Additionally, current return check is not correct, if a max_delta need
be set, it will return -ETIME wrongly due to the int type cast,
so refine the check logic to fix it.
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Jason Liu <jason.hui.liu@nxp.com>
Supported screens: TD050A TD070A TD080B Support Camera:Debix200A Debix500A
Modify TD050A TD070A TD080B add yocto.efi yocto_sd.efi
…O_CONNECTOR case If DRM_BRIDGE_ATTACH_NO_CONNECTOR flag is set when attaching the bridge, this bridge driver won't create a DRM connector but instead relying on other drivers to do that, i.e., a bridge connector is created by a DRM driver. In that case, it6263_get_edid() should use the connector parameter of it6263_bridge_edid_read() to get EDID instead of the connector created by this driver for the !DRM_BRIDGE_ATTACH_NO_CONNECTOR case and cached in the main struct it6263, since the latter one is not initialized at all for the DRM_BRIDGE_ATTACH_NO_CONNECTOR case. Note that it6263_bridge_edid_read(), as the drm_bridge_funcs::edid_read callback, is supposed to be only called by bridge connector for the DRM_BRIDGE_ATTACH_NO_CONNECTOR case. So, pass the connector parameter from it6263_bridge_edid_read() to it6263_get_edid() and use it to get get EDID to avoid accessing the uninitialized connector. While at it, change the it6263_get_edid() function call in it6263_connector_get_modes() accordingly. Signed-off-by: Ji Luo <ji.luo@nxp.com> Reviewed-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com> Tested-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com> Co-developed-by: Liu Ying <victor.liu@nxp.com> Signed-off-by: Liu Ying <victor.liu@nxp.com> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.