[PATCH 20/30] docs: dma-buf: fix some warnings

2020-09-09 Thread Mauro Carvalho Chehab
one is due to a shorter markup. The second one is because the chapter name was wrong. Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-api/dma-buf.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/driver-api/dma-buf.rst b/Documentation/driver-api/d

[PATCH 17/30] docs: kvm: api.rst: add missing spaces

2020-09-09 Thread Mauro Carvalho Chehab
: WARNING: Definition list ends without a blank line; unexpected unindent. Produced by the lack of identation on a single line. That caused the literal block to end prematurely. Signed-off-by: Mauro Carvalho Chehab --- Documentation/virt/kvm/api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 10/30] drivers: net: hamradio: fix document location

2020-09-09 Thread Mauro Carvalho Chehab
The hamradio docs were moved to a different dir. Update its location accordingly. Fixes: 14474950252c ("docs: networking: move z8530 to the hw driver section") Signed-off-by: Mauro Carvalho Chehab --- drivers/net/hamradio/scc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 18/30] block: bio: fix a warning at the kernel-doc markups

2020-09-09 Thread Mauro Carvalho Chehab
ble to use, instead, this kernel-doc markup: ``bio's`` parent Yet, here, is probably simpler to just use an altenative language: the parent of @bio Signed-off-by: Mauro Carvalho Chehab --- block/bio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/bio

[PATCH 19/30] docs: soundwire: fix some identation at stream.rst

2020-09-09 Thread Mauro Carvalho Chehab
, address both issues. Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-api/soundwire/stream.rst | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/driver-api/soundwire/stream.rst b/Documentation/driver-api/soundwire/stream.rst index 8858cea7bfe0

[PATCH 23/30] docs: submitting-patches: use :doc: for references

2020-09-09 Thread Mauro Carvalho Chehab
such references. So, replace :ref: to :doc: there, making them to point to the current file name. Signed-off-by: Mauro Carvalho Chehab --- Documentation/process/submitting-patches.rst | 20 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/Documentation/process

[PATCH 22/30] kunit: test.h: solve kernel-doc warnings

2020-09-09 Thread Mauro Carvalho Chehab
, the free argument is described as user-provided. So, this doesn't seem to belong to the "private" part of the struct. Signed-off-by: Mauro Carvalho Chehab --- include/kunit/test.h | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/include/kunit/test.h b/inc

[PATCH 26/30] iio: iio.h: fix a warning at the kernel-doc markup

2020-09-09 Thread Mauro Carvalho Chehab
o, replace it to a better notation. Signed-off-by: Mauro Carvalho Chehab --- include/linux/iio/iio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h index e2df67a3b9ab..f1daaba9e706 100644 --- a/include/linux/iio/iio.h +++ b/inc

[PATCH 11/30] tools: docs: memory-model: fix references for some files

2020-09-09 Thread Mauro Carvalho Chehab
is now happy again for files under tools/. Signed-off-by: Mauro Carvalho Chehab --- tools/memory-model/Documentation/README | 2 +- tools/memory-model/Documentation/ordering.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/memory-model/Documentation/README b

[PATCH 16/30] docs: watch_queue: fix some warnings

2020-09-09 Thread Mauro Carvalho Chehab
-string. Documentation/watch_queue.rst:184: WARNING: Inline emphasis start-string without end-string. The problem here is that the ``notation`` doesn't accept multi lines. So, replace it to a code block using: :: notation Signed-off-by: Mauro Carvalho Chehab

[PATCH 29/30] kunit: test.h: fix a bad kernel-doc markup

2020-09-09 Thread Mauro Carvalho Chehab
. Signed-off-by: Mauro Carvalho Chehab --- include/kunit/test.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/kunit/test.h b/include/kunit/test.h index 41b3a266bf8c..5c5ed262a950 100644 --- a/include/kunit/test.h +++ b/include/kunit/test.h @@ -498,8 +498,8

[PATCH 30/30] docs: amdgpu: fix a warning when building the documentation

2020-09-09 Thread Mauro Carvalho Chehab
As reported by Sphinx: Documentation/gpu/amdgpu.rst:200: WARNING: Inline emphasis start-string without end-string. Signed-off-by: Mauro Carvalho Chehab --- Documentation/gpu/amdgpu.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/gpu/amdgpu.rst

[PATCH 01/30] .gitignore: docs: ignore sphinx_*/ directories

2020-09-09 Thread Mauro Carvalho Chehab
. So, add the directories created by running the commands suggested by the script. Signed-off-by: Mauro Carvalho Chehab --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 162bd2b67bdf..d01cda8e1177 100644 --- a/.gitignore +++ b/.gitignore

[PATCH 06/30] docs: trace: fix the location of kprobes.rst

2020-09-09 Thread Mauro Carvalho Chehab
This patch was moved out of staging. Fixes: 2165b82fde82 ("docs: Move kprobes.rst from staging/ to trace/") Signed-off-by: Mauro Carvalho Chehab --- Documentation/trace/kprobetrace.rst | 2 +- samples/kprobes/kprobe_example.c| 2 +- samples/kprobes/kretprobe_example.c | 2 +

[PATCH 15/30] docs: powerpc: syscall64-abi.rst: fix a malformed table

2020-09-09 Thread Mauro Carvalho Chehab
Volatile (System call number.) This table requires a different notation to be valid. Signed-off-by: Mauro Carvalho Chehab --- Documentation/powerpc/syscall64-abi.rst | 32 - 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Documentation/powerpc

[PATCH 27/30] docs: bio: fix a kerneldoc markup

2020-09-09 Thread Mauro Carvalho Chehab
Fix this warning: ./block/bio.c:1098: WARNING: Inline emphasis start-string without end-string. The thing is that *iter is not a valid markup. That seems to be a typo: *iter -> @iter Signed-off-by: Mauro Carvalho Chehab --- block/bio.c | 2 +- 1 file changed, 1 insert

[PATCH 24/30] docs: lockdep-design: fix some warning issues

2020-09-09 Thread Mauro Carvalho Chehab
y're using a different notation. Fixes: 224ec489d3cd ("lockdep/Documention: Recursive read lock detection reasoning") Signed-off-by: Mauro Carvalho Chehab --- Documentation/locking/lockdep-design.rst | 69 ++-- 1 file changed, 40 insertions(+), 29 deletions(-) diff --git a/D

[PATCH 28/30] drivers: core: fix kernel-doc markup for dev_err_probe()

2020-09-09 Thread Mauro Carvalho Chehab
unindent. ./drivers/base/core.c:4223: WARNING: Block quote ends without a blank line; unexpected unindent. Fixes: a787e5400a1c ("driver core: add device probe log helper") Signed-off-by: Mauro Carvalho Chehab --- drivers/base/core.c | 7 +-- 1 file changed, 5 insertions(+), 2

[PATCH 12/30] scripts: device_attr_show.cocci: update location of sysfs doc

2020-09-09 Thread Mauro Carvalho Chehab
sysfs.txt was converted and renamed to sysfs.rst. Update device_attr_show.cocci script accordingly. Signed-off-by: Mauro Carvalho Chehab --- scripts/coccinelle/api/device_attr_show.cocci | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/coccinelle/api

[PATCH 07/30] MAINTAINERS: fix location of qlogic/LICENSE.qla3xxx

2020-09-09 Thread Mauro Carvalho Chehab
ethernet/qlogic/LICENSE.qla3xxx -> qlogic/LICENSE.qla3xxx Signed-off-by: Mauro Carvalho Chehab --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index f3fee4140272..f9d044b6aa42 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1432

[PATCH 04/30] docs: hwmon: adm1266.rst: fix a broken reference

2020-09-09 Thread Mauro Carvalho Chehab
The reference was missing the extension, causing the check script to complain. Signed-off-by: Mauro Carvalho Chehab --- Documentation/hwmon/adm1266.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/hwmon/adm1266.rst b/Documentation/hwmon/adm1266.rst index

[PATCH 14/30] docs: add some new files to their respective index.rst files

2020-09-09 Thread Mauro Carvalho Chehab
There were some new file additions for Kernel 5.7 and 5.8 that weren't added at the corresponding index file. Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-api/nvdimm/index.rst | 1 + Documentation/firmware-guide/acpi/index.rst | 1 + Documentation/hwmon/index.rst

Re: [PATCH v4 bpf-next 5/5] docs/bpf: add BPF ring buffer design notes

2020-09-09 Thread Mauro Carvalho Chehab
Em Wed, 9 Sep 2020 15:53:05 +0200 Mauro Carvalho Chehab escreveu: > Em Fri, 29 May 2020 00:54:24 -0700 > Andrii Nakryiko escreveu: > > > Add commit description from patch #1 as a stand-alone documentation under > > Documentation/bpf, as it might be more convenient

Re: [PATCH v4 bpf-next 5/5] docs/bpf: add BPF ring buffer design notes

2020-09-09 Thread Mauro Carvalho Chehab
Em Fri, 29 May 2020 00:54:24 -0700 Andrii Nakryiko escreveu: > Add commit description from patch #1 as a stand-alone documentation under > Documentation/bpf, as it might be more convenient format, in long term > perspective. > > Suggested-by: Stanislav Fomichev > Signed-off-by: Andrii Nakryiko

[PATCH 08/30] docs: fix location of nommu-mmap.rst file

2020-09-09 Thread Mauro Carvalho Chehab
mm/nommu-mmap.rst -> admin-guide/mm/ nommu-mmap.rst Fixes: 800c02f5d030 ("docs: move nommu-mmap.txt to admin-guide and rename to ReST") Signed-off-by: Mauro Carvalho Chehab --- init/Kconfig | 2 +- mm/Kconfig | 2 +- mm/nommu.c | 2 +- 3 files changed, 3 insertions(+), 3 delet

Re: [PATCH v2 08/11] misc: hisi_hikey_usb: Driver to support onboard USB gpio hub on Hikey960

2020-09-09 Thread Mauro Carvalho Chehab
Em Wed, 9 Sep 2020 10:44:42 +0200 Mauro Carvalho Chehab escreveu: > Em Wed, 9 Sep 2020 10:35:55 +0200 > Greg Kroah-Hartman escreveu: > > > On Mon, Sep 07, 2020 at 05:59:32PM +0200, Mauro Carvalho Chehab wrote: > > > From: Yu Chen > > > > >

Re: [PATCH v2 08/11] misc: hisi_hikey_usb: Driver to support onboard USB gpio hub on Hikey960

2020-09-09 Thread Mauro Carvalho Chehab
Em Wed, 9 Sep 2020 10:35:55 +0200 Greg Kroah-Hartman escreveu: > On Mon, Sep 07, 2020 at 05:59:32PM +0200, Mauro Carvalho Chehab wrote: > > From: Yu Chen > > > > The HiKey960 has a fairly complex USB configuration due to it > > needing to support a USB-C port for ho

[PATCH v3 0/2] use SPDX also for GFDL documents

2020-09-08 Thread Mauro Carvalho Chehab
: - Added Valid-License-Identifier, SPDX_URL, Usage-Guide and License-Text meta-tags. Mauro Carvalho Chehab (2): LICENSE: add GFDL deprecated licenses docs: trace: ring-buffer-design.rst: use the new SPDX tag Documentation/trace/ring-buffer-design.rst | 26 +- LICENSES/deprecated/GFDL-1.1

[PATCH v3 2/2] docs: trace: ring-buffer-design.rst: use the new SPDX tag

2020-09-08 Thread Mauro Carvalho Chehab
SPDX v3.10 gained support for GFDL-1.2 with no invariant sections: https://spdx.org/licenses/GFDL-1.2-no-invariants-only.html Let's use it, instead of keeping a license text for this file. Signed-off-by: Mauro Carvalho Chehab --- Documentation/trace/ring-buffer-design.rst | 26

[PATCH v3 1/2] LICENSE: add GFDL deprecated licenses

2020-09-08 Thread Mauro Carvalho Chehab
. Signed-off-by: Mauro Carvalho Chehab --- LICENSES/deprecated/GFDL-1.1 | 377 +++ LICENSES/deprecated/GFDL-1.2 | 417 +++ 2 files changed, 794 insertions(+) create mode 100644 LICENSES/deprecated/GFDL-1.1 create mode 100644 LICENSES

[PATCH 07/10] MAINTAINERS: add myself as maintainer for Kirin 970 USB PHY

2020-09-08 Thread Mauro Carvalho Chehab
Now that this driver was added upsream, it needs a maintainer. Signed-off-by: Mauro Carvalho Chehab --- MAINTAINERS | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 2f497c7d659c..267ba0b7a52e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH 02/10] phy: hisilicon: phy-hi3670-usb3: fix some issues at the init code

2020-09-08 Thread Mauro Carvalho Chehab
From: Yu Chen There are some problems at the initialization part of this phy. Solve them. Signed-off-by: Yu Chen Signed-off-by: Mauro Carvalho Chehab --- drivers/phy/hisilicon/phy-hi3670-usb3.c | 70 +++-- 1 file changed, 32 insertions(+), 38 deletions(-) diff --git

[PATCH 03/10] phy: hisilicon: phy-hi3670-usb3: use a consistent namespace

2020-09-08 Thread Mauro Carvalho Chehab
Rename hikey970 to hi3670, in order to use a namespace similar to hi3660 driver. Signed-off-by: Mauro Carvalho Chehab --- .../bindings/phy/phy-hi3670-usb3.txt | 4 +- drivers/phy/hisilicon/phy-hi3670-usb3.c | 98 +-- 2 files changed, 51 insertions(+), 51

[PATCH 00/10] Add USB support for Hikey 970

2020-09-08 Thread Mauro Carvalho Chehab
Carvalho Chehab (7): phy: hisilicon: phy-hi3670-usb3: use a consistent namespace phy: hisilicon: phy-hi3670-usb3: fix coding style phy: hisilicon: phy-hi3670-usb3: change some DT properties dt-bindings: phy: convert phy-kirin970-usb3.txt to yaml MAINTAINERS: add myself as maintainer for Kirin

[PATCH 06/10] dt-bindings: phy: convert phy-kirin970-usb3.txt to yaml

2020-09-08 Thread Mauro Carvalho Chehab
Use the new YAML for this physical layer. Signed-off-by: Mauro Carvalho Chehab --- .../bindings/phy/hisilicon,hi3670-usb3.yaml | 72 +++ .../bindings/phy/phy-hi3670-usb3.txt | 25 --- 2 files changed, 72 insertions(+), 25 deletions(-) create mode 100644

[PATCH 05/10] phy: hisilicon: phy-hi3670-usb3: change some DT properties

2020-09-08 Thread Mauro Carvalho Chehab
Do some changes at the DT properties in order to make it follow the phy-hi3660-usb3 example and to simplify usb3-phy-tx-vboost-lvl name. Signed-off-by: Mauro Carvalho Chehab --- drivers/phy/hisilicon/phy-hi3670-usb3.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 04/10] phy: hisilicon: phy-hi3670-usb3: fix coding style

2020-09-08 Thread Mauro Carvalho Chehab
Address the issues reported by checkpatch --strict, and add a SPDX tag. Signed-off-by: Mauro Carvalho Chehab --- drivers/phy/hisilicon/phy-hi3670-usb3.c | 157 1 file changed, 76 insertions(+), 81 deletions(-) diff --git a/drivers/phy/hisilicon/phy-hi3670-usb3.c b

[PATCH 08/10] misc: hisi_hikey_usb: Driver to support onboard USB gpio hub on Hikey960

2020-09-08 Thread Mauro Carvalho Chehab
lines between the USB-C port and the onboard hub to the USB-A ports. Signed-off-by: Yu Chen [jstultz: Major rework to make the driver a usb-role-switch intermediary] Signed-off-by: John Stultz Signed-off-by: Mauro Carvalho Chehab --- MAINTAINERS | 7 ++ drivers

[PATCH 01/10] phy: hisilicon: add USB physical layer for Kirin 3670

2020-09-08 Thread Mauro Carvalho Chehab
Carvalho Chehab --- .../bindings/phy/phy-hi3670-usb3.txt | 25 + drivers/phy/hisilicon/Kconfig | 10 + drivers/phy/hisilicon/Makefile| 1 + drivers/phy/hisilicon/phy-hi3670-usb3.c | 682 ++ 4 files changed, 718 insertions(+) create

[PATCH 10/10] dts: hisilicon: add support for USB3 on Hikey 970

2020-09-08 Thread Mauro Carvalho Chehab
Add the USB3 bindings for Kirin 970 phy and Hikey 970 board. Signed-off-by: Mauro Carvalho Chehab --- .../boot/dts/hisilicon/hi3670-hikey970.dts| 102 ++ arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 58 ++ 2 files changed, 160 insertions(+) diff --git a/arch

[PATCH 09/10] misc: hisi_hikey_usb: add support for Hikey 970

2020-09-08 Thread Mauro Carvalho Chehab
Carvalho Chehab --- drivers/misc/Kconfig | 8 +-- drivers/misc/hisi_hikey_usb.c | 99 +-- 2 files changed, 88 insertions(+), 19 deletions(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index fb15364f32d2..e9c38dee2b90 100644 --- a/drivers/misc

Re: [PATCH 0/5] address W=1 warnings at staging/media/atomisp

2020-09-08 Thread Mauro Carvalho Chehab
Hi Greg, Em Tue, 8 Sep 2020 12:12:21 +0200 Mauro Carvalho Chehab escreveu: > The linux-media policy is to have zero warnings with W=1. However, when > I started using a Jenkins instance at https://builder.linuxtv.org to automate > such tests, I didn't notice that a bug at the scripts

Re: [PATCH v2] dwc3-of-simple: add support for Hikey 970

2020-09-08 Thread Mauro Carvalho Chehab
Hi Felipe, Em Tue, 08 Sep 2020 13:02:09 +0300 Felipe Balbi escreveu: > Hi, > > Mauro Carvalho Chehab writes: > > This binding driver is needed for Hikey 970 to work, > > as otherwise a Serror is produced: > > you mentioned Serror doesn't happen anymore... >

[PATCH 3/5] media: atomisp: get rid of unused vars

2020-09-08 Thread Mauro Carvalho Chehab
: warning: variable ‘ver_num_isp’ set but not used [-Wunused-but-set-variable] drivers/staging/media/atomisp//pci/isp/kernels/sdis/sdis_2/ia_css_sdis2.host.c:119:15: warning: variable ‘hor_num_isp’ set but not used [-Wunused-but-set-variable] Signed-off-by: Mauro Carvalho Chehab

[PATCH 4/5] media: atomisp: move a static constant out of a header file

2020-09-08 Thread Mauro Carvalho Chehab
/media/atomisp//pci/hive_isp_css_common/host/input_formatter_local.h:118:27: warning: ‘input_formatter_alignment’ defined but not used [-Wunused-const-variable=] However, it is, but only inside input_formatter.c. So, move it out of the header file. Signed-off-by: Mauro Carvalho Chehab

[PATCH 1/5] media: atomisp: get rid of some cleanup leftovers

2020-09-08 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/media/atomisp/pci/atomisp_v4l2.c b/drivers/staging/media/atomisp/pci/atomisp_v4l2.c index 8c1d5a3b8f45..304857bffc6a 100644 --- a/drive

[PATCH 2/5] media: atomisp: print a warning if error while setting downscaler

2020-09-08 Thread Mauro Carvalho Chehab
. The driver just ignores it, without producing any warning. Add at least a warning message on such cases. Signed-off-by: Mauro Carvalho Chehab --- .../media/atomisp/pci/isp/kernels/vf/vf_1.0/ia_css_vf.host.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/staging/media/atomisp/pci

[PATCH 5/5] media: atomisp: get rid of -Wsuggest-attribute=format warnings

2020-09-08 Thread Mauro Carvalho Chehab
of printf-like messages without enabling the error checking logic. Add the proper attributes in order to shut up such warnings. Signed-off-by: Mauro Carvalho Chehab --- .../media/atomisp/pci/atomisp_compat_css20.c | 20 --- .../staging/media/atomisp/pci/ia_css_env.h| 4 ++-- 2

[PATCH 0/5] address W=1 warnings at staging/media/atomisp

2020-09-08 Thread Mauro Carvalho Chehab
seconds ../drivers/media/test-drivers/vivid/vivid-core.c: ../drivers/media/test-drivers/vivid/vivid-core.c:1531 vivid_create_instance() parse error: __split_smt: function too hairy. Giving up after 301 seconds This series solve all atomisp W=1 warnings. Mauro Carvalho Chehab (5): media

[PATCH v2] dwc3-of-simple: add support for Hikey 970

2020-09-08 Thread Mauro Carvalho Chehab
] Memory Limit: none Signed-off-by: Mauro Carvalho Chehab --- v2: removed a hunk enabling a quirk that was causing Serror panic() on arm. It turned that such hunk were not needed at all. drivers/usb/dwc3/dwc3-of-simple.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/dwc3

[PATCH 2/2] dt-bindings: document a new quirk for dwc3

2020-09-08 Thread Mauro Carvalho Chehab
ice number 3 using xhci-hcd ... [ 397.698132] usb 1-1.1: reset low-speed USB device number 3 using xhci-hcd Signed-off-by: Mauro Carvalho Chehab --- Documentation/devicetree/bindings/usb/dwc3.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindi

[PATCH 0/2] Add a quirk for dwc3 driver, requred for Hikey 970 USB to work

2020-09-08 Thread Mauro Carvalho Chehab
such IP. Mauro Carvalho Chehab (1): dt-bindings: document a new quirk for dwc3 Yu Chen (1): usb: dwc3: Add splitdisable quirk for Hisilicon Kirin Soc .../devicetree/bindings/usb/dwc3.txt | 3 +++ drivers/usb/dwc3/core.c | 25 +++ drivers/usb

[PATCH 1/2] usb: dwc3: Add splitdisable quirk for Hisilicon Kirin Soc

2020-09-08 Thread Mauro Carvalho Chehab
From: Yu Chen SPLIT_BOUNDARY_DISABLE should be set for DesignWare USB3 DRD Core of Hisilicon Kirin Soc when dwc3 core act as host. [mchehab: dropped a dev_dbg() as only traces are now allowwed on this driver] Signed-off-by: Yu Chen Signed-off-by: Mauro Carvalho Chehab --- drivers/usb/dwc3

Re: [PATCH v2 10/11] dwc3-of-simple: add support for Hikey 970

2020-09-08 Thread Mauro Carvalho Chehab
Em Mon, 7 Sep 2020 17:59:34 +0200 Mauro Carvalho Chehab escreveu: > diff --git a/drivers/usb/dwc3/dwc3-of-simple.c > b/drivers/usb/dwc3/dwc3-of-simple.c > index 8852fbfdead4..2d497165efe2 100644 > --- a/drivers/usb/dwc3/dwc3-of-simple.c > +++ b/drivers/usb/dwc3/dwc3-of-simp

Re: [PATCH v6 04/13] usb: dwc3: Add splitdisable quirk for Hisilicon Kirin Soc

2020-09-08 Thread Mauro Carvalho Chehab
Em Tue, 08 Sep 2020 09:09:46 +0300 Felipe Balbi escreveu: > >> Why does it affect only Hikey kirin? > > > > As John Stultz didn't re-submit this one (and looking at the DT > > between Kirin 960 and 970 from the original Kernel 4.9 official > > drivers), I suspect that only Kirin 970 requires

Re: [PATCH v6 04/13] usb: dwc3: Add splitdisable quirk for Hisilicon Kirin Soc

2020-09-08 Thread Mauro Carvalho Chehab
Em Mon, 07 Sep 2020 17:04:31 +0300 Felipe Balbi escreveu: > >> static const struct dev_pm_ops dwc3_dev_pm_ops = { > >>SET_SYSTEM_SLEEP_PM_OPS(dwc3_suspend, dwc3_resume) > >> + .complete = dwc3_complete, > > why is this done on complete? Why can't it be done at the end of >

[PATCH v2 02/11] phy: hisilicon: phy-hi3670-usb3: fix some issues at the init code

2020-09-07 Thread Mauro Carvalho Chehab
From: Yu Chen There are some problems at the initialization part of this phy. Solve them. Signed-off-by: Yu Chen Signed-off-by: Mauro Carvalho Chehab --- drivers/phy/hisilicon/phy-hi3670-usb3.c | 70 +++-- 1 file changed, 32 insertions(+), 38 deletions(-) diff --git

[PATCH v2 08/11] misc: hisi_hikey_usb: Driver to support onboard USB gpio hub on Hikey960

2020-09-07 Thread Mauro Carvalho Chehab
lines between the USB-C port and the onboard hub to the USB-A ports. Signed-off-by: Yu Chen [jstultz: Major rework to make the driver a usb-role-switch intermediary] Signed-off-by: John Stultz Signed-off-by: Mauro Carvalho Chehab --- MAINTAINERS | 7 ++ drivers

[PATCH v2 10/11] dwc3-of-simple: add support for Hikey 970

2020-09-07 Thread Mauro Carvalho Chehab
] Memory Limit: none Signed-off-by: Mauro Carvalho Chehab --- drivers/usb/dwc3/dwc3-of-simple.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/usb/dwc3/dwc3-of-simple.c b/drivers/usb/dwc3/dwc3-of-simple.c index 8852fbfdead4..2d497165efe2 100644 --- a/drivers/usb

[PATCH v2 06/11] dt-bindings: phy: convert phy-kirin970-usb3.txt to yaml

2020-09-07 Thread Mauro Carvalho Chehab
Use the new YAML for this physical layer. Signed-off-by: Mauro Carvalho Chehab --- .../bindings/phy/hisilicon,hi3670-usb3.yaml | 72 +++ .../bindings/phy/phy-hi3670-usb3.txt | 25 --- 2 files changed, 72 insertions(+), 25 deletions(-) create mode 100644

[PATCH v2 11/11] dts: hisilicon: add support for USB3 on Hikey 970

2020-09-07 Thread Mauro Carvalho Chehab
Add the USB3 bindings for Kirin 970 phy and Hikey 970 board. Signed-off-by: Mauro Carvalho Chehab --- .../boot/dts/hisilicon/hi3670-hikey970.dts| 102 ++ arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 58 ++ drivers/misc/hisi_hikey_usb.c | 29

[PATCH v2 04/11] phy: hisilicon: phy-hi3670-usb3: fix coding style

2020-09-07 Thread Mauro Carvalho Chehab
Address the issues reported by checkpatch --strict, and add a SPDX tag. Signed-off-by: Mauro Carvalho Chehab --- drivers/phy/hisilicon/phy-hi3670-usb3.c | 157 1 file changed, 76 insertions(+), 81 deletions(-) diff --git a/drivers/phy/hisilicon/phy-hi3670-usb3.c b

[PATCH v2 01/11] phy: hisilicon: add USB physical layer for Kirin 3670

2020-09-07 Thread Mauro Carvalho Chehab
Carvalho Chehab --- .../bindings/phy/phy-hi3670-usb3.txt | 25 + drivers/phy/hisilicon/Kconfig | 10 + drivers/phy/hisilicon/Makefile| 1 + drivers/phy/hisilicon/phy-hi3670-usb3.c | 682 ++ 4 files changed, 718 insertions(+) create

[PATCH v2 03/11] phy: hisilicon: phy-hi3670-usb3: use a consistent namespace

2020-09-07 Thread Mauro Carvalho Chehab
Rename hikey970 to hi3670, in order to use a namespace similar to hi3660 driver. Signed-off-by: Mauro Carvalho Chehab --- .../bindings/phy/phy-hi3670-usb3.txt | 4 +- drivers/phy/hisilicon/phy-hi3670-usb3.c | 98 +-- 2 files changed, 51 insertions(+), 51

[PATCH v2 07/11] MAINTAINERS: add myself as maintainer for Kirin 970 USB PHY

2020-09-07 Thread Mauro Carvalho Chehab
Now that this driver was added upsream, it needs a maintainer. Signed-off-by: Mauro Carvalho Chehab --- MAINTAINERS | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 2f497c7d659c..267ba0b7a52e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH v2 05/11] phy: hisilicon: phy-hi3670-usb3: change some DT properties

2020-09-07 Thread Mauro Carvalho Chehab
Do some changes at the DT properties in order to make it follow the phy-hi3660-usb3 example and to simplify usb3-phy-tx-vboost-lvl name. Signed-off-by: Mauro Carvalho Chehab --- drivers/phy/hisilicon/phy-hi3670-usb3.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

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

2020-09-07 Thread Mauro Carvalho Chehab
Carvalho Chehab (8): phy: hisilicon: phy-hi3670-usb3: use a consistent namespace phy: hisilicon: phy-hi3670-usb3: fix coding style phy: hisilicon: phy-hi3670-usb3: change some DT properties dt-bindings: phy: convert phy-kirin970-usb3.txt to yaml MAINTAINERS: add myself as maintainer

[PATCH v2 09/11] misc: hisi_hikey_usb: add support for Hikey 970

2020-09-07 Thread Mauro Carvalho Chehab
Carvalho Chehab --- drivers/misc/Kconfig | 8 +-- drivers/misc/hisi_hikey_usb.c | 112 +- 2 files changed, 102 insertions(+), 18 deletions(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index fb15364f32d2..e9c38dee2b90 100644 --- a/drivers/misc

Re: [PATCH v6 04/13] usb: dwc3: Add splitdisable quirk for Hisilicon Kirin Soc

2020-09-07 Thread Mauro Carvalho Chehab
Em Mon, 07 Sep 2020 17:04:31 +0300 Felipe Balbi escreveu: > Hi Mauro, > > Mauro Carvalho Chehab writes: > > > Hi Felipe/Greg, > > > > What's the status of this patch? > > to be frank, I don't think I have this in my inbox anymore. > > > I tes

Re: [PATCH v6 04/13] usb: dwc3: Add splitdisable quirk for Hisilicon Kirin Soc

2020-09-07 Thread Mauro Carvalho Chehab
() logic. Tested-by: Mauro Carvalho Chehab If you prefer, I can re-submit this one with my SOB. Thanks, Mauro Em Sat, 20 Apr 2019 14:40:10 +0800 Yu Chen escreveu: > SPLIT_BOUNDARY_DISABLE should be set for DesignWare USB3 DRD Core > of Hisilicon Kirin Soc when dwc3 core act as host. > &

[PATCH v2] net: wireless: wlcore: fix support for IGTK key

2020-09-07 Thread Mauro Carvalho Chehab
8.9.0.0.83. Tested on Hikey 970. Fixes: 2b7aadd3b9e1 ("wlcore: Adding suppoprt for IGTK key in wlcore driver") Signed-off-by: Mauro Carvalho Chehab --- Hi Raz, Maybe this patch could be useful once firmware 8.9.0.0.83 is released. v2: change it to require minimal verson 8.9.0.0.83 fo

Re: [RFC 09/10] misc: hisi_hikey_usb: add support for Hikey 970

2020-09-04 Thread Mauro Carvalho Chehab
Em Fri, 4 Sep 2020 13:45:23 +0100 Mark Brown escreveu: > On Fri, Sep 04, 2020 at 02:38:48PM +0200, Mauro Carvalho Chehab wrote: > > Em Fri, 4 Sep 2020 13:23:03 +0100 > > Mark Brown escreveu: > > > > > On Fri, Sep 04, 2020 at 12:23:31PM +020

Re: [RFC 09/10] misc: hisi_hikey_usb: add support for Hikey 970

2020-09-04 Thread Mauro Carvalho Chehab
Em Fri, 4 Sep 2020 13:23:03 +0100 Mark Brown escreveu: > On Fri, Sep 04, 2020 at 12:23:31PM +0200, Mauro Carvalho Chehab wrote: > > > + regulator = devm_regulator_get_optional(>dev, "hub-vdd"); > > + if (IS_ERR(regulator)) { > > + if

Re: [RFC 00/10] Add USB support for Hikey 970

2020-09-04 Thread Mauro Carvalho Chehab
Em Fri, 4 Sep 2020 11:53:10 +0100 Robin Murphy escreveu: > On 2020-09-04 11:23, Mauro Carvalho Chehab wrote: > > This RFC adds what seems to be needed for USB to work with Hikey 970. > > While this driver works fine on Kernel 4.9 and 4.19, there's a hack there, > > in the

[RFC 10/10] dts: hisilicon: add support for USB3 on Hikey 970

2020-09-04 Thread Mauro Carvalho Chehab
Add the USB3 bindings for Kirin 970 phy and Hikey 970 board. Signed-off-by: Mauro Carvalho Chehab --- .../boot/dts/hisilicon/hi3670-hikey970.dts| 103 ++ arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 49 + 2 files changed, 152 insertions(+) diff --git a/arch

[RFC 06/10] dt-bindings: phy: convert phy-kirin970-usb3.txt to yaml

2020-09-04 Thread Mauro Carvalho Chehab
Use the new YAML for this physical layer. Signed-off-by: Mauro Carvalho Chehab --- .../bindings/phy/hisilicon,hi3670-usb3.yaml | 72 +++ .../bindings/phy/phy-hi3670-usb3.txt | 25 --- 2 files changed, 72 insertions(+), 25 deletions(-) create mode 100644

[RFC 04/10] phy: hisilicon: phy-hi3670-usb3: fix coding style

2020-09-04 Thread Mauro Carvalho Chehab
Address the issues reported by checkpatch --strict, and add a SPDX tag. Signed-off-by: Mauro Carvalho Chehab --- drivers/phy/hisilicon/phy-hi3670-usb3.c | 157 1 file changed, 76 insertions(+), 81 deletions(-) diff --git a/drivers/phy/hisilicon/phy-hi3670-usb3.c b

[RFC 03/10] phy: hisilicon: phy-hi3670-usb3: use a consistent namespace

2020-09-04 Thread Mauro Carvalho Chehab
Rename hikey970 to hi3670, in order to use a namespace similar to hi3660 driver. Signed-off-by: Mauro Carvalho Chehab --- .../bindings/phy/phy-hi3670-usb3.txt | 4 +- drivers/phy/hisilicon/phy-hi3670-usb3.c | 98 +-- 2 files changed, 51 insertions(+), 51

[RFC 01/10] phy: hisilicon: add USB physical layer for Kirin 3670

2020-09-04 Thread Mauro Carvalho Chehab
Carvalho Chehab --- .../bindings/phy/phy-hi3670-usb3.txt | 25 + drivers/phy/hisilicon/Kconfig | 10 + drivers/phy/hisilicon/Makefile| 1 + drivers/phy/hisilicon/phy-hi3670-usb3.c | 682 ++ 4 files changed, 718 insertions(+) create

[RFC 08/10] misc: hisi_hikey_usb: Driver to support onboard USB gpio hub on Hikey960

2020-09-04 Thread Mauro Carvalho Chehab
lines between the USB-C port and the onboard hub to the USB-A ports. Signed-off-by: Yu Chen [jstultz: Major rework to make the driver a usb-role-switch intermediary] Signed-off-by: John Stultz Signed-off-by: Mauro Carvalho Chehab --- MAINTAINERS | 7 ++ drivers

[RFC 00/10] Add USB support for Hikey 970

2020-09-04 Thread Mauro Carvalho Chehab
! Mauro Mauro Carvalho Chehab (7): phy: hisilicon: phy-hi3670-usb3: use a consistent namespace phy: hisilicon: phy-hi3670-usb3: fix coding style phy: hisilicon: phy-hi3670-usb3: change some DT properties dt-bindings: phy: convert phy-kirin970-usb3.txt to yaml MAINTAINERS: add myself

[RFC 09/10] misc: hisi_hikey_usb: add support for Hikey 970

2020-09-04 Thread Mauro Carvalho Chehab
The HiKey 970 board uses a voltage regulator and GPIO reset pin. Add support for them. Signed-off-by: Mauro Carvalho Chehab --- drivers/misc/hisi_hikey_usb.c | 97 +-- 1 file changed, 82 insertions(+), 15 deletions(-) diff --git a/drivers/misc/hisi_hikey_usb.c

[RFC 07/10] MAINTAINERS: add myself as maintainer for Kirin 970 USB PHY

2020-09-04 Thread Mauro Carvalho Chehab
Now that this driver was added upsream, it needs a maintainer. Signed-off-by: Mauro Carvalho Chehab --- MAINTAINERS | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 2f497c7d659c..267ba0b7a52e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[RFC 02/10] phy: hisilicon: phy-hi3670-usb3: fix some issues at the init code

2020-09-04 Thread Mauro Carvalho Chehab
From: Yu Chen There are some problems at the initialization part of this phy. Solve them. Signed-off-by: Yu Chen Signed-off-by: Mauro Carvalho Chehab --- drivers/phy/hisilicon/phy-hi3670-usb3.c | 70 +++-- 1 file changed, 32 insertions(+), 38 deletions(-) diff --git

[RFC 05/10] phy: hisilicon: phy-hi3670-usb3: change some DT properties

2020-09-04 Thread Mauro Carvalho Chehab
Do some changes at the DT properties in order to make it follow the phy-hi3660-usb3 example and to simplify usb3-phy-tx-vboost-lvl name. Signed-off-by: Mauro Carvalho Chehab --- drivers/phy/hisilicon/phy-hi3670-usb3.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 4/5] media: atomisp: move a static constant out of a header file

2020-09-03 Thread Mauro Carvalho Chehab
/media/atomisp//pci/hive_isp_css_common/host/input_formatter_local.h:118:27: warning: ‘input_formatter_alignment’ defined but not used [-Wunused-const-variable=] However, it is, but only inside input_formatter.c. So, move it out of the header file. Signed-off-by: Mauro Carvalho Chehab

[PATCH 2/5] media: atomisp: print a warning if error while setting downscaler

2020-09-03 Thread Mauro Carvalho Chehab
. The driver just ignores it, without producing any warning. Add at least a warning message on such cases. Signed-off-by: Mauro Carvalho Chehab --- .../media/atomisp/pci/isp/kernels/vf/vf_1.0/ia_css_vf.host.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/staging/media/atomisp/pci

[PATCH 1/5] media: atomisp: get rid of some cleanup leftovers

2020-09-03 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/media/atomisp/pci/atomisp_v4l2.c b/drivers/staging/media/atomisp/pci/atomisp_v4l2.c index 8c1d5a3b8f45..304857bffc6a 100644 --- a/drive

[PATCH 0/5] address W=1 warnings at staging/media/atomisp

2020-09-03 Thread Mauro Carvalho Chehab
seconds ../drivers/media/test-drivers/vivid/vivid-core.c: ../drivers/media/test-drivers/vivid/vivid-core.c:1531 vivid_create_instance() parse error: __split_smt: function too hairy. Giving up after 301 seconds This series solve all atomisp W=1 warnings. Mauro Carvalho Chehab (5): media

[PATCH 5/5] media: atomisp: get rid of -Wsuggest-attribute=format warnings

2020-09-03 Thread Mauro Carvalho Chehab
of printf-like messages without enabling the error checking logic. Add the proper attributes in order to shut up such warnings. Signed-off-by: Mauro Carvalho Chehab --- .../media/atomisp/pci/atomisp_compat_css20.c | 20 --- .../staging/media/atomisp/pci/ia_css_env.h| 4 ++-- 2

[PATCH 3/5] media: atomisp: get rid of unused vars

2020-09-03 Thread Mauro Carvalho Chehab
: warning: variable ‘ver_num_isp’ set but not used [-Wunused-but-set-variable] drivers/staging/media/atomisp//pci/isp/kernels/sdis/sdis_2/ia_css_sdis2.host.c:119:15: warning: variable ‘hor_num_isp’ set but not used [-Wunused-but-set-variable] Signed-off-by: Mauro Carvalho Chehab

Re: [PATCH] media: dvb-frontends/cxd2099: report errors

2020-09-03 Thread Mauro Carvalho Chehab
Em Wed, 22 Jul 2020 06:41:26 -0700 t...@redhat.com escreveu: > From: Tom Rix > > Clang static analysis reports this error > > drivers/media/dvb-frontends/cxd2099.c:420:2: warning: Undefined > or garbage value returned to caller > return val; > ^~ > > In

Re: [PATCH 5/5] media: atomisp: get rid of -Wsuggest-attribute=format warnings

2020-09-03 Thread Mauro Carvalho Chehab
Em Thu, 3 Sep 2020 17:07:24 +0300 Andy Shevchenko escreveu: > On Thu, Sep 03, 2020 at 03:57:32PM +0200, Mauro Carvalho Chehab wrote: > > There are some warnings reported by gcc: > > drivers/staging/media/atomisp//pci/atomisp_compat_css20.c:164:2: > &

Re: [PATCH][next] staging: media: atomisp: fix memory leak of object flash

2020-09-03 Thread Mauro Carvalho Chehab
Em Wed, 2 Sep 2020 21:15:31 +0300 Andy Shevchenko escreveu: > On Wed, Sep 2, 2020 at 8:02 PM Colin King wrote: > > > > From: Colin Ian King > > > > In the case where the call to lm3554_platform_data_func returns an > > error there is a memory leak on the error return path of object > > flash.

[GIT PULL for v5.9-rc4] media fixes

2020-09-03 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v5.9-2 For: - a compilation fix issue with ti-vpe on arm 32 bits; - two Kconfig fixes for imx214 and max9286 drivers; - a kernel information leak at v4l2-core on time32 compat ioctls; -

Re: [PATCH 02/38] media: v4l2-ioctl: avoid memory leaks on some time32 compat functions

2020-09-03 Thread Mauro Carvalho Chehab
Em Wed, 2 Sep 2020 20:45:53 +0200 Arnd Bergmann escreveu: > On Wed, Sep 2, 2020 at 6:10 PM Mauro Carvalho Chehab > wrote: > > > > There are some reports about possible memory leaks: > > > > drivers/media/v4l2-core//v4l2-ioctl.c:3203 video_put_user() warn:

[PATCH 11/38] media: vivid: move set_capabilities logic to a separate function

2020-09-02 Thread Mauro Carvalho Chehab
Move such logic from vivid_create_instance(), as otherwise smatch takes forever. The vivid_create_instance() is still a too big for my taste. So, further cleanups are still needed. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/test-drivers/vivid/vivid-core.c | 161

[PATCH 13/38] media: vivid: move the create queues to a separate function

2020-09-02 Thread Mauro Carvalho Chehab
Instead of placing everything inside vivid_create_instance(), we can move the part which creates per-type video queues into a separate function. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/test-drivers/vivid/vivid-core.c | 175 +- 1 file changed, 92 insertions(+), 83

[PATCH 01/38] media: tda10086: cleanup symbol_rate setting logic

2020-09-02 Thread Mauro Carvalho Chehab
/tda10086.c:327 tda10086_set_symbol_rate() warn: unsigned 'symbol_rate' is never less than zero. Change the logic to declare the reference constant as unsigned and to not use float point math. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/tda10086.c | 22

[PATCH 09/38] media: vivid: move the detection part out of vivid_create_instance

2020-09-02 Thread Mauro Carvalho Chehab
Carvalho Chehab --- drivers/media/test-drivers/vivid/vivid-core.c | 151 ++ 1 file changed, 83 insertions(+), 68 deletions(-) diff --git a/drivers/media/test-drivers/vivid/vivid-core.c b/drivers/media/test-drivers/vivid/vivid-core.c index 931218fa955e..d4785da440d9 100644

<    9   10   11   12   13   14   15   16   17   18   >