···12121313Optional properties:14141515+- "realtek,dc_offset_l_manual"1616+- "realtek,dc_offset_r_manual"1717+- "realtek,dc_offset_l_manual_mic"1818+- "realtek,dc_offset_r_manual_mic"1919+ Based on the different PCB layout, add the manual offset value to2020+ compensate the DC offset for each L and R channel, and they are different2121+ between headphone and headset.2222+1523Pins on the device (for linking into audio routes) for RT5663:16241725 * IN1P
+22
include/sound/rt5663.h
···11+/*22+ * linux/sound/rt5663.h -- Platform data for RT566333+ *44+ * Copyright 2017 Realtek Semiconductor Corp.55+ *66+ * This program is free software; you can redistribute it and/or modify77+ * it under the terms of the GNU General Public License version 2 as88+ * published by the Free Software Foundation.99+ */1010+1111+#ifndef __LINUX_SND_RT5663_H1212+#define __LINUX_SND_RT5663_H1313+1414+struct rt5663_platform_data {1515+ unsigned int dc_offset_l_manual;1616+ unsigned int dc_offset_r_manual;1717+ unsigned int dc_offset_l_manual_mic;1818+ unsigned int dc_offset_r_manual_mic;1919+};2020+2121+#endif2222+