linux/Documentation/devicetree/bindings
Rob Herring 93512dad33 dt-bindings: Improve validation build error handling
Schema errors can cause make to exit before useful information is
printed. This leaves developers wondering what's wrong. It can be
overcome passing '-k' to make, but that's not an obvious solution.
There's 2 scenarios where this happens.

When using DT_SCHEMA_FILES to validate with a single schema, any error
in the schema results in processed-schema.yaml being empty causing a
make error. The result is the specific errors in the schema are never
shown because processed-schema.yaml is the first target built. Simply
making processed-schema.yaml last in extra-y ensures the full schema
validation with detailed error messages happen first.

The 2nd problem is while schema errors are ignored for
processed-schema.yaml, full validation of the schema still runs in
parallel and any schema validation errors will still stop the build when
running validation of dts files. The fix is to not add the schema
examples to extra-y in this case. This means 'dtbs_check' is no longer a
superset of 'dt_binding_check'. Update the documentation to make this
clear.

Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Tested-by: Jeffrey Hugo <jhugo@codeaurora.org>
Signed-off-by: Rob Herring <robh@kernel.org>
2019-11-14 10:46:16 -06:00
..
arc
arm dt-bindings: power: Convert Generic Power Domain bindings to json-schema 2019-11-14 10:46:16 -06:00
ata dt-bindings: ata: sata_rcar: Add r8a774b1 support 2019-10-28 19:40:48 -05:00
auxdisplay
board
bus dt-bindings: bus: renesas-bsc: convert bindings to json-schema 2019-10-01 09:53:00 -05:00
c6x
clock dt-bindings: power: Convert Generic Power Domain bindings to json-schema 2019-11-14 10:46:16 -06:00
connector
counter
cpu
cpufreq
crypto dt-bindings: crypto: samsung: Convert SSS and SlimSSS bindings to json-schema 2019-10-10 16:25:22 -05:00
csky
devfreq
display dt-bindings: display: st,stm32-dsi: Fix white spaces 2019-10-29 11:41:00 -05:00
dma dt-bindings: Remove FIXME in yaml bindings 2019-11-05 22:23:46 -06:00
dsp dt-bindings: dsp: Fix fsl,dsp example 2019-10-02 14:13:36 -05:00
edac
eeprom dt-bindings: at24: add new compatible 2019-10-09 18:24:04 -05:00
extcon
firmware dt-bindings: power: Convert Generic Power Domain bindings to json-schema 2019-11-14 10:46:16 -06:00
fpga
fsi
fuse
gnss
goldfish
gpio ARM: SoC driver updates for v5.4 2019-09-16 15:52:38 -07:00
gpu dt-bindings: gpu: mali-midgard: add samsung exynos 5420 compatible 2019-11-12 21:20:16 -06:00
h8300
hsi
hwlock dt-bindings: hwlock: Convert stm32 hwspinlock bindings to json-schema 2019-10-14 12:16:40 -05:00
hwmon
i2c dt-bindings: Remove FIXME in yaml bindings 2019-11-05 22:23:46 -06:00
i3c
iio dt-bindings: iio: adc: exynos: Use defines instead of clock numbers 2019-10-15 12:29:35 -05:00
infiniband
input dt-bindings: input: max77650: convert the binding document to yaml 2019-10-28 19:40:48 -05:00
interconnect dt-bindings: interconnect: Convert qcom, qcs404 to DT schema 2019-11-05 21:52:34 -06:00
interrupt-controller dt-bindings: Remove FIXME in yaml bindings 2019-11-05 22:23:46 -06:00
iommu dt-bindings: power: Convert Samsung Exynos Power Domain bindings to json-schema 2019-11-14 10:46:16 -06:00
ipmi
leds dt-bindings: leds: max77650: convert the binding document to yaml 2019-10-28 19:40:48 -05:00
lpddr2
mailbox - qcom : enable support for ipq8074, sm1850 and sm7180. 2019-09-19 14:01:47 -07:00
media dt-bindings: Remove FIXME in yaml bindings 2019-11-05 22:23:46 -06:00
memory-controllers dt-bindings: memory-controllers: Convert Samsung Exynos SROM bindings to json-schema 2019-10-10 16:23:39 -05:00
mfd dt-bindings: serial: Convert Samsung UART bindings to json-schema 2019-11-05 16:48:22 -06:00
mips
misc
mmc dt-bindings: Remove FIXME in yaml bindings 2019-11-05 22:23:46 -06:00
mtd
mux
nds32
net dt-bindings: net: davinci-mdio: convert bindings to json-schema 2019-11-05 22:33:50 -06:00
nios2
nvmem dt-bindings: Remove FIXME in yaml bindings 2019-11-05 22:23:46 -06:00
openrisc/opencores
opp Merge branches 'pm-opp', 'pm-qos', 'acpi-pm', 'pm-domains' and 'pm-tools' 2019-09-17 09:49:19 +02:00
pci dt-bindings: PCI: rcar: Add device tree support for r8a774b1 2019-10-23 14:41:05 -05:00
perf
phy dt-bindings: Clean-up regulator '-supply' schemas 2019-10-14 09:23:54 -05:00
pinctrl dt-bindings: pinctrl: stm32: Fix 'st, syscfg' description field 2019-10-15 12:29:36 -05:00
pmem
power dt-bindings: power: Convert Samsung Exynos Power Domain bindings to json-schema 2019-11-14 10:46:16 -06:00
powerpc
pps
ptp
pwm dt-bindings: pwm: rcar: Add r8a774b1 support 2019-10-15 12:29:36 -05:00
regmap
regulator dt-bindings: regulator: max77650: convert the binding document to yaml 2019-10-28 19:40:48 -05:00
remoteproc
reserved-memory
reset Devicetree updates for v5.4: 2019-09-19 13:48:37 -07:00
riscv dt-bindings: riscv: Fix CPU schema errors 2019-10-11 12:53:18 -05:00
rng dt-bindings: rng: exynos4-rng: Convert Exynos PRNG bindings to json-schema 2019-10-10 13:40:59 -05:00
rtc dt-bindings: rtc: s3c: Include generic dt-schema bindings 2019-10-15 12:29:35 -05:00
scsi
security/tpm
serial dt-bindings: serial: Convert Samsung UART bindings to json-schema 2019-11-05 16:48:22 -06:00
serio dt-bindings: serio: Convert Allwinner PS2 controller to a schema 2019-10-15 12:29:35 -05:00
sifive
siox
slimbus
soc dt-bindings: power: Convert Generic Power Domain bindings to json-schema 2019-11-14 10:46:16 -06:00
sound ASoC: es8316: fix redundant codes of clock 2019-09-09 10:50:21 +01:00
soundwire
spi Devicetree updates for v5.4: 2019-09-19 13:48:37 -07:00
spmi
sram dt-bindings: sram: Merge Socionext SRAM bindings into generic 2019-10-28 19:40:48 -05:00
staging/iio/adc
thermal dt-bindings: thermal: Convert stm32 thermal bindings to json-schema 2019-10-14 12:18:59 -05:00
timer dt-bindings: timer: Convert stm32 timer bindings to json-schema 2019-10-14 12:19:26 -05:00
ufs scsi: ufs-qcom: Implement device_reset vops 2019-09-07 16:36:03 -04:00
usb dt-bindings: usb: dwc3: Move Amlogic G12A DWC3 Glue Bindings to YAML schemas 2019-11-11 11:21:58 -06:00
virtio
w1
watchdog dt-bindings: watchdog: renesas-wdt: Document r8a774b1 support 2019-10-23 14:41:05 -05:00
x86
xillybus
.gitignore
ABI.txt
chosen.txt
common-properties.txt
example-schema.yaml dt-bindings: example-schema: Standard unit should be microvolt not microvolts 2019-11-11 11:21:58 -06:00
graph.txt
jailhouse.txt
Makefile dt-bindings: Improve validation build error handling 2019-11-14 10:46:16 -06:00
numa.txt
property-units.txt
resource-names.txt
submitting-patches.txt dt: submitting-patches: Document requirements for DT schema 2019-10-25 09:14:20 -05:00
trivial-devices.yaml
unittest.txt
vendor-prefixes.yaml drm main pull for 5.4-rc1 2019-09-19 16:24:24 -07:00
writing-bindings.txt
xilinx.txt