aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorMia Lin <[email protected]>2023-11-13 10:38:07 +0000
committerAlexandre Belloni <[email protected]>2024-01-18 00:05:33 +0000
commit14688f1a91e1f37bc6bf50ff5241e857f24338e0 (patch)
tree615ebb114ff3ea9122bb45a022f7705314a07a23 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentrtc: da9063: Use dev_err_probe() (diff)
downloadkernel-14688f1a91e1f37bc6bf50ff5241e857f24338e0.tar.gz
kernel-14688f1a91e1f37bc6bf50ff5241e857f24338e0.zip
rtc: nuvoton: Compatible with NCT3015Y-R and NCT3018Y-R
The NCT3015Y-R and NCT3018Y-R use the same datasheet but have different topologies as follows. - Topology (Only 1st i2c can set TWO bit and HF bit) In NCT3015Y-R, rtc 1st i2c is connected to a host CPU rtc 2nd i2c is connected to a BMC In NCT3018Y-R, rtc 1st i2c is connected to a BMC rtc 2nd i2c is connected to a host CPU In order to be compatible with NCT3015Y-R and NCT3018Y-R, - In probe, If part number is NCT3018Y-R, only set HF bit to 24-Hour format. Else, do nothing - In set_time, If part number is NCT3018Y-R && TWO bit is 0, change TWO bit to 1, and restore TWO bit after updating time. Signed-off-by: Mia Lin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions