Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751755AbbBPVDJ (ORCPT ); Mon, 16 Feb 2015 16:03:09 -0500 Received: from mail.lysator.liu.se ([130.236.254.3]:58596 "EHLO mail.lysator.liu.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750999AbbBPVDH (ORCPT ); Mon, 16 Feb 2015 16:03:07 -0500 From: Peter Rosin To: alsa-devel@alsa-project.org Cc: Peter Rosin , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Lars-Peter Clausen , linux-api@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] ASoC: pcm512x: Add knobs to allow and control overclocking Date: Mon, 16 Feb 2015 22:02:45 +0100 Message-Id: <1424120568-24648-1-git-send-email-peda@lysator.liu.se> X-Mailer: git-send-email 1.7.10.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1670 Lines: 42 From: Peter Rosin Hi! 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 knobs. 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. Cheers, Peter 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 -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/