From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claude Code Review Bot To: dri-devel-reviews@example.com Subject: Claude review: drm/rockchip: analogix_dp: Add support for RK3576 Date: Sat, 16 May 2026 12:26:19 +1000 Message-ID: In-Reply-To: <20260513074414.2053435-11-damon.ding@rock-chips.com> References: <20260513074414.2053435-1-damon.ding@rock-chips.com> <20260513074414.2053435-11-damon.ding@rock-chips.com> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Patch Review **Status: Looks good** Adds `rk3576_edp` chip data and OF match table entry: ```c static const struct rockchip_dp_chip_data rk3576_edp[] = { { .chip_type = RK3576_EDP, .reg = 0x27dc0000, }, { /* sentinel */ } }; ``` The chip data intentionally omits `edp_mode` and `lcdc_sel` GRF fields. This is safe because `rockchip_grf_field_write()` checks `field->valid` (which defaults to `false` in zero-initialized structs) and returns 0 without writing. If RK3576 genuinely doesn't need GRF mode switching for eDP, this is correct. If it does need a GRF write that was overlooked, eDP would fail to initialize at runtime -- but this has Reviewed-by from two reviewers who presumably tested on hardware. The OF match table entry is correctly sorted alphabetically between `rk3399-edp` and `rk3588-edp`. --- Generated by Claude Code Patch Reviewer