On Fri, 21 Dec 2018 14:46:35 +0100, Philippe Schenker wrote: > From: Stefan Agner <stefan@xxxxxxxx> > > This adds the devicetree bindings for the STMPE ADC. This also corrects > a typo in st,sample-time it is rather "6 -> 124 clocks" according > to the datasheet and not 144. > We need to use the naming stmpe_adc in devicetree because this is given > by the mfd device. > > Signed-off-by: Stefan Agner <stefan@xxxxxxxx> > Signed-off-by: Max Krummenacher <max.krummenacher@xxxxxxxxxxx> > Signed-off-by: Philippe Schenker <philippe.schenker@xxxxxxxxxxx> > Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> > > --- > > Changes in v5: > - Made a one column list > - Cleared note about precedence > - Changed example to a full STMPE811 device with MFD, touchscreen, and the new > stmpe_adc driver. > - Added Jonathan Cameron's Reviewed-by > > Changes in v4: > - Put reformatting in a separate precursor patch. > > Changes in v3: > - Reformatted documentation for touchscreen to use tabs and have a better > overview of the settings. > - Added note which adc-settings will take precedence. > - changed typo in sample-time setting from 144 clocks to 124 clocks, as stated > in the datasheet. > > Changes in v2: > - Moved the bindings for ADC to the overlying mfd. > - Reformatted for better readability > > .../devicetree/bindings/iio/adc/stmpe-adc.txt | 21 +++++ > .../bindings/input/touchscreen/stmpe.txt | 88 +++++++++++++------ > .../devicetree/bindings/mfd/stmpe.txt | 14 +++ > 3 files changed, 98 insertions(+), 25 deletions(-) > create mode 100644 Documentation/devicetree/bindings/iio/adc/stmpe-adc.txt > Reviewed-by: Rob Herring <robh@xxxxxxxxxx>