1*52302f87SNuno SáWhat: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_en 2*52302f87SNuno SáKernelVersion: 5.18 3*52302f87SNuno SáContact: linux-iio@vger.kernel.org 4*52302f87SNuno SáDescription: 5*52302f87SNuno Sá Dither enable. Write 1 to enable dither or 0 to disable it. This is useful 6*52302f87SNuno Sá for changing the dither parameters. They way it should be done is: 7*52302f87SNuno Sá 8*52302f87SNuno Sá - disable dither operation; 9*52302f87SNuno Sá - change dither parameters (eg: frequency, phase...); 10*52302f87SNuno Sá - enabled dither operation 11*52302f87SNuno Sá 12*52302f87SNuno SáWhat: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_raw 13*52302f87SNuno SáKernelVersion: 5.18 14*52302f87SNuno SáContact: linux-iio@vger.kernel.org 15*52302f87SNuno SáDescription: 16*52302f87SNuno Sá This raw, unscaled value refers to the dither signal amplitude. 17*52302f87SNuno Sá The same scale as in out_voltageY_raw applies. However, the 18*52302f87SNuno Sá offset might be different as it's always 0 for this attribute. 19*52302f87SNuno Sá 20*52302f87SNuno SáWhat: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_raw_available 21*52302f87SNuno SáKernelVersion: 5.18 22*52302f87SNuno SáContact: linux-iio@vger.kernel.org 23*52302f87SNuno SáDescription: 24*52302f87SNuno Sá Available range for dither raw amplitude values. 25*52302f87SNuno Sá 26*52302f87SNuno SáWhat: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_offset 27*52302f87SNuno SáKernelVersion: 5.18 28*52302f87SNuno SáContact: linux-iio@vger.kernel.org 29*52302f87SNuno SáDescription: 30*52302f87SNuno Sá Offset applied to out_voltageY_dither_raw. Read only attribute 31*52302f87SNuno Sá always set to 0. 32*52302f87SNuno Sá 33*52302f87SNuno SáWhat: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_frequency 34*52302f87SNuno SáKernelVersion: 5.18 35*52302f87SNuno SáContact: linux-iio@vger.kernel.org 36*52302f87SNuno SáDescription: 37*52302f87SNuno Sá Sets the dither signal frequency. Units are in Hz. 38*52302f87SNuno Sá 39*52302f87SNuno SáWhat: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_frequency_available 40*52302f87SNuno SáKernelVersion: 5.18 41*52302f87SNuno SáContact: linux-iio@vger.kernel.org 42*52302f87SNuno SáDescription: 43*52302f87SNuno Sá Returns the available values for the dither frequency. 44*52302f87SNuno Sá 45*52302f87SNuno SáWhat: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_phase 46*52302f87SNuno SáKernelVersion: 5.18 47*52302f87SNuno SáContact: linux-iio@vger.kernel.org 48*52302f87SNuno SáDescription: 49*52302f87SNuno Sá Sets the dither signal phase. Units are in Radians. 50*52302f87SNuno Sá 51*52302f87SNuno SáWhat: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_phase_available 52*52302f87SNuno SáKernelVersion: 5.18 53*52302f87SNuno SáContact: linux-iio@vger.kernel.org 54*52302f87SNuno SáDescription: 55*52302f87SNuno Sá Returns the available values for the dither phase. 56*52302f87SNuno Sá 57*52302f87SNuno SáWhat: /sys/bus/iio/devices/iio:deviceX/out_voltageY_toggle_en 58*52302f87SNuno SáKernelVersion: 5.18 59*52302f87SNuno SáContact: linux-iio@vger.kernel.org 60*52302f87SNuno SáDescription: 61*52302f87SNuno Sá Toggle enable. Write 1 to enable toggle or 0 to disable it. This is 62*52302f87SNuno Sá useful when one wants to change the DAC output codes. The way it should 63*52302f87SNuno Sá be done is: 64*52302f87SNuno Sá 65*52302f87SNuno Sá - disable toggle operation; 66*52302f87SNuno Sá - change out_voltageY_raw0 and out_voltageY_raw1; 67*52302f87SNuno Sá - enable toggle operation. 68*52302f87SNuno Sá 69*52302f87SNuno SáWhat: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw0 70*52302f87SNuno SáWhat: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw1 71*52302f87SNuno SáKernelVersion: 5.18 72*52302f87SNuno SáContact: linux-iio@vger.kernel.org 73*52302f87SNuno SáDescription: 74*52302f87SNuno Sá It has the same meaning as out_voltageY_raw. This attribute is 75*52302f87SNuno Sá specific to toggle enabled channels and refers to the DAC output 76*52302f87SNuno Sá code in INPUT_A (_raw0) and INPUT_B (_raw1). The same scale and offset 77*52302f87SNuno Sá as in out_voltageY_raw applies. 78*52302f87SNuno Sá 79*52302f87SNuno SáWhat: /sys/bus/iio/devices/iio:deviceX/out_voltageY_symbol 80*52302f87SNuno SáKernelVersion: 5.18 81*52302f87SNuno SáContact: linux-iio@vger.kernel.org 82*52302f87SNuno SáDescription: 83*52302f87SNuno Sá Performs a SW toggle. This attribute is specific to toggle 84*52302f87SNuno Sá enabled channels and allows to toggle between out_voltageY_raw0 85*52302f87SNuno Sá and out_voltageY_raw1 through software. Writing 0 will select 86*52302f87SNuno Sá out_voltageY_raw0 while 1 selects out_voltageY_raw1. 87