mirror of
https://github.com/torvalds/linux.git
synced 2026-04-22 08:44:02 -04:00
[why] Direct DIO registers access in hwseq layer was creating register conflicts. [how] Migrated DIO registers from hwseq to dio component. Reviewed-by: Jun Lei <Jun.Lei@amd.com> Signed-off-by: Bhuvanachandra Pinninti <bpinnint@amd.com> Signed-off-by: Wayne Lin <wayne.lin@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
23 lines
373 B
C
23 lines
373 B
C
// SPDX-License-Identifier: MIT
|
|
//
|
|
// Copyright 2025 Advanced Micro Devices, Inc.
|
|
|
|
#ifndef __DC_DIO_H__
|
|
#define __DC_DIO_H__
|
|
|
|
#include "dc_types.h"
|
|
|
|
struct dc_context;
|
|
struct dio;
|
|
|
|
struct dio_funcs {
|
|
void (*mem_pwr_ctrl)(struct dio *dio, bool enable_i2c_light_sleep);
|
|
};
|
|
|
|
struct dio {
|
|
const struct dio_funcs *funcs;
|
|
struct dc_context *ctx;
|
|
};
|
|
|
|
#endif /* __DC_DIO_H__ */
|