Parse input tree error after inclusion of pinmux gpio file for TX2

First, are you applying this to an extracted dts file, or is this being applied to the dts in the kernel source tree? Are you positive you have matching counts of open curly braces (“{”) and closing curly braces (“}”)? Are you positive the editor has not inserted a newline somewhere in the case of line wrap?

It’s applied to the dts in the kernel source tree.
Matching counts of curly braces and no new newlines inserted.

It’s like that

soc/tegra/kernel-include/dt-bindings/gpio/tegra-gpio.h

is not found.

Well I get:

syntax error
FATAL ERROR: Unable to parse input tree

Did you use the source_sync.sh script to download the kernel source? This is necessary for some of the out-of-tree files. source_sync.sh will result in a “sources/hardware/” subdirectory and a “sources/kernel/” directory (and this directory has several subdirectories…the kernel-4.4 subdirectory is where you build from, relative paths will require these other directories even when compiling from the kernel-4.4 directory…if you downloaded only the kernel-4.4 directory you will be missing part of the code).

Example:

./source_sync.sh -k tegra-l4t-r28.1

yes I did…