- 03 Aug, 2020 2 commits
-
-
Yue Hu authored
Just use nomap instead of the second call to of_get_flat_dt_prop(). And change nomap as a bool type due to != NULL operator. Also, correct comment about node of 'align' -> 'alignment'. Signed-off-by: Yue Hu <huyue2@yulong.com> Link: https://lore.kernel.org/r/20200730092353.15644-1-zbestahu@gmail.comSigned-off-by: Rob Herring <robh@kernel.org>
-
Nicolas Saenz Julienne authored
Getting address and size cells for dma-ranges/ranges parsing is tricky and shouldn't rely on the node's count_cells() method. The function starts looking for cells on the parent node, as its supposed to work with device nodes, which doesn't work when input with bus nodes, as generally done when parsing ranges. Add test to catch regressions on that specific quirk as developers will be tempted to edit it out in favor of the default method. Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Link: https://lore.kernel.org/r/9200970a917a9cabdc5b17483b5a8725111eb9d0.camel@suse.deSigned-off-by: Rob Herring <robh@kernel.org>
-
- 31 Jul, 2020 4 commits
-
-
Anson Huang authored
Convert the MMDC memory controller binding to DT schema format using json-schema. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1596161184-24266-1-git-send-email-Anson.Huang@nxp.comSigned-off-by: Rob Herring <robh@kernel.org>
-
Anson Huang authored
Convert the i.MX nand controller binding to DT schema format using json-schema. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1596113004-15548-2-git-send-email-Anson.Huang@nxp.comSigned-off-by: Rob Herring <robh@kernel.org>
-
Anson Huang authored
Convert the gpmi nand controller binding to DT schema format using json-schema. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1596113004-15548-1-git-send-email-Anson.Huang@nxp.comSigned-off-by: Rob Herring <robh@kernel.org>
-
Christian Eggers authored
The correct compatible string is "gpio-mux" (see bindings/mux/gpio-mux.txt). Cc: stable@vger.kernel.org # v4.13+ Reviewed-by: Peter Rosin <peda@axentia.se> Signed-off-by: Christian Eggers <ceggers@arri.de> Link: https://lore.kernel.org/r/20200727101605.24384-1-ceggers@arri.deSigned-off-by: Rob Herring <robh@kernel.org>
-
- 27 Jul, 2020 2 commits
-
-
Saravana Kannan authored
Add support for pinctrl-0 through pinctrl-8 explicitly instead of trying to add support for pinctrl-%d properties. Of all the pinctrl-* properties in dts files (20322), only 47% (9531) are pinctrl-%d properties. Of all the pinctrl-%d properties, 99.5% (9486) are made up of pinctrl-[0-2]. 'pinctrl-8' is the current maximum found in dts files. Trying to parse all pinctrl-* properties and checking for pinctrl-%d is unnecessarily complicated. So, just add support for pinctrl-[0-8] for now. In the unlikely event we ever exceed pinctrl-8, we can come back and improve this. Signed-off-by: Saravana Kannan <saravanak@google.com> Link: https://lore.kernel.org/r/20200724234415.1651639-2-saravanak@google.comSigned-off-by: Rob Herring <robh@kernel.org>
-
Saravana Kannan authored
Add support for creating device links out of the following DT bindings: - interrupts-extended - nvmem-cells - phys - wakeup-parent Signed-off-by: Saravana Kannan <saravanak@google.com> Link: https://lore.kernel.org/r/20200724234415.1651639-1-saravanak@google.comSigned-off-by: Rob Herring <robh@kernel.org>
-
- 23 Jul, 2020 3 commits
-
-
Grygorii Strashko authored
Convert the CPSW Port's Interface Mode Selection PHY bindings documentation to json-schema. Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Link: https://lore.kernel.org/r/20200721225247.31034-1-grygorii.strashko@ti.comSigned-off-by: Rob Herring <robh@kernel.org>
-
Randy Dunlap authored
Drop the repeated word "the" in a comment. Cc: Peter Rosin <peda@axentia.se> Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Link: https://lore.kernel.org/r/20200719002816.20263-1-rdunlap@infradead.orgSigned-off-by: Rob Herring <robh@kernel.org>
-
Lubomir Rintel authored
Convert the OLPC XO-1.75 Embedded Controller binding to DT schema format using json-schema. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20200718211244.187938-1-lkundrak@v3.skSigned-off-by: Rob Herring <robh@kernel.org>
-
- 21 Jul, 2020 6 commits
-
-
Alexander A. Klimov authored
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`: If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`: If both the HTTP and HTTPS versions return 200 OK and serve the same content: Replace HTTP with HTTPS. Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de> Acked-by: Joel Stanley <joel@jms.id.au> Link: https://lore.kernel.org/r/20200720212110.64214-1-grandmaster@al2klimov.deSigned-off-by: Rob Herring <robh@kernel.org>
-
Alexander A. Klimov authored
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`: If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`: If both the HTTP and HTTPS versions return 200 OK and serve the same content: Replace HTTP with HTTPS. Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de> Link: https://lore.kernel.org/r/20200719174457.60674-1-grandmaster@al2klimov.deSigned-off-by: Rob Herring <robh@kernel.org>
-
Alexander A. Klimov authored
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`: If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`: If both the HTTP and HTTPS versions return 200 OK and serve the same content: Replace HTTP with HTTPS. Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de> Link: https://lore.kernel.org/r/20200719172438.60536-1-grandmaster@al2klimov.deSigned-off-by: Rob Herring <robh@kernel.org>
-
Lad Prabhakar authored
Document RZ/G2H (R8A774E1) SoC bindings. Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Link: https://lore.kernel.org/r/1594676120-5862-2-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.comSigned-off-by: Rob Herring <robh@kernel.org>
-
Alexander A. Klimov authored
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`: If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`: If both the HTTP and HTTPS versions return 200 OK and serve the same content: Replace HTTP with HTTPS. Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de> Link: https://lore.kernel.org/r/20200713134008.34635-1-grandmaster@al2klimov.deSigned-off-by: Rob Herring <robh@kernel.org>
-
Alexander A. Klimov authored
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`: If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`: If both the HTTP and HTTPS versions return 200 OK and serve the same content: Replace HTTP with HTTPS. Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de> Link: https://lore.kernel.org/r/20200709064755.24051-1-grandmaster@al2klimov.deSigned-off-by: Rob Herring <robh@kernel.org>
-
- 17 Jul, 2020 2 commits
-
-
Sowjanya Komatineni authored
This patch adds IMX274 optional external clock input and voltage supplies to device tree bindings. Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com>
-
Rob Herring authored
The i2c-gpio binding is the only case of 'not: true' being used for a deprecated property. Update it to use the json-schema 2019.09 'deprecated' keyword instead. Define the type too in order to keep the meta-schema happy. This will disable warnings for these properties until the dtschema tools are updated to handle 'deprecated', but they are only used in a few at91 dts files. Cc: Wolfram Sang <wolfram@the-dreams.de> Cc: linux-i2c@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
-
- 16 Jul, 2020 1 commit
-
-
Tiezhu Yang authored
Fix the following typos in loongson,liointc.yaml: children -> child fron -> from connected -> connect it's -> its Fixes: b6280c8b ("dt-bindings: interrupt-controller: Add Loongson LIOINTC") Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Link: https://lore.kernel.org/r/1594869390-21053-9-git-send-email-yangtiezhu@loongson.cnSigned-off-by: Rob Herring <robh@kernel.org>
-
- 15 Jul, 2020 5 commits
-
-
Alexander A. Klimov authored
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`: If both the HTTP and HTTPS versions return 200 OK and serve the same content: Replace HTTP with HTTPS. Acked-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de> Link: https://lore.kernel.org/r/20200705075542.22728-1-grandmaster@al2klimov.deSigned-off-by: Rob Herring <robh@kernel.org>
-
Alexander A. Klimov authored
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`: If both the HTTP and HTTPS versions return 200 OK and serve the same content: Replace HTTP with HTTPS. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de> Link: https://lore.kernel.org/r/20200705075524.22657-1-grandmaster@al2klimov.deSigned-off-by: Rob Herring <robh@kernel.org>
-
Wenchao Hao authored
The first variable name of of_iomap is np while previous comment write device here. Signed-off-by: Wenchao Hao <haowenchao22@gmail.com> Link: https://lore.kernel.org/r/20200701162444.9494-1-haowenchao22@gmail.comSigned-off-by: Rob Herring <robh@kernel.org>
-
Amit Kucheria authored
Emails currently go to different mailboxes. Switch to the kernel.org address so I can forward them to a single mailbox. Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org> Link: https://lore.kernel.org/r/8cbb7004a6a9b846a8d827f514f33f1a265dd5d4.1593498024.git.amit.kucheria@linaro.orgSigned-off-by: Rob Herring <robh@kernel.org>
-
Masahiro Yamada authored
Convert the UniPhier reset controller binding to DT schema format. I excluded the glue resets because their bindings are too different. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Link: https://lore.kernel.org/r/20200622114826.450442-1-yamada.masahiro@socionext.comSigned-off-by: Rob Herring <robh@kernel.org>
-
- 14 Jul, 2020 3 commits
-
-
Krzysztof Kozlowski authored
The bindings required interrupts for all SoCs but actually only the PWM timer clocksource (for S3C/S5P SoCs) was using them. This PWM timer clocksource driver is not used on Exynos SoCs thus the interrupts can be marked as optional. Reported-by: Alim Akhtar <alim.akhtar@samsung.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20200702155149.12854-1-krzk@kernel.orgSigned-off-by: Rob Herring <robh@kernel.org>
-
Rob Herring authored
Convert the common GPIO, LED, and PWM backlight bindings to DT schema format. Given there's only 2 common properties and the descriptions are slightly different, I opted to not create a common backlight schema. Cc: Lee Jones <lee.jones@linaro.org> Cc: Daniel Thompson <daniel.thompson@linaro.org> Cc: Jingoo Han <jingoohan1@gmail.com> Cc: Sam Ravnborg <sam@ravnborg.org> Acked-by: Sam Ravnborg <sam@ravnborg.org> Link: https://lore.kernel.org/r/20200630200111.1170742-1-robh@kernel.orgSigned-off-by: Rob Herring <robh@kernel.org>
-
Yoshihiro Shimoda authored
Convert Renesas related parts of usb-xhci to YAML because they are not compatible with generic-xhci. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Link: https://lore.kernel.org/r/1592822252-12338-1-git-send-email-yoshihiro.shimoda.uh@renesas.comSigned-off-by: Rob Herring <robh@kernel.org>
-
- 13 Jul, 2020 5 commits
-
-
Lubomir Rintel authored
A straightforward conversion of the mrvl,mmp-timer binding to DT schema format using json-schema. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20200616223353.993567-6-lkundrak@v3.skSigned-off-by: Rob Herring <robh@kernel.org>
-
Lubomir Rintel authored
Convert the sa1100-rtc binding to DT schema format using json-schema. While add that, add clocks and resets that are actually used. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20200616223353.993567-5-lkundrak@v3.skSigned-off-by: Rob Herring <robh@kernel.org>
-
Lubomir Rintel authored
Convert the mrvl,intc binding to DT schema format using json-schema. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20200616223353.993567-4-lkundrak@v3.skSigned-off-by: Rob Herring <robh@kernel.org>
-
Lubomir Rintel authored
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: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20200616223353.993567-3-lkundrak@v3.skSigned-off-by: Rob Herring <robh@kernel.org>
-
Lubomir Rintel authored
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: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20200616223353.993567-2-lkundrak@v3.skSigned-off-by: Rob Herring <robh@kernel.org>
-
- 09 Jul, 2020 7 commits
-
-
Anson Huang authored
Convert the i.MX KEYPAD binding to DT schema format using json-schema Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1592285467-18371-2-git-send-email-Anson.Huang@nxp.comSigned-off-by: Rob Herring <robh@kernel.org>
-
Anson Huang authored
Convert the matrix-keymap binding to DT schema format using json-schema Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1592285467-18371-1-git-send-email-Anson.Huang@nxp.comSigned-off-by: Rob Herring <robh@kernel.org>
-
Anson Huang authored
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: Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1592279454-32551-2-git-send-email-Anson.Huang@nxp.comSigned-off-by: Rob Herring <robh@kernel.org>
-
Anson Huang authored
Convert the MXS I2C binding to DT schema format using json-schema Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1592279454-32551-1-git-send-email-Anson.Huang@nxp.comSigned-off-by: Rob Herring <robh@kernel.org>
-
Niklas Söderlund authored
Add the YAML dt-bindings document for ADV7180. Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Signed-off-by: Rob Herring <robh@kernel.org>
-
Niklas Söderlund authored
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: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Link: https://lore.kernel.org/r/20200704160644.3040636-2-niklas.soderlund+renesas@ragnatech.seSigned-off-by: Rob Herring <robh@kernel.org>
-
Rob Herring authored
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
-