-
Notifications
You must be signed in to change notification settings - Fork 12
Feature/soft 5329 can v6.8 #341
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
Open
taraant
wants to merge
7
commits into
dev/v6.8
Choose a base branch
from
feature/SOFT-5329-CAN-v6.8
base: dev/v6.8
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
e0d3974
Init CAN driver Holtek ht42b416 for WB8
taraant c0b4a92
Change slot for CAN: MOD3 to MOD1
taraant 33cbdf6
Add debug mode
taraant 744cfe5
filters must be set after port is open, otherwise the IC will
evgeny-boger fff670a
Disable CAN driver for overlay
taraant 3a5b4f2
can: ht42b416: fix receive_buf signature for serdev
taraant 7f39bb4
Bump version
taraant File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
55 changes: 55 additions & 0 deletions
55
Documentation/devicetree/bindings/net/can/holtek,ht42b416.yaml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
| %YAML 1.2 | ||
| --- | ||
| $id: http://devicetree.org/schemas/net/can/holtek,ht42b416.yaml# | ||
| $schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
|
||
| title: Holtek HT42B416 UART to CAN bus bridge | ||
|
|
||
| maintainers: | ||
| - Anton Tarasov <ant0@mail.ru> | ||
|
|
||
| description: | ||
| The Holtek HT42B416-x devices expose a CAN 2.0A/B controller via a UART | ||
| interface. The controller is configured with ASCII commands terminated by | ||
| carriage return characters and is normally attached to a SoC UART using the | ||
| serdev framework. | ||
|
|
||
| allOf: | ||
| - $ref: /schemas/net/can/can-controller.yaml# | ||
|
|
||
| properties: | ||
| compatible: | ||
| const: holtek,ht42b416 | ||
|
|
||
| current-speed: | ||
| description: UART baud rate used to communicate with the bridge. | ||
| default: 115200 | ||
|
|
||
| enable-gpios: | ||
| maxItems: 1 | ||
| description: | ||
| Optional GPIO used to drive the CE pin of the bridge. The line should be | ||
| driven high to enable the device and low to reset or power it down. | ||
|
|
||
| required: | ||
| - compatible | ||
|
|
||
| unevaluatedProperties: false | ||
|
|
||
| examples: | ||
| - | | ||
| #include <dt-bindings/gpio/gpio.h> | ||
|
|
||
| &uart4 { | ||
| pinctrl-names = "default"; | ||
| pinctrl-0 = <&pinctrl_mod3_txrx_uart>; | ||
| status = "okay"; | ||
|
|
||
| can@0 { | ||
| compatible = "holtek,ht42b416"; | ||
| current-speed = <115200>; | ||
| enable-gpios = <&pio PG 10 GPIO_ACTIVE_HIGH>; | ||
| }; | ||
| }; | ||
| ... |
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
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
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
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,3 +1,9 @@ | ||||||
| linux-wb (6.8.0-wb149) stable; urgency=medium | ||||||
|
|
||||||
| * wbe2-i-can: add support for CAN-module based on Holtek ht42b41 | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| -- Anton Tarasov <anton.tarasov@wirenboard.com> Fri, 16 Jan 2026 11:05:02 +0300 | ||||||
|
|
||||||
| linux-wb (6.8.0-wb148) stable; urgency=medium | ||||||
|
|
||||||
| * wb8.5 HDMI: reject >30Hz 4K modes on H616 since T507-H can’t drive 4K60 reliably | ||||||
|
|
||||||
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Наверное лучше
Wiren Board team <info@wirenboard.com>