Chenjian
7434e9a293
mfd: clear interrupt status in probe
...
VRS RTC may assert interrupt if battery mounted. Clear the status
registers before interrupt enabled to prevent bad logic.
Bug 3910065
Bug 3742306
Change-Id: I02dc6ce9352b1f1932cc539e6988375da4098014
Signed-off-by: Chenjian <jackchen@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2833620
(cherry picked from commit a50dd0a752641a30d84a5edfed426a12f2641acc)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2839704
(cherry picked from commit 1b7ac9b9dce9e87b6eab9f0116414fa636b00f87)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3414735
Reviewed-by: Shubhi Garg <shgarg@nvidia.com >
Tested-by: Shubhi Garg <shgarg@nvidia.com >
Reviewed-by: Bibek Basu <bbasu@nvidia.com >
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com >
2025-07-24 10:20:36 +00:00
Laxman Dewangan
2884c4b380
i2c: Use conftest to find if i2c driver probe has i2c_device_i2d arg
...
Determine if probe of struct i2c_driver has i2c_device_id argument
or not.
This argument get removed from commit 03c835f498b5 ("i2c: Switch
.probe() to not take an id parameter") form Linux 6.3.
Bug 4346767
Change-Id: Ife73b29946246fce5bfcedcabe15992432d86348
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3030809
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2023-12-08 18:37:09 -08:00
Jon Hunter
638edc1cc7
drivers: Fix build for Linux v6.3
...
Upstream Linux commit 03c835f498b5 ("i2c: Switch .probe() to not take an
id parameter") removes the 'id' argument from the I2C probe callback.
Update the drivers which define an I2C probe callback function to fix
building them for Linux v6.3.
Bug 4014315
Change-Id: I1c9924e3b1b6413d385f7d0daa9ef181dadfabe4
Signed-off-by: Jon Hunter <jonathanh@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2870268
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2023-03-18 16:19:11 -07:00
Jon Hunter
b601a41408
mfd: nvvrs-pseq: Fix automatic module loading
...
The NVIDIA VRS PSEQ driver is not automatically loaded on boot and this
is because the MODULE_DEVICE_TABLE is missing in the driver. Add the
MODULE_DEVICE_TABLE for this driver so that the driver is loaded as
expected on boot.
Bug 3583627
Change-Id: I19316ac7fb26e9cced65d0d7504a5c7f3f49b35f
Signed-off-by: Jon Hunter <jonathanh@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2865056
(cherry picked from commit fe3aea29adff6f548dfd29421aa8fa1811401daf)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2866991
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com >
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com >
Reviewed-by: Bibek Basu <bbasu@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-03-13 04:58:44 -07:00
Shubhi Garg
87feab86a2
mfd: return from probe for vrs chip rev < 0x40
...
VRS Power Sequencer has silicon issues for chip revision < 0x40.
Thus making probe failed and driver will exit if we read revision < 0x40.
Bug 3366934
Change-Id: I8ce7ddc1c6b76e6cced5349798a5d42878605441
Signed-off-by: Shubhi Garg <shgarg@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2728938
(cherry picked from commit 67df4ac93fb2f8e6285407a8fdcea186479cbaa1)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2704054
(cherry picked from commit 2e3764ac0dddd3d7d96d29f6a9b49655c16027bc)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2748742
Reviewed-by: Bibek Basu <bbasu@nvidia.com >
GVS: Gerrit_Virtual_Submit
2022-07-28 18:06:11 -07:00
Laxman Dewangan
95b8f25957
mfd: Add mfd driver for nvidia VRS sequence
...
Add mfd driver for NVIDIA VRS sequencer. This device sequence
the power rail required by SoCs.
Bug 3583627
Change-Id: I774c286a61a5192478b9e8ceea839193c7cf6fe5
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2702275
GVS: Gerrit_Virtual_Submit
2022-04-25 22:44:28 -07:00