H50 and T9 led , display and other overlays update - #10359
Conversation
Add configuration for IR LED with heartbeat trigger.
Changed the default trigger for USB LED and added trigger sources.
Updated compatible property for display node to reflect correct device version with 8 levels of brightness.
Commented out sections for various device nodes and properties.
Updated address and size cells for display and leds.
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughChangesThe RK3318 overlays now define GPIO LEDs, updated display-controller bindings and mappings, LAN link triggers, RK3328 variant metadata, and GPIO-controlled HDMI VBUS regulators for kernels 6.12, 6.18, and 7.1. RK3318 overlay updates
Estimated code review effort: 3 (Moderate) | ~20 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
what about 7.1 and 7.2? |
6.18 overlays should be fine with 7.1 and 7.2 but I did not test them yet. In any case the current version is a copy of the 6.18 |
|
Prepare them for 7.1 / 7.2 even untested |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@patch/kernel/archive/rockchip64-6.12/overlay/rockchip-rk3318-box-led-conf6.dtso`:
- Line 80: Remove the unsupported enable-active-low property from both overlay
files:
patch/kernel/archive/rockchip64-6.12/overlay/rockchip-rk3318-box-led-conf6.dtso
lines 80-80 and
patch/kernel/archive/rockchip64-6.18/overlay/rockchip-rk3318-box-led-conf6.dtso
lines 113-113. Leave active-low behavior represented by omitting
enable-active-high, then run device-tree schema validation.
In
`@patch/kernel/archive/rockchip64-6.18/overlay/rockchip-rk3318-box-led-conf7.dtso`:
- Line 9: Update the T9 overlay’s device-tree fragment to override the inherited
working LED node and set its status to disabled, matching the 6.12 peer overlay.
Ensure the base timer-triggered GPIO2_C7 LED is inactive at boot.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 786a7636-1a01-4939-9a8a-c9254779a166
📒 Files selected for processing (4)
patch/kernel/archive/rockchip64-6.12/overlay/rockchip-rk3318-box-led-conf6.dtsopatch/kernel/archive/rockchip64-6.12/overlay/rockchip-rk3318-box-led-conf7.dtsopatch/kernel/archive/rockchip64-6.18/overlay/rockchip-rk3318-box-led-conf6.dtsopatch/kernel/archive/rockchip64-6.18/overlay/rockchip-rk3318-box-led-conf7.dtso
Removed 'enable-active-low' property from vcc-host-hdmi-vbus regulator configuration.
Removed 'enable-active-low' property from vcc-host-hdmi-vbus.
Disable the working LED in the device tree overlay.
Updated LED configurations and added HDMI regulator settings.
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@patch/kernel/archive/rockchip64-7.1/overlay/rockchip-rk3318-box-led-conf6.dtso`:
- Around line 47-64: Update the reg properties in the digit nodes to use
zero-based values matching their digit indices: digit@0 through digit@3 must use
reg values 0 through 3, respectively. Leave the segments mappings unchanged.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: ad8b19dd-0c5f-4b41-89b4-f14e1f327fe7
📒 Files selected for processing (2)
patch/kernel/archive/rockchip64-6.18/overlay/rockchip-rk3318-box-led-conf7.dtsopatch/kernel/archive/rockchip64-7.1/overlay/rockchip-rk3318-box-led-conf6.dtso
Updated LED configuration for T9 RK3328/3318 and corrected compatible string for display.
Added configurations for IR LED and modified existing LED definitions. Updated regulator settings for HDMI power.
Description
The followings:
patch/kernel/archive/rockchip64-6.12/overlay/rockchip-rk3318-box-led-conf6.dtso
patch/kernel/archive/rockchip64-6.12/overlay/rockchip-rk3318-box-led-conf7.dtso
patch/kernel/archive/rockchip64-6.18/overlay/rockchip-rk3318-box-led-conf6.dtso
patch/kernel/archive/rockchip64-6.18/overlay/rockchip-rk3318-box-led-conf7.dtso
have been updated. Overlays for 6.18 should be compatibile with more recent versions, not tested yet.
Documentation summary for feature / change
for the H50 (led-conf6) :
fixed indexing of the display array
added compatible "titanmec,tm1650" to correctly enable the display
added working and ir-led
added boot-on regulator to properly switch on the HDMI port
for the T9 (led-conf7)
using compatible = "fdhisi,fd6551" - according to the actual chip
display index rearranged accordingly
GitHub issue reference:
Jira reference number [AR-9999]
How Has This Been Tested?
Built and tested
Checklist:
Please delete options that are not relevant.
Summary by CodeRabbit