Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] I2S MCLK on Core-3399-JD4

1388

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1388
Posted at 9/18/2019 10:56:36      1#
You need to specify `clock`, take rt5640 as an example:

  1. &i2c1 {
  2.         status = "okay";
  3.         i2c-scl-rising-time-ns = <300>;
  4.         i2c-scl-falling-time-ns = <15>;

  5.         rt5640: rt5640@1c {
  6.                 #sound-dai-cells = <0>;
  7.                 compatible = "realtek,rt5640";
  8.                 reg = <0x1c>;
  9.                 clocks = <&cru SCLK_I2S_8CH_OUT>;
  10.                 clock-names = "mclk";
  11.                 realtek,in1-differential;
  12.                 pinctrl-names = "default";
  13.                 pinctrl-0 = <&rt5640_hpcon &i2s_8ch_mclk>;
  14.                 hp-con-gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>;
  15.                 //hp-det-gpio = <&gpio4 28 GPIO_ACTIVE_LOW>;
  16.                 io-channels = <&saradc 4>;
  17.                 hp-det-adc-value = <500>;
  18.         };
  19. }
Copy the code
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list