]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: rockchip: Add vdd_cpu reg fixup for RGXX3 Series
authorChris Morgan <macromorgan@hotmail.com>
Thu, 19 Sep 2024 14:00:20 +0000 (09:00 -0500)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 25 Oct 2024 12:48:41 +0000 (20:48 +0800)
commit3f0c97be8741a957e5db25b551423c85fb56ab87
treeb658544668ed61e5c71e5c467bdad7eb0fb0eb18
parent7344fa41a2e39a2f10ffcc5f3ea5725b56d0e285
board: rockchip: Add vdd_cpu reg fixup for RGXX3 Series

Some of the Powkiddy devices switched to using a different vendor for
the vdd_cpu regulator. Unfortunately the device does not have a new
revision to denote this, so users have no way of knowing in advance.

Add code to detect if a device is present at addresses 0x1c or 0x40 on
the i2c0 bus and update the devicetree if needed.

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
board/anbernic/rgxx3_rk3566/rgxx3-rk3566.c