[PATCH 0/2] ASoC: pcm512x: Add knobs to allow and control overclocking
From: Peter Rosin
Date: Mon Feb 16 2015 - 16:03:54 EST
From: Peter Rosin <peda@xxxxxxxxxx>
I wasn't sure if I should add Documentation/* for these sysfs knobs
or not? A lot of knobs do not seem to have docs (no specific example,
just a gut feeling). And I'm not sure how I should name the doc-file
since the pcm512x driver handles devices connected with both i2c and
spi. And what KernelVersion should I enter? That depends... So, this
isn't perfect, suggestions welcome.
The first patch is a preparatory patch that makes 2/2 slightly simpler.
I can fold them together if that's desired. Or I could split 2/2 up in
three logical patches, one for each of the independent PLL/DSP/DAC
Another "feature" that one might want, is that attempts to change the
overclocking should fail with EBUSY when the device is already in use.
But I haven't invested enough time to find out how I should determine
when to fail, so for this version the driver accepts the change but
doesn't enforce the new limit until the clock rates are recalculated.
Peter Rosin (2):
ASoC: pcm512x: Rearrange to not repeat dacsrc_rate / dac_div
ASoC: pcm512x: Allow independently overclocking PLL, DAC and DSP
Documentation/ABI/testing/sysfs-i2c-pcm512x | 35 +++++
sound/soc/codecs/pcm512x.c | 189 ++++++++++++++++++++++++---
2 files changed, 205 insertions(+), 19 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-i2c-pcm512x
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/