Some PWM devices could output modulated waveforms with a predefined
pattern which can be used for controlling LED breathing behavior. Add
a sysfs parameter to make the LED device can output breathing pattern.
Change-Id: I1e2c60ea3c61bf14d382991b40536d0cdb39006c
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
LPG module supports outputting the pattern programmed in Look-up table
(LUT) in addition to supporting PWM output. Add support for configuring
LPG to operate in LUT mode and configure LUT patterns per LPG channel.
Change-Id: I6352af136c4916f8b6bc17f1b8374ce1d421c10b
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
Normally, PWM channel has fixed output until software request to change
its settings. There are some PWM devices which their outputs could be
changed autonomously according to a predefined pattern programmed in
hardware. Add pwm_output_type enum type to identify these two different
PWM types and add relevant helper functions to set and get PWM output
types and pattern.
Change-Id: Ia1f914a45ab4f4dd7be037a395eeb89d0e65a80e
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
Idle task stacks are not much useful for debug in minidump.
Remove idle task and its stack registration to optimize minidump
size and collection time.
Change-Id: Ifa9e3ba54a6a0c912aa022707496c8f2e48dee02
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Some sub systems operates in 32 bit mode, which could lead
to alignment issues with sub system toc structures.
So update ss toc to use variable instead of pointer.
Change-Id: I4904410f9a86e9c947a377ddd28303204f04bc34
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
SM8150 USB primary port supports USB super speed plus functionality.
Hence set maximum speed as super speed plus.
Change-Id: I11b7f4b2a903def8e90d36b77897710aecdfe980
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Enable various features such as clock gating, deferred resume,
paranoid_sd_init, perf profiling and ring buffer for sdm640. The ring
buffer config should only be enabled for debug builds because of perf
impact.
Change-Id: Iba5831cce301988260eee70a1c423085d321f657
Signed-off-by: Vijay Viswanath <vviswana@codeaurora.org>
Add entried for sdhc1(eMMC) and sdhc2(sdcard). But enable only sdhc1 for
now. Enabling SD card without cd-gpio will result in continuous polling.
Change-Id: I5fd71e1d5d177083600e67d46243d5bfa9171b49
Signed-off-by: Vijay Viswanath <vviswana@codeaurora.org>
Initial support for all BLSP I2C, SPI, UART and Slimbus instances
with default configuration and disabled state such that clients
can overwrite and enable respective instance as per need.
Change-Id: Ideb28e7af6ffd80d040182c2b7bf2167afa3fb67
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
Signed-off-by: Shrey Vijay <shreyv@codeaurora.org>
If the IRQ pending count is incremented, make sure it is decremented
even in case of errors.
Change-Id: I63443d4430b24ff82eb58d729e42f7115607ff25
Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
Update the sid entries as per the new smmu configuration settings
for ksgl and apps test devices.
Change-Id: I7cac8ea4aac5aa3d01330061dfc1d8f11395189a
Signed-off-by: Sudarshan Rajagopalan <sudaraja@codeaurora.org>
Enable proxy consumer driver for regulators of sm8150 so
that supply regulator initialization constraints can be
enforced.
Change-Id: Iac68091198e5604499b4d44ac1d0a9cc0cda9668
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
Reserve memory for continuous splash feature on
sm8150 target. This memory buffer would be
configured by the bootloader and needs to be
retained until the first frame update in the kernel.
Change-Id: Ibec432396f1da1780375b621bee39994152e8032
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
For continuous splash screen feature, the display needs
to be kept alive during the kernel boot up. Add proxy
vote for all the regulator supplies needed to keep
the display alive.
Change-Id: Ia6229bffcd185ab2b6f9f9bdd6c42080187d5ccb
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
Add audio device tree properties to enable audio support on
sdmshrike.
Change-Id: I38f616b727657199d5c6ba0e610956c8e865b780
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>