[PATCH v24 16/16] dt: bindings: Update lp55xx binding to recommended LED naming

2020-05-03 Thread Dan Murphy
Update the LP55xx DT binding examples to the recommended node naming convention. There are no changes to the DT properties. Acked-by: Pavel Machek Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy CC: Rob Herring CC: Tony Lindgren CC: "Benoît Cousson" CC: Linus Walleij CC: Shawn Guo CC

[PATCH] i2c: altera: Remove superfluous error message in altr_i2c_probe()

2020-05-03 Thread Aishwarya Ramakrishnan
The function platform_get_irq can log an error by itself. This omit a redundant message for exception handling in the calling function. Suggested by Coccinelle. Signed-off-by: Aishwarya Ramakrishnan --- drivers/i2c/busses/i2c-altera.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) di

Grant(info)

2020-05-03 Thread Mr. X
Lieber Bewohner, lieber Die DBZ Project Foundation hat 25 Millionen US-Dollar für Notfallzuschüsse für kleine Unternehmen und einzelne Projekte bereitgestellt. Der Betrag variiert zwischen 300.000,00 USD und 800.000,00 USD pro Antragsteller. Die Bewerbung beginnt am 27. April unter folgender E-

Re: [PATCH v2 1/2] iio: Move scan mask management to the core

2020-05-03 Thread Jonathan Cameron
On Wed, 29 Apr 2020 18:17:39 +0300 Alexandru Ardelean wrote: > From: Lars-Peter Clausen > > Let the core handle the buffer scan mask management including allocation > and channel selection. Having this handled in a central place rather than > open-coding it all over the place will make it easie

Re: [PATCH v7 01/12] dt-bindings: add img,pvrsgx.yaml for Imagination GPUs

2020-05-03 Thread Paul Cercueil
Hi Nikolaus, Le sam. 2 mai 2020 à 22:26, H. Nikolaus Schaller a écrit : Hi Paul, Am 26.04.2020 um 15:11 schrieb Paul Cercueil : Hi Nikolaus, Le ven. 24 avril 2020 à 22:34, H. Nikolaus Schaller a écrit : The Imagination PVR/SGX GPU is part of several SoC from multiple vendors, e.g.

Re: [PATCH v2] checkpatch: fix can't check for too long invalid commit id

2020-05-03 Thread Markus Elfring
> it willn't warn anything about it due to 41+ length commit will never I suggest to reconsider also this wording. Alternatives: * will not * won't > This patch moves the unknown commit id check for normal commit description > to GIT_COMMIT_ID, and uses ERROR instead of WARN, because unknown co

Re: [PATCH 0/4] Introduce the Counter character device interface

2020-05-03 Thread Jonathan Cameron
On Sun, 3 May 2020 11:23:16 +0200 Greg Kroah-Hartman wrote: > On Sat, May 02, 2020 at 05:55:36PM +0100, Jonathan Cameron wrote: > > On Fri, 1 May 2020 11:46:10 -0400 > > William Breathitt Gray wrote: > > > > > On Thu, Apr 30, 2020 at 10:13:45PM +0200, Alexandre Belloni wrote: > > > > Hi, >

RE: [PATCH v2 0/2] Replace and improve "mcsafe" with copy_safe()

2020-05-03 Thread David Laight
From: Linus Torvalds > Sent: 01 May 2020 19:29 ... > And as DavidL pointed out - if you ever have "iomem" as a source or > destination, you need yet another case. Not because they can take > another kind of fault (although on some platforms you have the machine > checks for that too), but because t

Re: CONTACT MONEY GRAM FOR YOUR DAILY PAYMENT OF $5,000.00

2020-05-03 Thread Mrs. Susan Dansuki
-- Attention: Beneficiary, This is the second time we are notifying you about the statue of your compensation payment of ( $1,500,000.00). Be inform that We have been authorized by the United Nations Compensation Commission (UNCC) to release your compensation payment totaling the sum of US$1,500,

Re: [PATCH v4 14/18] static_call: Add static_cond_call()

2020-05-03 Thread Peter Zijlstra
On Sat, May 02, 2020 at 03:08:00PM +0200, Rasmus Villemoes wrote: > On 01/05/2020 22.29, Peter Zijlstra wrote: > > Extend the static_call infrastructure to optimize the following common > > pattern: > > > > if (func_ptr) > > func_ptr(args...) > > > > + > > #define static_call(nam

Re: [PATCH] checkpatch: add support for title acrosses three lines in commit id description

2020-05-03 Thread Markus Elfring
> The current GIT_COMMIT_ID will report error when the title in commit id > description acrosses three lines, … I suggest to improve the commit message (and subsequent Perl code) also according to the usage of the text “acrosses”. > This patch adds support for three lines title in the commit id

Re: [RFC PATCH] iommu/amd: fix a race in fetch_pte()

2020-05-03 Thread Qian Cai
> On Apr 29, 2020, at 7:20 AM, Joerg Roedel wrote: > > On Mon, Apr 20, 2020 at 09:26:12AM -0400, Qian Cai wrote: >> No dice. There could be some other races. For example, > > Can you please test this branch: > > > https://git.kernel.org/pub/scm/linux/kernel/git/joro/linux.git/log/?h=a

RE: [PATCH] epoll: ensure ep_poll() doesn't miss wakeup events

2020-05-03 Thread David Laight
From: Jason Baron > Sent: 01 May 2020 20:16 > > Now that the ep_events_available() check is done in a lockless way, and > we no longer perform wakeups from ep_scan_ready_list(), we need to ensure > that either ep->rdllist has items or the overflow list is active. Prior to: > commit 339ddb53d373 ("f

Re: [PATCH v2] iio: bmp280: fix compensation of humidity

2020-05-03 Thread Jonathan Cameron
On Wed, 29 Apr 2020 20:48:54 +0200 Andreas Klinger wrote: > Output of humidity compensation is limited to the range between 0 and > 100 percent. Add this to the compensation formula as described in the > datasheet chapter 4.2.3. More details needed... 1. Fixes tag 2. What is the result of this

[PATCH] i2c: img-scb: Use devm_platform_ioremap_resource and remove superfluous error message.

2020-05-03 Thread Aishwarya Ramakrishnan
Use the helper function that wraps the calls to platform_get_resource() and devm_ioremap_resource() together. The function platform_get_irq can log an error by itself. Omit a redundant message for exception handling in the calling function. Suggested by coccinelle. Signed-off-by: Aishwarya Ramak

Re: [PATCH] iio: imu: adis16xxx: use helper to access iio core debugfs dir

2020-05-03 Thread Jonathan Cameron
On Thu, 30 Apr 2020 11:53:08 + "Sa, Nuno" wrote: > > From: Alexandru Ardelean > > Sent: Donnerstag, 30. April 2020 13:04 > > To: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org > > Cc: Bogdan, Dragos ; Sa, Nuno > > ; ji...@kernel.org; Ardelean, Alexandru > > > > Subject: [PATCH] iio

Re: [PATCH 0/4] Introduce the Counter character device interface

2020-05-03 Thread William Breathitt Gray
On Sun, May 03, 2020 at 01:54:58PM +0100, Jonathan Cameron wrote: > On Sun, 3 May 2020 11:23:16 +0200 > Greg Kroah-Hartman wrote: > > > On Sat, May 02, 2020 at 05:55:36PM +0100, Jonathan Cameron wrote: > > > On Fri, 1 May 2020 11:46:10 -0400 > > > William Breathitt Gray wrote: > > > > > > > O

Re: [PATCH] iio: adc: stm32-dfsdm: fix device used to request dma

2020-05-03 Thread Jonathan Cameron
On Thu, 30 Apr 2020 11:28:46 +0200 Fabrice Gasnier wrote: > DMA channel request should use device struct from platform device struct. > Currently it's using iio device struct. But at this stage when probing, > device struct isn't yet registered (e.g. device_register is done in > iio_device_regist

[PATCH] i2c: cht-wc: Remove superfluous error message in cht_wc_i2c_adap_i2c_probe()

2020-05-03 Thread Aishwarya Ramakrishnan
The function platform_get_irq can log an error by itself. This omit a redundant message for exception handling in the calling function. Suggested by Coccinelle. Signed-off-by: Aishwarya Ramakrishnan --- drivers/i2c/busses/i2c-cht-wc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) di

[PATCH] habanalabs: add missing MODULE_DEVICE_TABLE

2020-05-03 Thread Oded Gabbay
PCI drivers should use this define to declare their PCI ID table. Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/habanalabs_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/habanalabs/habanalabs_drv.c b/drivers/misc/habanalabs/habanalabs_drv.c index b670859c677a..5

[PATCH 4/5] staging: vt6655: return at the ond of case body

2020-05-03 Thread Matej Dujava
This patch will unify exit point for s_uGetDataDuration function. Signed-off-by: Matej Dujava --- drivers/staging/vt6655/rxtx.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index 61f7077bb75f

[PATCH 5/5] staging: vt6655: extract index manupulation out of function call

2020-05-03 Thread Matej Dujava
This patch will remove if/else by selecting proper argument before function call, also index is updated before function call. Signed-off-by: Matej Dujava --- drivers/staging/vt6655/rxtx.c | 27 +-- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/drivers/st

[PATCH 0/5] Cleaning s_uGetDataDuration function

2020-05-03 Thread Matej Dujava
This patch set will eliminate few checkpatch LONG_LINE errors. Simplify code paths by: - returning at the end of case body - removing unnecessary else branches Matej Dujava (5): staging: vt6655: merge two switch cases in s_uGetDataDuration staging: vt6655: do calculation of uAckTime first

Re: [PATCH] i2c: uniphier: Remove superfluous error message in uniphier_i2c_probe()

2020-05-03 Thread Wolfram Sang
On Sun, May 03, 2020 at 05:38:47PM +0530, Aishwarya Ramakrishnan wrote: > The function platform_get_irq can log an error by itself. > This omit a redundant message for exception handling in the > calling function. > > Suggested by Coccinelle. > > Signed-off-by: Aishwarya Ramakrishnan Please sen

[PATCH 3/5] staging: vt6655: remove else after return and invert condition

2020-05-03 Thread Matej Dujava
This patch will prepare us to make return at the end of case body Signed-off-by: Matej Dujava --- drivers/staging/vt6655/rxtx.c | 36 +-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c

[PATCH 2/5] staging: vt6655: do calculation of uAckTime first

2020-05-03 Thread Matej Dujava
This patch is extracting calculation of uAckTime in one place, at the start of case body. Signed-off-by: Matej Dujava --- drivers/staging/vt6655/rxtx.c | 33 +++-- 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/

[PATCH 1/5] staging: vt6655: merge two switch cases in s_uGetDataDuration

2020-05-03 Thread Matej Dujava
This patch will reuse code for two cases. Signed-off-by: Matej Dujava --- drivers/staging/vt6655/rxtx.c | 34 -- 1 file changed, 34 deletions(-) diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index 2f9c2ead3cb8..28f0cda36dec 100644 ---

RE: [PATCH] habanalabs: add missing MODULE_DEVICE_TABLE

2020-05-03 Thread Tomer Tayar
On Sun, May 3, 2020 at 16:24, Oded Gabbay wrote: > PCI drivers should use this define to declare their PCI ID table. > > Signed-off-by: Oded Gabbay Reviewed-by: Tomer Tayar

Re: [PATCH v7 01/12] dt-bindings: add img,pvrsgx.yaml for Imagination GPUs

2020-05-03 Thread H. Nikolaus Schaller
Hi Paul, > Am 03.05.2020 um 14:52 schrieb Paul Cercueil : > >>> It's possible to forbid the presence of the 'clocks' property on some >>> implementations, and require it on others. >> To be precise we have to specify the exact number of clocks (between 0 and >> 4) for every architecture. >> Thi

Re: [PATCH v4] eventfd: convert to f_op->read_iter()

2020-05-03 Thread Al Viro
On Fri, May 01, 2020 at 05:54:09PM -0600, Jens Axboe wrote: > On 5/1/20 5:12 PM, Al Viro wrote: > > On Fri, May 01, 2020 at 01:11:09PM -0600, Jens Axboe wrote: > >> + flags &= EFD_SHARED_FCNTL_FLAGS; > >> + flags |= O_RDWR; > >> + fd = get_unused_fd_flags(flags); > >>if (fd < 0) > >> -

Re: [PATCH v5] checkpatch: add support to check 'Fixes:' tag format

2020-05-03 Thread Markus Elfring
> “... Can the character “Horizontal ellipsis” (U+2026) be occasionally nicer instead of three separate dots? > The check supports below formats: I would prefer the explicit wording for the support of (Unicode) ellipses also in the shown commit titles. Will the document “submitting-patches.rst”

RE: [PATCH 1/4] fs: Implement close-on-fork

2020-05-03 Thread David Laight
From: Karstens, Nate > Sent: 01 May 2020 15:45 > Thanks for the suggestion. I looked into it and noticed that > do_close_on_exec() appears to have some > optimizations as well: > > > set = fdt->close_on_exec[i]; > > if (!set) > > continue; > > If we interleave the close-on-exec and close-on-

Re: [PATCH v7 0/5] iio: vcnl: Add interrupts support for VCNL4010/20.

2020-05-03 Thread Jonathan Cameron
On Sun, 3 May 2020 11:29:54 +0200 Mathieu Othacehe wrote: > Hello, > > Here's a v7 fixing Jonathan remarks. > Great thanks. All applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. Thanks, Jonathan > Thanks, > > Mathieu > > Changes from

Re: [PATCH 0/4] Introduce the Counter character device interface

2020-05-03 Thread Jonathan Cameron
On Wed, 29 Apr 2020 14:11:34 -0400 William Breathitt Gray wrote: > Over the past couple years we have noticed some shortcomings with the > Counter sysfs interface. Although useful in the majority of situations, > there are certain use-cases where interacting through sysfs attributes > can become

hello

2020-05-03 Thread Idris Omar
-- Sir / Madam, Hi Friend I am the accountant and auditing manager of the International Finance Bank Plc bf I want to transfer an abandoned sum of 10.5 millions USD to your account.50% will be for you. No risk involved. Contact me for more details. Kindly reply me back to my alternative email

Re: [PATCH v7 01/12] dt-bindings: add img,pvrsgx.yaml for Imagination GPUs

2020-05-03 Thread Paul Cercueil
Le dim. 3 mai 2020 à 15:31, H. Nikolaus Schaller a écrit : Hi Paul, Am 03.05.2020 um 14:52 schrieb Paul Cercueil : It's possible to forbid the presence of the 'clocks' property on some implementations, and require it on others. To be precise we have to specify the exact number of cloc

RE: [PATCH 0/4] Introduce the Counter character device interface

2020-05-03 Thread David Laight
From: Jonathan Cameron > Sent: 03 May 2020 15:13 ... > > The following are some questions I have about this patchset: > > > > 1. Should enums be used to represent standard counter component states > >(e.g. COUNTER_SIGNAL_LOW), or would these be better defined as int? > > > >These standard c

Re: [PATCH v6 1/2] dt-bindings: edac: al-mc-edac: Amazon's Annapurna Labs Memory Controller EDAC

2020-05-03 Thread Shenhar, Talel
On 4/28/2020 2:06 PM, Borislav Petkov wrote: On Mon, Feb 24, 2020 at 03:41:31PM +0200, Talel Shenhar wrote: Document Amazon's Annapurna Labs Memory Controller EDAC SoC binding. Signed-off-by: Talel Shenhar Reviewed-by: Rob Herring --- .../bindings/edac/amazon,al-mc-edac.yaml | 52 +++

RE: [PATCH v5 6/8] scsi: ufs: add LU Dedicated buffer mode support for WriteBooster

2020-05-03 Thread Avri Altman
> According to UFS specification, there are two WriteBooster mode of > operations: "LU dedicated buffer" mode and "shared buffer" mode. > In the "LU dedicated buffer" mode, the WriteBooster Buffer is > dedicated to a logical unit. > > If the device supports the "LU dedicated buffer" mode, this m

Re: [PATCH v5] checkpatch: add support to check 'Fixes:' tag format

2020-05-03 Thread Wang YanQing
On Sun, May 03, 2020 at 03:51:39PM +0200, Markus Elfring wrote: > > > … > > + $diagnostics .= "The title is too > > abbreviated, at least half of orignial commit title is necessary.\n"; > > Will the word “original” be more appropriate here? > (Why did you not i

Re: [PATCH v4] eventfd: convert to f_op->read_iter()

2020-05-03 Thread Jens Axboe
On 5/3/20 7:46 AM, Al Viro wrote: > On Fri, May 01, 2020 at 05:54:09PM -0600, Jens Axboe wrote: >> On 5/1/20 5:12 PM, Al Viro wrote: >>> On Fri, May 01, 2020 at 01:11:09PM -0600, Jens Axboe wrote: + flags &= EFD_SHARED_FCNTL_FLAGS; + flags |= O_RDWR; + fd = get_unused_fd_flags(fla

Re: [RFC PATCH 4/4] arm64: dts: imx8mm: Add GPU nodes for 2D and 3D core using Etnaviv

2020-05-03 Thread Adam Ford
On Thu, Apr 30, 2020 at 7:46 AM Schrempf Frieder wrote: > > From: Frieder Schrempf > > According to the documents, the i.MX8M-Mini features a GC320 and a > GCNanoUltra GPU core. Etnaviv detects them as: > > etnaviv-gpu 3800.gpu: model: GC600, revision: 4653 > etnaviv-gpu 38008

Re: [PATCH 0/3] Highmem support for 32-bit RISC-V

2020-05-03 Thread afzal mohammed
Hi Arnd, > On Tue, Apr 14, 2020 at 09:29:46PM +0200, Arnd Bergmann wrote: > > Another thing to try early is to move the vmlinux virtual address > > from the linear mapping into vmalloc space. This does not require > > LPAE either, but it only works on relatively modern platforms that > > don't ha

Re: [PATCH 0/4] Introduce the Counter character device interface

2020-05-03 Thread Jonathan Cameron
On Wed, 29 Apr 2020 15:21:05 -0500 David Lechner wrote: > On 4/29/20 1:11 PM, William Breathitt Gray wrote: > > Over the past couple years we have noticed some shortcomings with the > > Counter sysfs interface. Although useful in the majority of situations, > > there are certain use-cases where i

Re: [PATCH v2] staging: wilc1000: Increase the size of wid_list array

2020-05-03 Thread Ajay.Kathat
On 03/05/20 1:21 pm, Oscar Carter wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Increase by one the size of wid_list array as index variable can reach a > value of 5. If this happens, an out-of-bounds access is performed. > > Addresse

Re: [PATCH v5] checkpatch: add support to check 'Fixes:' tag format

2020-05-03 Thread Markus Elfring
>>> + "Please use git commit description style >>> '$prefix <$sha1_length_min+ chars of sha1> (\"<$title>\")' - ie: >>> '${init_char}" . substr($prefix, 1) . >>> + " $id (\"$description\")'\n" . >>> $diagnostics . $herecurr); >> >>

Re: [PATCH v7 01/12] dt-bindings: add img,pvrsgx.yaml for Imagination GPUs

2020-05-03 Thread Tony Lindgren
* Paul Cercueil [200503 14:19]: > You have a new SoC with a SGX, and you only need to enable one clock to get > it to work. So you create a devicetree node which receives only one clock. > > Turns out, that the bootloader was enabling the other 3 clocks, and since > the last release, it doesn't a

Re: [PATCH net v3] net: macb: fix an issue about leak related system resources

2020-05-03 Thread Nicolas.Ferre
On 03/05/2020 at 14:32, Dejin Zheng wrote: > A call of the function macb_init() can fail in the function > fu540_c000_init. The related system resources were not released > then. use devm_platform_ioremap_resource() to replace ioremap() > to fix it. > > Fixes: c218ad559020ff9 ("macb: Add support f

Re: [PATCH 0/4] Introduce the Counter character device interface

2020-05-03 Thread Jonathan Cameron
On Fri, 1 May 2020 11:46:10 -0400 William Breathitt Gray wrote: > On Thu, Apr 30, 2020 at 10:13:45PM +0200, Alexandre Belloni wrote: > > Hi, > > > > On 29/04/2020 14:11:34-0400, William Breathitt Gray wrote: > > > Over the past couple years we have noticed some shortcomings with the > > > Coun

Re: [PATCH 03/33] efi/libstub: Unify EFI call wrappers for non-x86

2020-05-03 Thread Guenter Roeck
Hi, On Fri, Apr 24, 2020 at 03:05:01PM +0200, Ard Biesheuvel wrote: > We have wrappers around EFI calls so that x86 can define special > versions for mixed mode, while all other architectures can use the > same simple definition that just issues the call directly. > In preparation for the arrival

[PATCH v2 08/11] power: bq25890: implement PRECHARGE_CURRENT property

2020-05-03 Thread Michał Mirosław
Report configured precharge current. Signed-off-by: Michał Mirosław --- drivers/power/supply/bq25890_charger.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/power/supply/bq25890_charger.c b/drivers/power/supply/bq25890_charger.c index ad0901fdceb6..b48685009048 100644 --- a/d

[PATCH v2 00/11] power: supply: bq25890: fix and extend

2020-05-03 Thread Michał Mirosław
This series consists of a set of fixes and enchancements to bq25890 driver. This is tested on a board using bq25896 as battery controller. Patches 1-3 are cleans up the code a bit, 4-6 fix property value reading, 7-9 add more information to be read from the chip, 10-11 add IBAT compensation suppor

[PATCH v2] dt-bindings: net: renesas,ether: Sort compatible string in increasing number of the SoC

2020-05-03 Thread Lad Prabhakar
Sort the items in the compatible string list in increasing number of SoC. Signed-off-by: Lad Prabhakar Reviewed-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven --- Changes for v2: * Included renesas,ether in subject instead of sh_eth. * Included Reviewed-by tags. Documentation/devicetr

[PATCH v2 04/11] power: bq25890: protect view of the chip's state

2020-05-03 Thread Michał Mirosław
Extend bq->lock over whole updating of the chip's state. Might get useful later for switching ADC modes correctly. Signed-off-by: Michał Mirosław --- drivers/power/supply/bq25890_charger.c | 82 -- 1 file changed, 26 insertions(+), 56 deletions(-) diff --git a/drivers/po

[PATCH v2 02/11] power: bq25890: simplify chip name property getter

2020-05-03 Thread Michał Mirosław
Driver rejects unknown chips early in the probe(), so when bq25890_power_supply_get_property() is made reachable, bq->chip_version will already be set to correct value - there is no need to check it again. Signed-off-by: Michał Mirosław --- drivers/power/supply/bq25890_charger.c | 19 ---

[PATCH v2 11/11] power: bq25890: document IBAT compensation DT properties

2020-05-03 Thread Michał Mirosław
Document newly introduced IBAT compensation settings. Signed-off-by: Michał Mirosław --- v2: initial version Signed-off-by: Michał Mirosław --- Documentation/devicetree/bindings/power/supply/bq25890.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/po

[PATCH v2 07/11] power: bq25890: implement CHARGE_TYPE property

2020-05-03 Thread Michał Mirosław
Report charging type based on recently read state. Signed-off-by: Michał Mirosław --- drivers/power/supply/bq25890_charger.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/power/supply/bq25890_charger.c b/drivers/power/supply/bq25890_charger.c index e4368d01396a..ad0

[PATCH v2 05/11] power: bq25890: fix ADC mode configuration

2020-05-03 Thread Michał Mirosław
Datasheet describes two modes for reading ADC measurements: 1. continuous, 1 Hz - enabled and started by CONV_RATE bit 2. one-shot - triggered by CONV_START bit In continuous mode, CONV_START is read-only and signifies an ongoing conversion. Change the code to follow the datasheet and really disa

[PATCH v2 03/11] power: bq25890: make property table const

2020-05-03 Thread Michał Mirosław
Property list should not change, so mark it const. Signed-off-by: Michał Mirosław --- drivers/power/supply/bq25890_charger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/supply/bq25890_charger.c b/drivers/power/supply/bq25890_charger.c index f9f29edadddc..c4

[PATCH v2 01/11] power: bq25890: remove redundant I2C bus check

2020-05-03 Thread Michał Mirosław
regmap initialization will check I2C adapter functionality. Remove redundant check in the driver. Signed-off-by: Michał Mirosław --- drivers/power/supply/bq25890_charger.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/power/supply/bq25890_charger.c b/drivers/power/supply/bq25

[PATCH v2 06/11] power: bq25890: update state on property read

2020-05-03 Thread Michał Mirosław
Edge interrupts from the charger may be lost or stuck in fault mode since probe(). Check if something changed everytime userspace wants some data. Signed-off-by: Michał Mirosław --- drivers/power/supply/bq25890_charger.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/power/suppl

[PATCH v2 09/11] power: bq25890: implement INPUT_CURRENT_LIMIT property

2020-05-03 Thread Michał Mirosław
Report REG00.IINLIM value as INPUT_CURRENT_LIMIT property. Signed-off-by: Michał Mirosław --- drivers/power/supply/bq25890_charger.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/power/supply/bq25890_charger.c b/drivers/power/supply/bq25890_charger.c index b4868500904

[PATCH v2 10/11] power: bq25890: support IBAT compensation

2020-05-03 Thread Michał Mirosław
Add configuration for compensation of IBAT measuring resistor in series with the battery. Signed-off-by: Michał Mirosław --- drivers/power/supply/bq25890_charger.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/drivers/power/supply/bq25890_charger.c b/drive

[PATCH 1/2] Revert "ALSA: hda/realtek: Fix pop noise on ALC225"

2020-05-03 Thread Kai-Heng Feng
This reverts commit 3b36b13d5e69d6f51ff1c55d1b404a74646c9757. Enable power save node breaks some systems with ACL225. Revert the patch and use a platform specific quirk for the original issue isntead. Fixes: 3b36b13d5e69 ("ALSA: hda/realtek: Fix pop noise on ALC225") BugLink: https://bugs.launchp

[PATCH 2/2] ALSA: hda/realtek - Fix S3 pop noise on Dell Wyse

2020-05-03 Thread Kai-Heng Feng
Commit 317d9313925c ("ALSA: hda/realtek - Set default power save node to 0") makes the ALC225 have pop noise on S3 resume and cold boot. The previous fix enable power save node universally for ALC225, however it makes some ALC225 systems unable to produce any sound. So let's only enable power sav

Re: [PATCH v10 00/11] Support ROHM BD99954 charger IC

2020-05-03 Thread Sebastian Reichel
Hi Mark, I think it's best to create an immutable branch for patches 1-5, which introduce the linear ranges helper. It can go into regulator and power-supply tree. Then I take patches 6-11 directly into power-supply. Do you want to create the immutable branch, or should I send you a pull request?

Re: [PATCH v6 3/6] iio: core: register chardev only if needed

2020-05-03 Thread Jonathan Cameron
On Mon, 27 Apr 2020 16:10:57 +0300 Alexandru Ardelean wrote: > The final intent is to localize all buffer ops into the > industrialio-buffer.c file, to be able to add support for multiple buffers > per IIO device. > > We only need a chardev if we need to support buffers and/or events. > > With

[PATCH v2 1/6] dt-bindings: Add vendor prefix for Shiratech Solutions

2020-05-03 Thread mani
From: Manivannan Sadhasivam This commit adds devicetree vendor prefix for Shiratech solutions, a SOM/embedded board manufacturing company. https://www.shiratech-solutions.com/ Signed-off-by: Manivannan Sadhasivam --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file change

[PATCH v2 4/6] ARM: dts: stm32: Add Stinger96 board support

2020-05-03 Thread mani
From: Manivannan Sadhasivam Stinger96 is a 96Boards IoT Extended edition board designed and manufactured by Shiratech solutions based on STM32MP1 SoC. Following are the features of this board: * 256MB DDR * 125MB NAND Flash * Onboard BG96 modem * 1x uSD * 2x USB (1 available as external connecto

[PATCH v2 2/6] ARM: dts: stm32: Add missing pinctrl entries for STM32MP15

2020-05-03 Thread mani
From: Manivannan Sadhasivam These pinctrl definitions will be used by Stinger96/IoTBox boards from Shiratech. Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 64 1 file changed, 64 insertions(+) diff --git a/arch/arm/boot/dts/stm32m

[PATCH v2 0/6] Add Stinger96 and IoT Box board support

2020-05-03 Thread mani
From: Manivannan Sadhasivam Hello, This series adds Stinger96 and IoT Box board support. These boards are based on STM32MP157A SoC, designed and manufactured by Shiratech solutions. The Stinger96 is a base board (96Boards IoT Extended edition) while IoT Box adds one mezzanine on top of it and s

[PATCH v2 5/6] dt-bindings: arm: stm32: Document IoT Box compatible

2020-05-03 Thread mani
From: Manivannan Sadhasivam Document devicetree compatible of Shiratech IoT Box. Signed-off-by: Manivannan Sadhasivam --- Documentation/devicetree/bindings/arm/stm32/stm32.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml b/Documen

[PATCH v2 3/6] dt-bindings: arm: stm32: Document Stinger96 compatible

2020-05-03 Thread mani
From: Manivannan Sadhasivam Document devicetree compatible of Shiratech Stinger96 board. Signed-off-by: Manivannan Sadhasivam --- Documentation/devicetree/bindings/arm/stm32/stm32.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml b

[PATCH v2 6/6] ARM: dts: stm32: Add IoT Box board support

2020-05-03 Thread mani
From: Manivannan Sadhasivam IoT Box is an IoT gateway device based on Stinger96 board powered by STM32MP1 SoC, designed and manufactured by Shiratech Solutions. This device makes use of Stinger96 board by having it as a base board with one additional mezzanine on top. Following are the features

[PATCH v2 0/2] Early return in s_uGetTxRsvTime

2020-05-03 Thread Matej Dujava
This patch set will fix checkpatch LONG_LINE warnings and will save us one call of bb_get_frame_time in case od !bNeedAck. Change history: v2: Implemented advice of ternary operator from Joe Perches Matej Dujava (2): staging: vt6655: return early if not bNeedAck staging: vt6655: fix LONG_LIN

[PATCH v2 1/2] staging: vt6655: return early if not bNeedAck

2020-05-03 Thread Matej Dujava
This patch will check for bNeedAck before making bb_get_frame_time call, so in case we dont need uAckTime, we can return early. Signed-off-by: Matej Dujava --- drivers/staging/vt6655/rxtx.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/staging/vt6655/rxtx.c

[PATCH v2 2/2] staging: vt6655: fix LONG_LINE warning

2020-05-03 Thread Matej Dujava
This patch will fix LONG_LINE error from checkpatch, by using ternary operator. Signed-off-by: Matej Dujava --- drivers/staging/vt6655/rxtx.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index dda57

Re: [PATCH] checkpatch: add support for title acrosses three lines in commit id description

2020-05-03 Thread Joe Perches
On Sun, 2020-05-03 at 20:34 +0800, Wang YanQing wrote: > The current GIT_COMMIT_ID will report error when the title in commit id > description acrosses three lines, take changelog of commit 87b0f983f66f > ("net: mscc: ocelot: fix untagged packet drops when enslaving to vlan > aware bridge") as a ex

Re: [RESEND v6 0/3] Add support for CellWise cw2015 fuel gauge

2020-05-03 Thread Sebastian Reichel
Hi, On Tue, Apr 14, 2020 at 02:52:05PM +0200, Tobias Schramm wrote: > This patchset adds support for the CellWise cw2015 fuel gauge. > > The CellWise cw2015 fuel gauge is a shuntless, single-cell Li-Ion fuel > gauge. It is used in the pine64 Pinebook Pro laptop. > > This is just a resend of v6 t

Re: [PATCH v6 0/6] iio: core,buffer: re-organize chardev creation

2020-05-03 Thread Jonathan Cameron
On Mon, 27 Apr 2020 16:10:54 +0300 Alexandru Ardelean wrote: > The main intent is to be able to add more chardevs per IIO device, one > for each buffer. To get there, some rework is needed. > This tries to re-organize the init of the chardev. Hmm. I'd like this set to sit and ideally gather a fe

Re: [PATCH v3 2/8] dt-bindings: sata: Convert Calxeda SATA controller to json-schema

2020-05-03 Thread Rob Herring
On Thu, 30 Apr 2020 22:10:48 +0100, Andre Przywara wrote: > Convert the Calxeda Highbank SATA controller binding to DT schema format > using json-schema. > > Signed-off-by: Andre Przywara > Cc: Jens Axboe > --- > .../devicetree/bindings/ata/sata_highbank.txt | 44 - > .../bindings/ata/s

Re: [PATCH v3 1/8] dt-bindings: clock: Convert Calxeda clock bindings to json-schema

2020-05-03 Thread Rob Herring
On Thu, 30 Apr 2020 22:10:47 +0100, Andre Przywara wrote: > Convert the Calxeda clock bindings to DT schema format using json-schema. > > This just covers the actual PLL and divider clock nodes. In the actual > DTs they are somewhat unconnected (no ranges or bus compatible) children > of the sregs

Re: [PATCH v3 4/8] dt-bindings: phy: Convert Calxeda ComboPHY binding to json-schema

2020-05-03 Thread Rob Herring
On Thu, 30 Apr 2020 22:10:50 +0100, Andre Przywara wrote: > Convert the Calxeda ComboPHY binding to DT schema format using > json-schema. > There is no driver in the Linux kernel matching the compatible > string, but the nodes are parsed by the SATA driver, which links to them > using its port-phys

Re: [PATCH v3 6/8] dt-bindings: memory-controllers: Convert Calxeda DDR to json-schema

2020-05-03 Thread Rob Herring
On Thu, 30 Apr 2020 22:10:52 +0100, Andre Przywara wrote: > Convert the Calxeda DDR memory controller binding to DT schema format > using json-schema. > Although this technically covers the whole DRAM controller, the > intention to use it only for error reporting and mapping fault addresses > to DR

Re: [PATCH v3 5/8] dt-bindings: arm: Convert Calxeda L2 cache controller to json-schema

2020-05-03 Thread Rob Herring
On Thu, 30 Apr 2020 22:10:51 +0100, Andre Przywara wrote: > Convert the L2-ECC controller binding to DT schema format using > json-schema. > This is indented to be just used for error reporting. > > Signed-off-by: Andre Przywara > --- > .../devicetree/bindings/arm/calxeda/l2ecc.txt | 15 ---

Re: [PATCH v3 3/8] dt-bindings: net: Convert Calxeda Ethernet binding to json-schema

2020-05-03 Thread Rob Herring
On Thu, 30 Apr 2020 22:10:49 +0100, Andre Przywara wrote: > Convert the Calxeda XGMAC Ethernet device binding to DT schema format > using json-schema. > > Signed-off-by: Andre Przywara > --- > .../devicetree/bindings/net/calxeda-xgmac.txt | 18 --- > .../bindings/net/calxeda-xgmac.yaml

Re: [PATCH v3 8/8] dt-bindings: arm: Add Calxeda system registers json-schema binding

2020-05-03 Thread Rob Herring
On Thu, 30 Apr 2020 22:10:54 +0100, Andre Przywara wrote: > The Calxeda system registers are a collection of MMIO register > controlling several more general aspects of the SoC. > Beside for some power management tasks this node is also somewhat > abused as the container for the clock nodes. > > A

Re: [PATCH v3 7/8] dt-bindings: ipmi: Convert IPMI-SMIC bindings to json-schema

2020-05-03 Thread Rob Herring
On Thu, 30 Apr 2020 22:10:53 +0100, Andre Przywara wrote: > Convert the generic IPMI controller bindings to DT schema format > using json-schema. > > The device_type property is deprecated for most node per the DT spec, > but at least the Linux driver matches on it, so I keep it in. > > The Linux

REPLY AS SOON AS POSSIBLE.

2020-05-03 Thread Mr. Michael Hearty
My name is Mr. Michael Hearty. My email correspondence is to seek your assistance as overseas representative for an investment involving large volume of funds. Please, I will provide more details about the transaction if you are willing to handle such project and also let you know your entitlement

Re: [PATCH 03/33] efi/libstub: Unify EFI call wrappers for non-x86

2020-05-03 Thread Arvind Sankar
On Sun, May 03, 2020 at 08:09:06AM -0700, Guenter Roeck wrote: > Hi, > > On Fri, Apr 24, 2020 at 03:05:01PM +0200, Ard Biesheuvel wrote: > > We have wrappers around EFI calls so that x86 can define special > > versions for mixed mode, while all other architectures can use the > > same simple defin

Re: [PATCH 03/33] efi/libstub: Unify EFI call wrappers for non-x86

2020-05-03 Thread Ard Biesheuvel
On Sun, 3 May 2020 at 18:09, Arvind Sankar wrote: > > On Sun, May 03, 2020 at 08:09:06AM -0700, Guenter Roeck wrote: > > Hi, > > > > On Fri, Apr 24, 2020 at 03:05:01PM +0200, Ard Biesheuvel wrote: > > > We have wrappers around EFI calls so that x86 can define special > > > versions for mixed mode,

Re: [PATCH 0/7] sha1 library cleanup

2020-05-03 Thread Ard Biesheuvel
On Sat, 2 May 2020 at 20:28, Eric Biggers wrote: > > sounds very generic and important, like it's the > header to include if you're doing cryptographic hashing in the kernel. > But actually it only includes the library implementation of the SHA-1 > compression function (not even the full SHA-1).

Re: [PATCH v3 10/11] iio: light: cm32181: Add support for parsing CPM0 and CPM1 ACPI tables

2020-05-03 Thread Andy Shevchenko
On Sun, May 3, 2020 at 2:22 PM Jonathan Cameron wrote: > On Tue, 28 Apr 2020 19:29:22 +0200 > Hans de Goede wrote: ... > > This was tested on the following models: Acer Switch 10 SW5-012 (CM32181) > > Asus T100TA (CM3218), Asus T100CHI (CM3218) and HP X2 10-n000nd (CM32181). > > I assume it's f

[GIT PULL] Btrfs fixes for 5.7-rc4, part 2

2020-05-03 Thread David Sterba
Hi, please pull a few more stability fixes, minor build warning fixes and git url fixup. Thanks. - fix partial loss of prealloc extent past i_size after fsync - fix potential deadlock due to wrong transaction handle passing via journal_info - fix gcc 4.8 struct intialization warning - update

Re: [PATCH] i2c: img-scb: Use devm_platform_ioremap_resource and remove superfluous error message.

2020-05-03 Thread Andy Shevchenko
On Sun, May 3, 2020 at 4:13 PM Aishwarya Ramakrishnan wrote: > > Use the helper function that wraps the calls to > platform_get_resource() and devm_ioremap_resource() > together. > > The function platform_get_irq can log an error by itself. > Omit a redundant message for exception handling in the

Re: [PATCH v7 01/12] dt-bindings: add img,pvrsgx.yaml for Imagination GPUs

2020-05-03 Thread H. Nikolaus Schaller
Hi Paul and Paul, > Am 03.05.2020 um 16:18 schrieb Paul Cercueil : > > > > Le dim. 3 mai 2020 à 15:31, H. Nikolaus Schaller a écrit > : >> Hi Paul, >>> Am 03.05.2020 um 14:52 schrieb Paul Cercueil : > It's possible to forbid the presence of the 'clocks' property on some > implementat

[PATCH] pinctrl: ingenic: Add irq_{request,release}_resources callbacks

2020-05-03 Thread Paul Cercueil
These are called when a GPIO is to be used as IRQ. Without these custom callbacks, when an interrupt is requested directly and not through gpiod_to_irq(), the request fails because the GPIO is not necesarily in input mode. These callbacks simply enforce that the requested GPIO is in input mode. S

Re: [PATCH 0/7] sha1 library cleanup

2020-05-03 Thread Eric Biggers
On Sat, May 02, 2020 at 03:05:46PM -0600, Jason A. Donenfeld wrote: > Thanks for this series. I like the general idea. I think it might make > sense, though, to separate things out into sha1.h and sha256.h. That > will be nice preparation work for when we eventually move obsolete > primitives into

Re: [PATCH v4] eventfd: convert to f_op->read_iter()

2020-05-03 Thread Jens Axboe
On 5/3/20 8:42 AM, Jens Axboe wrote: > On 5/3/20 7:46 AM, Al Viro wrote: >> On Fri, May 01, 2020 at 05:54:09PM -0600, Jens Axboe wrote: >>> On 5/1/20 5:12 PM, Al Viro wrote: On Fri, May 01, 2020 at 01:11:09PM -0600, Jens Axboe wrote: > + flags &= EFD_SHARED_FCNTL_FLAGS; > + flags |= O_

[PATCH v6 2/7] IIO: Ingenic JZ47xx: Error check clk_enable calls.

2020-05-03 Thread Artur Rojek
Introduce error checks for the clk_enable calls used in this driver. As part of the changes, move clk_enable/clk_disable calls out of ingenic_adc_set_config and into respective logic of its callers. Signed-off-by: Artur Rojek Tested-by: Paul Cercueil --- Changes: v6: new patch drivers/iio/ad

<    1   2   3   4   5   >