WLAN has a requirement to trigger a PBS sequence for XO
calibration for factory testing. As part of this feature
expose a new register under PMK8550 SDAM2, which will
be used by PBS for reading XO trims settings.
Change-Id: I620b2d9d0ca6b7452f693ff665ddf995f17e4e2c
Signed-off-by: Kamal Wadhwa <quic_kamalw@quicinc.com>
Add NVMEM cell for FMD_CONT_AFTER_PON to provide the option to prevent
FMD(find-my-device) feature disablement on PON trigger.
0 - Disable FMD feature on PON.
1 - Keep FMD feature enabled on PON.
Change-Id: I5e5386867546aacf526fe7be65e1e1e1ece30ffc
Signed-off-by: Kamal Wadhwa <quic_kamalw@quicinc.com>
Add NVMEM cells FMD_CNT2_STOP and FMD_CHG_PON for supporting
Find-My-Device(FMD) feature.
- FMD_CNT2_STOP controls the number of FMD cycles after which the
feature will auto disable to save power in OFF mode.
- FMD_CHG_PON can be use to disable USB PON feature for testing
purpose.
Change-Id: I0f217d413f2ec8c5616956c4e56fd7e469c52d56
Signed-off-by: Kamal Wadhwa <quic_kamalw@quicinc.com>
Add pmd802x amoled device and regulator devices ab, ibb and oled
under it along with the nvmem configuration needed to support the
IBB spur mitigation feature. This may be used by some customers.
Change-Id: I174ed6270da56bea7bb256af4f72b91bb059779d
Signed-off-by: Subbaraman Narayanamurthy <quic_subbaram@quicinc.com>
PMK8550 has a couple of high resolution PWM channels which can support
from 8-bit to 15-bit PWM. Add it.
Change-Id: I277bca101546de07ffc8bb34380fc8bbdea10a92
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
Add AMOLED ECM device for PMD802X so that AMOLED panel current
can be measured on need basis for Sun platforms.
Change-Id: Ic5e699fa5c4c595bbcc1b540c0197c1e63673c32
Signed-off-by: Subbaraman Narayanamurthy <quic_subbaram@quicinc.com>
Add VADC GEN4 channels provided by pmk8550 that are used by thermal
clients on Sun. Also, add the corresponding thermal zone devices.
Change-Id: Ia1eca3b4eb5e95612590ec2405bb366ed170c60a
Signed-off-by: Minghao Zhang <quic_minghao@quicinc.com>
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
Find my device (FMD) feature uses SDAM offset 0x9a for enabling
or disabling the feature in Sun platforms. Add the configuration
to support it.
Change-Id: I76cd1cc8146cdf08af544db474637858ab88211e
Signed-off-by: Subbaraman Narayanamurthy <quic_subbaram@quicinc.com>
Currently, PM8550VS and PM8550VE ADC channels are using old macros for
register address. Update device nodes so that they use the new
PM8550VX_ADC5_GEN3_<channel>(sid) macros.
Change-Id: I151d965a3eb03ad318deb21dea47170e5806f37a
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
Add device tree nodes for wcd usb subsystem and pmic
sdam_71 needed for usb analog audio, display functionality.
Change-Id: I35cb8e17efb1c7288330a1b125a03b23990a829b
Signed-off-by: Phani Kumar Uppalapati <quic_phaniu@quicinc.com>
Sun and pineapple share certain PMICs. Prepare the shared PMIC devices
to be used for both Sun and Pineapple.
Change-Id: I378e781751b4ee42b3c0d4940dff30ffbd2b3e5a
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>