|
Posted at 9/18/2019 10:56:36
1#
You need to specify `clock`, take rt5640 as an example:
- &i2c1 {
- status = "okay";
- i2c-scl-rising-time-ns = <300>;
- i2c-scl-falling-time-ns = <15>;
- rt5640: rt5640@1c {
- #sound-dai-cells = <0>;
- compatible = "realtek,rt5640";
- reg = <0x1c>;
- clocks = <&cru SCLK_I2S_8CH_OUT>;
- clock-names = "mclk";
- realtek,in1-differential;
- pinctrl-names = "default";
- pinctrl-0 = <&rt5640_hpcon &i2s_8ch_mclk>;
- hp-con-gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>;
- //hp-det-gpio = <&gpio4 28 GPIO_ACTIVE_LOW>;
- io-channels = <&saradc 4>;
- hp-det-adc-value = <500>;
- };
- }
Copy the code |
|