On Fri, Dec 01, 2023 at 03:43:04PM +0100, Emil Renner Berthing wrote:
I just noticed the Allwinner D1 device trees use /omit-if-no-ref/ in front of the pin group nodes. I think all current pin group nodes (for the JH7100 at least) are used by some peripheral, so if you're removing peripherals from the device tree you should be removing the reference too and this scheme should work for you.
If I am not mistaken, /omit-if-no-ref/ (and similar stuffs like /delete-node/ and /delete-property/) is only for compile-time node removal. It doesn't do anything with device tree overlay.
Best regards, Nam