Laxman Dewangan
a8dd4a4375
pinctrl: pexclk-padctrl: Explicitly typecast param
...
Explicitly typecast the pin-config param to the
enum pin_config_param to avoid warning which causing
build error.
Bug 4346767
Change-Id: I3b35fe69660c31d7ba7243a7a65f57b0b5ecc1f9
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3007360
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-11-01 09:00:05 -07:00
Laxman Dewangan
869fff1af3
include: Organise OOT prod headers
...
There is two implementation of the prod setting, legacy
where driver directly get the register offset/mask/value
and upstreamable where configuration come as property of the
respective field.
The legacy is supported till K5.15 and afterwards, the upstreamable
solution is supported.
Add the dummy header incase the core kernel have not implemented
the prods and organise the oot prod accordingly.
Bug 4097475
Change-Id: Idd0e8759342c1c4ffd88df046785595aa4fab52d
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2996588
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-10-13 15:48:15 -07:00
Shubhi Garg
0b989c71b1
drivers: fix CERT-C violations in max77851 driver
...
Cert-C fixes in max77851 mfd and pinctrl driver.
CID:685661
CID:685622
CID:685626
CID:685637
Bug 3959323
Change-Id: I0a5fbd9d90ecc4c43d0967fdd4a9da7286aab1f5
Signed-off-by: Shubhi Garg <shgarg@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2987950
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Sachin Nikam <snikam@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-10-04 07:40:33 -07:00
Bitan Biswas
3dbf9a344e
nvidia-oot: pinmux: Add dummy makefile for pintrl/tegra
...
Enable drivers/pinmux/tegra build for internal chip.
bug 4197981
Change-Id: I17df765cd3745155855a9b31dfc993e40f03e299
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2984805
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-10-01 15:21:03 -07:00
Shubhi Garg
26a63fbba2
pinctrl: max77851: add max77851 pinctrl driver
...
Add duplicate copy of needed linux header files
from core kernel k6.1 into nvidia-oot as max77851
pinctrl drivers compilation fails.
Bug 200749982
Change-Id: I660e2025e86494e87e5972d16f356efd70720511
Signed-off-by: Shubhi Garg <shgarg@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-5.10/+/2595353
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2947786
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-09-14 13:25:52 -07:00
Prathamesh Shete
e15d8dc379
pinctrl: dont compile pinmux driver under nvidia-oot
...
This is being done as pinmux driver is being moved to kernel-oot.
Bug 3950014
Change-Id: Id32a3c0e839ac48dd4e64a58d1c794455463a1ab
Signed-off-by: Prathamesh Shete <pshete@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2844308
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-07-25 15:03:09 -07:00
Jon Hunter
bfccd0291a
pinctrl: tegra234: Fix build for Linux v6.2
...
Building the Tegra234 PINCTRL driver with Linux v6.2 fails with the
following error ...
drivers/pinctrl/tegra/pinctrl-tegra234.c:72:2: error: implicit
declaration of function ‘seq_printf’ [-Werror=implicit-function-declaration]
seq_printf(s, " %s", dev_name(pctldev->dev));
^~~~~~~~~~
Fix this by including the "seq_file.h" header file that defines this
function.
Bug 3936429
Signed-off-by: Jon Hunter <jonathanh@nvidia.com >
Change-Id: I5c584a853025575fae78e1ca7a521914479f0c90
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2841036
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
2023-01-11 11:27:00 -08:00
Laxman Dewangan
8fdd97797e
pinctrl: Add pinctrl drivers for Nvidia Tegra234
...
Add pinctrl driver for NVIDIA Tegra234 for providing the
pin mux functionality of SoC pins.
Bug 3621816
Change-Id: Ibc1c334ee21c26f1ef57c7e626f8e16cb5833e53
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2704712
GVS: Gerrit_Virtual_Submit
2022-04-30 06:18:02 -07:00
Laxman Dewangan
2edab300a2
pinctrl: Add pinctrl driver for Tegra PEX pad controller
...
Add pinctrl driver for the NVIDIA Tegra pex pad controller.
Bug 3621816
Change-Id: I16d05c78882b84819c8911e43899f9cf9400acda
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2704359
GVS: Gerrit_Virtual_Submit
2022-04-30 06:17:53 -07:00
Laxman Dewangan
f0d8583fca
pinctrl: Add pinctrl driver for tegra234 DP AUX
...
Add pinctrl driver for the Tegra234 DP Aux drivers.
Bug 3621816
Change-Id: I5709ae1797e98497675d6af20adb8157298ecec8
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2704300
GVS: Gerrit_Virtual_Submit
2022-04-30 06:17:31 -07:00