summaryrefslogtreecommitdiff
path: root/scripts/dtc/dtx_diff (follow)
Commit message (Collapse)AuthorAge
* UPSTREAM: scripts/dtc: dt_to_config - kernel config options for a devicetreeGaurav Minocha2018-02-05
| | | | | | | | | | | | | | Determining which kernel config options need to be enabled for a given devicetree can be a painful process. Create a new tool to find the drivers that may match a devicetree node compatible, find the kernel config options that enable the driver, and optionally report whether the kernel config option is enabled. Signed-off-by: Gaurav Minocha <gaurav.minocha.os@gmail.com> Signed-off-by: Frank Rowand <frank.rowand@am.sony.com> Signed-off-by: Rob Herring <robh@kernel.org> (cherry picked from commit ca0cd118a15f9a1e25fa6086543ab49ddd96df99) Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
* UPSTREAM: scripts/dtc: dtx_diff - add info to error messageFrank Rowand2018-02-05
| | | | | | | | | | | | | If kernel config options are not properly set, "make scripts" will not compile dtc. Update the unable to find dtc error message to check the kernel config and give better advice on how to create dtc. Reword another error message to increase clarity. Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com> Signed-off-by: Rob Herring <robh@kernel.org> (cherry picked from commit 60c7f4cb1fa4df62b7ba07e9b087728ca7ce5bc8) Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
* UPSTREAM: dtc: create tool to diff device treesFrank Rowand2018-02-05
Create script to diff device trees. The device tree can be in any of the forms recognized by the dtc compiler: - source - binary blob - file system tree (from /proc/devicetree) If the device tree is a source file, then it is pre-processed in the same way as it would be when built in the linux kernel source tree before diffing. Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com> Signed-off-by: Rob Herring <robh@kernel.org> (cherry picked from commit 10eadc253ddf8325bc6daafdbed67438cfede84c) Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>