aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/edac
AgeCommit message (Collapse)AuthorFilesLines
2022-12-16dt-bindings: drop redundant part of title (end, part three)Krzysztof Kozlowski1-1/+1
The Devicetree bindings document does not have to say in the title that it is a "binding", but instead just describe the hardware. Drop trailing "bindings" in various forms (also with trailing full stop): find Documentation/devicetree/bindings/ -type f -name '*.yaml' \ -not -name 'trivial-devices.yaml' \ -exec sed -i -e 's/^title: \(.*\) [bB]indings\?\.\?$/title: \1/' {} \; Signed-off-by: Krzysztof Kozlowski <[email protected]> Acked-by: Alexandre Belloni <[email protected]> Acked-by: Matti Vaittinen <[email protected]> # ROHM Acked-by: Ulf Hansson <[email protected]> # MMC Acked-by: Stephen Boyd <[email protected]> # clk Acked-by: Dmitry Torokhov <[email protected]> # input Acked-by: Mark Brown <[email protected]> Acked-by: Hans Verkuil <[email protected]> # media Acked-by: Sebastian Reichel <[email protected]> # power Acked-by: Viresh Kumar <[email protected]> # cpufreq Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
2021-06-21dt-bindings: Drop redundant minItems/maxItemsRob Herring1-2/+0
If a property has an 'items' list, then a 'minItems' or 'maxItems' with the same size as the list is redundant and can be dropped. Note that is DT schema specific behavior and not standard json-schema behavior. The tooling will fixup the final schema adding any unspecified minItems/maxItems. This condition is partially checked with the meta-schema already, but only if both 'minItems' and 'maxItems' are equal to the 'items' length. An improved meta-schema is pending. Cc: Jens Axboe <[email protected]> Cc: Stephen Boyd <[email protected]> Cc: Herbert Xu <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: David Airlie <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Bartosz Golaszewski <[email protected]> Cc: Kamal Dasu <[email protected]> Cc: Lars-Peter Clausen <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Marc Zyngier <[email protected]> Cc: Joerg Roedel <[email protected]> Cc: Mauro Carvalho Chehab <[email protected]> Cc: Krzysztof Kozlowski <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: Wolfgang Grandegger <[email protected]> Cc: Andrew Lunn <[email protected]> Cc: Vivien Didelot <[email protected]> Cc: Vladimir Oltean <[email protected]> Cc: Bjorn Helgaas <[email protected]> Cc: Kishon Vijay Abraham I <[email protected]> Cc: Linus Walleij <[email protected]> Cc: "Uwe Kleine-König" <[email protected]> Cc: Lee Jones <[email protected]> Cc: Ohad Ben-Cohen <[email protected]> Cc: Mathieu Poirier <[email protected]> Cc: Paul Walmsley <[email protected]> Cc: Palmer Dabbelt <[email protected]> Cc: Albert Ou <[email protected]> Cc: Alessandro Zummo <[email protected]> Cc: Alexandre Belloni <[email protected]> Cc: Zhang Rui <[email protected]> Cc: Daniel Lezcano <[email protected]> Cc: Wim Van Sebroeck <[email protected]> Cc: Guenter Roeck <[email protected]> Signed-off-by: Rob Herring <[email protected]> Acked-by: Marc Kleine-Budde <[email protected]> Acked-by: Ulf Hansson <[email protected]> # for MMC Acked-by: Jassi Brar <[email protected]> Acked-By: Vinod Koul <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Reviewed-by: Arnaud Pouliquen <[email protected]> Acked-by: Mark Brown <[email protected]> Acked-by: Philipp Zabel <[email protected]> Acked-by: Wolfram Sang <[email protected]> # for I2C Acked-by: Jonathan Cameron <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-12-07dt-bindings: edac: aspeed-sdram-edac: Add ast2400/ast2600 supportTroy Lee1-3/+6
Add Aspeed AST2400 and AST2600 binding for the Aspeed EDAC driver. Signed-off-by: Troy Lee <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Acked-by: Joel Stanley <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
2020-10-26dt-bindings: Another round of adding missing ↵Rob Herring1-0/+1
'additionalProperties/unevalutatedProperties' Another round of wack-a-mole. The json-schema default is additional unknown properties are allowed, but for DT all properties should be defined. Signed-off-by: Rob Herring <[email protected]>
2020-10-14Merge tag 'devicetree-for-5.10' of ↵Linus Torvalds1-0/+2
git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux Pull devicetree updates from Rob Herring: - Update dtc to upstream version v1.6.0-31-gcbca977ea121 - dtx_diff help text reformatting - Speed-up validation time for binding and dtb checks using json for intermediate files - Add support for running yamllint on DT schema files - Remove old booting-without-of.rst - Extend the example schema to address common issues - Cleanup handling of additionalProperties/unevaluatedProperties - Ensure all DSI controller schemas reference dsi-controller.yaml - Vendor prefixes for Zealz, Wandbord/Technexion, Embest RIoT, Rex, DFI, and Cisco Meraki - Convert at25, SPMI bus, TI hwlock, HiSilicon Hi3660 USB3 PHY, Arm SP805 watchdog, Arm SP804, and Samsung 11-pin USB connector to DT schema - Convert HiSilicon SoC and syscon bindings to DT schema - Convert SiFive Risc-V L2 cache, PLIC, PRCI, and PWM to DT schema - Convert i.MX bindings for w1, crypto, rng, SIM, PM, DDR, SATA, vf610 GPIO, and UART to DT schema - Add i.MX 8M compatible strings - Add LM81 and DS1780 as trivial devices - Various missing properties added to fix dtb validation warnings * tag 'devicetree-for-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (111 commits) dt-bindings: misc: explicitly add #address-cells for slave mode spi: dt-bindings: spi-controller: explicitly require #address-cells=<0> for slave mode dt: Remove booting-without-of.rst dt-bindings: update usb-c-connector example dt-bindings: arm: hisilicon: add missing properties into cpuctrl.yaml dt-bindings: arm: hisilicon: add missing properties into sysctrl.yaml dt-bindings: pwm: imx: document i.MX compatibles scripts/dtc: Update to upstream version v1.6.0-31-gcbca977ea121 dt-bindings: Add running yamllint to dt_binding_check dt-bindings: powerpc: Add a schema for the 'sleep' property dt-bindings: pinctrl: sirf: Fix typo abitrary dt-bindings: pinctrl: qcom: Fix typo abitrary dt-bindings: Explicitly allow additional properties in common schemas dt-bindings: Use 'additionalProperties' instead of 'unevaluatedProperties' dt-bindings: Add missing 'unevaluatedProperties' Docs: Fixing spelling errors in Documentation/devicetree/bindings/ dt-bindings: arm: hisilicon: convert Hi6220 domain controller bindings to json-schema dt-bindings: riscv: convert pwm bindings to json-schema dt-bindings: riscv: convert plic bindings to json-schema dt-bindings: fu540: prci: convert PRCI bindings to json-schema ...
2020-10-06dt-bindings: Another round of adding missing 'additionalProperties'Rob Herring1-0/+2
Another round of wack-a-mole. The json-schema default is additional unknown properties are allowed, but for DT all properties should be defined. Cc: Linus Walleij <[email protected]> Cc: Stephen Boyd <[email protected]> Cc: Shawn Guo <[email protected]> Cc: Bjorn Andersson <[email protected]> Cc: Baolin Wang <[email protected]> Cc: Mauro Carvalho Chehab <[email protected]> Cc: Laurent Pinchart <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Bjorn Helgaas <[email protected]> Cc: Liam Girdwood <[email protected]> Cc: Daniel Lezcano <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Acked-By: Vinod Koul <[email protected]> Acked-by: Lee Jones <[email protected]> Acked-by: Ulf Hansson <[email protected]> Acked-by: Jonathan Cameron <[email protected]> # for iio Acked-by: Thierry Reding <[email protected]> Acked-by: Mark Brown <[email protected]> Reviewd-by: Corey Minyard <[email protected]> Acked-by: Pavel Machek <[email protected]> Acked-by: Sebastian Reichel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
2020-08-17dt-bindings: EDAC: Add Amazon's Annapurna Labs Memory Controller bindingTalel Shenhar1-0/+67
Document Amazon's Annapurna Labs Memory Controller EDAC SoC binding. Signed-off-by: Talel Shenhar <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
2020-02-19dt-bindings: edac: Dmc-520.yamlLei Wang1-0/+59
Add the device tree bindings for the EDAC driver dmc520_edac. Signed-off-by: Lei Wang <[email protected]> Signed-off-by: Shiping Ji <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: James Morse <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
2019-04-10Documentation: dt: edac: Add Stratix10 Peripheral bindingsThor Thayer1-0/+106
Add peripheral bindings for Stratix10 EDAC to capture the differences between the ARM64 and ARM32 architecture. Signed-off-by: Thor Thayer <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: James Morse <[email protected]> Cc: Mark Rutland <[email protected]> Cc: [email protected] Cc: [email protected] Cc: linux-edac <[email protected]> Cc: [email protected] Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
2019-04-10Documentation: dt: edac: Fix Stratix10 IRQ bindingsThor Thayer1-10/+19
Fix Stratix10 ECC bindings to specify only the single bit error. On Stratix10 double bit errors are handled as SErrors instead of interrupts. Indicate the differences between the ARM64 and ARM32 EDAC architecture in the bindings. Signed-off-by: Thor Thayer <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Acked-by: Rob Herring <[email protected]> Cc: James Morse <[email protected]> Cc: Mark Rutland <[email protected]> Cc: [email protected] Cc: [email protected] Cc: linux-edac <[email protected]> Cc: [email protected] Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
2019-01-18dt-bindings, EDAC: Add Aspeed AST2500Stefan M Schaeckeler1-0/+25
Add support for EDAC on the Aspeed AST2500 SoC. Signed-off-by: Stefan M Schaeckeler <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Andrew Jeffery <[email protected]> Cc: Joel Stanley <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Mauro Carvalho Chehab <[email protected]> Cc: Rob Herring <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: linux-edac <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
2018-05-12Documentation: dt: edac: Move Altera SOCFPGA EDAC fileThor Thayer1-0/+268
Move the Altera SOCFPGA EDAC file from bindings/arm/altera to bindings/edac. Signed-off-by: Thor Thayer <[email protected]> Requested-by: Rob Herring <[email protected]> Acked-by: Rob Herring <[email protected]> Cc: Mark Rutland <[email protected]> Cc: [email protected] Cc: linux-edac <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Borislav Petkov <[email protected]>
2016-01-25Documentation, EDAC: Update xgene binding for missing register busLoc Ho1-0/+10
Update the APM X-Gene SoC EDAC documentation binding to reference the missing register bus for the SoC EDAC. Signed-off-by: Loc Ho <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: [email protected] Cc: Ian Campbell <[email protected]> Cc: Kumar Gala <[email protected]> Cc: [email protected] Cc: linux-edac <[email protected]> Cc: Mark Rutland <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Pawel Moll <[email protected]> Cc: Rob Herring <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Borislav Petkov <[email protected]>
2015-09-25EDAC, Documentation: Update X-Gene EDAC binding for L3/SoC subnodesLoc Ho1-0/+23
Update documentation for the APM X-Gene SoC EDAC DTS binding for L3/SoC subnodes. Signed-off-by: Loc Ho <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Cc: [email protected] Cc: Ian Campbell <[email protected]> Cc: [email protected] Cc: Kumar Gala <[email protected]> Cc: [email protected] Cc: linux-edac <[email protected]> Cc: Mark Rutland <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Pawel Moll <[email protected]> Cc: Rob Herring <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Borislav Petkov <[email protected]>
2015-06-02EDAC, xgene: Fix cpuid abuseArnd Bergmann1-1/+2
The new x-gene EDAC driver incorrectly tried to figure out the version of one of its IP blocks by looking at the version of the CPU core, which is only vagely related. This removes the incorrect code and instead uses the version of the IP block in the compatible string where it belongs. Found using build testing on x86, which does not provide the arm64 cpuid interface. Signed-off-by: Arnd Bergmann <[email protected]> [ Changed subnode to "apm,xgene-edac-pmd-v2", adjusted check. ] Signed-off-by: Loc Ho <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: linux-edac <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/3195065.IK73o60xya@wuerfel Signed-off-by: Borislav Petkov <[email protected]>
2015-05-29Documentation: Add documentation for the APM X-Gene SoC EDAC DTS bindingLoc Ho1-0/+78
Add documentation for the APM X-Gene SoC EDAC DTS binding. Signed-off-by: Loc Ho <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: linux-edac <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Borislav Petkov <[email protected]>