18c2ecf20Sopenharmony_ciRT5660 audio CODEC
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciThis device supports I2C only.
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ciRequired properties:
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci- compatible : "realtek,rt5660".
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci- reg : The I2C address of the device.
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ciOptional properties:
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci- clocks: The phandle of the master clock to the CODEC
148c2ecf20Sopenharmony_ci- clock-names: Should be "mclk"
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci- realtek,in1-differential
178c2ecf20Sopenharmony_ci- realtek,in3-differential
188c2ecf20Sopenharmony_ci  Boolean. Indicate MIC1/3 input are differential, rather than single-ended.
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci- realtek,poweroff-in-suspend
218c2ecf20Sopenharmony_ci  Boolean. If the codec will be powered off in suspend, the resume should be
228c2ecf20Sopenharmony_ci  added delay time for waiting codec power ready.
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci- realtek,dmic1-data-pin
258c2ecf20Sopenharmony_ci  0: dmic1 is not used
268c2ecf20Sopenharmony_ci  1: using GPIO2 pin as dmic1 data pin
278c2ecf20Sopenharmony_ci  2: using IN1P pin as dmic1 data pin
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ciPins on the device (for linking into audio routes) for RT5660:
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ci  * DMIC L1
328c2ecf20Sopenharmony_ci  * DMIC R1
338c2ecf20Sopenharmony_ci  * IN1P
348c2ecf20Sopenharmony_ci  * IN1N
358c2ecf20Sopenharmony_ci  * IN2P
368c2ecf20Sopenharmony_ci  * IN3P
378c2ecf20Sopenharmony_ci  * IN3N
388c2ecf20Sopenharmony_ci  * SPO
398c2ecf20Sopenharmony_ci  * LOUTL
408c2ecf20Sopenharmony_ci  * LOUTR
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ciExample:
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_cirt5660 {
458c2ecf20Sopenharmony_ci	compatible = "realtek,rt5660";
468c2ecf20Sopenharmony_ci	reg = <0x1c>;
478c2ecf20Sopenharmony_ci};
48