LTSI-v4.14 Preparation for Renesas SoCs (to v4.18-rc6)

Base:
* v4.14.57
* Similar backport of components for Renesas SoCs to v4.17

Backports of the following components to their standard as of v4.18-rc6:

Selected backports of the following to provide dependencies for the above:

* adv7511
* cpg
* dw-hdmi
* fsi
* gen3 (Renesas ARM64 based SoCs)
* gpio-rcar
* i2c-rcar
* i2c-sh-mobile
* lcdc
* mach-shmobile (Renesas ARM based SoCs)
* pcie-rcar
* ravb
* ravb
* rcar-dmac
* rcar-du
* rcar-gen3-thermal
* rcar-rst
* rcar-snd
* rcar-thermal
* rcar-vin
* renesas-ceu
* renesas-sdhi
* renesas-sdhi
* renesas-soc-id
* sh-cmt
* sh-dma
* sh-eth
* sh-eth
* sh-msiof
* sh-pfc
* sh-pfc
* sh-rtc
* sh-sci
* sh-timers
* staging-board
* sysc
* usb3-peri
* usbhs
* vsp1
* watchdog
* xhci-plat
pinctrl: sh-pfc: r8a77970: remove SH_PFC_PIN_CFG_DRIVE_STRENGTH flag

The datasheet does not document any registers to control drive strength,
and no drive strength registers are for this reason described for this
SoC. The flags indicating that drive strength can be controlled are
however set for some pins in the driver.

This leads to a NULL pointer dereference when the sh-pfc core tries to
access the struct describing the drive strength registers, for example
when reading the sysfs file pinconf-pins.

Fix this by removing the SH_PFC_PIN_CFG_DRIVE_STRENGTH from all pins.

Fixes: b92ac66a1819602b ("pinctrl: sh-pfc: Add R8A77970 PFC support")
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
(cherry picked from commit 550b6f7e8cf93fc2753aa01e655ed5471012ab5a)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
1 file changed