From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out-201.synserver.de ([212.40.185.201]:1399 "EHLO smtp-out-201.synserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751347Ab3JIGhR (ORCPT ); Wed, 9 Oct 2013 02:37:17 -0400 Message-ID: <5254FA14.7090603@metafoo.de> Date: Wed, 09 Oct 2013 08:39:16 +0200 From: Lars-Peter Clausen MIME-Version: 1.0 To: crzy CC: linux-iio@vger.kernel.org Subject: Re: change device attributes dynamically References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org On 10/09/2013 05:56 AM, crzy wrote: > crzy writes: > >> >> I want to change device attributes at /sys/iio..... for AD-FMCOMMS1- > EBZ.When >> will the driver detects the value is changed?will the driver dynamically >> detects them ? >> i want to change values dynamically like >> echo 500000000 > out_altvoltage1_DAC_CLK_frequency >> >> > > > when will the device reads register value? i mean when will device changes > its clk frequency? > Plz tell me how this process takes place Hi, The device's registers are updates as soon as you write to the sysfs file. - Lars