Re: [PATCH 01/11] media: tm6000: fix potential Spectre variant 1

2018-05-16 Thread Mauro Carvalho Chehab
Em Wed, 16 May 2018 16:11:08 +0300 Dan Carpenter escreveu: > On Tue, May 15, 2018 at 04:00:33PM -0300, Mauro Carvalho Chehab wrote: > > Yeah, that's the same I'm getting from media upstream. > > > > > drivers/media/cec/cec-pin-error-inj.c:170 cec_pin_

Re: [PATCH 01/11] media: tm6000: fix potential Spectre variant 1

2018-04-24 Thread Mauro Carvalho Chehab
Em Tue, 24 Apr 2018 12:36:09 +0200 Peter Zijlstra escreveu: > On Tue, Apr 24, 2018 at 12:35:00PM +0300, Dan Carpenter wrote: > > On Mon, Apr 23, 2018 at 03:24:55PM -0300, Mauro Carvalho Chehab wrote: > > > Em Mon, 23 Apr 2018 12:38:03 -0500 > > > &quo

Re: [PATCH] media: zoran: move to dma-mapping interface

2018-04-25 Thread Mauro Carvalho Chehab
Em Wed, 25 Apr 2018 17:58:25 +0200 Arnd Bergmann escreveu: > On Wed, Apr 25, 2018 at 5:26 PM, Christoph Hellwig wrote: > > On Wed, Apr 25, 2018 at 01:15:18PM +0200, Arnd Bergmann wrote: > >> That thought had occurred to me as well. I removed the oldest ISDN > >> drivers already some years ago,

Re: [patch V2 1/7] LICENSES/GPL2.0: Add GPL-2.0-only/or-later as valid identifiers

2018-04-26 Thread Mauro Carvalho Chehab
he SPDX license identifier specification, but the > identifiers are not mentioned as valid in the GPL-2.0 license file. > > Add them to the license file and to the Linux-syscall-note exception to > make everything consistent again. > > Signed-off-by: Thomas Gleixner > Cc: Hans

[PATCH 22/57] docs: mic: convert it to ReST format

2019-04-15 Thread Mauro Carvalho Chehab
Convert Intel Many Integrated Core architecture docs to ReST. The conversion is trivial: just add title and literal block markups, and adjust some identation. Signed-off-by: Mauro Carvalho Chehab --- Documentation/mic/mic_overview.txt | 6 ++- Documentation/mic/scif_overview.txt | 58

[PATCH 44/57] docs: lp855x-driver.txt: convert to ReST and move to kernel-api

2019-04-15 Thread Mauro Carvalho Chehab
some driver-specific stuff. Signed-off-by: Mauro Carvalho Chehab --- Documentation/backlight/lp855x-driver.txt | 65 ++- 1 file changed, 40 insertions(+), 25 deletions(-) diff --git a/Documentation/backlight/lp855x-driver.txt b/Documentation/backlight/lp855x-driver.txt

[PATCH 28/57] docs: ptp.txt: convert to ReST and move to driver-api

2019-04-15 Thread Mauro Carvalho Chehab
The conversion is trivial: just adjust title markups. Signed-off-by: Mauro Carvalho Chehab --- Documentation/ptp/ptp.txt | 26 +- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/Documentation/ptp/ptp.txt b/Documentation/ptp/ptp.txt index 11e904ee073f

[PATCH 15/57] docs: gpio: convert it to ReST

2019-04-15 Thread Mauro Carvalho Chehab
The API described at sysfs.txt is deprecated. Still, as it is still part of the Kernel (and will likely be there for some time, as we don't simply remove APIs). So, it makes sense to keep it there. The conversion of this file is trivial. Signed-off-by: Mauro Carvalho Chehab --- Document

[PATCH 50/57] docs: driver-model: convert it to ReST format

2019-04-15 Thread Mauro Carvalho Chehab
Convert the various documents at the driver-model, preparing them to be part of the driver-api book. Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-model/binding.txt| 20 +- Documentation/driver-model/bus.txt| 69 ++-- Documentation/driver-model/class.txt

Re: [PATCH 20/57] docs: livepatch: convert it to ReST format

2019-04-16 Thread Mauro Carvalho Chehab
Em Tue, 16 Apr 2019 10:43:54 +0200 Petr Mladek escreveu: > On Mon 2019-04-15 23:55:45, Mauro Carvalho Chehab wrote: > > Convert livepatch documentation to ReST format. The changes > > are mostly trivial, as the documents are already on a good > > shape. Just a few markup c

[PATCH v3 21/21] docs: hwmon: Add an index file and rename docs to *.rst

2019-04-17 Thread Mauro Carvalho Chehab
Now that all files were converted to ReST format, rename them and add an index. Signed-off-by: Mauro Carvalho Chehab --- .../devicetree/bindings/hwmon/g762.txt| 2 +- Documentation/hwmon/{ab8500 => ab8500.rst}| 2 +- ...guru-datasheet => abituguru-datasheet.rst} | 0 ...

[PATCH] docs: hwmon: convert three docs to ReST format

2019-04-18 Thread Mauro Carvalho Chehab
- be sure that the section markups have the same number of characters as the section title. Signed-off-by: Mauro Carvalho Chehab --- Documentation/hwmon/index.rst | 3 +++ Documentation/hwmon/{ir38064 => ir38064.rst} | 21 --- .../hwmon/{isl68137 =&

[PATCH] docs: core-api: fix broken references for div64.c and gcd.c

2019-04-18 Thread Mauro Carvalho Chehab
Those files were moved to lib/math. Fixes: 9635bad21596 ("lib: Move mathematic helpers to separate folder") Signed-off-by: Mauro Carvalho Chehab --- Documentation/core-api/kernel-api.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/core-

Re: [PATCH 18/57] docs: kbuild: convert it to ReST output

2019-04-18 Thread Mauro Carvalho Chehab
Em Thu, 18 Apr 2019 18:25:45 +0900 Masahiro Yamada escreveu: > On Tue, Apr 16, 2019 at 12:01 PM Mauro Carvalho Chehab > wrote: > > > > The kbuild documentation clearly shows that the documents > > there are written at different times: some use markdown, > > some u

Avoiding merge conflicts while adding new docs - Was: Re: [PATCH 00/57] Convert files to ReST

2019-04-18 Thread Mauro Carvalho Chehab
Jon, Em Mon, 15 Apr 2019 23:55:25 -0300 Mauro Carvalho Chehab escreveu: > I have a separate patch series with do the actual rename and > adjustment of references. I opted to submit this first, as it > sounds easier to merge this way, as each subsystem maintainer > can apply th

Re: [PATCH v4 08/63] Documentation: ACPI: move gpio-properties.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Mauro Carvalho Chehab
inux GPIO framework refuses to return any GPIOs. This is > because the driver does not know what it actually gets. For example if we > -have a device like below: > +have a device like below:: > >Device (BTH) >{ > @@ -177,7 +184,7 @@ have a device like be

Re: [PATCH v4 21/63] Documentation: ACPI: move cppc_sysfs.txt to admin-guide/acpi and convert to reST

2019-04-24 Thread Mauro Carvalho Chehab
Em Wed, 24 Apr 2019 00:28:50 +0800 Changbin Du escreveu: > This converts the plain text documentation to reStructuredText format and > add it to Sphinx TOC tree. No essential content change. > > Signed-off-by: Changbin Du > --- > .../acpi/cppc_sysfs.rst} | 71 ++---

Re: [PATCH v4 25/63] Documentation: add Linux PCI to Sphinx TOC tree

2019-04-24 Thread Mauro Carvalho Chehab
Em Wed, 24 Apr 2019 00:28:54 +0800 Changbin Du escreveu: > Add a index.rst for PCI subsystem. More docs will be added later. > > Signed-off-by: Changbin Du > Acked-by: Bjorn Helgaas > --- > Documentation/PCI/index.rst | 9 + On a past discussion at docs ML, we've agreed to use lowerca

Re: [PATCH v4 39/63] Documentation: x86: convert topology.txt to reST

2019-04-24 Thread Mauro Carvalho Chehab
Em Wed, 24 Apr 2019 00:29:08 +0800 Changbin Du escreveu: > This converts the plain text documentation to reStructuredText format and > add it to Sphinx TOC tree. No essential content change. > > Signed-off-by: Changbin Du > --- > Documentation/x86/index.rst| 1 + > Documentation/x86/topo

Re: [PATCH v4 00/63] Include linux ACPI/PCI/X86 docs into Sphinx TOC tree

2019-04-24 Thread Mauro Carvalho Chehab
Em Wed, 24 Apr 2019 23:46:18 +0800 Changbin Du escreveu: > On Tue, Apr 23, 2019 at 12:36:44PM -0500, Bjorn Helgaas wrote: > > On Tue, Apr 23, 2019 at 06:39:47PM +0200, Rafael J. Wysocki wrote: > > > On Tue, Apr 23, 2019 at 6:30 PM Changbin Du wrote: > > > > Hi Corbet and All, > > > > The kernel

Re: [PATCH v4 21/63] Documentation: ACPI: move cppc_sysfs.txt to admin-guide/acpi and convert to reST

2019-04-24 Thread Mauro Carvalho Chehab
Em Thu, 25 Apr 2019 01:22:34 +0800 Changbin Du escreveu: > On Wed, Apr 24, 2019 at 11:48:44AM -0300, Mauro Carvalho Chehab wrote: > > Em Wed, 24 Apr 2019 00:28:50 +0800 > > Changbin Du escreveu: > > > > > This converts the plain text documentation to reStructur

Re: [PATCH v5 14/23] Documentation: ACPI: move dsd/data-node-references.txt to firmware-guide/acpi and convert to reST

2019-04-24 Thread Mauro Carvalho Chehab
Em Thu, 25 Apr 2019 01:52:57 +0800 Changbin Du escreveu: > This converts the plain text documentation to reStructuredText format and > add it to Sphinx TOC tree. No essential content change. > > Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab > --- > .../

Re: [PATCH v5 20/23] Documentation: ACPI: move cppc_sysfs.txt to admin-guide/acpi and convert to reST

2019-04-24 Thread Mauro Carvalho Chehab
Em Thu, 25 Apr 2019 01:53:03 +0800 Changbin Du escreveu: > This converts the plain text documentation to reStructuredText format and > add it to Sphinx TOC tree. No essential content change. > > Signed-off-by: Changbin Du > --- > .../acpi/cppc_sysfs.rst} | 71 ++---

Re: linux-next: manual merge of the v4l-dvb-next tree with the v4l-dvb tree

2019-04-25 Thread Mauro Carvalho Chehab
Em Tue, 23 Apr 2019 10:12:42 +0200 Arnd Bergmann escreveu: > On Tue, Apr 23, 2019 at 2:51 AM Stephen Rothwell > wrote: > > > > Hi all, > > > > Today's linux-next merge of the v4l-dvb-next tree got a conflict in: > > > > drivers/media/platform/Kconfig > > > > between commit: > > > > 63604a14

[PATCH 03/10] docs: clearing-warn-once.txt: add a title for this document

2019-04-08 Thread Mauro Carvalho Chehab
This document misses a title. Add it, in order to follow the documentation standard. Signed-off-by: Mauro Carvalho Chehab --- Documentation/clearing-warn-once.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/clearing-warn-once.txt b/Documentation/clearing-warn-once.txt

[PATCH v2 12/21] docs: hwmon: asc7621: convert to ReST format

2019-04-10 Thread Mauro Carvalho Chehab
Convert asc7621 to ReST format, in order to allow it to be parsed by Sphinx. Signed-off-by: Mauro Carvalho Chehab --- Documentation/hwmon/asc7621 | 146 ++-- 1 file changed, 88 insertions(+), 58 deletions(-) diff --git a/Documentation/hwmon/asc7621 b

[PATCH v2 03/21] docs: hwmon: menf21bmc: convert to ReST format

2019-04-10 Thread Mauro Carvalho Chehab
Convert menf21bmc to ReST format, in order to allow it to be parsed by Sphinx. Signed-off-by: Mauro Carvalho Chehab --- Documentation/hwmon/menf21bmc | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/hwmon/menf21bmc b/Documentation/hwmon/menf21bmc index 2a273a065c5e

[PATCH v2 14/21] docs: hwmon: dme1737, vt1211: convert to ReST format

2019-04-10 Thread Mauro Carvalho Chehab
Convert dme1737 and vt1211 to ReST format, in order to allow them to be parsed by Sphinx. Signed-off-by: Mauro Carvalho Chehab --- Documentation/hwmon/dme1737 | 88 ++--- Documentation/hwmon/vt1211 | 84 +-- 2 files changed, 114

[PATCH v2 11/21] docs: hwmon: ibmpowernv: convert to ReST format

2019-04-10 Thread Mauro Carvalho Chehab
Convert ibmpowernv to ReST format, in order to allow it to be parsed by Sphinx. Signed-off-by: Mauro Carvalho Chehab --- Documentation/hwmon/ibmpowernv | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/hwmon/ibmpowernv b/Documentation/hwmon/ibmpowernv index 56468258711f

[PATCH v2 08/21] docs: hwmon: w83791d: convert to ReST format

2019-04-10 Thread Mauro Carvalho Chehab
Convert w83791d to ReST format, in order to allow it to be parsed by Sphinx. Signed-off-by: Mauro Carvalho Chehab --- Documentation/hwmon/w83791d | 123 +--- 1 file changed, 71 insertions(+), 52 deletions(-) diff --git a/Documentation/hwmon/w83791d b

Re: [RFC PATCH] docs: Warn when auto xref to document fails

2021-02-11 Thread Mauro Carvalho Chehab
Em Thu, 11 Feb 2021 18:10:36 + Nícolas F. R. A. Prado escreveu: > Print warning when automarkup fails to cross-reference to another > document, so that it doesn't fail silently. > > Signed-off-by: Nícolas F. R. A. Prado > --- > > This patch is marked as RFC because it causes a lot of new w

Re: [PATCH v5 1/3] usb: serial: Add MaxLinear/Exar USB to Serial driver

2021-02-24 Thread Mauro Carvalho Chehab
Em Mon, 22 Feb 2021 16:47:36 +0100 Johan Hovold escreveu: > On Mon, Feb 22, 2021 at 04:27:34PM +0100, Mauro Carvalho Chehab wrote: > > Hi Johan, > > > > Em Tue, 26 Jan 2021 17:26:36 +0100 > > Johan Hovold escreveu: > > > > > On Tue, Jan 26, 2021

[GIT PULL for v5.12-rc1] media updates

2021-02-17 Thread Mauro Carvalho Chehab
0_kill_urb function. Martin Kepplinger (1): media: staging: media: imx: Kconfig: support VIDEO_IMX7_CSI for imx8m Martina Krasteva (2): media: dt-bindings: media: Add bindings for imx334 media: i2c: Add imx334 camera sensor driver Matwey V. Kornilov (1): media: pwc: Use correct

Re: [PATCH 01/13] doc: bindings: pci: designware-pcie.txt: convert it to yaml

2021-02-02 Thread Mauro Carvalho Chehab
Hi Rob, Em Tue, 02 Feb 2021 11:44:54 -0600 Rob Herring escreveu: > My bot found errors running 'make dt_binding_check' on your patch: > > yamllint warnings/errors: > > dtschema/dtc warnings/errors: > /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/pci/snps,pcie.yaml: > pr

[PATCH v2 10/11] PCI: dwc: pcie-kirin: add support for clkreq GPIOs

2021-02-02 Thread Mauro Carvalho Chehab
during PCIe hardware power on logic, as otherwise the resource allocation will fail. Add support for them. Signed-off-by: Mauro Carvalho Chehab --- drivers/pci/controller/dwc/pcie-kirin.c | 77 +++-- 1 file changed, 34 insertions(+), 43 deletions(-) diff --git a/drivers/pci

[PATCH v2 03/11] doc: bindings: add new parameters used by Kirin 970

2021-02-02 Thread Mauro Carvalho Chehab
There are a few extra optional bindings that are needed for Kirin 970 based PCIe designs to work. Add them. Signed-off-by: Mauro Carvalho Chehab --- .../bindings/pci/hisilicon,kirin-pcie.yaml| 60 ++- 1 file changed, 57 insertions(+), 3 deletions(-) diff --git a

[PATCH v2 02/11] doc: bindings: kirin-pcie.txt: convert it to YAML

2021-02-02 Thread Mauro Carvalho Chehab
Convert the file into a DT schema. Signed-off-by: Mauro Carvalho Chehab --- .../bindings/pci/hisilicon,kirin-pcie.yaml| 90 +++ .../devicetree/bindings/pci/kirin-pcie.txt| 50 --- MAINTAINERS | 2 +- 3 files changed, 91

[PATCH v2 09/11] PCI: dwc: pcie-kirin: allow using multiple reset GPIOs

2021-02-02 Thread Mauro Carvalho Chehab
to contain multiple reset lines. Signed-off-by: Mauro Carvalho Chehab --- drivers/pci/controller/dwc/pcie-kirin.c | 148 +--- 1 file changed, 79 insertions(+), 69 deletions(-) diff --git a/drivers/pci/controller/dwc/pcie-kirin.c b/drivers/pci/controller/dwc/pcie-kirin.c

[PATCH v2 06/11] PCI: dwc: pcie-kirin: simplify Kirin 970 get resource logic

2021-02-02 Thread Mauro Carvalho Chehab
Use devm_platform_ioremap_resource_byname() in order to simplify the logic and to make the logic for Kirin 970 similar to the one for Kirin 960. Signed-off-by: Mauro Carvalho Chehab --- drivers/pci/controller/dwc/pcie-kirin.c | 23 ++- 1 file changed, 10 insertions(+), 13

[PATCH v2 11/11] pci: dwc: pcie-kirin: cleanup kirin970_pcie_get_eyeparam()

2021-02-02 Thread Mauro Carvalho Chehab
Cleanup the routine, to let it clearer that eye_param is optional and that, if not specified, the driver will assume the default. While here, also drop the useless debug prints. Signed-off-by: Mauro Carvalho Chehab --- drivers/pci/controller/dwc/pcie-kirin.c | 17 +++-- 1 file

[PATCH v2 07/11] PCI: dwc: pcie-kirin: place common init code altogether

2021-02-02 Thread Mauro Carvalho Chehab
Both Kirin 960 and Kirin 970 need to do ioremap for apb, phy and dbi. So, use a shared code for those. It should be noticed that the dbi remap is now done by dwc core, so it can simply be removed from kirin970_pcie_get_resource(). Signed-off-by: Mauro Carvalho Chehab --- drivers/pci

[PATCH v2 00/11] Add support for Hikey 970 PCIe

2021-02-02 Thread Mauro Carvalho Chehab
Manivannan Sadhasivam (1): PCI: dwc: pcie-kirin: add support for Kirin 970 PCIe controller Mauro Carvalho Chehab (10): doc: bindings: PCI: designware-pcie.txt: convert it to YAML doc: bindings: kirin-pcie.txt: convert it to YAML doc: bindings: add new parameters used by Kirin 970 PCI: dwc: pc

[PATCH v2 01/11] doc: bindings: PCI: designware-pcie.txt: convert it to YAML

2021-02-02 Thread Mauro Carvalho Chehab
Convert the file into a DT schema. Signed-off-by: Mauro Carvalho Chehab --- .../bindings/pci/amlogic,meson-pcie.txt | 4 +- .../bindings/pci/axis,artpec6-pcie.txt| 2 +- .../bindings/pci/designware-pcie.txt | 77 -- .../bindings/pci/fsl,imx6q-pcie.txt

[PATCH v2 04/11] PCI: dwc: pcie-kirin: add support for Kirin 970 PCIe controller

2021-02-02 Thread Mauro Carvalho Chehab
From: Manivannan Sadhasivam Add support for HiSilicon Kirin 970 (hi3670) SoC PCIe controller, based on Synopsys DesignWare PCIe controller IP. [mchehab+hua...@kernel.org: fix merge conflicts] Signed-off-by: Manivannan Sadhasivam Signed-off-by: Mauro Carvalho Chehab --- drivers/pci/controller

[PATCH v2 08/11] PCI: dwc: pcie-kirin: add support for a regulator

2021-02-02 Thread Mauro Carvalho Chehab
. Without enabling such power supply, the PCI resource allocation fails. Signed-off-by: Mauro Carvalho Chehab --- drivers/pci/controller/dwc/pcie-kirin.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/pci/controller/dwc/pcie-kirin.c b/drivers/pci/controller/dwc/pcie

[PATCH v2 05/11] PCI: dwc: pcie-kirin: simplify error handling logic

2021-02-02 Thread Mauro Carvalho Chehab
Instead of returning -ENODEV when of_get_named_gpio() fails, make it return the actual error code. With that, there's no need anymore to check for -EPROBE_DEFER at kirin_pcie_probe(). Signed-off-by: Mauro Carvalho Chehab --- drivers/pci/controller/dwc/pcie-kirin.c | 16 ++-- 1

Re: [PATCH v2 09/11] PCI: dwc: pcie-kirin: allow using multiple reset GPIOs

2021-02-03 Thread Mauro Carvalho Chehab
Em Wed, 3 Feb 2021 13:46:20 + Mark Brown escreveu: > On Wed, Feb 03, 2021 at 08:01:53AM +0100, Mauro Carvalho Chehab wrote: > > > + reg = devm_regulator_get_optional(dev, "pci"); > > + if (IS_ERR_OR_NULL(reg)) { > > +

Re: [PATCH v2 04/11] PCI: dwc: pcie-kirin: add support for Kirin 970 PCIe controller

2021-02-03 Thread Mauro Carvalho Chehab
Em Wed, 3 Feb 2021 08:34:21 -0600 Rob Herring escreveu: > On Wed, Feb 3, 2021 at 1:02 AM Mauro Carvalho Chehab > wrote: > > > > From: Manivannan Sadhasivam > > > > Add support for HiSilicon Kirin 970 (hi3670) SoC PCIe controller, based > > on Sy

Re: [PATCH v2 09/11] PCI: dwc: pcie-kirin: allow using multiple reset GPIOs

2021-02-03 Thread Mauro Carvalho Chehab
Em Wed, 3 Feb 2021 16:18:01 +0100 Krzysztof Wilczyński escreveu: > Hi Mauro, > > Thank you for working on this! > > > @@ -151,8 +152,10 @@ struct kirin_pcie { > > struct clk *phy_ref_clk; > > struct clk *pcie_aclk; > > struct clk *pcie_aux_clk; > > - int

Re: [PATCH v7 01/14] staging: hikey9xx: spmi driver: convert to regmap

2021-01-29 Thread Mauro Carvalho Chehab
Em Fri, 29 Jan 2021 16:45:11 +0100 Greg Kroah-Hartman escreveu: > On Fri, Jan 29, 2021 at 04:03:36PM +0100, Mauro Carvalho Chehab wrote: > > Instead of doing its own SPMI I/O implementation, use the > > already-existing regmap one. > > > > Signed-of

[PATCH v8 06/14] staging: hikey9xx: hi6421-spmi-pmic: fix IRQ handler code

2021-01-29 Thread Mauro Carvalho Chehab
The conversion to regmap introduced a regression at the code which reads from the IRQ register. Address that. Fixes: 8148fe6afb24 ("staging: hikey9xx: spmi driver: convert to regmap") Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 2 +- 1 file

[PATCH v8 01/14] staging: hikey9xx: spmi driver: convert to regmap

2021-01-29 Thread Mauro Carvalho Chehab
Instead of doing its own SPMI I/O implementation, use the already-existing regmap one. Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/hikey9xx/Kconfig | 2 + drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 115 ++ .../staging/hikey9xx/hi6421v600

[PATCH v8 11/14] spmi: hisi-spmi-controller: move driver from staging

2021-01-29 Thread Mauro Carvalho Chehab
The Hisilicon 6421v600 SPMI driver is ready for mainstream. So, move it from staging. Signed-off-by: Mauro Carvalho Chehab --- .../spmi}/hisilicon,hisi-spmi-controller.yaml | 0 MAINTAINERS | 7 +++ drivers/spmi/Kconfig

[PATCH v8 13/14] regulator: hi6421v600-regulator: move it from staging

2021-01-29 Thread Mauro Carvalho Chehab
This driver is ready for mainstream. Move it out of staging. Signed-off-by: Mauro Carvalho Chehab --- MAINTAINERS | 7 +-- drivers/regulator/Kconfig| 9 + drivers/regulator/Makefile | 1

[PATCH v8 10/14] phy: phy-hi3670-usb3: move driver from staging into phy

2021-01-29 Thread Mauro Carvalho Chehab
The phy USB3 driver for Hisilicon 970 (hi3670) is ready for mainstream. Mode it from staging into the main driver's phy/ directory. Signed-off-by: Mauro Carvalho Chehab --- .../bindings/phy/hisilicon,hi3670-usb3.yaml | 0 MAINTAINERS

[PATCH v8 03/14] staging: hikey9xx: hi6421-spmi-pmic: rename some vars

2021-01-29 Thread Mauro Carvalho Chehab
- When referring to regmap, rename map to regmap - inside hi6421-spmi-pmic, call private data struct as ddata. No functional changes. Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 104 +- .../staging/hikey9xx/hi6421v600-regulator.c

[PATCH v8 09/14] staging: hikey9xx: hi6421-spmi-pmic: update copyright notes

2021-01-29 Thread Mauro Carvalho Chehab
At PMIC subsystem, C89 comments are preferred over C99. While here, also update the copyrights of the header file. Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 14 +++--- include/linux/mfd/hi6421-spmi-pmic.h| 1 + 2 files changed, 8

[PATCH v8 00/14] Move Hisilicon 6421v600 SPMI and USB drivers out of staging

2021-01-29 Thread Mauro Carvalho Chehab
regulator, SPMI controller and MFD. I'll submit the final patch with USB bindings after having everything set (e.g. after 5.12-rc1). - v8: contains a fix for REGMAP dependencies and for a build breakage. Mauro Carvalho Chehab (14): staging: hikey9xx: spmi driver: convert to regmap st

[PATCH v8 08/14] staging: hikey9xx: hi6421-spmi-pmic: document registers

2021-01-29 Thread Mauro Carvalho Chehab
Make it clearer about how the IRQ registers are filled by adding a table with them, with two macros used to calculate the mask register. Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 39 + 1 file changed, 32 insertions(+), 7 deletions

[PATCH v8 04/14] staging: hikey9xx: hi6421-spmi-pmic: cleanup probe code

2021-01-29 Thread Mauro Carvalho Chehab
Cleanup the error handling code, making the messages more consistent and removing an uneeded call to free_irq(). While here, also remove debug messages and make the error messages more consistent. Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 50

[PATCH v8 07/14] staging: hikey9xx: hi6421-spmi-pmic: cleanup IRQ handling code

2021-01-29 Thread Mauro Carvalho Chehab
- Use BIT() and GENMASK(); - Remove duplicated mask definitions; - Simplify the code under IRQ handler; - Add a few extra blank lines to make easier to see spin_lock/spin_unlock; - Remove debug code; - Fix a few minor coding style issues. Signed-off-by: Mauro Carvalho Chehab --- drivers

[PATCH v8 14/14] dts: hisilicon: add support for the PMIC found on Hikey 970

2021-01-29 Thread Mauro Carvalho Chehab
Add a device tree for the HiSilicon 6421v600 SPMI PMIC, used on HiKey970 board. As we now have support for it, change the fixed regulators used by the SD I/O to use the proper LDO supplies. Signed-off-by: Mauro Carvalho Chehab --- .../boot/dts/hisilicon/hi3670-hikey970.dts| 22

[PATCH v8 02/14] staging: hikey9xx: hi6421v600-regulator: use some regmap helpers

2021-01-29 Thread Mauro Carvalho Chehab
Now that the driver was ported to use regmap, let's use some help functions in order to simplify the code a little bit. Suggested-by: Mark Brown Signed-off-by: Mauro Carvalho Chehab --- .../staging/hikey9xx/hi6421v600-regulator.c | 45 ++- 1 file changed, 3 insertions(+

[PATCH v8 12/14] mfd: hi6421-spmi-pmic: move driver from staging

2021-01-29 Thread Mauro Carvalho Chehab
This driver is ready for mainstream. So, move it out of staging. Signed-off-by: Mauro Carvalho Chehab --- .../mfd}/hisilicon,hi6421-spmi-pmic.yaml | 0 MAINTAINERS| 7 +++ drivers/mfd/Kconfig| 16

[PATCH v8 05/14] staging: hikey9xx: hi6421-spmi-pmic: cleanup header file

2021-01-29 Thread Mauro Carvalho Chehab
Remove the IRQ list from the header, as this is used only inside the driver itself. Also, get rid of two unused defines. The net result is that only struct hi6421_spmi_pmic remains on it, as this is used by the regulator driver. Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/hikey9xx

[GIT PULL for v5.11-rc7] media fixes

2021-02-01 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v5.11-3 The rockship rkisp1 driver will be promoted from stage on Kernel 5.11. While not too late, do a few uAPI changes which are needed to better support its functionalities. Regards, Ma

[PATCH] media: uvc: limit max bandwidth for HDMI capture

2021-02-01 Thread Mauro Carvalho Chehab
supports such frame interval is 1280x720. Add a quirk to estimate a raw bandwidth, by doing: width * height * framerate E. g.: 1920 * 1080 * 30 = 62208000 if the bandwidth is greater than such threshold, get the next value from the dwFrameInterval. Signed-off-by: Mauro Carvalho Chehab

Re: [PATCH RFC 2/2] dt: pci: kirin-pcie.txt: convert it to yaml

2021-02-02 Thread Mauro Carvalho Chehab
Em Tue, 26 Jan 2021 09:49:18 -0600 Rob Herring escreveu: > On Tue, Jan 26, 2021 at 1:35 AM Mauro Carvalho Chehab > wrote: > > > > Convert the file into a JSON description at the yaml format. > > > > Signed-off-by: Mauro Carvalho Chehab > > --- > >

[PATCH 02/13] doc: bindings: kirin-pcie.txt: convert it to yaml

2021-02-02 Thread Mauro Carvalho Chehab
Convert the file into a JSON description at the yaml format. Signed-off-by: Mauro Carvalho Chehab --- .../bindings/pci/hisilicon,kirin-pcie.yaml| 90 +++ .../devicetree/bindings/pci/kirin-pcie.txt| 50 --- MAINTAINERS | 2 +- 3

[PATCH 09/13] pci: dwc: pcie-kirin: allow to optionally require a regulator

2021-02-02 Thread Mauro Carvalho Chehab
On Hikey 970, there's a power supply controlled by Hi6421v600 regulator that turns on the PCI devices on the board. Without that, no PCI hardware would work. As this is device-dependent, such regulator line should be optional. Signed-off-by: Mauro Carvalho Chehab --- drivers/pci/controlle

[PATCH 07/13] pci: dwc: pcie-kirin: simplify kirin 970 get resource logic

2021-02-02 Thread Mauro Carvalho Chehab
Use devm_platform_ioremap_resource_byname() in order to simplify the logic and to make the logic for Kirin 970 similar to the one for Kirin 960. Signed-off-by: Mauro Carvalho Chehab --- drivers/pci/controller/dwc/pcie-kirin.c | 23 ++- 1 file changed, 10 insertions(+), 13

[PATCH 06/13] pci: dwc: pcie-kirin: simplify error handling logic

2021-02-02 Thread Mauro Carvalho Chehab
Instead of returning -ENODEV when of_get_named_gpio() fails, make it return the actual error code. With that, there's no need anymore to check for -EPROBE_DEFER at kirin_pcie_probe(). Signed-off-by: Mauro Carvalho Chehab --- drivers/pci/controller/dwc/pcie-kirin.c | 16 ++-- 1

[PATCH 10/13] pci: dwc: pcie-kirin: allow using multiple reset GPIOs

2021-02-02 Thread Mauro Carvalho Chehab
to contain multiple reset lines. Signed-off-by: Mauro Carvalho Chehab --- drivers/pci/controller/dwc/pcie-kirin.c | 134 +++- 1 file changed, 64 insertions(+), 70 deletions(-) diff --git a/drivers/pci/controller/dwc/pcie-kirin.c b/drivers/pci/controller/dwc/pcie-kirin.c

[PATCH 13/13] arm64: dts: hisilicon: cleanup Hikey 970 PCI schema

2021-02-02 Thread Mauro Carvalho Chehab
The original schema was not generic enough and not properly documented. Those got updated via some driver changes. Apply those changes also to Hikey 970 schema. Signed-off-by: Mauro Carvalho Chehab --- arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 18 +- .../boot/dts

[PATCH 08/13] pci: dwc: pcie-kirin: place common init code altogether

2021-02-02 Thread Mauro Carvalho Chehab
Both Kirin 960 and Kirin 970 need to do ioremap for apb, phy and dbi. So, use a shared code for those. It should be noticed that the dbi remap is now done by dwc core, so it can simply be removed from kirin970_pcie_get_resource(). Signed-off-by: Mauro Carvalho Chehab --- drivers/pci

[PATCH 11/13] pci: dwc: pcie-kirin: add support for clkreq GPIOs

2021-02-02 Thread Mauro Carvalho Chehab
The PCI hardware on Hikey 970 also need to enable clock lines for PCI bridge, Ethernet and M.2 connector. Those should be enabled during PCI hardware power on logic. Add support for them. Signed-off-by: Mauro Carvalho Chehab --- drivers/pci/controller/dwc/pcie-kirin.c | 77

[PATCH 01/13] doc: bindings: pci: designware-pcie.txt: convert it to yaml

2021-02-02 Thread Mauro Carvalho Chehab
Convert the file into a DT schema. Signed-off-by: Mauro Carvalho Chehab --- .../bindings/pci/amlogic,meson-pcie.txt | 4 +- .../bindings/pci/axis,artpec6-pcie.txt| 2 +- .../bindings/pci/designware-pcie.txt | 77 -- .../bindings/pci/fsl,imx6q-pcie.txt

[PATCH 04/13] pci: dwc: pcie-kirin: add HI3670 PCI-E controller support

2021-02-02 Thread Mauro Carvalho Chehab
From: Manivannan Sadhasivam Add HiSilicon HI3670 SoC PCI-E controller support based on Designware PCI-E controller IP. [mchehab+hua...@kernel.org: fix merge conflicts] Signed-off-by: Manivannan Sadhasivam Signed-off-by: Mauro Carvalho Chehab --- drivers/pci/controller/dwc/pcie-kirin.c | 723

[PATCH 00/13] Add support for Hikey 970 PCIe

2021-02-02 Thread Mauro Carvalho Chehab
re-submit patch 13 after the pending stuff gets merged upstream. Manivannan Sadhasivam (2): pci: dwc: pcie-kirin: add HI3670 PCI-E controller support arm64: dts: hisilicon: Add HI3670 PCI-E controller support Mauro Carvalho Chehab (11): doc: bindings: pci: designware-pcie.txt: convert it

[PATCH 03/13] doc: bindings: add new parameters used by Hikey 970

2021-02-02 Thread Mauro Carvalho Chehab
There are a few extra optional bindings that are needed for Hikey 970 PCI to work. Add them. Signed-off-by: Mauro Carvalho Chehab --- .../bindings/pci/hisilicon,kirin-pcie.yaml| 60 ++- 1 file changed, 57 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree

[PATCH 05/13] arm64: dts: hisilicon: Add HI3670 PCI-E controller support

2021-02-02 Thread Mauro Carvalho Chehab
From: Manivannan Sadhasivam Add PCI-E controller support for HiSilicon HI3670 SoC. [mchehab+hua...@kernel.org: fix merge conflicts] Signed-off-by: Manivannan Sadhasivam Signed-off-by: Mauro Carvalho Chehab --- arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 64 +++ 1 file

[PATCH 12/13] pci: dwc: pcie-kirin: cleanup kirin970_pcie_get_eyeparam()

2021-02-02 Thread Mauro Carvalho Chehab
Cleanup the routine, to let it clearer that eye_param is optional and that, if not specified, the driver will assume the default. While here, also drop the useless debug prints. Signed-off-by: Mauro Carvalho Chehab --- drivers/pci/controller/dwc/pcie-kirin.c | 17 +++-- 1 file

Re: [PATCH 09/13] pci: dwc: pcie-kirin: allow to optionally require a regulator

2021-02-02 Thread Mauro Carvalho Chehab
Hi Mark, Em Tue, 2 Feb 2021 13:41:01 + Mark Brown escreveu: > On Tue, Feb 02, 2021 at 02:29:54PM +0100, Mauro Carvalho Chehab wrote: > > On Hikey 970, there's a power supply controlled by Hi6421v600 > > regulator that turns on the PCI devices on the board. Without >

Re: [PATCH 01/13] doc: bindings: pci: designware-pcie.txt: convert it to yaml

2021-02-04 Thread Mauro Carvalho Chehab
Em Thu, 4 Feb 2021 11:29:45 -0600 Rob Herring escreveu: > On Wed, Feb 03, 2021 at 07:49:00AM +0100, Mauro Carvalho Chehab wrote: > > Hi Rob, > > > > Em Tue, 02 Feb 2021 11:44:54 -0600 > > Rob Herring escreveu: > > > > > My bot found errors run

Re: Kernel version numbers after 4.9.255 and 4.4.255

2021-02-05 Thread Mauro Carvalho Chehab
Em Fri, 5 Feb 2021 12:31:05 -0500 Tony Battersby escreveu: > On 2/4/21 6:00 AM, Jiri Slaby wrote: > > Agreed. But currently, sublevel won't "wrap", it will "overflow" to > > patchlevel. And that might be a problem. So we might need to update the > > header generation using e.g. "sublevel & 0xff

Re: linux-next: build warning after merge of the v4l-dvb tree

2021-02-08 Thread Mauro Carvalho Chehab
Em Mon, 08 Feb 2021 13:57:56 -0300 Ezequiel Garcia escreveu: > On Mon, 2021-02-08 at 18:46 +0200, Sakari Ailus wrote: > > Hi Ezequiel, > > > > Thanks for addressing this. > > > > On Mon, Feb 08, 2021 at 01:42:21PM -0300, Ezequiel Garcia wrote: > > > Hi Stephen, > > > > > > On Mon, 2021-02-08

[PATCH] media: add a subsystem profile documentation

2021-02-25 Thread Mauro Carvalho Chehab
Document the basic policies of the media subsystem profile. Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-api/media/index.rst | 2 + .../media/maintainer-entry-profile.rst| 159 ++ .../maintainer/maintainer-entry-profile.rst | 1 + 3 files

[PATCH v2] media: add a subsystem profile documentation

2021-02-25 Thread Mauro Carvalho Chehab
Document the basic policies of the media subsystem profile. Signed-off-by: Mauro Carvalho Chehab --- v2: fix the Documentation/*/media directories Documentation/driver-api/media/index.rst | 2 + .../media/maintainer-entry-profile.rst| 161 ++ .../maintainer

Re: [PATCH v5 1/3] usb: serial: Add MaxLinear/Exar USB to Serial driver

2021-02-25 Thread Mauro Carvalho Chehab
Em Mon, 22 Feb 2021 16:47:36 +0100 Johan Hovold escreveu: > On Mon, Feb 22, 2021 at 04:27:34PM +0100, Mauro Carvalho Chehab wrote: > > Hi Johan, > > > > Em Tue, 26 Jan 2021 17:26:36 +0100 > > Johan Hovold escreveu: > > > > > On Tue, Jan 26, 2021

Re: [PATCH v5 1/3] usb: serial: Add MaxLinear/Exar USB to Serial driver

2021-02-25 Thread Mauro Carvalho Chehab
Em Thu, 25 Feb 2021 18:58:20 +0100 Mauro Carvalho Chehab escreveu: > Em Mon, 22 Feb 2021 16:47:36 +0100 > Johan Hovold escreveu: > > > On Mon, Feb 22, 2021 at 04:27:34PM +0100, Mauro Carvalho Chehab wrote: > > > Hi Johan, > > > > > > Em Tue, 26

Re: [PATCH v7 0/2] checkpatch: add verbose mode

2021-02-25 Thread Mauro Carvalho Chehab
y checkpatch.pl > > > if the verbose mode is enabled. The verbose mode can > > > not be used together with the --terse option. > > > > I don't have any real objection to this patch set, but as this > > might be added to the Documentation tree and in .rst

Re: [PATCH v5 1/3] usb: serial: Add MaxLinear/Exar USB to Serial driver

2021-02-26 Thread Mauro Carvalho Chehab
Em Fri, 26 Feb 2021 11:07:07 +0100 Johan Hovold escreveu: > On Thu, Feb 25, 2021 at 07:04:05PM +0100, Mauro Carvalho Chehab wrote: > > Em Thu, 25 Feb 2021 18:58:20 +0100 > > Mauro Carvalho Chehab escreveu: > > > > While testing the xr_serial (as currently merged),

Re: [PATCH] USB: serial: xr: fix NULL-deref on disconnect

2021-02-26 Thread Mauro Carvalho Chehab
t; Fixes: c2d405aa86b4 ("USB: serial: add MaxLinear/Exar USB to Serial driver") > Reported-by: Mauro Carvalho Chehab > Cc: Manivannan Sadhasivam > Signed-off-by: Johan Hovold That solved the issue with XR21V1410: [ 8176.265862] usbcore: registered new interface driver xr

[PATCH 5/7] USB: serial: xr: add support for XR21B1411

2021-02-26 Thread Mauro Carvalho Chehab
There's nothing special on this device: it has just one port. The only difference is that it uses a different register set. Signed-off-by: Mauro Carvalho Chehab --- drivers/usb/serial/xr_serial.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/driver

[PATCH 2/7] USB: serial: xr: use a table for device-specific settings

2021-02-26 Thread Mauro Carvalho Chehab
. Signed-off-by: Mauro Carvalho Chehab --- drivers/usb/serial/xr_serial.c | 151 - 1 file changed, 113 insertions(+), 38 deletions(-) diff --git a/drivers/usb/serial/xr_serial.c b/drivers/usb/serial/xr_serial.c index 169c7ef11d73..10f7fb40d9ae 100644 --- a/drivers

[PATCH 6/7] USB: serial: xr: add support for XR2280X devices

2021-02-26 Thread Mauro Carvalho Chehab
There's nothing special on those devices either. They just use a different set of registers. Signed-off-by: Mauro Carvalho Chehab --- drivers/usb/serial/xr_serial.c | 32 1 file changed, 32 insertions(+) diff --git a/drivers/usb/serial/xr_serial.c b/driver

[PATCH 3/7] USB: serial: xr: add support for multi-port XR21V141X variants

2021-02-26 Thread Mauro Carvalho Chehab
d number. The logic to get the proper register for an specific channel came from this patch: https://lore.kernel.org/linux-usb/20180404070634.nhspvmxcjwfgjkcv@advantechmxl-desktop Add support for them. Signed-off-by: Mauro Carvalho Chehab --- drivers/usb/ser

[PATCH 0/7] Add support for the other MaxLinear/Exar UARTs

2021-02-26 Thread Mauro Carvalho Chehab
is patch series, I used the datasheets, plus the Linux driver source code, available at MaxLinear, and a previous port made by Patong Yang: https://lore.kernel.org/linux-usb/20180404070634.nhspvmxcjwfgjkcv@advantechmxl-desktop Regards, Mauro Mauro Carvalho Chehab (7): USB: serial: x

[PATCH 4/7] USB: serial: xr: add support for XR21B142X devices

2021-02-26 Thread Mauro Carvalho Chehab
rface 5 CDC Union: bMasterInterface6 bSlaveInterface 7 bDataInterface 7 Signed-off-by: Mauro Carvalho Chehab --- drivers/usb/serial/xr_serial.c | 235 - 1 file changed, 231 insertions(+), 4 dele

[PATCH 7/7] USB: cdc-acm: add other non-standard xr_serial models to ignore list

2021-02-26 Thread Mauro Carvalho Chehab
Now that the xr_serial got support for other models, add their USB IDs as well, as those devices won't work with the standard CDC driver. Signed-off-by: Mauro Carvalho Chehab --- drivers/usb/class/cdc-acm.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --

<    5   6   7   8   9   10   11   12   13   14   >