Mekotronics R58X-Pro (vendor): use mainline u-boot for vendor; use new LCD driver#9836
Conversation
- new LCD driver for the Meko-R58X-Pro as a module at armbian/linux-rockchip#482 - old always-built-in `lcd_vk2c21` is gone
…or branch - this unifies board config; vendor branch only gets a different DTB name and bluetooth stuff extra on top of edge - drop usage of shared vendor/mekotronics config fragments
📝 WalkthroughWalkthroughThis pull request updates board and kernel configuration for the Mekotronics R58X Pro board and broader RK35XX platform. It refactors the vendor/legacy branch setup to apply configuration inline rather than through external sourcing, adds bluetooth and kernel command-line parameters, ensures u-boot device tree patching applies consistently, and enables auxiliary display driver support in the kernel. ChangesMekotronics R58X Pro Vendor Configuration
RK35XX Kernel Display Configuration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. 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 |
|
✅ This PR has been reviewed and approved — all set for merge! |
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 `@config/kernel/linux-rk35xx-vendor.config`:
- Around line 2331-2332: The CONFIG_LCD_VK2C21 option is not present in the
rk35xx-vendor kernel 6.1 so CONFIG_LCD_VK2C21=m will be ignored; either backport
the VK2C21 driver patches from rockchip64-7.0/7.1 into the rk35xx-vendor-6.1
tree (ensuring you also pull in required Kconfig changes and dependencies like
GPIOLIB and OF), or remove CONFIG_LCD_VK2C21 and CONFIG_AUXDISPLAY from this
config to avoid misleading/unused entries; locate the entries by searching for
CONFIG_LCD_VK2C21 and CONFIG_AUXDISPLAY in the config/kernel file and apply the
chosen change (port patches + add Kconfig and drivers, or delete both config
lines).
🪄 Autofix (Beta)
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
Run ID: 08f6b50f-adc3-48ec-abff-04c2970ca49f
📒 Files selected for processing (2)
config/boards/mekotronics-r58x-pro.cscconfig/kernel/linux-rk35xx-vendor.config
Mekotronics R58X-Pro (vendor): use mainline u-boot for vendor; use new LCD driver
CONFIG_LCD_VK2C21as modulelcd_vk2c21LCD driver that never worked; backport workingvinka,vk2c21driver; fix Mekos DTs linux-rockchip#482lcd_vk2c21is goneSummary by CodeRabbit
New Features
Bug Fixes