Re: [PATCH 05/11] ALSA: hda/cs35l56: Create sysfs files for factory calibration

Mark Brown
2025-10-16T11:27:40Z

[-- Attachment #1: Type: text/plain, Size: 683 bytes --]

On Thu, Oct 16, 2025 at 01:01:41PM +0200, Takashi Iwai wrote:
> Richard Fitzgerald wrote:

> > Create sysfs files that can be used to perform factory calibration.

> What kind of data format should be written to calibrate sysfs entry?
> Since those are no trivial files, we may need to document the
> formats.

This feels like it might be a better fit for debugfs or possibly
configfs? It's not really within the sysfs rules, and especially
debugfs is a lot more relaxed about everything.

> Also, the scenario isn't clear -- who should write this sysfs at which
> moment? e.g. is this supposed to be set up at each boot?

AIUI it's some tooling that gets run in the factory only.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]