- 25 8月, 2021 6 次提交
-
-
由 Geert Uytterhoeven 提交于
Add support for handling the "linux,usable-memory-range" property in the "/chosen" node to the FDT core code. This can co-exist safely with the architecture-specific handling, until the latter has been removed. Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: NRob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/3bd69bada93ee59b7d23c38b3527fc1654e19343.1628670468.git.geert+renesas@glider.be
-
由 Geert Uytterhoeven 提交于
There are two methods to specify the location of the elf core headers: using the "elfcorehdr=" kernel parameter, as handled by generic code in kernel/crash_dump.c, or using the "linux,elfcorehdr" property under the "/chosen" node in the Device Tree, as handled by architecture-specific code in arch/arm64/mm/init.c. Extend support for "linux,elfcorehdr" to all platforms supporting DT by adding platform-agnostic handling for handling this property to the FDT core code. This can co-exist safely with the architecture-specific handling, until the latter has been removed. This requires moving the call to of_scan_flat_dt() up, as the code scanning the "/chosen" node now needs to be aware of the values of "#address-cells" and "#size-cells". Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: NRob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/c7e46e50aaf87ef49bdaa61358d25b122f32b7df.1628670468.git.geert+renesas@glider.be
-
由 Geert Uytterhoeven 提交于
Make the forward declarations of elfcorehdr_addr and elfcorehdr_size, and the definitions of ELFCORE_ADDR_MAX and ELFCORE_ADDR_ERR always available, like is done for phys_initrd_start and phys_initrd_size. Code referring to these symbols can then just check for IS_ENABLED(CONFIG_CRASH_DUMP), instead of requiring conditional compilation using an #ifdef, thus preparing to increase compile coverage. Suggested-by: NRob Herring <robh+dt@kernel.org> Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: NRob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/ba965ca613c0cc82c1ec2fe353ee34fb13b36474.1628670468.git.geert+renesas@glider.be
-
由 Krzysztof Kozlowski 提交于
Convert Samsung Exynos5422 SoC frequency and voltage scaling for Dynamic Memory Controller to DT schema format using json-schema. Signed-off-by: NKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Acked-by: NLukasz Luba <lukasz.luba@arm.com> Link: https://lore.kernel.org/r/20210820150353.161161-3-krzysztof.kozlowski@canonical.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Krzysztof Kozlowski 提交于
Convert Samsung Exynos PPMU bindings to DT schema format using json-schema. The example is quite different due to the nature of dtschema examples parsing (no overriding via-label allowed). New bindings contain copied description from previous bindings document, therefore the license is set as GPL-2.0-only. Signed-off-by: NKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Link: https://lore.kernel.org/r/20210820150353.161161-2-krzysztof.kozlowski@canonical.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Krzysztof Kozlowski 提交于
Convert Samsung Exynos NoC Probe bindings to DT schema format using json-schema. New bindings contain copied description from previous bindings document, therefore the license is set as GPL-2.0-only. Signed-off-by: NKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Link: https://lore.kernel.org/r/20210820150353.161161-1-krzysztof.kozlowski@canonical.comSigned-off-by: NRob Herring <robh@kernel.org>
-
- 24 8月, 2021 5 次提交
-
-
由 Rob Herring 提交于
There's only a couple of instances of the 'pci_device_reg' warnings left and they look legit, so let's enable the warning by default. Cc: Heiko Stuebner <heiko@sntech.de> Cc: Nicolas Saenz Julienne <nsaenz@kernel.org> Cc: soc@kernel.org Signed-off-by: NRob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20210820165011.3257112-1-robh@kernel.org/
-
由 Zenghui Yu 提交于
The zte zx platform had been removed in commit 89d4f98a ("ARM: remove zte zx platform"), so this header is no longer needed. Cc: Arnd Bergmann <arnd@arndb.de> Cc: Jun Nie <jun.nie@linaro.org> Cc: Shawn Guo <shawnguo@kernel.org> Signed-off-by: NZenghui Yu <yuzenghui@huawei.com> Link: https://lore.kernel.org/r/20210821030924.192-2-yuzenghui@huawei.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Zenghui Yu 提交于
The zx296718-clkc driver had been removed in commit bcbe6005 ("clk: remove zte zx driver"), so this header is no longer needed. Cc: Arnd Bergmann <arnd@arndb.de> Cc: Jun Nie <jun.nie@linaro.org> Cc: Shawn Guo <shawnguo@kernel.org> Signed-off-by: NZenghui Yu <yuzenghui@huawei.com> Link: https://lore.kernel.org/r/20210821030924.192-1-yuzenghui@huawei.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Marc Zyngier 提交于
Trying to boot without SYSFS, but with OF_DYNAMIC quickly results in a crash: [ 0.088460] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000070 [...] [ 0.103927] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.14.0-rc3 #4179 [ 0.105810] Hardware name: linux,dummy-virt (DT) [ 0.107147] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO BTYPE=--) [ 0.108876] pc : kernfs_find_and_get_ns+0x3c/0x7c [ 0.110244] lr : kernfs_find_and_get_ns+0x3c/0x7c [...] [ 0.134087] Call trace: [ 0.134800] kernfs_find_and_get_ns+0x3c/0x7c [ 0.136054] safe_name+0x4c/0xd0 [ 0.136994] __of_attach_node_sysfs+0xf8/0x124 [ 0.138287] of_core_init+0x90/0xfc [ 0.139296] driver_init+0x30/0x4c [ 0.140283] kernel_init_freeable+0x160/0x1b8 [ 0.141543] kernel_init+0x30/0x140 [ 0.142561] ret_from_fork+0x10/0x18 While not having sysfs isn't a very common option these days, it is still expected that such configuration would work. Paper over it by bailing out from __of_attach_node_sysfs() if CONFIG_SYSFS isn't enabled. Signed-off-by: NMarc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20210820144722.169226-1-maz@kernel.orgSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Krzysztof Kozlowski 提交于
Convert H8/300 bus controller bindings to DT schema format using json-schema. The conversion also extends the bindings to match what is really used in existing devicetree sources (the original file mentions only "renesas,h8300-bsc" but "renesas,h8300h-bsc" and "renesas,h8s-bsc" are used with it). Signed-off-by: NKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Link: https://lore.kernel.org/r/20210818202953.16862-1-krzysztof.kozlowski@canonical.comSigned-off-by: NRob Herring <robh@kernel.org>
-
- 20 8月, 2021 2 次提交
-
-
由 Rob Herring 提交于
yamllint warnings go to stdout which means on a quiet build no warnings are output. Fix this and redirect the yamllint output to stderr. Signed-off-by: NRob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20210820000047.1667819-1-robh@kernel.org
-
由 Aswath Govindraju 提交于
Convert eeprom-93xx46 binding documentation from txt to yaml format Signed-off-by: NAswath Govindraju <a-govindraju@ti.com> Link: https://lore.kernel.org/r/20210818105626.31800-1-a-govindraju@ti.comSigned-off-by: NRob Herring <robh@kernel.org>
-
- 19 8月, 2021 7 次提交
-
-
由 Rob Herring 提交于
The 'contains' keyword applies to elements within an array, so using 'items' only makes sense if the elements of the array are another array which is not the case for 'compatible' properties. Looking at the driver, it seems the intent was the condition should be true when 'faraday,ftpci100' is present, so we can drop 'cortina,gemini-pci'. Fixes: 2720b991 ("dt-bindings: PCI: ftpci100: convert faraday,ftpci100 to YAML") Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: linux-pci@vger.kernel.org Signed-off-by: NRob Herring <robh@kernel.org> Reviewed-by: NLinus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20210817174743.541353-1-robh@kernel.orgSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Krzysztof Kozlowski 提交于
Convert Texas Instruments da8xx DDR2/mDDR memory controller bindings to DT schema format using json-schema. Signed-off-by: NKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Link: https://lore.kernel.org/r/20210818113248.85084-1-krzysztof.kozlowski@canonical.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Krzysztof Kozlowski 提交于
Convert Synopsys IntelliDDR Multi Protocol memory controller (present in Xilinx Zynq and ZynqMP) bindings to DT schema format using json-schema. New binding contains copied parts of description from previous binding document, therefore the license is set as GPL-2.0-only. Signed-off-by: NKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Link: https://lore.kernel.org/r/20210818113139.84869-1-krzysztof.kozlowski@canonical.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Krzysztof Kozlowski 提交于
Include dt-bindings for Marvell Armada XP SDRAM in the EDAC-ARMADA entry. Signed-off-by: NKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by: NRob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20210817093807.59531-2-krzysztof.kozlowski@canonical.com
-
由 Krzysztof Kozlowski 提交于
Convert Marvell MVEBU SDRAM controller bindings to DT schema format using json-schema. Signed-off-by: NKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Link: https://lore.kernel.org/r/20210817093807.59531-1-krzysztof.kozlowski@canonical.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Krzysztof Kozlowski 提交于
Convert Broadcom DDR PHY Front End (DPFE) bindings to DT schema format using json-schema. Signed-off-by: NKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Acked-by: NMarkus Mayer <mmayer@broadcom.com> Link: https://lore.kernel.org/r/20210817080617.14503-1-krzysztof.kozlowski@canonical.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Saravana Kannan 提交于
Allows tracking dependencies between Ethernet PHYs and their consumers. Cc: Andrew Lunn <andrew@lunn.ch> Cc: netdev@vger.kernel.org Signed-off-by: NSaravana Kannan <saravanak@google.com> Link: https://lore.kernel.org/r/20210818021717.3268255-1-saravanak@google.comSigned-off-by: NRob Herring <robh@kernel.org>
-
- 18 8月, 2021 6 次提交
-
-
由 Saravana Kannan 提交于
Allows tracking dependencies between leds/backlights devices and their consumers. Signed-off-by: NSaravana Kannan <saravanak@google.com> Link: https://lore.kernel.org/r/20210814023132.2729731-2-saravanak@google.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Krzysztof Kozlowski 提交于
Convert Qualcomm Atheros AR7xxx/AR9xxx DDR controller to DT schema format using json-schema. Signed-off-by: NKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Link: https://lore.kernel.org/r/20210813143537.130310-1-krzysztof.kozlowski@canonical.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Krzysztof Kozlowski 提交于
Convert Samsung Exynos SoC True Random Number Generator bindings to DT schema format using json-schema. Signed-off-by: NKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Link: https://lore.kernel.org/r/20210811084306.28740-2-krzysztof.kozlowski@canonical.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Krzysztof Kozlowski 提交于
Convert Samsung Exynos SoC Interrupt Combiner Controller bindings to DT schema format using json-schema. Signed-off-by: NKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Link: https://lore.kernel.org/r/20210811084306.28740-1-krzysztof.kozlowski@canonical.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Krzysztof Kozlowski 提交于
The Samsung Exynos SoC SATA bindings are not implemented in the kernel, not used and superseded by generic Documentation/devicetree/bindings/ata/ahci-platform.txt bindings. Signed-off-by: NKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Link: https://lore.kernel.org/r/20210811083859.28234-1-krzysztof.kozlowski@canonical.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Biju Das 提交于
This patch updates interrupt-names with dropping "int_" prefix and "_n" suffix. Fixes: 1dbd981f ("dt-bindings: net: renesas,etheravb: Document Gigabit Ethernet IP") Signed-off-by: NBiju Das <biju.das.jz@bp.renesas.com> Link: https://lore.kernel.org/r/20210815133926.22860-1-biju.das.jz@bp.renesas.comSigned-off-by: NRob Herring <robh@kernel.org>
-
- 17 8月, 2021 3 次提交
-
-
由 Mauro Carvalho Chehab 提交于
Document the bindings for HiKey 970 (hi3670) PCIe PHY interface, supported via the pcie-kirin driver. Signed-off-by: NMauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/461495431dd28ad2779658659f137db4bd747aa8.1628061310.git.mchehab+huawei@kernel.orgSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Mauro Carvalho Chehab 提交于
Add a new compatible, plus the new bindings needed by HiKey970 board. Signed-off-by: NMauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/875a4571e253040d3885ee1f37467b0bade7361b.1628061310.git.mchehab+huawei@kernel.orgSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Mauro Carvalho Chehab 提交于
Convert the file into a JSON description at the yaml format. Signed-off-by: NMauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/081c179ef2e0ddf11566144cd5967b15268565b4.1628061310.git.mchehab+huawei@kernel.orgSigned-off-by: NRob Herring <robh@kernel.org>
-
- 15 8月, 2021 6 次提交
-
-
由 Mauro Carvalho Chehab 提交于
The pcie-kirin driver doesn't declare a hisilicon,kirin-pcie. Also, remove the useless comment after the description, as other compat will be supported by the same driver in the future. Acked-by: NRob Herring <robh@kernel.org> Signed-off-by: NMauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/3e3e29a88f8e71eb228edf33d70cbe70db431408.1627965261.git.mchehab+huawei@kernel.orgSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Geert Uytterhoeven 提交于
Commit 41a9ada3 ("of/fdt: mark hotpluggable memory") introduced two (for systems with and without memblock) weak versions of early_init_dt_mark_hotplug_memory_arch(), that could be overridden by an architecture-specific version. However, no overrides ever emerged. Later, commit aca52c39 ("mm: remove CONFIG_HAVE_MEMBLOCK") removed the non-memblock version. Remove early_init_dt_mark_hotplug_memory_arch(), and replace it by a direct call to memblock_mark_hotplug(). Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/1a61f75ec50d3c2922fcdbe33337266a58a4125f.1628671960.git.geert+renesas@glider.beSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Geert Uytterhoeven 提交于
Commit e7ae8d17 ("MIPS: replace add_memory_region with memblock") removed the last architecture-specific override of early_init_dt_reserve_memory_arch(). Convert the common implementation from a weak global function to a static function. Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/be0140a0183ecfd0a3afa4fe6d2d77ed418102f9.1628671897.git.geert+renesas@glider.beSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Saravana Kannan 提交于
Allows better tracking of dependencies between devices. Signed-off-by: NSaravana Kannan <saravanak@google.com> Link: https://lore.kernel.org/r/20210805223729.1196047-1-saravanak@google.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Michal Simek 提交于
The driver has been removed by commit 523d83ef ("clocksource/drivers/efm32: Drop unused timer code") that's why binding doc shouldn't be also valid anymore. Signed-off-by: NMichal Simek <michal.simek@xilinx.com> Link: https://lore.kernel.org/r/571fc4b2e6d41c61b7f4445601a79bb50aace2e7.1628245879.git.michal.simek@xilinx.comSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Ezequiel Garcia 提交于
The Rockchip RK3568 SoC has a Bifrost Mali-G52 GPU, add a compatible string for it. Signed-off-by: NEzequiel Garcia <ezequiel@collabora.com> Link: https://lore.kernel.org/r/20210805025948.10900-3-ezequiel@collabora.comSigned-off-by: NRob Herring <robh@kernel.org>
-
- 04 8月, 2021 1 次提交
-
-
由 Ohhoon Kwon 提交于
Fix the below warning: drivers/of/fdt.c:196:4: warning: Value stored to 'pprev' is never read [clang-analyzer-deadcode.DeadStores] pprev = &pp->next; ^ ~~~~~~~~~ Signed-off-by: NOhhoon Kwon <ohoono.kwon@samsung.com> Link: https://lore.kernel.org/r/20210803101309.904-1-ohoono.kwon@samsung.comSigned-off-by: NRob Herring <robh@kernel.org>
-
- 03 8月, 2021 4 次提交
-
-
由 Baisheng Gao 提交于
Modify LINK_1000_ACTIVITY and LINK_100_ACTIVITY to VSC8531_LINK_1000_ACTIVITY and VSC8531_LINK_100_ACTIVITY respectively in the example of ethernet-phy node according to include/dt-bindings/net/mscc-phy-vsc8531.h. Signed-off-by: NBaisheng Gao <gaobaisheng@bonc.com.cn> Link: https://lore.kernel.org/r/1627488086-200263-1-git-send-email-gaobaisheng@bonc.com.cnSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Geert Uytterhoeven 提交于
Convert the ARM Versatile Character LCD Device Tree binding documentation to json-schema. Correct compatible value. Document missing properties. Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/r/4a63caa4136e8a31e82c7d75bb6f273498e8cccf.1627402256.git.geert@linux-m68k.orgSigned-off-by: NRob Herring <robh@kernel.org>
-
由 Geert Uytterhoeven 提交于
Convert the Device Tree binding documentation for ASCII LCD displays on Imagination Technologies boards to json-schema. Drop bogus regmap property. Add example. Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/r/6e74aa466d39ddc9abe502e054d04e8cc7b76b40.1627402094.git.geert@linux-m68k.org [robh: add type to 'offset'] Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Geert Uytterhoeven 提交于
- Fix rejection of legitimate flash subnodes containing multiple compatible values, - Add missing list of required properties. Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/d81b59a513c2a5204c8378b4a89cd07f97c46797.1627401508.git.geert+renesas@glider.beSigned-off-by: NRob Herring <robh@kernel.org>
-