aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-04-01MAINTAINERS: dt: update etnaviv file referenceMauro Carvalho Chehab1-1/+1
The etnaviv file was converted to json and renamed. Update its reference accordingly. Fixes: 90aeca875f8a ("dt-bindings: display: Convert etnaviv to json-schema") Signed-off-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31dt-bindings: usb: dwc2: fix bindings for amlogic, meson-gxbb-usbNeil Armstrong1-8/+5
The amlogic,meson-gxbb-usb compatible needs snps,dwc2 aswell like other Amlogic SoC. Fixes: f3ca745d8a0e ("dt-bindings: usb: Convert DWC2 bindings to json-schema") Reviewed-by: Benjamin Gaignard <[email protected]> Signed-off-by: Neil Armstrong <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31dt-bindings: uniphier-system-bus: fix warning in the exampleMasahiro Yamada1-1/+1
Fix the following warning from 'make dt_binding_check'. Warning (unit_address_vs_reg): /example-0/system-bus: node has a reg or ranges property, but no unit name Signed-off-by: Masahiro Yamada <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31dt-bindings: display: meson-vpu: fix indentation of reg-names' "items"Martin Blumenstingl1-3/+3
Use two spaces for indentation instead of one to be consistent with the rest of the file. No functional changes. Fixes: 6b9ebf1e0e678b ("dt-bindings: display: amlogic, meson-vpu: convert to yaml") Signed-off-by: Martin Blumenstingl <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31dt-bindings: iio: Fix adi, ltc2983 uint64-matrix schema constraintsRob Herring1-20/+18
'minItems' and 'maxItems' apply at the same level as 'items' schemas as the keywords apply to arrays. What's currently defined is a 3 dimensional matrix with the outer size being undefined. To fix this, minItems/maxItems needs to be moved up a level. With this fixed, the example fails validation. For matrix types, the dts syntax must use brackets (<>) matching the schema definition. In this case, the inner array size is 2 elements, so let's add the correct bracketing. Fixes: 3986a14870cb ("dt-bindings: iio: Add ltc2983 documentation") Cc: "Nuno Sá" <[email protected]> Cc: Jonathan Cameron <[email protected]> Cc: Hartmut Knaack <[email protected]> Cc: Lars-Peter Clausen <[email protected]> Cc: Peter Meerwald-Stadler <[email protected]> Cc: [email protected] Signed-off-by: Rob Herring <[email protected]> Acked-by: Nuno Sá <[email protected]> Acked-by: Jonathan Cameron <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31dt-bindings: power: Fix example for power-domainUlf Hansson1-14/+14
The change that converted the domain-idle-states DT bindings to the json-schema, forgot to update the corresponding example for the power-domain binding. Let's fix it. Fixes: 3261227d136d ("dt-bindings: power: Convert domain-idle-states bindings to json-schema") Signed-off-by: Ulf Hansson <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31dt-bindings: arm: Add some constraints for PSCI nodesUlf Hansson1-0/+5
There's no point allowing anything else but "psci" for the corresponding nodename of the PSCI node, so let's make this an explicit requirement. Moreover, let's also prevent additional properties, which also allows a better verification of the "patternProperties" bindings for subnodes. Signed-off-by: Ulf Hansson <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31of: some unittest overlays not untrackedFrank Rowand1-7/+23
kernel test robot reported "WARNING: held lock freed!" triggered by unittest_gpio_remove(), which should not have been called because the related gpio overlay was not tracked. Another overlay that was tracked had previously used the same id as the gpio overlay but had not been untracked when the overlay was removed. Thus the clean up function of_unittest_destroy_tracked_overlays() incorrectly attempted to remove the reused overlay id. Patch contents: - Create tracking related helper functions - Change BUG() to WARN_ON() for overlay id related issues - Add some additional error checking for valid overlay id values - Add the missing overlay untrack - update comment on expectation that overlay ids are assigned in sequence Fixes: 492a22aceb75 ("of: unittest: overlay: Keep track of created overlays") Reported-by: kernel test robot <[email protected]> Signed-off-by: Frank Rowand <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31of: gpio unittest kfree() wrong objectFrank Rowand1-1/+1
kernel test robot reported "WARNING: held lock freed!" triggered by unittest_gpio_remove(). unittest_gpio_remove() was unexpectedly called due to an error in overlay tracking. The remove had not been tested because the gpio overlay removal tests have not been implemented. kfree() gdev instead of pdev. Fixes: f4056e705b2e ("of: unittest: add overlay gpio test to catch gpio hog problem") Reported-by: kernel test robot <[email protected]> Signed-off-by: Frank Rowand <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31dt-bindings: phy: convert phy-rockchip-inno-usb2 bindings to yamlJohan Jonker2-81/+155
Current dts files for Rockchip with 'usb2-phy' subnodes are manually verified. In order to automate this process phy-rockchip-inno-usb2.txt has to be converted to yaml. Signed-off-by: Johan Jonker <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31dt-bindings: serial: sh-sci: Convert to json-schemaGeert Uytterhoeven6-150/+581
Convert the Renesas Serial Communication Interface ((H)SCI(F)(A|B)) Device Tree binding documentation to json-schema. Split the bindings in 5 files, one per major type, to ease expressing constraints. Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31dt-bindings: serial: Document serialN aliasesGeert Uytterhoeven1-0/+4
Document the format of aliases referring to UARTs. Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31dt-bindings: thermal: tsens: Set 'additionalProperties: false'Rob Herring1-10/+18
Ensure the node only contains the properties listed in the schema by setting 'additionalProperties: false'. Doing this requires reworking the interrupt properties schemas so that they are defined in the main 'properties' section. Fixes: a877e768f655 ("dt-bindings: thermal: tsens: Convert over to a yaml schema") Cc: Andy Gross <[email protected]> Cc: Bjorn Andersson <[email protected]> Cc: Amit Kucheria <[email protected]> Cc: Zhang Rui <[email protected]> Cc: Daniel Lezcano <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Rob Herring <[email protected]> Reviewed-by: Amit Kucheria <[email protected]>
2020-03-31dt-bindings: thermal: tsens: Fix nvmem-cell-names schemaRob Herring1-5/+4
There's a typo 'nvmem-cells-names' in the schema which means the correct 'nvmem-cell-names' in the examples are not checked. The possible values are wrong too both in that the 2nd entry is not specified correctly and the values are just wrong based on the dts files in the kernel. Fixes: a877e768f655 ("dt-bindings: thermal: tsens: Convert over to a yaml schema") Cc: Andy Gross <[email protected]> Cc: Bjorn Andersson <[email protected]> Cc: Amit Kucheria <[email protected]> Cc: Zhang Rui <[email protected]> Cc: Daniel Lezcano <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Rob Herring <[email protected]> Reviewed-by: Amit Kucheria <[email protected]>
2020-03-31dt-bindings: vendor-prefixes: Add Beacon vendor prefixAdam Ford1-0/+2
Beacon EmebeddedWorks is the brand owned by Compass Electronics Group, LLC based out of the United States. https://beaconembedded.com/ Signed-off-by: Adam Ford <[email protected]> Reviewed-by: Fabio Estevam <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31dt-bindings: vendor-prefixes: Add TopwisePascal Roeleven1-0/+2
Topwise Communication Co,. Ltd. is a company based in Shenzhen. They manufacture all kind of products but seem to be focusing on POS nowadays. Signed-off-by: Pascal Roeleven <[email protected]> Acked-by: Sam Ravnborg <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31of: of_private.h: Replace zero-length array with flexible-array memberGustavo A. R. Silva1-1/+1
The current codebase makes use of the zero-length array language extension to the C90 standard, but the preferred mechanism to declare variable-length types such as these ones is a flexible array member[1][2], introduced in C99: struct foo { int stuff; struct boo array[]; }; By making use of the mechanism above, we will get a compiler warning in case the flexible array does not occur last in the structure, which will help us prevent some kind of undefined behavior bugs from being inadvertently introduced[3] to the codebase from now on. Also, notice that, dynamic memory allocations won't be affected by this change: "Flexible array members have incomplete type, and so the sizeof operator may not be applied. As a quirk of the original implementation of zero-length arrays, sizeof evaluates to zero."[1] This issue was found with the help of Coccinelle. [1] https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html [2] https://github.com/KSPP/linux/issues/21 [3] commit 76497732932f ("cxgb3/l2t: Fix undefined behaviour") Signed-off-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31docs: dt: fix a broken reference to input.yamlMauro Carvalho Chehab1-1/+1
The old file was converted to yaml, but its reference was still pointing to the old one. Fixes: 7cef1079e3ad ("dt-bindings: input: Add common input binding in json-schema") Signed-off-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31docs: dt: fix references to ap806-system-controller.txtMauro Carvalho Chehab2-2/+2
ap806-system-controller.txt was renamed to ap80x-system-controller.txt. Update its references accordingly. Fixes: 2537831bbc19 ("dt-bindings: ap80x: replace AP806 with AP80x") Signed-off-by: Mauro Carvalho Chehab <[email protected]> Acked-by: Bartosz Golaszewski <[email protected]> Reviewed-by: Miquel Raynal <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31docs: dt: fix references to m_can.txt fileMauro Carvalho Chehab2-2/+2
This file was converted to json and renamed. Update its references accordingly. Fixes: 824674b59f72 ("dt-bindings: net: can: Convert M_CAN to json-schema") Signed-off-by: Mauro Carvalho Chehab <[email protected]> Acked-by: Marc Kleine-Budde <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31dt-bindings: pwm: renesas-tpu: Document more R-Car Gen2 supportGeert Uytterhoeven1-0/+4
All R-Car Gen2 SoCs have a Renesas Timer Pulse Unit. Document support for the missing variants. No driver change is needed due to the fallback compatible string. Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31dt-bindings: Add cros-ec Type C port driverPrashant Malani1-0/+54
Some Chrome OS devices with Embedded Controllers (EC) can read and modify Type C port state. Add an entry in the DT Bindings documentation that lists out the logical device and describes the relevant port information, to be used by the corresponding driver. Signed-off-by: Prashant Malani <[email protected]> Reviewed-by: Enric Balletbo i Serra <[email protected]> Reviewed-by: Benson Leung <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31dt-bindings: leds: common: fix example for gpio-ledsJohan Jonker1-2/+2
The preferred form for gpio-leds compatible subnodes is: ^led-[0-9a-f]$ Fix example by changing led0 and led1 to led-0 and led-1. Signed-off-by: Johan Jonker <[email protected]> Acked-by: Pavel Machek <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31dt-bindings: interrupt-controller: msi: Correct msi-controller@c's regBin Meng1-1/+1
The base address of msi-controller@c should be set to c. Signed-off-by: Bin Meng <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31dt-bindings: spi: Add interconnect binding for QSPIAkash Asthana1-0/+9
Add documentation for the interconnect and interconnect-names properties for QSPI. Signed-off-by: Akash Asthana <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31dt-bindings: spi: Convert QSPI bindings to YAMLAkash Asthana2-36/+79
Convert QSPI bindings to DT schema format using json-schema. Signed-off-by: Akash Asthana <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31dt-bindings: thermal: rcar-thermal: Convert bindings to json-schemaNiklas Söderlund2-78/+139
Convert Renesas R-Car Thermal bindings documentation to json-schema. Signed-off-by: Niklas Söderlund <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31dt-bindings: phy: Convert phy-mmp3-usb to json-schemaLubomir Rintel2-13/+42
A rather straightforward conversion of the phy-mmp3-usb binding to DT schema format using json-schema. Signed-off-by: Lubomir Rintel <[email protected]> [robh: add additionalProperties] Signed-off-by: Rob Herring <[email protected]>
2020-03-31dt-bindings: Add "mrvl", a legacy vendor prefix for MarvellLubomir Rintel1-0/+3
While the preferred vendor prefix is "marvell", "mrvl" is used by many older bindings already. Add it, while also marking it deprecated. Signed-off-by: Lubomir Rintel <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31dt-bindings: arm: mrvl: Add missing compatible stringsLubomir Rintel1-1/+4
Add compatible strings for the boards we have in tree. At the same time, fix the MMP3 compatible string: the preferred vendor name for Marvell is "marvell", not "mrvl", and indeed "marvell,mmp3" has been actively used, not "mrvl,mmp3". Fixes: 95aecb71b84e ("dt-bindings: arm: mrvl: Document MMP3 compatible string") Signed-off-by: Lubomir Rintel <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-31dt-bindings: arm: l2x0: Tauros 3 is PL310 compatibleLubomir Rintel1-21/+24
The validation is unhappy about mmp3-dell-ariel declaring its marvell,tauros3-cache node to be compatible with arm,pl310-cache: mmp3-dell-ariel.dt.yaml: cache-controller@d0020000: compatible: Additional items are not allowed ('arm,pl310-cache' was unexpected) mmp3-dell-ariel.dt.yaml: cache-controller@d0020000: compatible: ['marvell,tauros3-cache', 'arm,pl310-cache'] is too long Let's allow this -- Tauros 3 is designed to be compatible with PL310. Signed-off-by: Lubomir Rintel <[email protected]> [robh: fixup indentation] Signed-off-by: Rob Herring <[email protected]>
2020-03-31dt-bindings: Add missing 'additionalProperties: false'Rob Herring116-0/+238
Setting 'additionalProperties: false' is frequently omitted, but is important in order to check that there aren't extra undocumented properties in a binding. Ideally, we'd just add this automatically and make this the default, but there's some cases where it doesn't work. For example, if a common schema is referenced, then properties in the common schema aren't part of what's considered for 'additionalProperties'. Also, sometimes there are bus specific properties such as 'spi-max-frequency' that go into bus child nodes, but aren't defined in the child node's schema. So let's stick with the json-schema defined default and add 'additionalProperties: false' where needed. This will be a continual review comment and game of wack-a-mole. Signed-off-by: Rob Herring <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Acked-by: Mark Brown <[email protected]> Acked-by: Jonathan Cameron <[email protected]> Acked-by: Alexandru Ardelean <[email protected]> Reviewed-by: Benjamin Gaignard <[email protected]> Acked-by: Stephen Boyd <[email protected]> # clock Acked-by: Lee Jones <[email protected]>
2020-03-27dt-bindings: Clean-up schema errors due to missing 'addtionalProperties: false'Rob Herring12-16/+43
Numerous schemas are missing 'additionalProperties: false' statements which ensures a binding doesn't have any extra undocumented properties or child nodes. Fixing this reveals various missing properties, so let's fix all those occurrences. Signed-off-by: Rob Herring <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Acked-by: Alexandru Ardelean <[email protected]> Acked-by: Jonathan Cameron <[email protected]> #for-iio Acked-by: Stephen Boyd <[email protected]> # clock Acked-by: Lee Jones <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Guillaume La Roque <[email protected]> Cc: [email protected] Cc: Mark Brown <[email protected]> Cc: [email protected] Cc: Lars-Peter Clausen <[email protected]> Cc: [email protected] Cc: Thomas Gleixner <[email protected]> Cc: Kevin Hilman <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Hartmut Knaack <[email protected]> Cc: Peter Meerwald-Stadler <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Masahiro Yamada <[email protected]> Cc: Bartosz Golaszewski <[email protected]> Cc: Liam Girdwood <[email protected]> Cc: Mauro Carvalho Chehab <[email protected]> Cc: [email protected] Cc: Daniel Lezcano <[email protected]> Cc: Zhang Rui <[email protected]> Cc: [email protected] Cc: Lee Jones <[email protected]>
2020-03-26dt-bindings: sram: qcom: Clean-up 'ranges' and child node namesRob Herring1-6/+6
The regex for child nodes doesn't match the example. This wasn't flagged with 'additionalProperties: false' missing. The child node schema was also incorrect with 'ranges' property as it applies to child nodes and should be moved up to the parent node. Fixes: 957fd69d396b ("dt-bindings: soc: qcom: add On Chip MEMory (OCMEM) bindings") Signed-off-by: Rob Herring <[email protected]> Reviewed-by: Brian Masney <[email protected]> Cc: Bjorn Andersson <[email protected]> Cc: Brian Masney <[email protected]> Cc: [email protected]
2020-03-26dt-bindings: iio/accel: Drop duplicate adi,adxl345/6 from trivial-devices.yamlRob Herring2-7/+7
The 'adi,adxl345' definition is a duplicate as there's a full binding in: Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml The trivial-devices binding doesn't capture that 'adi,adxl346' has a fallback compatible 'adi,adxl345', so let's add it to adi,adxl345.yaml. Signed-off-by: Rob Herring <[email protected]> Acked-by: Alexandru Ardelean <[email protected]> Cc: Peter Meerwald-Stadler <[email protected]> Cc: Michael Hennerich <[email protected]> Cc: Hartmut Knaack <[email protected]> Cc: [email protected] Cc: Lars-Peter Clausen <[email protected]> Cc: Jonathan Cameron <[email protected]>
2020-03-25dt-bindings: mfd: Convert stpmic1 bindings to json-schemaBenjamin Gaignard5-164/+339
Convert stpmic1 bindings to json-schema. Signed-off-by: Benjamin Gaignard <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-23dt-bindings: clk: fix example for single-output providerGiulio Benetti1-1/+1
As described above single-output clock provider should have 0 cells number, so let's fix it by using 0 as cells number. Signed-off-by: Giulio Benetti <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-23dt-bindings: Add vendor prefix for ENELubomir Rintel1-0/+2
ENE Technology makes embedded controllers and perhaps other stuff. Their web site is http://www.ene.com.tw/. Signed-off-by: Lubomir Rintel <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-23dt-bindings: Add vendor prefix for Dell Inc.Lubomir Rintel1-0/+2
Dell makes computers and perhaps other stuff. Their web site is http://www.dell.com/. Signed-off-by: Lubomir Rintel <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-23dt-bindings: Add vendor prefix for SG Micro CorpLuca Weiss1-0/+2
"SG Micro Corp (SGMICRO) specializes in high performance, high quality analog IC design, marketing and sales." (http://www.sg-micro.com/) Signed-off-by: Luca Weiss <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-23dt-bindings: serial: Convert slave-device bindings to json-schemaGeert Uytterhoeven8-52/+62
Convert the serial slave-device Device Tree binding documentation to json-schema, and incorporate it into the generic serial bindings. Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Matthias Brugger <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-23dt-bindings: serial: Convert generic bindings to json-schemaGeert Uytterhoeven4-59/+74
Convert the generic serial interface Device Tree binding documentation to json-schema. Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-19ARM: dts: sunxi: Fix dtc 'dma-ranges' warningsRob Herring3-0/+6
'#address-cells' and '#size-cells' are needed in the same node (for the child bus) as 'dma-ranges' in order to parse it. The kernel is more lax and will walk up the tree to get the properties from a parent node, but it's better to be explicit. dtc now does checks on 'dma-ranges' and is more strict: arch/arm/boot/dts/sun5i.dtsi:189.4-52: Warning (dma_ranges_format): \ /soc/dram-controller@1c01000:dma-ranges: "dma-ranges" property has invalid length (12 bytes) (parent #address-cells == 1, child #address-cells == 2, #size-cells == 1) arch/arm/boot/dts/sun8i-r40.dtsi:742.4-52: Warning (dma_ranges_format): \ /soc/dram-controller@1c62000:dma-ranges: "dma-ranges" property has invalid length (12 bytes) (parent #address-cells == 1, child #address-cells == 2, #size-cells == 1) arch/arm/boot/dts/sunxi-h3-h5.dtsi:563.4-52: Warning (dma_ranges_format): \ /soc/dram-controller@1c62000:dma-ranges: "dma-ranges" property has invalid length (12 bytes) (parent #address-cells == 1, child #address-cells == 2, #size-cells == 1) Cc: Chen-Yu Tsai <[email protected]> Acked-by: Maxime Ripard <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-13scripts/dtc: Update to upstream version v1.6.0-2-g87a656ae5ff9Rob Herring9-166/+296
This adds the following commits from upstream: 87a656ae5ff9 check: Inform about missing ranges 73d6e9ecb417 libfdt: fix undefined behaviour in fdt_splice_() 2525da3dba9b Bump version to v1.6.0 62cb4ad286ff Execute tests on FreeBSD with Cirrus CI 1f9a41750883 tests: Allow running the testsuite on already installed binary / libraries c5995ddf4c20 tests: Honour NO_YAML make variable e4ce227e89d7 tests: Properly clean up .bak file from tests 9b75292c335c tests: Honour $(NO_PYTHON) flag from Makefile in run_tests.sh 6c253afd07d4 Encode $(NO_PYTHON) consistently with other variables 95ec8ef706bd tests: No need to explicitly pass $PYTHON from Make to run_tests.sh 2b5f62d109a2 tests: Let run_tests.sh run Python tests without Makefile assistance 76b43dcbd18a checks: Add 'dma-ranges' check e5c92a4780c6 libfdt: Use VALID_INPUT for FDT_ERR_BADSTATE checks e5cc26b68bc0 libfdt: Add support for disabling internal checks 28fd7590aad2 libfdt: Improve comments in some of the assumptions fc207c32341b libfdt: Fix a few typos 0f61c72dedc4 libfdt: Allow exclusion of fdt_check_full() f270f45fd5d2 libfdt: Add support for disabling ordering check/fixup c18bae9a4c96 libfdt: Add support for disabling version checks fc03c4a2e04e libfdt: Add support for disabling rollback handling 77563ae72b7c libfdt: Add support for disabling sanity checks 57bc6327b80b libfdt: Add support for disabling dtb checks 464962489dcc Add a way to control the level of checks in the code 0c5326cb2845 libfdt: De-inline fdt_header_size() cc6a5a071504 Revert "yamltree: Ensure consistent bracketing of properties with phandles" 0e9225eb0dfe Remove redundant YYLOC global declaration cab09eedd644 Move -DNO_VALGRIND into CPPFLAGS 0eb1cb0b531e Makefile: pass $(CFLAGS) also during dependency generation Signed-off-by: Rob Herring <[email protected]>
2020-03-13scripts/dtc: Remove unused makefile fragmentsRob Herring3-43/+2
The Makefile.dtc and Makefile.libfdt fragments from upstream dtc aren't used by the kernel build, so let's remove them and stop syncing them. Signed-off-by: Rob Herring <[email protected]>
2020-03-12dt-bindings: Convert usb-connector to YAML format.Prashant Malani11-145/+216
Convert the usb-connector.txt bindings file to YAML format. This allows it to be used in dt_bindings_check verification. This patch was born out of a patch series for the addition of a Type C connector class port driver[1]. An attempt has been made to maintain the same documentation text and example structure as was in the .txt file, but wherever needed modifications have been made to satisfy dt_bindings_check. Also, update all references to usb-connector.txt to now use usb-connector.yaml. [1]: https://lkml.org/lkml/2020/2/19/1232 Signed-off-by: Prashant Malani <[email protected]> Reviewed-by: Benson Leung <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-12dt-bindings: arm: cpus: Add kryo280 compatibleAmit Kucheria1-0/+1
Kryo280 is found in msm8998, so add it to the list of cpu compatibles. Signed-off-by: Amit Kucheria <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-12dt-bindings: i2c: i2c-rk3x: add description for px30Johan Jonker1-0/+1
The description below is already in use for px30.dtsi, but was somehow never added to a document, so add "rockchip,px30-i2c", "rockchip,rk3399-i2c" for i2c nodes on a px30 platform to i2c-rk3x.yaml. Signed-off-by: Johan Jonker <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-12dt-bindings: i2c: i2c-rk3x: add description for rk3308Johan Jonker1-0/+1
The description below is already in use for rk3308.dtsi, but was somehow never added to a document, so add "rockchip,rk3308-i2c", "rockchip,rk3399-i2c" for i2c nodes on a rk3308 platform to i2c-rk3x.yaml. Signed-off-by: Johan Jonker <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2020-03-12dt-bindings: i2c: i2c-rk3x: add description for rk3368Johan Jonker1-0/+1
The description below is already in use for rk3368.dtsi, but was somehow never added to a document, so add "rockchip,rk3368-i2c", "rockchip,rk3288-i2c" for i2c nodes on a rk3368 platform to i2c-rk3x.yaml. Signed-off-by: Johan Jonker <[email protected]> Signed-off-by: Rob Herring <[email protected]>