I have tried to edit the /pinmux/audio_pin1 node of devicetree, but no signal.
Code: Select all
fdtget meson8b_odroidc.dtb /pinmux/audio_pin1 amlogic,pins
GPIOY_3
Original setting with GPIOAO_6:
Code: Select all
audio_spdif_pins:audio_pin1{
amlogic,setmask=<10 0x00010000>;
amlogic,clrmask=<10 0x00040000
1 0x00002000>;
amlogic,pins ="GPIOAO_6";
};
...
audio_spdif_codec{
compatible = "amlogic,aml-spdif-codec";
dev_name = "spdif-dit.0";
pinctrl-names = "aml_audio_spdif";
pinctrl-0 = <&audio_spdif_pins>;
status = "okay";
};
Code: Select all
Welcome to Ubuntu 20.04.1 LTS (GNU/Linux 3.10.107-24 armv7l)