-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Driver for Allo Katana DAC #2519
Conversation
Have ESS changed their stance? AFAIK, there is still the issue for any of their programmable Sabre chips, (ie. I2C software controlled), that you sign a NDA to get the register info/address/values. |
The soundcard driver (allo-katana-dac.c) doesn't seem to do much, you can drop it and use the simple card or audio graph card driver instead. Here's a (completely untested) dt overlay, please give that a try: https://gist.github.com/HiassofT/5f7aec2407f854e184aecdc7d502779e |
[ Comment 1 has been largely preempted before submission, but still stands. ]
|
Hi, I am one of the designers of the Katana Dac (using ess9038q2m). We are very well aware of the NDA from ess sabre (that we signed). So we used the only solution possible. Katana Dac has an MCU on board with the actual protected information (nda) of Ess Sabre. The driver that we are submitting is the driver of the MCU (and the translation is done securely in the MCU). Let me know if you have any other questions. |
So is the codec a standard component or have you modified the MCU firmware for your application? Is the API exposed by the MCU in the public domain? |
If the codec driver (sabre-ess-i2c) isn't talking to the ESS chip but your MCU then you should name it differently - allo-ess-bridge-i2c or sth like that |
Hi Pelwell, Codec is not a standard component. MCU firmware is custom written & will not be made public. Register addresses & its definition are not directly mapped to the ESS chip registers. |
In that case you should:
|
I am checking the overlay suggested by HiassofT (Thanks HiassofT) & will move the codec driver. |
Hello Pelwell, I modified to have only one file (allo_katana_codec.c) under bcm. Pls check if it is fine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from my README comments, that looks good.
arch/arm/boot/dts/overlays/README
Outdated
@@ -314,6 +314,12 @@ Load: dtoverlay=allo-digione | |||
Params: <None> | |||
|
|||
|
|||
Name: allo-katana |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be allo-katana-dac-audio
arch/arm/boot/dts/overlays/README
Outdated
@@ -314,6 +314,12 @@ Load: dtoverlay=allo-digione | |||
Params: <None> | |||
|
|||
|
|||
Name: allo-katana | |||
Info: Configures the Allo Katana audio card |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Allo Katana DAC audio card
for consistency? You can choose.
Modified README file. |
Thx you Pelwell for merging, HiassofT for the suggestions and CliveM for the comment (valid). |
I used the wrong merge option - I intended to squash them - but I'll fix it up in the other kernel versions. |
Thanks all |
kernel: BCM270X_DT: Add sdio_overclock parameter kernel: gpiolib: Don't prevent IRQ usage of output GPIOs See: raspberrypi/linux#2527 kernel: Driver for Allo Katana DAC See: raspberrypi/linux#2519 kernel: Prevent voltage low warnings from filling log See: raspberrypi/linux#2520 kernel: overlays: Add 'combine' option to i2c overlays See: #828 firmware: Extra reg writes to ensure the LCD display starts up at 800 wide firmware: platform: Lower temperature thresholds for extra pips to 50/60 firmware: video_encode: Add support for YVU420Planar and YVU420SemiPlanar firmware: video_decode: Support YV12, NV12, and NV21 output firmware: video_decode: Support reporting colour space firmware: IL rawcam: Fix copy/paste error on timing setup firmware: MMAL: Populate buffer header TYPE_SPECIFIC fields
kernel: BCM270X_DT: Add sdio_overclock parameter kernel: gpiolib: Don't prevent IRQ usage of output GPIOs See: raspberrypi/linux#2527 kernel: Driver for Allo Katana DAC See: raspberrypi/linux#2519 kernel: Prevent voltage low warnings from filling log See: raspberrypi/linux#2520 kernel: overlays: Add 'combine' option to i2c overlays See: raspberrypi/firmware#828 firmware: Extra reg writes to ensure the LCD display starts up at 800 wide firmware: platform: Lower temperature thresholds for extra pips to 50/60 firmware: video_encode: Add support for YVU420Planar and YVU420SemiPlanar firmware: video_decode: Support YV12, NV12, and NV21 output firmware: video_decode: Support reporting colour space firmware: IL rawcam: Fix copy/paste error on timing setup firmware: MMAL: Populate buffer header TYPE_SPECIFIC fields
kernel: BCM270X_DT: Add sdio_overclock parameter kernel: gpiolib: Don't prevent IRQ usage of output GPIOs See: raspberrypi/linux#2527 kernel: Driver for Allo Katana DAC See: raspberrypi/linux#2519 kernel: Prevent voltage low warnings from filling log See: raspberrypi/linux#2520 kernel: overlays: Add 'combine' option to i2c overlays See: #828 firmware: Extra reg writes to ensure the LCD display starts up at 800 wide firmware: platform: Lower temperature thresholds for extra pips to 50/60 firmware: video_encode: Add support for YVU420Planar and YVU420SemiPlanar firmware: video_decode: Support YV12, NV12, and NV21 output firmware: video_decode: Support reporting colour space firmware: IL rawcam: Fix copy/paste error on timing setup firmware: MMAL: Populate buffer header TYPE_SPECIFIC fields
kernel: BCM270X_DT: Add sdio_overclock parameter kernel: gpiolib: Don't prevent IRQ usage of output GPIOs See: raspberrypi/linux#2527 kernel: Driver for Allo Katana DAC See: raspberrypi/linux#2519 kernel: Prevent voltage low warnings from filling log See: raspberrypi/linux#2520 kernel: overlays: Add 'combine' option to i2c overlays See: raspberrypi/firmware#828 firmware: Extra reg writes to ensure the LCD display starts up at 800 wide firmware: platform: Lower temperature thresholds for extra pips to 50/60 firmware: video_encode: Add support for YVU420Planar and YVU420SemiPlanar firmware: video_decode: Support YV12, NV12, and NV21 output firmware: video_decode: Support reporting colour space firmware: IL rawcam: Fix copy/paste error on timing setup firmware: MMAL: Populate buffer header TYPE_SPECIFIC fields
Allo Katana DAC uses Sabre ESS codec.