Commit Graph
873808 Commits
Author SHA1 Message Date
Biju Das b995421fae ARM: shmobile: Remove GENERIC_PHY from shmobile_defconfig
Remove the GENERIC_PHY config option from shmobile_defconfig, as it is
selected by PHY_RCAR_GEN3_USB2.

PHY_RCAR_GEN3_USB2 is enabled by the commit 0cd4f4f102
("ARM: shmobile: Enable PHY_RCAR_GEN3_USB2 in shmobile_defconfig").

Signed-off-by: Biju Das <[email protected]>
Acked-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
2019-05-20 13:24:06 +02:00
Cao Van Dong a461b5bf17 arm64: dts: renesas: r8a7795: Add TPU support
Add tpu device node to dtsi for TPU support on r8a7795 SoC.

Signed-off-by: Cao Van Dong <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
2019-05-20 13:20:19 +02:00
Cao Van Dong 1a8c4542bc arm64: dts: renesas: r8a77965: Add TPU support
Add tpu device node to dtsi for TPU support on r8a77965 SoC.

Signed-off-by: Cao Van Dong <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Tested-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
2019-05-20 13:20:18 +02:00
Cao Van Dong 8067f6f421 arm64: dts: renesas: r8a7796: Add TPU support
Add tpu device node to dtsi for TPU support on r8a7796 SoC.

Signed-off-by: Cao Van Dong <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
2019-05-20 13:20:18 +02:00
Spyridon Papageorgiou 95ff4aab41 arm64: dts: renesas: ulcb-kf: Add support for TI WL1837
This patch adds description of TI WL1837 and links interfaces
to communicate with the IC, namely the SDIO interface to WLAN.

Signed-off-by: Spyridon Papageorgiou <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
2019-05-20 13:20:17 +02:00
Simon Horman c7d4df305c arm64: dts: renesas: draak: Remove unnecessary index from vin4 port
The ports node of vin4 only has one sub-node and thus does
not need #address-cells/#size-cells and the sub-node does
not need an exit.

This addresses the following warning:

 # make dtbs W=1
 ...
 arch/arm64/boot/dts/renesas/r8a77995-draak.dts:492.8-503.4: Warning (graph_child_address): /soc/video@e6ef4000/ports: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary

Fixes: 6a0942c20f ("arm64: dts: renesas: draak: Describe CVBS input")
Cc: Jacopo Mondi <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
Tested-by: Laurent Pinchart <[email protected]>
Reviewed-by: Niklas Söderlund <[email protected]>
2019-05-20 13:20:11 +02:00
Fabrizio Castro a597dcb1d4 arm64: dts: renesas: cat874: Add HDMI audio
The CAT874 board pushes sound via I2S over SSI0 into the
TDA19988BET chip.
This commit wires things up so that we can get sound out of
the HDMI interface.

Signed-off-by: Fabrizio Castro <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
2019-05-20 13:20:06 +02:00
Fabrizio Castro 94fc0ee22a arm64: dts: renesas: cat874: Add HDMI video support
The CAT874 board comes with a HDMI connector, managed by
a TDA19988BET chip, connected to the RZ/G2E SoC via DPAD.
This patch adds the necessary support to the board DT.

Signed-off-by: Fabrizio Castro <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
2019-05-20 13:19:57 +02:00
Biju Das 57cfa73146 arm64: dts: renesas: r8a774a1: Connect Ethernet-AVB to IPMMU-DS0
Add IPMMU-DS0 to the Ethernet-AVB device node.

Based on work by Magnus Damm for the r8a7795.

Signed-off-by: Biju Das <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
2019-05-20 13:19:33 +02:00
Biju Das 01712eaa0d arm64: dts: renesas: r8a774a1: Tie Audio-DMAC to IPMMU-MP
Hook up r8a774a1 Audio-DMAC nodes to the IPMMU-MP.

Based on work for the r8a7795 by Magnus Damm.

Signed-off-by: Biju Das <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
2019-05-20 13:19:33 +02:00
Biju Das c3362a74d9 arm64: dts: renesas: r8a774a1: Tie SYS-DMAC to IPMMU-DS0/1
Hook up r8a774a1 DMAC nodes to the IPMMUs. In particular SYS-DMAC0
gets tied to IPMMU-DS0, and SYS-DMAC1 and SYS-DMAC2 get tied to IPMMU-DS1.

Based on work for the r8a7796 by Magnus Damm.

Signed-off-by: Biju Das <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
2019-05-20 13:19:33 +02:00
Biju Das 466f475f63 arm64: dts: renesas: r8a774a1: Add FDP1 instance
The r8a774a1 has a single FDP1 instance similar to r8a7796.

Signed-off-by: Biju Das <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
2019-05-20 13:19:33 +02:00
Biju Das c4f223b419 arm64: dts: renesas: r8a774a1: Add DU device to DT
Add the DU device to r8a774a1.dtsi in a disabled state.

Signed-off-by: Biju Das <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
2019-05-20 13:19:33 +02:00
Biju Das 391dca2105 arm64: dts: renesas: r8a774a1: Add VSP instances
The r8a774a1 soc has 5 VSP instances similar to r8a7796.

Signed-off-by: Biju Das <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
2019-05-20 13:19:33 +02:00
Fabrizio Castro 998960be3a arm64: defconfig: Enable TDA19988
The EK874 board comes with a TDA19988 chip on board, therefore
enable it in the defconfig.

Signed-off-by: Fabrizio Castro <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
2019-05-20 13:18:26 +02:00
Marek Vasut 185555ff99 ARM: dts: r8a779x: Configure PMIC IRQ pinmux
The PMIC IRQ line pin multiplexing configuration is missing from the DTs.
Since the line is configured correctly by default, the system works fine.
However, add the IRQ line pin multiplexing configuration for completeness.

Signed-off-by: Marek Vasut <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
2019-05-20 13:17:24 +02:00
Chris Brandt 5c64e61bb2 ARM: dts: rza2mevb: Add 48MHz USB clock
The RZ/A2M EVB has a 48MHz clock attached to USB_X1.

Signed-off-by: Chris Brandt <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
2019-05-20 13:17:22 +02:00
Chris Brandt 283f881a4d ARM: dts: r7s9210: Add USB clock
Add USB clock node. If present, this clock input must be 48MHz.

Signed-off-by: Chris Brandt <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
2019-05-20 13:17:21 +02:00
Chris Brandt eb8be0276d ARM: dts: rza2mevb: add ethernet aliases
Add ethernet aliases so u-boot can find the device nodes.

Signed-off-by: Chris Brandt <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
2019-05-20 13:17:15 +02:00
Chris Brandt c2fad09c28 ARM: dts: rza2mevb: Add SDHI support
The RZ/A2M EVB supports 2 SD card slots. A micro SD slot on the CPU
board, and a full SD card slot on the sub board.

Signed-off-by: Chris Brandt <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
2019-05-20 13:16:55 +02:00
Chris Brandt c5dab2e9a9 ARM: dts: rza2mevb: Add Ethernet support
The RZ/A2M EVB sub board has 2 Ethernet jacks on it.

Set switch SW6_4	to ON to use Ethernet Ch-0
Set switch SW6_5	to ON to use Ethernet Ch-1

Signed-off-by: Chris Brandt <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
2019-05-20 13:16:55 +02:00
Chris Brandt a49f76cdda ARM: dts: r7s9210: Add SDHI support
Add SDHI support for the R7S9210 (RZ/A2) SoC.

Signed-off-by: Chris Brandt <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
2019-05-20 13:16:55 +02:00
Chris Brandt 49da03c67c ARM: dts: r7s9210: Add RIIC support
Add I2C support for the R7S9210 (RZ/A2) SoC.

Signed-off-by: Chris Brandt <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
2019-05-20 13:16:55 +02:00
Chris Brandt cbcb639172 ARM: dts: r7s9210: Add Ethernet support
Add Ethernet support for the RZ/A2 SoC.

Signed-off-by: Chris Brandt <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
2019-05-20 13:16:55 +02:00
Chris Brandt 9105996ba9 ARM: dts: r7s9210: Add RSPI
Add RSPI support for RZ/A2 SoC.

Signed-off-by: Chris Brandt <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
2019-05-20 13:16:55 +02:00
Mark Brown eceb995e04 Merge tag 'v5.2-rc1' into spi-5.3
Linux 5.2-rc1
2019-05-20 11:54:21 +01:00
Mark Brown 96d82e9d0d Merge tag 'v5.2-rc1' into regulator-5.3
Linux 5.2-rc1
2019-05-20 11:54:11 +01:00
Mark Brown 1c7c3237c0 Merge tag 'v5.2-rc1' into asoc-5.3
Linux 5.2-rc1
2019-05-20 11:53:50 +01:00
Jerome Brunet a9f7b1993b clk: meson: g12a: add controller register init
Add the MPLL common register initial setting

Signed-off-by: Jerome Brunet <[email protected]>
2019-05-20 12:20:51 +02:00
Jerome Brunet 19a18d42bf clk: meson: eeclk: add init regs
Like the PLL and MPLL, the controller may require some magic setting to
be applied on startup.

This is needed when the initial setting is not applied by the boot ROM.
The controller need to do it when the setting applies to several clock,
like all the MPLLs in the case of g12a.

Signed-off-by: Jerome Brunet <[email protected]>
2019-05-20 12:20:16 +02:00
Jerome Brunet 76d3fc38a0 clk: meson: g12a: add mpll register init sequences
Add the required init of each MPLL of the g12a.

Signed-off-by: Jerome Brunet <[email protected]>
2019-05-20 12:19:54 +02:00
Jerome Brunet 19855c8276 clk: meson: mpll: add init callback and regs
Until now (gx and axg), the mpll setting on boot (whatever the
bootloader) was good enough to generate a clean fractional division.

It is not the case on the g12a. While moving away from the vendor u-boot,
it was noticed the fractional part of the divider was no longer applied.
Like on the pll, some magic settings need to applied on the mpll
register.

This change adds the ability to do that on the mpll driver.

Signed-off-by: Jerome Brunet <[email protected]>
2019-05-20 12:19:29 +02:00
Jerome Brunet dc4e62d373 clk: meson: axg: spread spectrum is on mpll2
After testing, it appears that the SSEN bit controls the spread
spectrum function on MPLL2, not MPLL0.

Fixes: 78b4af312f ("clk: meson-axg: add clock controller drivers")
Signed-off-by: Jerome Brunet <[email protected]>
2019-05-20 12:18:55 +02:00
Jerome Brunet 8925dbd03b clk: meson: gxbb: no spread spectrum on mpll0
The documentation says there is an SSEN bit on mpll0 but, after testing
it, no spread spectrum function appears to be enabled by this bit on any
of the MPLLs.

Let's remove it until we know more

Fixes: 1f737ffa13 ("clk: meson: mpll: fix mpll0 fractional part ignored")
Signed-off-by: Jerome Brunet <[email protected]>
2019-05-20 12:18:38 +02:00
Jerome Brunet f9b3eeebef clk: meson: mpll: properly handle spread spectrum
The bit 'SSEN' available on some MPLL DSS outputs is not related to the
fractional part of the divider but to the function called
'Spread Spectrum'.

This function might be used to solve EM issues by adding a jitter on
clock signal. This widens the signal spectrum and weakens the peaks in it.

While spread spectrum might be useful for some application, it is
problematic for others, such as audio.

This patch introduce a new flag to the MPLL driver to enable (or not) the
spread spectrum function.

Fixes: 1f737ffa13 ("clk: meson: mpll: fix mpll0 fractional part ignored")
Tested-by: Martin Blumenstingl<[email protected]>
Signed-off-by: Jerome Brunet <[email protected]>
2019-05-20 12:17:57 +02:00
Martin Blumenstingl 3ff46efbcd clk: meson: meson8b: fix a typo in the VPU parent names array variable
The variable which holds the parent names for the VPU clocks has a typo
in it. Fix this typo to make the variable naming in the driver
consistent. No functional changes.

Fixes: 41785ce562 ("clk: meson: meson8b: add the VPU clock trees")
Signed-off-by: Martin Blumenstingl <[email protected]>
Signed-off-by: Jerome Brunet <[email protected]>
2019-05-20 12:11:08 +02:00
Jerome Brunet e63b063ecd clk: meson: fix MPLL 50M binding id typo
MPLL_5OM (the capital letter o) should indeed be MPLL_50M (the number)
Fix this before it gets used.

Fixes: 25db146aa7 ("dt-bindings: clk: meson: add g12a periph clock controller bindings")
Reported-by: Martin Blumenstingl <[email protected]>
Acked-by: Neil Armstrong <[email protected]>
Reviewed-by: Martin Blumenstingl <[email protected]>
Signed-off-by: Jerome Brunet <[email protected]>
2019-05-20 12:05:46 +02:00
Puranjay Mohan e23fa431e7 Staging: mt7621-dma: Remove braces around single if statement
Fix following checkpatch.pl warning by removing unnecessary braces:
WARNING: braces {} are not necessary for single statement blocks

Signed-off-by: Puranjay Mohan <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2019-05-20 10:57:19 +02:00
Helge Deller 200036a8e8 parisc: Allow building 64-bit kernel without -mlong-calls compiler option
A 64-bit kernel built without CONFIG_MLONGCALLS (-mlong-calls compiler
option) usually fails to link because of unreachable functions.  Try to
work around that linking issue by moving the *.init and *.exit text
segments closer to the main text segment. With that change those
segments now don't get freed at runtime any longer, but since we in most
cases run with huge-page enabled, we ignore the lost memory in
preference of better performance.

This change will not guarantee that every kernel config will now
sucessfully build with short calls and without linking issues.

Signed-off-by: Helge Deller <[email protected]>
2019-05-20 10:51:39 +02:00
Mike Rapoport 7a95aab57b parisc: Kconfig: remove ARCH_DISCARD_MEMBLOCK
Since commit 350e88bad4 ("mm: memblock: make keeping memblock memory
opt-in rather than opt-out") the default behaviour is to discard memblock
data after init and the ARCH_DISCARD_MEMBLOCK is obsolete.

Remove it.

Signed-off-by: Mike Rapoport <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
2019-05-20 10:51:39 +02:00
Chengguang Xu 38fa0e8e4a ext2: code cleanup by using test_opt() and clear_opt()
Using test_opt() and clear_opt() instead of directly
comparing flag bit of mount option.

Signed-off-by: Chengguang Xu <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
2019-05-20 10:50:48 +02:00
Chengguang Xu e15d92bee8 doc: ext2: update description of quota options for ext2
ext2 support user/group disk quota by specifying
usrquota/grpquota option on mount, so fix the
description in the doc properly.

Signed-off-by: Chengguang Xu <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
2019-05-20 10:50:48 +02:00
Jan Kara 6c71b489ec ext2: Strengthen xattr block checks
Check every entry in xattr block for validity in ext2_xattr_set() to
detect on disk corruption early. Also since e_value_block field in xattr
entry is never != 0 in a valid filesystem, just remove checks for it
once we have established entries are valid.

Reviewed-by: Chengguang Xu <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
2019-05-20 10:50:48 +02:00
Jan Kara 8cd0f2ba78 ext2: Merge loops in ext2_xattr_set()
There are two very similar loops when searching xattr to set. Just merge
them.

Reviewed-by: Chengguang Xu <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
2019-05-20 10:50:48 +02:00
Chengguang Xu f4c3fb8c43 ext2: introduce helper for xattr entry validation
Introduce helper function ext2_xattr_entry_valid()
for xattr entry validation and clean up the entry
check related code.

Reviewed-by: Andreas Dilger <[email protected]>
Signed-off-by: Chengguang Xu <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
2019-05-20 10:50:48 +02:00
Chengguang Xu 02475de9bb ext2: introduce helper for xattr header validation
Introduce helper function ext2_xattr_header_valid()
for xattr header validation and clean up the header
check ralated code.

Reviewed-by: Andreas Dilger <[email protected]>
Signed-off-by: Chengguang Xu <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
2019-05-20 10:50:48 +02:00
Chengguang Xu f44840ad1f quota: add dqi_dirty_list description to comment of Dquot List Management
Actually there are four lists for dquot management, so add
the description of dqui_dirty_list to comment.

Signed-off-by: Chengguang Xu <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
2019-05-20 10:50:48 +02:00
Moses Christopher cc9daca6e0 staging: vt665*: use help instead of ---help--- in Kconfig
- Resolve the following warning from the Kconfig,
    "WARNING: prefer 'help' over '---help---' for new help texts"

Signed-off-by: Moses Christopher <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2019-05-20 10:49:08 +02:00
Moses Christopher 6a478f6715 staging: rtl8723bs: use help instead of ---help--- in Kconfig
- Resolve the following warning from the Kconfig,
    "WARNING: prefer 'help' over '---help---' for new help texts"

Signed-off-by: Moses Christopher <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2019-05-20 10:49:08 +02:00
Moses Christopher 7c6840b633 staging: rtl8188eu: use help instead of ---help--- in Kconfig
- Resolve the following warning from the Kconfig,
    "WARNING: prefer 'help' over '---help---' for new help texts"

Signed-off-by: Moses Christopher <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2019-05-20 10:49:07 +02:00