- 14 Sep, 2020 6 commits
-
-
Krzysztof Kozlowski authored
Add common properties appearing in DTSes (controller-data, wakeup-source) to partially fix dtbs_check warnings like: arch/arm/boot/dts/exynos5250-snow.dt.yaml: embedded-controller@1e: 'keyboard-controller', 'wakeup-source' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm/boot/dts/exynos5800-peach-pi.dt.yaml: cros-ec@0: 'controller-data', 'i2c-tunnel', 'keyboard-controller' do not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by:
Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20200903191407.12686-1-krzk@kernel.orgSigned-off-by:
Rob Herring <robh@kernel.org>
-
Krzysztof Kozlowski authored
The Exynos Multi Core Timer driver requires two clocks. This was never documented in the binding. Add it to fix dtschema warnings like: arch/arm64/boot/dts/exynos/exynos5433-tm2.dt.yaml: timer@101c0000: 'clock-names', 'clocks' do not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by:
Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20200903191311.12293-2-krzk@kernel.orgSigned-off-by:
Rob Herring <robh@kernel.org>
-
Krzysztof Kozlowski authored
Add common properties appearing in DTSes (assigned-clock-parents, assigned-clocks) to fix dtbs_check warnings like: arch/arm64/boot/dts/exynos/exynos5433-tm2.dt.yaml: system-controller@105c0000: 'assigned-clock-parents', 'assigned-clocks' do not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by:
Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20200903191311.12293-1-krzk@kernel.orgSigned-off-by:
Rob Herring <robh@kernel.org>
-
Krzysztof Kozlowski authored
Correct a typo in the compatible - missing trailing 's'. Reviewed-by:
Kamil Konieczny <k.konieczny@samsung.com> Acked-by:
Kamil Konieczny <k.konieczny@samsung.com> Signed-off-by:
Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20200903180400.2865-1-krzk@kernel.orgSigned-off-by:
Rob Herring <robh@kernel.org>
-
Krzysztof Kozlowski authored
The samsung,s6e63j0x03 does not have enable GPIO, so do not require it. This fixes dtbs_check warning: arch/arm/boot/dts/exynos3250-rinato.dt.yaml: panel@0: 'enable-gpios' is a required property Acked-by:
Sam Ravnborg <sam@ravnborg.org> Signed-off-by:
Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20200829172532.29358-1-krzk@kernel.orgSigned-off-by:
Rob Herring <robh@kernel.org>
-
Krzysztof Kozlowski authored
Add Samsung 11-pin USB-C connector into standard dtschema bindings file. Signed-off-by:
Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20200829142501.31478-5-krzk@kernel.orgSigned-off-by:
Rob Herring <robh@kernel.org>
-
- 09 Sep, 2020 1 commit
-
-
Suman Anna authored
Convert the current OMAP hwspinlock binding from text format to YAML format/DT schema, and delete the legacy text binding file. The new YAML binding conversion is a slightly updated version compared to the original. The legacy "ti,hwmods" property is now obsolete and is dropped altogether, and the K3 example is updated to showcase the actual dts node usage. Signed-off-by:
Suman Anna <s-anna@ti.com> Link: https://lore.kernel.org/r/20200828041447.5900-1-s-anna@ti.comSigned-off-by:
Rob Herring <robh@kernel.org>
-
- 08 Sep, 2020 3 commits
-
-
Mauro Carvalho Chehab authored
Convert the SPMI bus documentation to JSON/yaml. Signed-off-by:
Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/ee4c4ca9f29a39f6af772b3a526a996176499da3.1598415179.git.mchehab+huawei@kernel.org [robh: Correct maintainer, unit-address should be hex] Signed-off-by:
Rob Herring <robh@kernel.org>
-
Christian Lamparter authored
Meraki was founded in 2006. The start-up quickly rose to prominence by being based in part on the MIT Roofnet Project. In December 2012, Cisco Systems, Inc. bought Meraki. The "Meraki" branding is still around to this day. Web site of the company: https://meraki.cisco.com/Signed-off-by:
Christian Lamparter <chunkeey@gmail.com> Link: https://lore.kernel.org/r/20200822154045.16036-1-chunkeey@gmail.comSigned-off-by:
Rob Herring <robh@kernel.org>
-
Andre Przywara authored
This converts the DT binding documentation for the ARM SP-804 timer IP over to json-schema. Most properties are just carried over, the clocks property requirement (either one or three clocks) is now formalised and enforced. As the former binding didn't specify clock-names, and there is no common name used by the existing DTs, I refrained from adding them in detail (just allowing the property). The requirement for the APB clock is enforced by the primecell binding already. Signed-off-by:
Andre Przywara <andre.przywara@arm.com> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20200828142018.43298-2-andre.przywara@arm.com [robh: drop primecell.yaml] Signed-off-by:
Rob Herring <robh@kernel.org>
-
- 03 Sep, 2020 3 commits
-
-
Rob Herring authored
The driver and metag arch were removed in 2018. Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20200826184851.3431531-3-robh@kernel.orgSigned-off-by:
Rob Herring <robh@kernel.org>
-
Rob Herring authored
The driver was removed in 2016 in commit fb954c48 ("phy: stih41x-usb: Remove usb phy driver and dt binding documentation.") and somehow the DT binding got dropped despite the subject. Cc: Peter Griffin <peter.griffin@linaro.org> Cc: Kishon Vijay Abraham I <kishon@ti.com> Link: https://lore.kernel.org/r/20200826184851.3431531-2-robh@kernel.orgSigned-off-by:
Rob Herring <robh@kernel.org>
-
Rob Herring authored
The binding was added in 2013 and has had no driver since 2015. Cc: Liam Girdwood <lgirdwood@gmail.com> Cc: Mark Brown <broonie@kernel.org> Cc: alsa-devel@alsa-project.org Link: https://lore.kernel.org/r/20200826184851.3431531-1-robh@kernel.orgSigned-off-by:
Rob Herring <robh@kernel.org>
-
- 19 Aug, 2020 4 commits
-
-
Rob Herring authored
As the number of binding schemas has grown, the time to run dt_binding_check has gotten pretty slow. A large part of this is due to the slow startup time of Python (a well documented problem). There's not currently any benefit to running dt-doc-validate one file at a time, so let's switch it to run a single rule. Doing this means we loose the make parallelism, but we can use xargs instead. This speeds up the validation time from several minutes to <10 sec. Since the validation is a single step with no output, we move running it as part of the processed-schema-examples.json target. We also need to reorder the extra-y entries so the validation is run first rather than after all the examples are extracted. Signed-off-by:
Rob Herring <robh@kernel.org>
-
Andrei Ziureaev authored
Change the format of processed-schema* from yaml to json to speed up validation. With json output, using xargs and appending the output won't work since json has explicit list begin and end characters. Instead, we pass the schema files as a list in a temp file. The parsing time for the processed schema goes down from ~2sec to 70ms. Also, 'make dtbs_check' becomes 33% faster. Some error messages are affected by this change. For example, "True was expected" becomes "... is not of type 'boolean'". The order of messages is also changed. Signed-off-by:
Andrei Ziureaev <andrei.ziureaev@arm.com> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Rob Herring authored
dtschema release 2020.8.1 gained several additions to help performance. dt-doc-validate can now take a list of files and directories, and dt-mk-schema can store the processed schema in JSON which is much faster to parse than YAML. Utilizing both of these changes results in a 3-4x speed improvement in running dt_binding_check. There's also additional meta-schema checks which binding schemas should be checked against. Signed-off-by:
Rob Herring <robh@kernel.org>
-
Geert Uytterhoeven authored
None of the help texts use capitalization, except the one for the -T option. Drop the capitalization for consistency. Split the single long line that doesn't fit in 80 characters. Reviewed-by:
Frank Rowand <frowand.list@gmail.com> Signed-off-by:
Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by:
Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20200819124709.20401-1-geert+renesas@glider.be
-
- 18 Aug, 2020 7 commits
-
-
Anson Huang authored
Convert the NXP lpuart binding to DT schema format using json-schema. Signed-off-by:
Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1597721685-9280-5-git-send-email-Anson.Huang@nxp.comSigned-off-by:
Rob Herring <robh@kernel.org>
-
Anson Huang authored
Convert the MXS auart binding to DT schema format using json-schema. Signed-off-by:
Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1597721685-9280-4-git-send-email-Anson.Huang@nxp.comSigned-off-by:
Rob Herring <robh@kernel.org>
-
Anson Huang authored
Convert the i.MX uart binding to DT schema format using json-schema. Signed-off-by:
Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1597721685-9280-3-git-send-email-Anson.Huang@nxp.comSigned-off-by:
Rob Herring <robh@kernel.org>
-
Anson Huang authored
Update the i.MX23 clock example to align with MXS AUART binding doc to avoid below build error: Documentation/devicetree/bindings/clock/imx23-clock.example.dt.yaml: serial@8006c000: clocks: [[4294967295, 32]] is too short Documentation/devicetree/bindings/clock/imx23-clock.example.dt.yaml: serial@8006c000: 'dmas' is a required property Documentation/devicetree/bindings/clock/imx23-clock.example.dt.yaml: serial@8006c000: 'dma-names' is a required property Signed-off-by:
Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1597721685-9280-2-git-send-email-Anson.Huang@nxp.comSigned-off-by:
Rob Herring <robh@kernel.org>
-
Anson Huang authored
Update the i.MX28 clock example to align with MXS AUART binding doc to avoid below build error: Documentation/devicetree/bindings/clock/imx28-clock.example.dt.yaml: serial@8006a000: clocks: [[4294967295, 45]] is too short Documentation/devicetree/bindings/clock/imx28-clock.example.dt.yaml: serial@8006a000: compatible: Additional items are not allowed ('fsl,imx23-auart' was unexpected) Documentation/devicetree/bindings/clock/imx28-clock.example.dt.yaml: serial@8006a000: compatible: ['fsl,imx28-auart', 'fsl,imx23-auart'] is too long Documentation/devicetree/bindings/clock/imx28-clock.example.dt.yaml: serial@8006a000: 'dmas' is a required property Documentation/devicetree/bindings/clock/imx28-clock.example.dt.yaml: serial@8006a000: 'dma-names' is a required property Signed-off-by:
Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1597721685-9280-1-git-send-email-Anson.Huang@nxp.comSigned-off-by:
Rob Herring <robh@kernel.org>
-
Thierry Reding authored
Iterate over child devices in reverse when unpopulating a platform device to make this step symmetrical with the population step. This fixes an issue in the Tegra DRM driver where upon module unload the DPAUX controller tries to unregister an I2C controller but will end up waiting indefinitely because one of the SOR devices is keeping a reference to it. Since the SOR devices are instantiated after the DPAUX devices, they would only be removed (and hence release their reference to the I2C controller) after the DPAUX devices have been removed. While destroying the child devices in reverse order helps in this situation, it isn't fully safe to do so either. An even better way would be for the child devices to be reordered to match the probe order, which would work irrespective of the instantiation order. However, reordering by probe order would be fairly complicated and doesn't fix any known issues, so we'll go with the simpler fix for now. Signed-off-by:
Thierry Reding <treding@nvidia.com> Link: https://lore.kernel.org/r/20200806153650.3883530-1-thierry.reding@gmail.comSigned-off-by:
Rob Herring <robh@kernel.org>
-
Anson Huang authored
Convert the vf610 gpio binding to DT schema format using json-schema. Signed-off-by:
Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1597218741-24899-1-git-send-email-Anson.Huang@nxp.comSigned-off-by:
Rob Herring <robh@kernel.org>
-
- 17 Aug, 2020 11 commits
-
-
Anson Huang authored
Convert the i.MX sata binding to DT schema format using json-schema. Signed-off-by:
Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1596611746-29155-1-git-send-email-Anson.Huang@nxp.comSigned-off-by:
Rob Herring <robh@kernel.org>
-
Anson Huang authored
Convert the snvs lpgpr binding to DT schema format using json-schema. Signed-off-by:
Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1596610172-30323-1-git-send-email-Anson.Huang@nxp.comSigned-off-by:
Rob Herring <robh@kernel.org>
-
Anson Huang authored
Convert the i.MX DDR perf binding to DT schema format using json-schema. Signed-off-by:
Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1596609387-23542-1-git-send-email-Anson.Huang@nxp.comSigned-off-by:
Rob Herring <robh@kernel.org>
-
Anson Huang authored
Convert the i.MX rng binding to DT schema format using json-schema. Signed-off-by:
Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1596608884-13205-1-git-send-email-Anson.Huang@nxp.comSigned-off-by:
Rob Herring <robh@kernel.org>
-
Anson Huang authored
Convert the i.MX7ULP SIM binding to DT schema format using json-schema. Signed-off-by:
Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1596595841-27563-2-git-send-email-Anson.Huang@nxp.comSigned-off-by:
Rob Herring <robh@kernel.org>
-
Anson Huang authored
Convert the i.MX7ULP PM binding to DT schema format using json-schema. Signed-off-by:
Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1596595841-27563-1-git-send-email-Anson.Huang@nxp.comSigned-off-by:
Rob Herring <robh@kernel.org>
-
Anson Huang authored
Convert the i.MX sahara binding to DT schema format using json-schema. Signed-off-by:
Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1596595410-26921-3-git-send-email-Anson.Huang@nxp.comSigned-off-by:
Rob Herring <robh@kernel.org>
-
Anson Huang authored
Convert the i.MX SCC binding to DT schema format using json-schema. Signed-off-by:
Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1596595410-26921-2-git-send-email-Anson.Huang@nxp.comSigned-off-by:
Rob Herring <robh@kernel.org>
-
Anson Huang authored
Convert the MXS DCP binding to DT schema format using json-schema. Signed-off-by:
Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1596595410-26921-1-git-send-email-Anson.Huang@nxp.comSigned-off-by:
Rob Herring <robh@kernel.org>
-
Anson Huang authored
Convert the i.MX one wire binding to DT schema format using json-schema. Signed-off-by:
Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1596595091-26760-1-git-send-email-Anson.Huang@nxp.comSigned-off-by:
Rob Herring <robh@kernel.org>
-
Christian Eggers authored
Convert the binding document for at25 EEPROMs from txt to yaml. Signed-off-by:
Christian Eggers <ceggers@arri.de> Link: https://lore.kernel.org/r/20200813085959.15946-1-ceggers@arri.deSigned-off-by:
Rob Herring <robh@kernel.org>
-
- 16 Aug, 2020 5 commits
-
-
Linus Torvalds authored
-
git://git.kernel.dk/linux-blockLinus Torvalds authored
Pull io_uring fixes from Jens Axboe: "A few differerent things in here. Seems like syzbot got some more io_uring bits wired up, and we got a handful of reports and the associated fixes are in here. General fixes too, and a lot of them marked for stable. Lastly, a bit of fallout from the async buffered reads, where we now more easily trigger short reads. Some applications don't really like that, so the io_read() code now handles short reads internally, and got a cleanup along the way so that it's now easier to read (and documented). We're now passing tests that failed before" * tag 'io_uring-5.9-2020-08-15' of git://git.kernel.dk/linux-block: io_uring: short circuit -EAGAIN for blocking read attempt io_uring: sanitize double poll handling io_uring: internally retry short reads io_uring: retain iov_iter state over io_read/io_write calls task_work: only grab task signal lock when needed io_uring: enable lookup of links holding inflight files io_uring: fail poll arm on queue proc failure io_uring: hold 'ctx' reference around task_work queue + execute fs: RWF_NOWAIT should imply IOCB_NOIO io_uring: defer file table grabbing request cleanup for locked requests io_uring: add missing REQ_F_COMP_LOCKED for nested requests io_uring: fix recursive completion locking on oveflow flush io_uring: use TWA_SIGNAL for task_work uncondtionally io_uring: account locked memory before potential error case io_uring: set ctx sq/cq entry count earlier io_uring: Fix NULL pointer dereference in loop_rw_iter() io_uring: add comments on how the async buffered read retry works io_uring: io_async_buf_func() need not test page bit
-
Mike Rapoport authored
Commit 1355c31e ("asm-generic: pgalloc: provide generic pmd_alloc_one() and pmd_free_one()") converted parisc to use generic version of pmd_alloc_one() but it missed the fact that parisc uses order-1 pages for PMD. Restore the original version of pmd_alloc_one() for parisc, just use GFP_PGTABLE_KERNEL that implies __GFP_ZERO instead of GFP_KERNEL and memset. Fixes: 1355c31e ("asm-generic: pgalloc: provide generic pmd_alloc_one() and pmd_free_one()") Reported-by:
Meelis Roos <mroos@linux.ee> Signed-off-by:
Mike Rapoport <rppt@linux.ibm.com> Tested-by:
Meelis Roos <mroos@linux.ee> Reviewed-by:
Matthew Wilcox (Oracle) <willy@infradead.org> Link: https://lkml.kernel.org/r/9f2b5ebd-e4a4-0fa1-6cd3-4b9f6892d1ad@linux.eeSigned-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
git://git.kernel.dk/linux-blockLinus Torvalds authored
Pull block fixes from Jens Axboe: "A few fixes on the block side of things: - Discard granularity fix (Coly) - rnbd cleanups (Guoqing) - md error handling fix (Dan) - md sysfs fix (Junxiao) - Fix flush request accounting, which caused an IO slowdown for some configurations (Ming) - Properly propagate loop flag for partition scanning (Lennart)" * tag 'block-5.9-2020-08-14' of git://git.kernel.dk/linux-block: block: fix double account of flush request's driver tag loop: unset GENHD_FL_NO_PART_SCAN on LOOP_CONFIGURE rnbd: no need to set bi_end_io in rnbd_bio_map_kern rnbd: remove rnbd_dev_submit_io md-cluster: Fix potential error pointer dereference in resize_bitmaps() block: check queue's limits.discard_granularity in __blkdev_issue_discard() md: get sysfs entry after redundancy attr group create
-
git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linuxLinus Torvalds authored
Pull RISC-V fix from Palmer Dabbelt: "I collected a single fix during the merge window: we managed to break the early trap setup on !MMU, this fixes it" * tag 'riscv-for-linus-5.9-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux: riscv: Setup exception vector for nommu platform
-