Jump to content

Nabeel

Validating
  • Posts

    1
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi All, Can anyone help in setting up HifiBerry Digi + with Opi PC Plus with i2s0.The HIfi Berry is based on wm8804 codec and it acts as a master while i2s on Opi acts as a slave I havent any examples of using i2s in slave mode on H3 boards so just need some help. Kernel is 5.10.19 built with Armbian Build system. This is the driver I am using https://github.com/raspberrypi/linux/blob/rpi-5.10.y/sound/soc/bcm/rpi-wm8804-soundcard.c on my PC PLUS This is my dts: /dts-v1/; /plugin/; / { compatible = "allwinner,sun8i-h3"; fragment@0 { target = <&i2c0>; __overlay__ { status = "okay"; wm8804: wm8804@3b { #sound-dai-cells = <0>; compatible = "wlf,wm8804"; reg = <0x3b>; status = "okay"; }; }; }; fragment@1 { target = <&i2s0>; __overlay__ { status = "okay"; pinctrl-0 = <&i2s0_pins>; sound-dai = <&wm8804>; pinctrl-names = "default"; }; }; fragment@2 { target-path = "/"; __overlay__ { sound_i2s { compatible = "hifiberry,hifiberry-digi"; i2s-controller = <&i2s0>; hifiberry,format = "i2s"; hifiberry,bitclock-master = <&sndcodec>; hifiberry,frame-master = <&sndcodec>; #hifiberry,mclk-fs = <256>; #hifiberry,frame-inversion; status = "okay"; hifiberry,cpu { sound-dai = <&i2s0>; dai-tdm-slot-num = <0x2>; dai-tdm-slot-width = <0x20>; }; sndcodec: hifiberry,codec { sound-dai = <&wm8804>; system-clock-frequency = <11289600>; }; Many Thanks for your help.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines