Definitions throughout qcom_scm are loosely grouped and loosely ordered.
Sort all the functions/definitions by service ID/command ID to improve
sanity when needing to add new functionality to this driver.
Change-Id: I698443e8e650d4bc9e65ac27d68c46d1e45ba8e3
Acked-by: Bjorn Andersson <[email protected]>
Signed-off-by: Elliot Berman <[email protected]>
Improve understandability of SMCCC macros as they are all functions of
how many arguments can be shoved in registers and how many SCM arguments
are supported.
Change-Id: Iac0378fc4c5e20943a64b98223d53caa4955dd53
Signed-off-by: Elliot Berman <[email protected]>
Add LEGACY_FUNCNUM to qcom_scm-32.c and move SMCCC_FUNCNUM closer to
other smccc-specific macros.
Change-Id: I385f0b5ba31cb14e304617d5aa67b37dc3c33c9c
Signed-off-by: Elliot Berman <[email protected]>
Qcom's smmu-500 needs to toggle wait-for-safe sequence to
handle TLB invalidation sync's.
Few firmwares allow doing that through SCM interface.
Add API to toggle wait for safe from firmware through a
SCM call.
Change-Id: I425b4dda32f285996178540e551e3168c51da610
Signed-off-by: Vivek Gautam <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Acked-by: Andy Gross <[email protected]>
Signed-off-by: Sai Prakash Ranjan <[email protected]>
Patch-mainline: https://lore.kernel.org/patchwork/patch/1129993/
Signed-off-by: Elliot Berman <[email protected]>
PMIC Glink driver provides the interface for the clients to
communicate over GLink for sending and receiving the data to
charger PD firmware that runs on ADSP which supports charging
and gauging.
This enable the clients to read/write and get notifications on
battery charging parameters.
Change-Id: I2747a86d88dac571bd7e4b8c6dfcd7b8ac596e4b
Signed-off-by: Subbaraman Narayanamurthy <[email protected]>
The PMIC Glink driver provides the interface for clients to
communicate over GLink for sending and receiving data to charger
firmware that runs on a remote subsystem (e.g. ADSP) which
supports charging and gauging.
This enables clients to read/write battery charging parameters
and get notifications.
Change-Id: I1e4c09d1ee10c8c5397f4459afe8d656593d718a
Signed-off-by: Subbaraman Narayanamurthy <[email protected]>
This driver registers a devfreq device that allows devfreq governors to
scale the frequency of a device clock. This single driver can be used to
support multiple devices as long as those devices don't have a need or
mechanism to monitor their load and use clock APIs to control their
device/core clock.
If devices need to support device specific status monitoring, they could
extend this driver to allow registering device specific status monitoring
functions or write their own specific devfreq device driver.
Change-Id: Ie1797acf7b35cac6dc49428e270c23082634eb1e
Signed-off-by: Saravana Kannan <[email protected]>
Signed-off-by: Rama Aparna Mallavarapu <[email protected]>
[[email protected]: updated Kconfig selects and made minor styling changes]
Signed-off-by: Amir Vajid <[email protected]>
Remove the warning caused due to incorrect return type in qiib_poll.
Change-Id: Ie3af2051775f0823dc99fdbf8de1ee0f6421654c
Signed-off-by: Jay Jayanna <[email protected]>
Correct the validation of number of dma entries in DMA table
to overcome the out-of-bounds access to dma buffers array.
And make changes to initialize an uninitialized variable
which may contain junk data.
Change-Id: Ia05082c887548e58831ab7dfae42cba97ec13fec
Signed-off-by: Praveen Kurapati <[email protected]>
IMD command syntax fix for increment and adding a return
condition for parameter check.
Change-Id: I3e171bd09c3a4ae0d679348186cae1f87da076fe
Signed-off-by: Michael Adisumarta <[email protected]>
This change will ensure the APIs are updated correctly to the
latest for wakeup_source and dma functions.
Change-Id: Iaaffe6f876dab3824f7a8b72f9d71be686033a6b
Acked-by: Priyadarshini Rajagopal <[email protected]>
Signed-off-by: Bojun Pan <[email protected]>
Signed-off-by: Ghanim Fodi <[email protected]>
SSR is triggered when the system does not have a sound card
registered, but has codecs. The pointer card sent from codec driver
to snd_soc_card_change_online_state is NULL.
Add null check for soc_card before dereferencing.
Change-Id: I23342a6cbd9d53e62b2ea11dfe79aad3759df6f0
Signed-off-by: Meng Wang <[email protected]>
This is a snapshot of watchdog driver as of msm-4.19 commit
<5a4fd734e3e0e76c8e0819c47eb0d333e09d0f9f>. (Merge "msm: audio: support
for gapless_pcm").
Change-Id: I8b683c8b5c4c56f328d0025b2829f42105d03940
Signed-off-by: Prakruthi Deepak Heragu <[email protected]>
Add virtual QUP bus nodes to separate out bandwidth requests
and clock votes to allow for independent control.
Change-Id: I8d5a171e60b2e76db83e1d5a27f4cdfe4a1408d9
Signed-off-by: David Dai <[email protected]>
There is use case that the HDMI input goes through MI2S
TX interface to ADSP. Add compressed TX support for
this use case.
Add support for compressed bitstream passthrough over HDMI
for DD/DDP contents.
Use compressed driver to support passthrough.
Change-Id: I92d0f301d44cc71c89de07cd60a4d20ce6f7913e
Signed-off-by: Subhash Chandra Bose Naripeddy <[email protected]>
Signed-off-by: Banajit Goswami <[email protected]>
Signed-off-by: Sudheer Papothi <[email protected]>
Signed-off-by: Meng Wang <[email protected]>
Close the coaleascing frame before control sequences involving
coalescing to ensure HPS is idle and that there are no open
coalescing frames/contexts.
Change-Id: I5914b7d64c58a7e557854df6fa2c6fc15a4e21df
Signed-off-by: Michael Adisumarta <[email protected]>
Add new CVP feature support. Make CVP driver work with 5.x kernel:
Modified bus and ion function calls. Modified synx and firmware
version function calls. Demodulized CPU-DSP driver interface. Added
Lahaina platform configuration. Enable building CVP driver as DLKM.
Change-Id: I8a0a21b3ae87c19bf4e59bed16e9dba304503cc6
Signed-off-by: George Shen <[email protected]>
Configure the callback mode only one time after starting the channel
otherwise observing IEOB interrupt received before configure callback
mode second time. It was leading race condition in updating current
polling state.
Change-Id: I35cdf77ee564ca82d9ff3e0cc6a58a88e8cbb471
Signed-off-by: Ashok Vuyyuru <[email protected]>
Because of using different PM handles default WAN consumer handle never
unvote data pending in suspend scenarios. Add changes to use the common
PM handle for default and coalescing pipes.
Change-Id: I2d6ff2998e7b80f11bdb7cfcd787cab098eaf718
Signed-off-by: Ashok Vuyyuru <[email protected]>
Sometimes the DAPM widget info is longer than 32.
Update NAME_SIZE to 64 to resolve it.
Change-Id: Iadcba84c61285ecdbccf4950b83f1d89aca5897b
Signed-off-by: Meng Wang <[email protected]>
Enable cam cc clock driver to support camera clocks for
camera peripherals.
Change-Id: I589bf1b8e416ff235d0a97a5864d61dbbe0c4fe0
Signed-off-by: Vivek Aknurwar <[email protected]>