Update total number of temperature sensors (TSENS)
supported on controller 0. Remove support to read from
TSENS sensor 5 and 6.
Change-Id: I63e2a0a29f6bbe787fa10170c28569cf692d2807
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
tsens_get_hw_id_mapping() API is used by thermal
client to obtain the logical ID or HW ID mapping
for the available temperature sensors (TSENS)
controller with sensor ID details. Clients
currently query the driver on a per sensor basis.
The API update allows the clients to get the sensor
ID information at once for the available number
of sensors.
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
Change-Id: Ibae066276b099ffb78c72a890a689f83e4df56a9
Venus might not have enough time during batches to power
collapse. Hence, disable optimization that power
collapses venus after every EBD and FBD in batchmode.
CRs-Fixed: 1067014
Change-Id: I9461c81587496e230b04e1bbd5bcc306a222c03c
Signed-off-by: Saurabh Kothawade <skothawa@codeaurora.org>
The wakeup variable keeps track of the 2 edge interrupts needed to detect
wakeup from deep sleep, when the second edge interrupt is detected the
wake byte is injected into the tty buffer.
On some boards due to noisy GPIO pins an interrupt is detected as soon as
the wakeup irq is enabled and before the variable is reset leading to
bogus wakeup bytes being injected into the serial buffer.
To protect against this, make sure the wakeup interrupt is enabled after
all the state variables are reset to protect against spurious wakeups.
Change-Id: I8002a67d8d9cb41709049ff34f35717f3dd0acd0
Acked-by: Yijiang Yuan <yijiangy@qti.qualcomm.com>
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
Add support for audio over MI2S and AUX PCM interfaces
so that applications have flexibility to select MI2S/AUX
PCM interfaces in addition to Slimbus.
CRs-Fixed: 1047362 1047365
Change-Id: I48e6680b026391d8e77bbdcba4fb59ed90b13581
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
Fix possible NULL pointer dereference issue as strrchr() API can
return NULL if there is no port_num found as part of passed string.
Change-Id: I410e58361282f175e46b68cbfaf4824e386454f8
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
func_name and port_num attributes related information is already
available as part of created driver instance name itself. These
attributes don't give any valuable information. Hence remove both
attributes and related functionality. Add check against length of
func_name.
CRs-Fixed: 1069476
Change-Id: Ibfc050cda62cfc7e5838949ae833a9d7c0a59303
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Device state is updated incorrectly during codec probe when
the wsa881x soundwire slave device is in suspend state, resulting
in register read/write failures. Update the device state during
device probe instead of codec probe.
Change-Id: I46afe2a08495c2ed06806b0568b1c44a6ffd947f
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Currently a device without a battery will shutdown soon after boot since
the SOC will be 0. Add a DT property called "qcom,batteryless-platform"
which indicates that the device does not have a battery. If this
property is set then charging will be disabled, and all of the necessary
battery parameters will be faked to ensure normal operation.
Change-Id: I6943b7f5565ad95eddb9e3d30de5efbc47106e3d
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>