// SPDX-License-Identifier: GPL-2.0-or-later /* * I3C HCI Quirks * * Copyright 2024 Advanced Micro Devices, Inc. * * Authors: Shyam Sundar S K <[email protected]> * Guruvendra Punugupati <[email protected]> */ #include <linux/i3c/master.h> #include "hci.h" /* Timing registers */ #define HCI_SCL_I3C_OD_TIMING … #define HCI_SCL_I3C_PP_TIMING … #define HCI_SDA_HOLD_SWITCH_DLY_TIMING … /* Timing values to configure 9MHz frequency */ #define AMD_SCL_I3C_OD_TIMING … #define AMD_SCL_I3C_PP_TIMING … #define QUEUE_THLD_CTRL … void amd_set_od_pp_timing(struct i3c_hci *hci) { … } void amd_set_resp_buf_thld(struct i3c_hci *hci) { … }