aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-11-22dt-bindings:iio:impedance-analyzer:adi,ad5933 yaml conversion.Jonathan Cameron2-26/+59
The example in this one had a completely wrong compatible so I've fixed that. Otherwise, a fairly simple conversion. Note the driver itself is still in staging. Looking back at the last discussion around this, I think we were just waiting for some test results on some refactors. As such the binding should be stable even if the driver might need a little more love and attention. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Marcelo Schmitt <[email protected]> Cc: Gabriel Capella <[email protected]> Cc: Alexandru Ardelean <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-22dt-bindings:iio:potentiometer:microchip,mcp41010 txt to yaml conversionJonathan Cameron2-28/+48
A simple binding that I almost just move to trivial devices. The small amount of additional documentation and relatively large number of compatible entries convinced me to suggest we keep this one separately documented. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Chris Coffey <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-22dt-bindings:iio:potentiometer:adi,ad5272 yaml conversionJonathan Cameron2-27/+50
Simple direct conversion from txt to yaml as part of a general aim of converting all IIO bindings to this machine readable format. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Reviewed-by: Phil Reid <[email protected]> Cc: Phil Reid <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-22dt-bindings:iio:potentiometer:microchip,mcp4131 txt to yaml conversionJonathan Cameron2-84/+103
This binding is very simple, but I think the very large number of compatible values make it unsuitable for moving to trivial-devices.yaml. Main change in the conversion was reordering the compatible list to numerical order. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Reviewed-by: Slawomir Stepien <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-22dt-bindings:iio:resolver:adi,ad2s90: Conversion of binding to yaml.Jonathan Cameron2-31/+60
Simple binding with a good description of why the spi-max-frequency is, in practice not as high as the datasheet implies. I've set the maximum as per the value established in the description. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Matheus Tavares <[email protected]> Cc: Alexandru Ardelean <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-21iio: core: return -EINVAL when no ioctl handler has been runAlexandru Ardelean1-0/+3
It seems that when this was tested the happy case was more tested. A few of the userspace apps rely on this returning negative error codes in case an ioctl() is not available. When running multiple ioctl() handlers or when calling an ioctl() that doesn't exist, IIO_IOCTL_UNHANDLED is returned. In that case -EINVAL should be returned. Fixes: 8dedcc3eee3a ("iio: core: centralize ioctl() calls to the main chardev") Signed-off-by: Alexandru Ardelean <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
2020-11-21iio: core: organize buffer file-ops in the order defined in the structAlexandru Ardelean1-4/+4
The change is mostly cosmetic. This organizes the order of assignment of the members of 'iio_buffer_fileops' to be similar to the one as defined in the 'struct file_operations' type. Signed-off-by: Alexandru Ardelean <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
2020-11-21iio: accel: adis16209: remove unneeded spi_set_drvdata()Alexandru Ardelean1-1/+0
There is no matching spi_get_drvdata() in the driver. This looks like a left-over from before the driver was converted to device-managed functions. Signed-off-by: Alexandru Ardelean <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
2020-11-21iio: accel: adis16201: remove unneeded spi_set_drvdata()Alexandru Ardelean1-1/+0
There is no matching spi_get_drvdata() in the driver. This looks like a left-over from before the driver was converted to device-managed functions. Signed-off-by: Alexandru Ardelean <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
2020-11-21iio: adc: ad7292: remove unneeded spi_set_drvdata()Alexandru Ardelean1-2/+0
This seems to have been copied from a driver that calls spi_set_drvdata() but doesn't call spi_get_drvdata(). Setting a private object on the SPI device's object isn't necessary if it won't be accessed. This change removes the spi_set_drvdata() call. Signed-off-by: Alexandru Ardelean <[email protected]> Tested-by: Marcelo Schmitt <[email protected]> Reviewed-by: Marcelo Schmitt <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
2020-11-21iio: adc: cpcap: Fix fall-through warnings for ClangGustavo A. R. Silva1-0/+1
In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning by explicitly adding a break statement instead of letting the code fall through to the next case. Signed-off-by: Gustavo A. R. Silva <[email protected]> Link: https://github.com/KSPP/linux/issues/115 Link: https://lore.kernel.org/r/b3c1c3f9c76f2f0e832f956587f227e44af57d3d.1605896060.git.gustavoars@kernel.org Signed-off-by: Jonathan Cameron <[email protected]>
2020-11-21iio: buffer: remove iio_buffer_set_attrs() helperAlexandru Ardelean2-15/+0
The iio_buffer_set_attrs() is no longer used in the drivers, so it can be removed now. Signed-off-by: Alexandru Ardelean <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
2020-11-21iio: hid-sensors: use iio_triggered_buffer_setup_ext()Alexandru Ardelean1-13/+9
This change switches to the new iio_triggered_buffer_setup_ext() function and removes the iio_buffer_set_attrs() call, for assigning the HW FIFO attributes to the buffer. Signed-off-by: Alexandru Ardelean <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
2020-11-21iio: cros_ec: use devm_iio_triggered_buffer_setup_ext()Alexandru Ardelean1-6/+9
This change switches to the new devm_iio_triggered_buffer_setup_ext() function and removes the iio_buffer_set_attrs() call, for assigning the HW FIFO attributes to the buffer. Signed-off-by: Alexandru Ardelean <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
2020-11-21iio: adc: at91-sama5d2_adc: use devm_iio_triggered_buffer_setup_ext()Alexandru Ardelean1-4/+8
This change switches to the new devm_iio_triggered_buffer_setup_ext() function and removes the iio_buffer_set_attrs() call, for assigning the HW FIFO attributes to the buffer. Signed-off-by: Alexandru Ardelean <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
2020-11-21iio: accel: bmc150: use iio_triggered_buffer_setup_ext()Alexandru Ardelean1-11/+14
This change switches to the new iio_triggered_buffer_setup_ext() function and removes the iio_buffer_set_attrs() call, for assigning the HW FIFO attributes to the buffer. Signed-off-by: Alexandru Ardelean <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
2020-11-21iio: accel: adxl372: use devm_iio_triggered_buffer_setup_ext()Alexandru Ardelean1-6/+5
This change switches to the new devm_iio_triggered_buffer_setup_ext() function and removes the iio_buffer_set_attrs() call, for assigning the HW FIFO attributes to the buffer. Signed-off-by: Alexandru Ardelean <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
2020-11-21iio: triggered-buffer: add {devm_}iio_triggered_buffer_setup_ext variantsAlexandru Ardelean2-19/+35
This change adds a parameter to the {devm_}iio_triggered_buffer_setup() functions to assign the extra sysfs buffer attributes that are typically assigned via iio_buffer_set_attrs(). The functions also get renamed to iio_triggered_buffer_setup_ext() & devm_iio_triggered_buffer_setup_ext(). For backwards compatibility the old {devm_}iio_triggered_buffer_setup() functions are now macros wrap the new (renamed) functions with NULL for the buffer attrs. The aim is to remove iio_buffer_set_attrs(), so in the iio_triggered_buffer_setup_ext() function the attributes are assigned directly to 'buffer->attrs'. When adding multiple IIO buffers per IIO device, it can be pretty cumbersome to first allocate a set of buffers, then to dig them out of IIO to assign extra attributes (with iio_buffer_set_attrs()). Naturally, the best way would be to provide them at allocation time, which is what this change does. At this moment, buffers allocated with {devm_}iio_triggered_buffer_setup() are the only ones in mainline IIO to call iio_buffer_set_attrs(). Signed-off-by: Alexandru Ardelean <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
2020-11-21iio: adc: at91-sama5d2_adc: merge buffer & trigger init into a functionAlexandru Ardelean1-42/+36
This change is mostly cosmetic, but it's also a pre-cursor to the the change for 'iio_buffer_set_attrs()', where the helper gets updated to better support multiple IIO buffers for 1 IIO device. The only functional change is that the error message for the trigger alloc failure is bound to the parent device vs the IIO device object. Also, the new at91_adc_buffer_and_trigger_init() function was moved after the definition of the 'at91_adc_fifo_attributes'. Signed-off-by: Alexandru Ardelean <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
2020-11-21iio: buffer: dmaengine: unwrap the use of iio_buffer_set_attrs()Alexandru Ardelean1-2/+1
The iio_buffer_set_attrs() helper will be removed in this series. So, just assign the attributes of the DMAEngine buffer logic directly. This is IIO buffer core context, so there is direct access to the buffer->attrs object. Signed-off-by: Alexandru Ardelean <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
2020-11-16dt-bindings:iio:accel:domintech,dmard06: Move to trivial-devices.yamlJonathan Cameron2-19/+6
No need to maintain a separate document for such a simple binding. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:magnetometer:memsic,mmc35240: move to trivial-devices.yamlJonathan Cameron2-13/+2
Extremely simple binding so no need to maintain a separate file. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Jandy Gou <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:light:renesas,isl29501: Move to trivial devices.Jonathan Cameron2-13/+2
This binding is so simple there is no obvious advantage in maintaining a separate binding doc file for it. As such, move it to trivial-devices.yaml Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Simon Horman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:potentiometer:maxim,max5481 move to trivial devicesJonathan Cameron2-23/+8
Simple SPI binding that doesn't need a separate file. During conversion I looked up the individual part number descriptions in the datasheet so that we could give slightly more detail in trivial-device.yaml. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Slawomir Stepien <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Maury Anderson <[email protected]> Cc: Matthew Weber <[email protected]> Cc: Slawomir Stepien <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:potentiometer:maxim,ds1803 move to trivial devices.Jonathan Cameron2-21/+6
Simple binding where there is no obvious benefit in maintaining a separate file. Hence document in trivial-devices.yaml and drop the txt file. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Slawomir Stepien <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Slawomir Stepien <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:chemical:bosch,bme680: Move to trivial devicesJonathan Cameron2-11/+2
Very simple binding so no need to maintain a separate file. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Sebastien Bourdelin <[email protected]> Cc: Himanshu Jha <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:chemical:sensirion,sgp30: Move to trivial-bindings.yamlJonathan Cameron2-15/+4
The binding for this device and the sgpc3 is very simple so lets not maintain a seperate document for this one. Of course we can always add a document again if the binding becomes more complex in future. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Andreas Brauchli <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:temperature:ti,tmp07 yaml conversionJonathan Cameron2-33/+57
Simple conversion from txt to yaml. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Acked-by: Manivannan Sadhasivam <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:temperature:maxim_thermocouple.txt to maxim,max31855k.yamlJonathan Cameron2-24/+76
Given we already have another maxim thermocouple driver that isn't covered by this binding it seems a better idea to chose to name it after a specific part. I added an additional example for the maxim,max6755 to illustrate the need for spi-cpha for that part. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Acked-by: Matt Ranostay <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:temperature:maxim,max31856 yaml conversion.Jonathan Cameron2-24/+54
Simple txt to yaml conversion of this binding. Paresh Chaudhary's email is bouncing so for now I've listed myself as maintainer. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:temperature:meas,tsys01 move to trivial-devices.yamlJonathan Cameron2-19/+2
The existing binding description brings little value and the similar meas,* parts are in trivial-devices.yaml so move this one there to join them. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Acked-by: Manivannan Sadhasivam <[email protected]> Cc: Manivannan Sadhasivam <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:temperature:melexis,mlx90632 conversion to yamlJonathan Cameron2-28/+55
Technically this could have gone in trivial-devices.yaml, but I have kept it as a separate binding due to the detailed additional description from the text file. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Acked-by: Crt Mori <[email protected]> Cc: Crt Mori <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:temperature:melexis,mlx90614 yaml conversionJonathan Cameron2-24/+50
Simple conversion from txt to yaml. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Acked-by: Crt Mori <[email protected]> Cc: Peter Meerwald <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:dac:adi,ad5758 yaml conversionJonathan Cameron2-83/+129
I have put Michael as maintainer on this one. Happy to change it to someone else though. One issue in here, is I cannot have an example with a negative limit on the range. There are very few such yaml bindings in existence but the thermal-zones.yaml has the same problem. If there is any means of fixing this let me know. For now I'm sticking to positive range values in the example. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Michael Hennerich <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:dac:nxp,lpc1850-dac yaml conversion.Jonathan Cameron2-19/+58
Very similar binding to that for the ADC on the same device. Conversion from txt to yaml format. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Acked-by: Vladimir Zapolskiy <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:dac:maxim,max5821 yaml conversionJonathan Cameron2-14/+44
Simple txt to yaml conversion for this binding description. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Philippe Reynes <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:dac:microchip,mcp4725 yaml conversionJonathan Cameron2-35/+71
I'm not sure vdd-supply absolutely has to be provided if vref-supply is, but as the previous binding docs stated it was required it seems reasonable to leave it as such. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Tomas Novotny <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:dac:fsl,vf610-dac yaml conversionJonathan Cameron2-20/+55
Simple binding to convert. Example expanded a little to include an example bus. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Sanchayan Maity <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:dac:maxim,ds4424 yaml conversionJonathan Cameron2-20/+45
Simple conversion of this straight forward binding. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Ismail H. Kose <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
2020-11-16dt-bindings:iio:dac:adi,ad7303 yaml conversionJonathan Cameron2-23/+50
Converted to maintain the requirement for Vdd-supply as per original file. It is possible we could relax this requirement to make it at least one of Vdd-supply and REF-supply. We need to establish the scaling of the output channel and if REF-supply is provided that is used instead of Vdd-supply, hence I cannot see why a dummy regulator cannot be used for Vdd-supply if this happens. For now, let us keep it simple. Drop adi,use-external-reference from binding example as no such binding exists. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Lars-Peter Clausen <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:dac:ti,dac7612 yaml conversionJonathan Cameron2-28/+53
Simple conversion from txt to yaml. No significant adjustments. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Acked-by: Ricardo Ribalda Delgado <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:dac:ti,dac7512 yaml conversionJonathan Cameron2-20/+42
This one is a bit interesting because the binding was moved from misc a while back, but the linux support for this device is provided via the ad5446 DAC driver which doesn't currently have a binding. For now, lets just convert this file over, but we may want to think about consolidating this with proper documentation of the bindings for the other parts supported by the ad5446 driver. As Daniel Mack does not seem to have been active since 2015, I've put myself as maintainer of this binding for now. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:dac:ti,dac7311 yaml conversionJonathan Cameron2-23/+49
Very simple conversion of this binding from txt to yaml. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Charles-Antoine Couret <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:dac:ti,dac5571 yaml conversion.Jonathan Cameron2-24/+52
A few tweaks in this conversion. * The example didn't have the I2C address of 4C in the node name so fixed that. * The reference voltage in the txt file is an optional binding, but the driver is making use of it to provide the scaling of the output channels. As such I have made it required going forwards. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Acked-by: Sean Nyekjaer <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:proximity:ams,as3935 yaml conversionJonathan Cameron2-34/+71
A straight forward conversion of this binding. I have added a maximum SPI frequency from the datasheet. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Acked-by: Matt Ranostay <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:proximity:st,vl53l0x yaml conversionJonathan Cameron2-18/+42
Straight forward conversion from txt to yaml. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Song Qiang <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:proximity:semtech,sx9500 yaml conversion.Jonathan Cameron2-23/+50
Simple conversion. There hasn't been much activity around this driver for a long time and I don't think I have any up to date contact details for the original authors. As such, I've listed myself as the binding maintainer. More than happy to hand it off to someone more relevant though! Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:pressure:hoperf,hp03 yaml conversionJonathan Cameron2-17/+47
One quirk in the txt file was that the xclr gpio was specified as xclr-gpio rather than xclr-gpios. I've fixed that in the yaml version. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Marek Vasut <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:pressure:meas,ms5611 yaml conversion.Jonathan Cameron2-19/+57
One addition here was to put in a 20MHz maximum for the SPI bus as specified in the datasheets of both support parts. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Tomasz Duszynski <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:pressure:murata,zpa2326 yaml conversionJonathan Cameron2-29/+62
Simple conversion with a few minor tweaks: * I added 1MHz max for spi-max-frequency * I have give myself as the maintainer. This driver was written by Gregor Boirie but I don't have an up to date email address for Gregor. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected]