net: wireless: wcn36xx: Don't take rcu read lock

There are mutexes being locked in this section of the code, so we can't
take the rcu read lock.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
net: wireless: wcn36xx: Correctly free resources

The mutex cannot be destroyed until ieee80211 is done calling functions
that will use it. Also free the usage of the smsm gpios.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
net: wireless: wcn36xx: Hardcode mac address

The firmware does not like the previously generated mac address and just
go belly up, so replace it with a hard coded one for now.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
remoteproc: qcom-tz: Inform SMD about crashing remotes

When a remote processor crashes there is no indication in SMD, so we
need to inform the SMD driver that it should reset all open channels
associated with the remote processor.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
remoteproc: qcom-tz: Finish shutdown on timeout

When the remote processor have hit an fatal error, it will not perform
the stop-ack handshake. So we have to finish the shutdown process to not
leave the remote processor in a dangling state (stopping us from
bringing it up again).

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
ARM: dts: sony-rhine: Update the pinctrl handling for wcnss

Include BT and FM in the wcnss active pinctrl state and move the
consumer to the wcnss driver.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
ARM: dts: sony-rhine: Use reg to specify "address" of smsm

The smsm subnodes represents the various elements in the smsm smem item,
so make them use reg instead of a special property.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
ARM: dts: sony-rhine: Connect remoteproc to smd

Link the pronto remoteproc driver to the pronto smd edge, so that it
will inform the smd driver that the remote processor went down and that
it should reset all open smd channels on that edge.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
ARM: dts: sony-rhine: Clenaup interrupt specifier of wcn36xx

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
ARM: dts: sony-rhine: Add stub ipcrtr node

The pronto block goes belly up if it can't bring up the IPCRTR smd
channel, so add a stub driver node to make it happy.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
ARM: defconfig: sony: Enable IPCRTR stub driver

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Merge branch 'drivers/qcom-smem'
soc: qcom: Add device tree binding for SMD

Add device tree binding documentation for the Qualcomm Shared Memory
Device.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
soc: qcom: Add Shared Memory Driver

This adds the Qualcomm Shared Memory Driver (SMD) providing
communication channels to remote processors, ontop of SMEM.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
soc: qcom: smd: Expose functions needed to reset an edge

When a remote processor goes down the remoteproc driver needs a way to
tell the smd driver that the edge fell (as there is no explicit
indication of this in smd). So expose a function that can be called on
an edge pointer to close all open channels on that edge.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Merge branch 'drivers/qcom-smem'
Merge branch 'drivers/qcom-smd'
Merge branch 'drivers/msm_rpm'
mfd: devicetree: bindings: Add Qualcomm SMD based RPM DT binding

Add binding documentation for the Qualcomm Resource Power Manager (RPM)
using shared memory (Qualcomm SMD) as transport mechanism. This is found
in 8974 and newer based devices.

The binding currently describes the rpm itself and the regulator
subnodes.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
mfd: qcom-smd-rpm: Driver for the Qualcomm RPM over SMD

Driver for the Resource Power Manager (RPM) found in Qualcomm 8974 based
devices.
The driver exposes resources that child drivers can operate on; to
implementing regulator, clock and bus frequency drivers.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>