[PATCH] staging:iio:ad7150: fix threshold mode config bit

2019-05-18 Thread Melissa Wen
According to the AD7150 configuration register description, bit 7 assumes value 1 when the threshold mode is fixed and 0 when it is adaptive, however, the operation that identifies this mode was considering the opposite values. This patch renames the boolean variable to describe it correctly and p

[PATCH] staging: iio: ad9834: add of_device_id table

2019-05-18 Thread João Victor Marques de Oliveira
Add a of_device_id struct array of_match_table variable and subsequent call to MODULE_DEVICE_TABLE macro to device tree support. Co-developed-by: Thiago L. A. Miller Signed-off-by: Thiago L. A. Miller Co-developed-by: Osvaldo M. Yasuda Signed-off-by: Osvaldo M. Yasuda Signed-off-by: João Victo

[PATCH 2/2] staging: iio: cdc: ad7150: create macro for capacitance channels

2019-05-18 Thread Bárbara Fernandes
Create macro for capacitance channels in order to remove the repeated code and improve its readability. Signed-off-by: Bárbara Fernandes Signed-off-by: Wilson Sales Co-developed-by: Wilson Sales --- drivers/staging/iio/cdc/ad7150.c | 29 - 1 file changed, 12 inserti

[RESEND PATCH] staging: iio: ad7192: create of_device_id array

2019-05-18 Thread Bárbara Fernandes
Create list of compatible device ids to be matched with those stated in the device tree. Signed-off-by: Bárbara Fernandes Signed-off-by: Wilson Sales Co-developed by: Wilson Sales --- drivers/staging/iio/adc/ad7192.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/sta

[RESEND PATCH] staging: iio: adt7316: create of_device_id array

2019-05-18 Thread Bárbara Fernandes
Create structure of type of_device_id in order to register all devices the driver is able to manage. Signed-off-by: Bárbara Fernandes Signed-off-by: Wilson Sales Co-developed-by: Wilson Sales --- drivers/staging/iio/addac/adt7316-spi.c | 13 + 1 file changed, 13 insertions(+) diff

[RESEND PATCH 0/2] Enhance dt support and channel creation

2019-05-18 Thread Bárbara Fernandes
This series of patches set a struct of_device_id with all the devices this driver is able to manage and also add a macro to facilitate channel creation for its two capacitance channels. Bárbara Fernandes (2): staging: iio: cdc: ad7150: create of_device_id array staging: iio: cdc: ad7150: creat

[PATCH 1/2] staging: iio: cdc: ad7150: create of_device_id array

2019-05-18 Thread Bárbara Fernandes
Create structure of type of_device_id in order to register all devices the driver is able to manage. Signed-off-by: Bárbara Fernandes Signed-off-by: Melissa Wen Co-developed-by: Melissa Wen Signed-off-by: Wilson Sales Co-developed-by: Wilson Sales --- drivers/staging/iio/cdc/ad7150.c | 10 ++

[PATCH] staging: iio: adis16203: Add of_device_id table

2019-05-18 Thread Thiago Estrela
Accomplish device tree compatibility to driver ADIS16203 by adding of_device_id table and making a subsequent call to MODULE_DEVICE_TABLE. Signed-off-by: Thiago Estrela Signed-off-by: Tiago Napoli Co-developed-by: Tiago Napoli Signed-off-by: Pedro Sousa Co-developed-by: Pedro Sousa Reviewed-b

[PATCH] dt-bindings: iio: adc: add adi,ad7780.yaml binding

2019-05-18 Thread Renato Lui Geh
This patch adds a YAML binding for the Analog Devices AD7780/1 and AD7170/1 analog-to-digital converters. Signed-off-by: Renato Lui Geh --- .../bindings/iio/adc/adi,ad7780.txt | 48 --- .../bindings/iio/adc/adi,ad7780.yaml | 85 +++ 2 files changed, 85 in

[PATCH] staging: iio: ad7746: add device tree support

2019-05-18 Thread João Seckler
Add a of_device_id struct variable and subsequent call to MODULE_DEVICE_TABLE macro to support device tree. Signed-off-by: João Seckler Signed-off-by: Lucas Oshiro Co-developed-by: Lucas Oshiro --- drivers/staging/iio/cdc/ad7746.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a

[PATCH 2/2] staging: iio: ad2s1210: Add devicetree yaml doc

2019-05-18 Thread Tallys Martins
The driver currently has no devicetree documentation. This commit adds a devicetree folder and documentation for it. Documentation must be moved as well when the driver gets out of staging. Signed-off-by: Tallys Martins Signed-off-by: Souza Guilherme Co-developed-by: Souza Guilherme --- .../Do

[PATCH 1/2] staging: iio: ad2s1210: Destroy mutex at remove

2019-05-18 Thread Tallys Martins
Ensure the mutex will be destroyed on drive removal. Also adds mutex comment description. Signed-off-by: Tallys Martins Signed-off-by: Souza Guilherme Co-developed-by: Souza Guilherme --- drivers/staging/iio/resolver/ad2s1210.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --g

[PATCH v2] staging: iio: adis16240: add device to module device table

2019-05-18 Thread Lucas Oshiro
Add a of_device_id struct and MODULE_DEVICE_TABLE call, in order to add device-tree support for this driver. Signed-off-by: Lucas Oshiro Signed-off-by: Rodrigo Ribeiro Co-developed-by: Rodrigo Ribeiro --- drivers/staging/iio/accel/adis16240.c | 6 ++ 1 file changed, 6 insertions(+) diff -

Re: [PATCH] staging: iio: adis16240: add device to module device table

2019-05-18 Thread Fabio Estevam
Hi Lucas, On Sat, May 18, 2019 at 6:01 PM Lucas Oshiro wrote: > > Add a of_device_id struct and MODULE_DEVICE_TABLE call. Please provide an explanation as to why you are doing this. Thanks ___ devel mailing list de...@linuxdriverproject.org http://dri

[PATCH] staging: iio: adis16240: add device to module device table

2019-05-18 Thread Lucas Oshiro
Add a of_device_id struct and MODULE_DEVICE_TABLE call. Signed-off-by: Lucas Oshiro Signed-off-by: Rodrigo Ribeiro Co-developed-by: Rodrigo Ribeiro --- drivers/staging/iio/accel/adis16240.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/staging/iio/accel/adis16240.c b/drive

Re: [PATCH] staging: media: imx: fix Unneeded variable: "ret". Return "0"

2019-05-18 Thread Fabio Estevam
On Sat, May 18, 2019 at 2:38 PM Hariprasad Kelam wrote: > > fix below warning reported by coccichec > > drivers/staging/media/imx/imx-media-capture.c:617:5-8: Unneeded > variable: "ret". Return "0" on line 630 > > Signed-off-by: Hariprasad Kelam Reviewed-by: Fabio Estevam Thanks _

[PATCH] staging: iio: ad9832: Add device tree support

2019-05-18 Thread João Seckler
Add a of_device_id struct variable and subsequent call to MODULE_DEVICE_TABLE macro to support device tree. Signed-off-by: João Seckler Signed-off-by: Anderson Reis Co-developed-by: Anderson Reis Signed-off-by: Andre Tadeu de Carvalho Co-developed-by: Andre Tadeu de Carvalho --- drivers/sta

Re: Investment Opportunity

2019-05-18 Thread Barrister Dawson
Good Day, I am Barrister Geoffrey Dawson, legal Attorney to the immediate past President of the Republic of South Africa Mr. Jacob G. Zuma. I am using this medium to request for your assistance and partnership of $50 Million business investment program. This fund is presently deposited with the

[PATCH] media: cedrus: Allow different mod clock rates

2019-05-18 Thread Jernej Skrabec
Some VPU variants may run at higher clock speeds. They actually need extra speed to be capable of decoding more complex codecs like HEVC or bigger image sizes (4K). Expand variant structure with mod_rate information. Signed-off-by: Jernej Skrabec --- drivers/staging/media/sunxi/cedrus/cedrus.c

[PATCH] staging: media: imx: fix Unneeded variable: "ret". Return "0"

2019-05-18 Thread Hariprasad Kelam
fix below warning reported by coccichec drivers/staging/media/imx/imx-media-capture.c:617:5-8: Unneeded variable: "ret". Return "0" on line 630 Signed-off-by: Hariprasad Kelam --- drivers/staging/media/imx/imx-media-capture.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH] staging: erofs: fix Warning Use BUG_ON instead of if condition followed by BUG

2019-05-18 Thread Hariprasad Kelam
fix below warning reported by coccicheck drivers/staging/erofs/unzip_pagevec.h:74:2-5: WARNING: Use BUG_ON instead of if condition followed by BUG. Signed-off-by: Hariprasad Kelam --- drivers/staging/erofs/unzip_pagevec.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dr

開发镖

2019-05-18 Thread fKax
187口2162口1564嶶 ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH 5/5] iio: adc: ad7606: Add debug mode for ad7616

2019-05-18 Thread Jonathan Cameron
On Thu, 16 May 2019 17:32:08 +0300 Beniamin Bia wrote: > Support for register access was added for spi devices. > > Signed-off-by: Beniamin Bia Looks fine. For my reference please add Acked-by: Jonathan Cameron > --- > drivers/iio/adc/ad7606.c | 25 + > 1 file change

Re: [PATCH 2/5] iio: adc: ad7606: Add software configuration

2019-05-18 Thread Jonathan Cameron
On Sat, 18 May 2019 11:07:49 +0100 Jonathan Cameron wrote: > On Thu, 16 May 2019 17:32:05 +0300 > Beniamin Bia wrote: > > > Because this driver will support multiple configurations for software, > > the software configuration was made generic. > > > > Signed-off-by: Beniamin Bia > Applied t

Re: [PATCH 1/5] iio: adc: ad7606: Move oversampling and scale options to chip info

2019-05-18 Thread Jonathan Cameron
On Sat, 18 May 2019 11:04:49 +0100 Jonathan Cameron wrote: > On Thu, 16 May 2019 17:32:04 +0300 > Beniamin Bia wrote: > > > The device dependent options which are going to be different for devices > > which will be supported in the future by this driver, > > were moved in chip info for a more

Re: [PATCH 4/5] iio: adc: ad7606: Add support for software mode for ad7616

2019-05-18 Thread Jonathan Cameron
On Thu, 16 May 2019 17:32:07 +0300 Beniamin Bia wrote: > Support for ad7616 running in software was added. In order > to activate the software mode, HW_RNGSEL pins must be pulled low. > Oversampling and input ranges are now configured in corresponding > registers. Ad7616 has multiple scale option

Re: [PATCH 3/5] iio: adc: ad7606: Make SPI register calculation generic and add spi support

2019-05-18 Thread Jonathan Cameron
On Thu, 16 May 2019 17:32:06 +0300 Beniamin Bia wrote: > In order to support AD7616 software mode, the spi register access must be > added and the calculation of registers address must be generic. > The length of address and bit which specifies the read/write operation is > different for every de

Re: [PATCH 2/5] iio: adc: ad7606: Add software configuration

2019-05-18 Thread Jonathan Cameron
On Thu, 16 May 2019 17:32:05 +0300 Beniamin Bia wrote: > Because this driver will support multiple configurations for software, > the software configuration was made generic. > > Signed-off-by: Beniamin Bia Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders t

Re: [PATCH 1/5] iio: adc: ad7606: Move oversampling and scale options to chip info

2019-05-18 Thread Jonathan Cameron
On Thu, 16 May 2019 17:32:04 +0300 Beniamin Bia wrote: > The device dependent options which are going to be different for devices > which will be supported in the future by this driver, > were moved in chip info for a more generic driver. This patch allows > supporting more devices by the driver

Re: binder stress testing

2019-05-18 Thread Dmitry Vyukov
On Fri, May 17, 2019 at 8:34 PM Todd Kjos wrote: > > On Fri, May 17, 2019 at 5:51 PM Dmitry Vyukov wrote: > > > > > > > > > > > > From: Dmitry Vyukov > > > > > > Date: Fri, May 17, 2019 at 3:26 AM > > > > > > To: Greg Kroah-Hartman, Arve Hjønnevåg, Todd Kjos, Martijn Coenen, > > > > > > Joel Fer