Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(kernel-rolling) can: Add Phytium CAN controller support #221

Conversation

MingcongBai
Copy link
Contributor

@MingcongBai MingcongBai commented May 27, 2024

Picked and rebased from #167.

From original pull request:

This patch adds support for the Phytium CAN controller and its related functions.

Builds tested

  • amd64
  • arm64
  • loong64

@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign goldendeng for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

This patch documents the DT bindings for Phytium CAN controller.

Signed-off-by: yuanxia <[email protected]>
Signed-off-by: Chen Baozi <[email protected]>
Signed-off-by: Wang Yinfeng <[email protected]>
This patch adds Phytium CAN controller support.

Signed-off-by: yuanxia <[email protected]>
Signed-off-by: Cheng Quan <[email protected]>
Signed-off-by: Li Zhengguang <[email protected]>
Signed-off-by: Wu Jinyong <[email protected]>
Signed-off-by: Chen Baozi <[email protected]>
Signed-off-by: Wang Yinfeng <[email protected]>
Phytium CANFD ususally is not supported without explicit specifying in
ACPI. Therefore, the default mode under ACPI should be CAN rather than
CANFD.

Signed-off-by: yuanxia <[email protected]>
Signed-off-by: Chen Zhenhua <[email protected]>
Signed-off-by: Chen Baozi <[email protected]>
Signed-off-by: Wang Yinfeng <[email protected]>
Because the finally clock frequency of px210 has been decreased to 480M,
update the struct member clock_freq of phytium_can_pci_data to match the
updated design.

Signed-off-by: yuanxia <[email protected]>
Signed-off-by: Li Zhengguang <[email protected]>
Signed-off-by: Chen Baozi <[email protected]>
Signed-off-by: Wang Yinfeng <[email protected]>
This patch is designed to optimize the issue of low performance
in CAN communication at 1Mbps,as there is a waste of time in the
interaction between software and hardware.

Signed-off-by: yuanxia <[email protected]>
Signed-off-by: Wu Jinyong <[email protected]>
Signed-off-by: Wang Yinfeng <[email protected]>
@MingcongBai MingcongBai force-pushed the bai/kernel-rolling/phytium-can branch from 2f5c39e to 5808b0d Compare May 29, 2024 00:38
@deepin-ci-robot
Copy link

deepin pr auto review

Add platform support for Phytium CAN controller

@MingcongBai
Copy link
Contributor Author

MingcongBai commented May 29, 2024

Builds tested:

  • amd64
  • arm64
  • loong64

@Avenger-285714 Avenger-285714 merged commit c823b5d into deepin-community:kernel-rolling Jun 1, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants