Christina Quast
c5ebf24a41
ARM: dts: am335x: sancloud-bbe: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-15 08:26:26 -07:00
Christina Quast
a3328bf02d
ARM: dts: am335x: phycore-som: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-15 08:26:25 -07:00
Christina Quast
891ffb8fcd
ARM: dts: am335x: pepper: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-15 08:26:25 -07:00
Christina Quast
898c4a59bc
ARM: dts: am335x: pdu001: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-15 08:26:24 -07:00
Christina Quast
781288d2bd
ARM: dts: am335x: pcm-953: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-15 08:26:23 -07:00
Christina Quast
558fee9ab5
ARM: dts: am335x: osd335x-common: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-15 08:26:23 -07:00
Christina Quast
443fca762b
ARM: dts: am335x: osd3358-sm-red: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-15 08:26:22 -07:00
Christina Quast
affcce6f7c
ARM: dts: am335x: nano: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-15 08:26:22 -07:00
Christina Quast
c68a4ffd3d
ARM: dts: am335x: moxa-uc-8100-me-t: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-15 08:26:21 -07:00
Christina Quast
4a424b0b16
ARM: dts: am335x: moxa-uc-2101: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-15 08:26:20 -07:00
Christina Quast
876144dd53
ARM: dts: am335x: moxa-uc-2100-common: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-15 08:26:20 -07:00
Christina Quast
c422b10e88
ARM: dts: am335x: lxm: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-15 08:26:19 -07:00
Christina Quast
387fbf73eb
ARM: dts: am335x: igep0033: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-15 08:26:19 -07:00
Arnd Bergmann
39036cd272
arch: add pidfd and io_uring syscalls everywhere
...
Add the io_uring and pidfd_send_signal system calls to all architectures.
These system calls are designed to handle both native and compat tasks,
so all entries are the same across architectures, only arm-compat and
the generic tale still use an old format.
Acked-by: Michael Ellerman <mpe@ellerman.id.au > (powerpc)
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com > (s390)
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org >
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
2019-04-15 16:31:17 +02:00
Andreas Kemnade
8558c6e21c
ARM: dts: sun8i: h3: bluetooth for Banana Pi M2 Zero board
...
The Banana Pi M2 Zero board has an AP6212 BT+Wifi combo chip
with Broadcom internals attached to UART1 and some gpios.
This addition is in line with similar boards.
Signed-off-by: Andreas Kemnade <andreas@kemnade.info >
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com >
2019-04-15 11:00:19 +02:00
Pablo Greco
635e1e78a6
ARM: dts: sun8i: v40: bananapi-m2-berry: Sort device node dereferences.
...
The device node dereferences are out of order, sort them.
Signed-off-by: Pablo Greco <pgreco@centosproject.org >
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com >
2019-04-15 09:51:30 +02:00
YueHaibing
9ee8578d95
ARM: pxa: ssp: Fix "WARNING: invalid free of devm_ allocated data"
...
Since commit 1c459de1e6 ("ARM: pxa: ssp: use devm_ functions")
kfree, iounmap, clk_put etc are not needed anymore in remove path.
Fixes: 1c459de1e6 ("ARM: pxa: ssp: use devm_ functions")
Signed-off-by: YueHaibing <yuehaibing@huawei.com >
[ commit message spelling fix ]
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr >
2019-04-14 21:54:50 +02:00
Thomas Gleixner
2a2bcfa0c9
arm/stacktrace: Remove the pointless ULONG_MAX marker
...
Terminating the last trace entry with ULONG_MAX is a completely pointless
exercise and none of the consumers can rely on it because it's
inconsistently implemented across architectures. In fact quite some of the
callers remove the entry and adjust stack_trace.nr_entries afterwards.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org >
Cc: Josh Poimboeuf <jpoimboe@redhat.com >
Cc: Andy Lutomirski <luto@kernel.org >
Cc: Steven Rostedt <rostedt@goodmis.org >
Cc: Alexander Potapenko <glider@google.com >
Cc: Russell King <linux@armlinux.org.uk >
Cc: linux-arm-kernel@lists.infradead.org
Link: https://lkml.kernel.org/r/20190410103643.843075256@linutronix.de
2019-04-14 19:58:27 +02:00
Charles Keepax
7676e667c8
ARM: s3c64xx: Tidy up handling of regulator GPIO lookups
...
Rather than unconditionally registering the GPIO lookup table only do so
for devices that require it.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com >
[Fixed up to also handle wm5102 and wm5102 reva]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org >
2019-04-14 12:53:03 +02:00
Douglas Anderson
356150e86d
ARM: dts: rockchip: vdd_gpu off in suspend for rk3288-veyron
...
At some point long long ago the downstream GPU driver would crash if
we turned the GPU off during suspend. For some context you can see:
https://chromium-review.googlesource.com/#/c/215780/5..6/arch/arm/boot/dts/rk3288-pinky-rev2.dts
At some point in time not too long after that got fixed.
It's unclear why the GPU is left enabled during suspend on the
mainline kernel. Everything seems fine if I turn this off, so let's
do it.
Signed-off-by: Douglas Anderson <dianders@chromium.org >
Reviewed-by: Elaine Zhang <zhangqing@rock-chips.com >
Signed-off-by: Heiko Stuebner <heiko@sntech.de >
2019-04-12 22:28:38 +02:00
Douglas Anderson
ed27ae71bf
ARM: dts: rockchip: vcc33_ccd off in suspend for rk3288-veyron-chromebook
...
As per my comments when the device tree for rk3288-veyron-chromebook
first landed:
> Technically I think vcc33_ccd can be off since we have
> 'needs-reset-on-resume' down in the EHCI port (this regulator is for
> the USB webcam that's connected to the EHCI port).
>
> ...but leaving it on for now seems fine until we get suspend/resume
> more solid.
It's probably about time to do it right.
[1] https://lore.kernel.org/linux-arm-kernel/CAD=FV=U37Yx8Mqk75_x05zxonvdc3qRMhqp8TyTDPWGHqSuRqg@mail.gmail.com/
Signed-off-by: Douglas Anderson <dianders@chromium.org >
Reviewed-by: Elaine Zhang <zhangqing@rock-chips.com >
Signed-off-by: Heiko Stuebner <heiko@sntech.de >
2019-04-12 22:28:21 +02:00
Roger Quadros
bcbb63b802
ARM: dts: dra7: Separate AM57 dtsi files
...
AM5 and DRA7 SoC families have different set of modules
in them so the SoC sepecific dtsi files need to be separated.
e.g. Some of the major differences between AM576 and DRA76
DRA76x AM576x
USB3 x
USB4 x
ATL x
VCP x
MLB x
ISS x
PRU-ICSS1 x
PRU-ICSS2 x
This patch only deals with disabling USB3, USB4 and ATL for
AM57 variants.
Signed-off-by: Roger Quadros <rogerq@ti.com >
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-12 09:57:07 -07:00
Christina Quast
33ef1394a9
ARM: dts: am335x: icev2: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-12 08:55:14 -07:00
Christina Quast
1f757e0616
ARM: dts: am335x: evmsk: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-12 08:55:13 -07:00
Christina Quast
ef2791fd13
ARM: dts: am335x: evm: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-12 08:55:12 -07:00
Christina Quast
6c4f9ebf86
ARM: dts: am335x: cm-t335: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-12 08:55:12 -07:00
Christina Quast
125a6f3c58
ARM: dts: am335x: chilisom: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-12 08:55:11 -07:00
Christina Quast
4e5835effc
ARM: dts: am335x: chiliboard: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-12 08:55:11 -07:00
Christina Quast
e52a7204cd
ARM: dts: am335x: bonegreen-common: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-12 08:55:10 -07:00
Christina Quast
9faf08c2e6
ARM: dts: am335x: boneblue: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-12 08:55:10 -07:00
Christina Quast
ada077fa90
ARM: dts: am335x: bonegreen-wireless: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-12 08:55:09 -07:00
Christina Quast
0b119fafc8
ARM: dts: am335x: base0033: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-12 08:55:09 -07:00
Christina Quast
11ce1e0897
ARM: dts: am335x: baltos: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-12 08:55:08 -07:00
Christina Quast
8ce8c4b31a
ARM: dts: am335x: baltos-leds: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-12 08:55:07 -07:00
Christina Quast
f6385bd149
ARM: dts: am335x: baltos-ir5221: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-12 08:55:07 -07:00
Christina Quast
a48d48e653
ARM: dts: am335x: baltos-ir3220: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-12 08:55:06 -07:00
Christina Quast
7229d544c8
ARM: dts: am335x: baltos-ir2110: Replaced register offsets with defines
...
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2019-04-12 08:55:06 -07:00
Bartosz Golaszewski
274e4c3361
ARM: davinci: da830-evm: add a fixed regulator for ohci-da8xx
...
Instead of directly using the vbus GPIO we should model it as a fixed
regulator. Add all necessary fix-ups for the regulator to be registered
and configure the vbus GPIO as its enable pin.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com >
Signed-off-by: Sekhar Nori <nsekhar@ti.com >
2019-04-12 19:46:47 +05:30
Bartosz Golaszewski
1d272894ec
ARM: davinci: omapl138-hawk: add a fixed regulator for ohci-da8xx
...
Instead of directly using the vbus GPIO we should model it as a fixed
regulator. Add all necessary fix-ups for the regulator to be registered
and configure the vbus GPIO as its enable pin.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com >
Signed-off-by: Sekhar Nori <nsekhar@ti.com >
2019-04-12 19:46:46 +05:30
Bartosz Golaszewski
3ea9ae57b4
ARM: davinci: add missing sentinels to GPIO lookup tables
...
Some GPIO lookup tables defined in davinci board files are missing
array sentinels. If an entry for given device cannot be found, this
will cause a kernel panic.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com >
Signed-off-by: Sekhar Nori <nsekhar@ti.com >
2019-04-12 19:43:54 +05:30
Biju Das
0725a5478e
ARM: dts: iwg23s-sbc: Enable HS-USB
...
Enable HS-USB device for the iWave SBC based on RZ/G1C.
Signed-off-by: Biju Das <biju.das@bp.renesas.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2019-04-12 14:26:09 +02:00
Biju Das
307ca5cf47
ARM: dts: r8a77470: Add HSUSB device nodes
...
Define the r8a77470 generic part of the HSUSB0/1 device nodes.
Currently the renesas_usbhs driver doesn't handle multiple phys and we
don't have a proper hardware to validate such driver changes.
So for hsusb1 it is assumed that usbphy0 will be enabled by either
channel0 host or device.
In future, if any boards support hsusb1, we will need to add multiple phy
support in the renesas_usbhs driver and override the board dts to enable
the same.
Signed-off-by: Biju Das <biju.das@bp.renesas.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2019-04-12 14:24:35 +02:00
Biju Das
034484c4a3
ARM: dts: iwg23s-sbc: Enable USB USB2.0 Host
...
Enable USB2.0 host on the iwg23s sbc.
Signed-off-by: Biju Das <biju.das@bp.renesas.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2019-04-12 14:23:15 +02:00
Biju Das
ce5940798c
ARM: dts: r8a77470: Add USB2.0 Host (EHCI/OHCI) device
...
Define the r8a77470 generic part of the USB2.0 Host Controller device
nodes (ehci[01]/ohci[01]).
Signed-off-by: Biju Das <biju.das@bp.renesas.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2019-04-12 14:21:55 +02:00
Biju Das
e18cfb6e04
ARM: dts: iwg23s-sbc: Enable USB Phy[01]
...
Enable USB phy[01] on iWave iwg23s sbc based on RZ/G1C SoC.
Signed-off-by: Biju Das <biju.das@bp.renesas.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2019-04-12 14:19:35 +02:00
Biju Das
1a675db440
ARM: dts: r8a77470: Add USB PHY DT support
...
Define the r8a77470 generic part of the USB PHY device node.
Signed-off-by: Biju Das <biju.das@bp.renesas.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2019-04-12 14:17:42 +02:00
Biju Das
b266731b76
ARM: shmobile: Enable USB [EO]HCI HCD PLATFORM support in shmobile_defconfig
...
The USB [EO]HCI controller on RZ/G1C SoC doesn't have PCI bridge like
other R-Car Gen2 devices. So enable generic USB [EO]HCI HCD PLATFORM
support in shmobile_defconfig.
Signed-off-by: Biju Das <biju.das@bp.renesas.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2019-04-12 14:16:10 +02:00
Biju Das
0cd4f4f102
ARM: shmobile: Enable PHY_RCAR_GEN3_USB2 in shmobile_defconfig
...
Enable PHY_RCAR_GEN3_USB2 in shmobile_defconfig so that boards
based on RZ/G1C SoC design can use the corresponding driver.
Signed-off-by: Biju Das <biju.das@bp.renesas.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2019-04-12 14:14:36 +02:00
Cao Van Dong
1631b58c7e
ARM: dts: r8a77470: Add VIN support
...
Add vin{0|1} nodes to dtsi for VIN support on the RZ/G1C (r8a77470) SoC.
Signed-off-by: Cao Van Dong <cv-dong@jinso.co.jp >
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2019-04-12 14:06:25 +02:00
Cao Van Dong
3d59e55ef8
ARM: dts: r8a77470: Add PWM support
...
Add pwm{0|1|2|3|4|5|6} nodes to dtsi for PWM support on the
RZ/G1C (r8a77470) SoC.
Signed-off-by: Cao Van Dong <cv-dong@jinso.co.jp >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2019-04-12 13:59:09 +02:00