Commit Graph

2 Commits

Author SHA1 Message Date
Laxman Dewangan
49988960d1 gpio: Use conftest to find if struct gpio_chip has of_node
Use conftest to determine if struct gpio_chip has
the of_node member or not.

The of_node from struct gpio_chip is removed from commit 70d0fc4288da
("gpiolib: Get rid of not used of_node member") in Linux 6.2

Bug 4425688

Change-Id: Ie69000a1677b9af3ccfdf6c43140a75dad33d8cc
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3037037
Reviewed-by: Shardar Mohammed <smohammed@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-12-19 04:03:03 -08:00
Shubhi Garg
83b0f18aa3 gpio: add max77851 PMIC GPIO driver
Adding MAX77851 GPIO driver provided by Maxim.
 - fix k6.3 (kstable and gh100) kernel-only build
 - fix k6.1 and jammy-src kernel-only build with
   CONFIG_REGMAP_IRQ and CONFIG_I2C conditional
   including -werror failures.

Bug 200749982

Change-Id: Ib46a075a2ca7c43301788dc0f54216f02c925c16
Signed-off-by: Shubhi Garg <shgarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-5.10/+/2595331
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2947782
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-14 13:25:32 -07:00