Disable the display node (display@13800000) from custom overlay file still PM.00 is not getting free and showing bind in "kernel"

Hi Team,

We need to use “GPIO3_PM.00” (SoM Pin:- 96) pin as normal GPIO in different usecase; For that we have disabled the “display@13800000” node from custom-overay file.

/dts-v1/;
/plugin/;

/ {
    overlay-name = "Free the DP1_HPD GPIO";

    compatible =
    "nvidia,p3768-0000+p3767-0000",
    "nvidia,p3768-0000+p3767-0001",
    "nvidia,p3768-0000+p3767-0003",
    "nvidia,p3768-0000+p3767-0004",
    "nvidia,p3768-0000+p3767-0005",
    "nvidia,p3768-0000+p3767-0000-super",
    "nvidia,p3768-0000+p3767-0001-super",
    "nvidia,p3768-0000+p3767-0003-super",
    "nvidia,p3768-0000+p3767-0004-super",
    "nvidia,p3768-0000+p3767-0005-super";

    fragment@0 {
        target-path = "/display@13800000";

        __overlay__ {
            status = "disabled";
            /delete-property/ os_gpio_hotplug_a;
        };
    };
};

Using above overlay file we are able to see that display node getting disabled on board but GPIO3_PM.00 is still showing bind with kernel and due to that we can not use it independent normal GPIO. We need to free that GPIO for our custom use-case.

We have checked below file where we have found that “GPIO3_PM.00” bind in display node.

File:- tegra234-p3768-0000+p3767-xxxx-nv-common.dtsi

Please help proper solution to use this GPIO as normal GPIO.

Thanks,

Nisarg

please go to reset your DCB image to totally skipped by using dcb tool and see if that release the GPIO.