- 14 7月, 2020 3 次提交
-
-
由 Lubomir Rintel 提交于
Convert the mrvl,intc binding to DT schema format using json-schema. Signed-off-by: NLubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20200616223353.993567-4-lkundrak@v3.skSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Lubomir Rintel 提交于
A conversion of the i2c-pxa binding to DT schema format using json-schema. This also cleans ups some errors in the binding: The compatible string description suggested that "mmp" in "mrvl,mmp-twsi" is to be substituted with a processor model, which wouldn't be a right thing to do and indeed nobody seems to have been doing that. There also was "Recommended properties" section that included optional as well as mandatory properties. Missing mandatory properties were added to the example. Signed-off-by: NLubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20200616223353.993567-3-lkundrak@v3.skSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Lubomir Rintel 提交于
This converts the mrvl-gpio binding to DT schema format using json-schema. Various fixes were done during the conversion, such as adding more properties that are in fact mandatory or extending the examples to include child nodes with extra GPIO blocks. The compatible strings are a mess. It is not clear why so many of them are needed; the driver doesn't really seem to differentiate between the models. Some of them, like marvell,pxa93x-gpio and marvell,pxa1928-gpio are not used at all, so it's not known how many interrupts they utilize. On the other hand, mrvl,pxa-gpio has been seen in the tree, but it doesn't end up in any actual DTB file. In any case -- the schema merely copies whatever was in the original binding document, so it's hopefully no more wrong that the original. Acked-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NLubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20200616223353.993567-2-lkundrak@v3.skSigned-off-by: NRob Herring <robh@kernel.org>
-
- 10 7月, 2020 7 次提交
-
-
由 Anson Huang 提交于
Convert the i.MX KEYPAD binding to DT schema format using json-schema Signed-off-by: NAnson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1592285467-18371-2-git-send-email-Anson.Huang@nxp.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Anson Huang 提交于
Convert the matrix-keymap binding to DT schema format using json-schema Signed-off-by: NAnson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1592285467-18371-1-git-send-email-Anson.Huang@nxp.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Anson Huang 提交于
Convert the i.MX I2C binding to DT schema format using json-schema, some improvements applied, such as update example based on latest DT file, add more compatible for existing SoCs, and remove unnecessary common property "pinctrl". Signed-off-by: NAnson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1592279454-32551-2-git-send-email-Anson.Huang@nxp.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Anson Huang 提交于
Convert the MXS I2C binding to DT schema format using json-schema Signed-off-by: NAnson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1592279454-32551-1-git-send-email-Anson.Huang@nxp.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Niklas Söderlund 提交于
Add the YAML dt-bindings document for ADV7180. Signed-off-by: NNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Niklas Söderlund 提交于
Convert ADV7180 analog video decoder documentation to json-schema. As the examples in the bindings can be tested add another example to test the more advance adv7180cp binding description. Signed-off-by: NNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Link: https://lore.kernel.org/r/20200704160644.3040636-2-niklas.soderlund+renesas@ragnatech.seSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Rob Herring 提交于
Devicetree fixes for v5.8, take 2: - Sync dtc to upstream to pick up fixes for I2C bus checks and quiet warnings - Various fixes for DT binding check warnings - A couple of build fixes/improvements for binding checks - ReST formatting improvements for writing-schema.rst - Document reference fixes
-
- 02 7月, 2020 1 次提交
-
-
由 Fabio Estevam 提交于
The freescale.com domain is gone for quite some time. Use the nxp.com domain instead. Signed-off-by: NFabio Estevam <festevam@gmail.com> Link: https://lore.kernel.org/r/20200701005346.1008-1-festevam@gmail.comSigned-off-by: NRob Herring <robh@kernel.org>
-
- 30 6月, 2020 14 次提交
-
-
由 Rob Herring 提交于
Using 'syscon' alone should be avoided as compatible strings should be specific enough to identify the exact set of registers contained. Update the schema to ensure at least 2 compatible strings are present. Cc: Lee Jones <lee.jones@linaro.org> Cc: Maxime Ripard <maxime@cerno.tech> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Fabio Estevam 提交于
Adjust the reg property to fix the following warning seen with 'make dt_binding_check': Documentation/devicetree/bindings/thermal/ti,am654-thermal.example.dt.yaml: example-0: thermal@42050000:reg:0: [0, 1107623936, 0, 604] is too long Signed-off-by: NFabio Estevam <festevam@gmail.com> Link: https://lore.kernel.org/r/20200630122527.28640-1-festevam@gmail.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Fabio Estevam 提交于
Remove the soc unit address to fix the following warnings seen with 'make dt_binding_check': Documentation/devicetree/bindings/thermal/thermal-sensor.example.dts:22.20-49.11: Warning (unit_address_vs_reg): /example-0/soc@0: node has a unit name, but no reg or ranges property Documentation/devicetree/bindings/thermal/thermal-zones.example.dts:23.20-50.11: Warning (unit_address_vs_reg): /example-0/soc@0: node has a unit name, but no reg or ranges property Signed-off-by: NFabio Estevam <festevam@gmail.com> Link: https://lore.kernel.org/r/20200630121804.27887-1-festevam@gmail.com [robh: also fix thermal-zones.yaml example] Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Fabio Estevam 提交于
Pass the sysreg unit name to fix the following warning seen with 'make dt_binding_check': Warning (unit_address_vs_reg): /example-0/sysreg: node has a reg or ranges property, but no unit name Signed-off-by: NFabio Estevam <festevam@gmail.com> Link: https://lore.kernel.org/r/20200629215500.18037-1-festevam@gmail.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Fabio Estevam 提交于
Remove the leading zeroes to fix the following warning seen with 'make dt_binding_check': Documentation/devicetree/bindings/usb/aspeed,usb-vhub.example.dts:37.33-42.23: Warning (unit_address_format): /example-0/usb-vhub@1e6a0000/vhub-strings/string@0409: unit name should not have leading 0s Reviewed-by: NTao Ren <rentao.bupt@gmail.com> Signed-off-by: NFabio Estevam <festevam@gmail.com> Link: https://lore.kernel.org/r/20200629214027.16768-1-festevam@gmail.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Masahiro Yamada 提交于
There are two processed schema files: - processed-schema-examples.yaml Used for 'make dt_binding_check'. This is always a full schema. - processed-schema.yaml Used for 'make dtbs_check'. This may be a full schema, or a smaller subset if DT_SCHEMA_FILES is given by a user. If DT_SCHEMA_FILES is not specified, they are the same. You can copy the former to the latter instead of running dt-mk-schema twice. This saves the cpu time a lot when you do 'make dt_binding_check dtbs_check' because building the full schema takes a couple of seconds. If DT_SCHEMA_FILES is specified, processed-schema.yaml is generated based on the specified yaml files. Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org> Link: https://lore.kernel.org/r/20200625170434.635114-4-masahiroy@kernel.orgSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Masahiro Yamada 提交于
Currently, processed-schema.yaml is always built, but it is actually used only for 'make dtbs_check'. 'make dt_binding_check' uses processed-schema-example.yaml instead. Build processed-schema.yaml only for 'make dtbs_check'. Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org> Link: https://lore.kernel.org/r/20200625170434.635114-3-masahiroy@kernel.orgSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Masahiro Yamada 提交于
We are having more and more schema files. Commit 8b6b8021 ("dt-bindings: Fix command line length limit calling dt-mk-schema") fixed the 'Argument list too long' error of the schema checks, but the same error happens while cleaning too. 'make clean' after 'make dt_binding_check' fails as follows: $ make dt_binding_check [ snip ] $ make clean make[2]: execvp: /bin/sh: Argument list too long make[2]: *** [scripts/Makefile.clean:52: __clean] Error 127 make[1]: *** [scripts/Makefile.clean:66: Documentation/devicetree/bindings] Error 2 make: *** [Makefile:1763: _clean_Documentation] Error 2 'make dt_binding_check' generates so many .example.dts, .dt.yaml files, which are passed to the 'rm' command when you run 'make clean'. I added a small hack to use the 'find' command to clean up most of the build artifacts before they are processed by scripts/Makefile.clean Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org> Link: https://lore.kernel.org/r/20200625170434.635114-2-masahiroy@kernel.orgSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Kangmin Park 提交于
Fix unit address to match the first address specified in the reg property of the node in example. Signed-off-by: NKangmin Park <l4stpr0gr4m@gmail.com> Link: https://lore.kernel.org/r/20200625135158.5861-1-l4stpr0gr4m@gmail.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Masahiro Yamada 提交于
Since commit e69f5dc6 ("dt-bindings: serial: Convert 8250 to json-schema"), the schema for "ns16550a" is checked. 'make dt_binding_check' emits the following warning: uart@5,00200000: $nodename:0: 'uart@5,00200000' does not match '^serial(@[0-9a-f,]+)*$' Rename the node to follow the pattern defined in Documentation/devicetree/bindings/serial/serial.yaml While I was here, I removed leading zeros from unit names. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Link: https://lore.kernel.org/r/20200623113242.779241-1-yamada.masahiro@socionext.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Rob Herring 提交于
Sync with upstream dtc primarily to pickup the I2C bus check fixes. The interrupt_provider check is noisy, so turn it off for now. This adds the following commits from upstream: 9d7888cbf19c dtc: Consider one-character strings as strings 8259d59f59de checks: Improve i2c reg property checking fdabcf2980a4 checks: Remove warning for I2C_OWN_SLAVE_ADDRESS 2478b1652c8d libfdt: add extern "C" for C++ f68bfc2668b2 libfdt: trivial typo fix 7be250b4d059 libfdt: Correct condition for reordering blocks 81e0919a3e21 checks: Add interrupt provider test 85e5d839847a Makefile: when building libfdt only, do not add unneeded deps b28464a550c5 Fix some potential unaligned accesses in dtc Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Anson Huang 提交于
Convert the i.MX ESDHC binding to DT schema format using json-schema Signed-off-by: NAnson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1592450578-30140-1-git-send-email-Anson.Huang@nxp.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Anson Huang 提交于
In i.MX8QXP LPCG binding's example, "fsl,imx7d-usdhc" as fallback compatible is incorrect, remove it to avoid below build error: Documentation/devicetree/bindings/clock/imx8qxp-lpcg.example.dt.yaml: mmc@5b010000: compatible: Additional items are not allowed ('fsl,imx7d-usdhc' was unexpected) Documentation/devicetree/bindings/clock/imx8qxp-lpcg.example.dt.yaml: mmc@5b010000: compatible: ['fsl,imx8qxp-usdhc', 'fsl,imx7d-usdhc'] is too long Signed-off-by: NAnson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1592450578-30140-3-git-send-email-Anson.Huang@nxp.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Anson Huang 提交于
Nodename should be "mmc" instead of "esdhc" in i.MX35 clock binding to avoid below build error: Documentation/devicetree/bindings/clock/imx35-clock.example.dt.yaml: esdhc@53fb4000: $nodename:0: 'esdhc@53fb4000' does not match '^mmc(@.*)?$' Signed-off-by: NAnson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1592450578-30140-2-git-send-email-Anson.Huang@nxp.comSigned-off-by: NRob Herring <robh@kernel.org>
-
- 19 6月, 2020 6 次提交
-
-
由 Flavio Suligoi 提交于
Fix typo: "triger" --> "trigger" Acked-by: NGuo Ren <guoren@kernel.org> Signed-off-by: NFlavio Suligoi <f.suligoi@asem.it> Link: https://lore.kernel.org/r/20200615075835.15202-1-f.suligoi@asem.itSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Mauro Carvalho Chehab 提交于
There are two literal blocks that aren't mark as such. Mark them, in order to make the document to produce a better html output. While here, also add a SPDX header to it. Signed-off-by: NMauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/14fc680fd6596b277f94bb5a240cc9dfc41d59bf.1592203542.git.mchehab+huawei@kernel.orgSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Mauro Carvalho Chehab 提交于
This file was converted and renamed. Fixes: 7882d822 ("dt-bindings: spi: Convert spi-pxa2xx to json-schema") Reviewed-by: NLubomir Rintel <lkundrak@v3.sk> Signed-off-by: NMauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/d0262854582ee754e4b8bd80677d96b3e098ea5c.1592203542.git.mchehab+huawei@kernel.orgSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Mauro Carvalho Chehab 提交于
Some files got renamed. Those were all fixed automatically by ./scripts/documentation-file-ref-check --fix Reviewed-by: NPhilipp Zabel <p.zabel@pengutronix.de> Acked-by: NMark Brown <broonie@kernel.org> Signed-off-by: NMauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/6866c0d6d10ce36bb151c2d3752a20eb5122c532.1592203542.git.mchehab+huawei@kernel.orgSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Mauro Carvalho Chehab 提交于
There are some new broken doc links due to yaml renames at DT. Developers should really run: ./scripts/documentation-file-ref-check in order to solve those issues while submitting patches. This tool can even fix most of the issues with: ./scripts/documentation-file-ref-check --fix Acked-by: NThomas Bogendoerfer <tsbogend@alpha.franken.de> Acked-by: NMark Brown <broonie@kernel.org> Signed-off-by: NMauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/0e4a7f0b7efcc8109c8a41a2e13c8adde4d9c6b9.1592203542.git.mchehab+huawei@kernel.orgSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Mauro Carvalho Chehab 提交于
This file was renamed, but its reference at pfc-pinctl.txt is still pointing to the old file. Fixes: 7f7d408e ("dt-bindings: gpio: rcar: Convert to json-schema") Reviewed-by: NGeert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: NMauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/72d7ec91a60e852d34f3e15bc5faef1f62a8260e.1592203542.git.mchehab+huawei@kernel.orgSigned-off-by: NRob Herring <robh@kernel.org>
-
- 18 6月, 2020 2 次提交
-
-
由 Saravana Kannan 提交于
Consider this example where -> means LHS device is a consumer of RHS device and indentation represents "child of" of the previous device. Device A -> Device C Device B -> Device A Device C Without this commit: 1. Device A is added. 2. Device A is added to waiting for supplier list (Device C) 3. Device B is added 4. Device B is linked as a consumer to Device A 5. Device A doesn't probe because it's waiting for Device C to be added. 6. Device B doesn't probe because Device A hasn't probed. 7. Device C will never be added because it's parent hasn't probed. So, Device A, B and C will be in a probe/add deadlock. This commit detects this scenario and stops trying to create a device link between Device A and Device C since doing so would create the following cycle: Device A -> Devic C -(parent)-> Device B -> Device A. With this commit: 1. Device A is added. 3. Device B is added 4. Device B is linked as a consumer to Device A 5. Device A probes. 6. Device B probes because Device A has probed. 7. Device C is added and probed. Signed-off-by: NSaravana Kannan <saravanak@google.com> Link: https://lore.kernel.org/r/20200610011934.49795-3-saravanak@google.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Saravana Kannan 提交于
DT implementation of fw_devlink needs this function to detect cycles. So make it available. Signed-off-by: NSaravana Kannan <saravanak@google.com> Tested-by: NJohn Stultz <john.stultz@linaro.org> Signed-off-by: NRob Herring <robh@kernel.org>
-
- 16 6月, 2020 7 次提交
-
-
由 Danny Lin 提交于
Minor fix for a missing preposition in the error message that appears when there are too many reserved memory regions for the allocated array to store. Signed-off-by: NDanny Lin <danny@kdrag0n.dev> Link: https://lore.kernel.org/r/20200604054900.200317-1-danny@kdrag0n.devSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Florian Fainelli 提交于
The BCM2711 and BCM7211 chips use the BCM2835 SPI controller, but there are severl instances of those in the system and they all share the same interrupt line. Document specific compatible strings such that the driver can take appropriate actions. Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com> Link: https://lore.kernel.org/r/20200604034655.15930-2-f.fainelli@gmail.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Anson Huang 提交于
Convert the i.MX LPI2C binding to DT schema format using json-schema Signed-off-by: NAnson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1591235358-15516-2-git-send-email-Anson.Huang@nxp.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Anson Huang 提交于
Convert the MXS MMC binding to DT schema format using json-schema Signed-off-by: NAnson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1591234886-15351-4-git-send-email-Anson.Huang@nxp.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Anson Huang 提交于
Convert the i.MX MMC binding to DT schema format using json-schema Signed-off-by: NAnson Huang <Anson.Huang@nxp.com> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Anson Huang 提交于
Convert the i.MXDI RTC binding to DT schema format using json-schema Signed-off-by: NAnson Huang <Anson.Huang@nxp.com> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Anson Huang 提交于
Convert the i.MX7ULP clock binding to DT schema format using json-schema, the original binding doc is actually for two clock modules(SCG and PCC), so split it to two binding docs, and the MPLL(mipi PLL) is NOT supposed to be in clock module, so remove it from binding doc as well. Reviewed-by: NDong Aisheng <aisheng.dong@nxp.com> Reviewed-by: NStephen Boyd <sboyd@kernel.org> Signed-off-by: NAnson Huang <Anson.Huang@nxp.com> Signed-off-by: NRob Herring <robh@kernel.org>
-