Richard Zhu
751ca492f1
dt-bindings: PCI: imx6: convert the imx pcie controller to dtschema
...
Convert the fsl,imx6q-pcie.txt into a schema.
- ranges property should be grouped by region, with no functional
changes.
- only one propert is allowed in the compatible string, remove
"snps,dw-pcie".
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com >
Link: https://lore.kernel.org/r/1630046580-19282-2-git-send-email-hongxing.zhu@nxp.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-30 19:48:23 -05:00
Rob Herring
1c3ac086fd
dt-bindings: Use 'enum' instead of 'oneOf' plus 'const' entries
...
'enum' is equivalent to 'oneOf' with a list of 'const' entries, but 'enum'
is more concise and yields better error messages.
Cc: Maxime Ripard <mripard@kernel.org >
Cc: Vignesh R <vigneshr@ti.com >
Cc: Marc Zyngier <maz@kernel.org >
Cc: Mauro Carvalho Chehab <mchehab@kernel.org >
Cc: Lee Jones <lee.jones@linaro.org >
Cc: "David S. Miller" <davem@davemloft.net >
Cc: Jakub Kicinski <kuba@kernel.org >
Cc: Bjorn Helgaas <bhelgaas@google.com >
Cc: Kishon Vijay Abraham I <kishon@ti.com >
Cc: Daniel Lezcano <daniel.lezcano@linaro.org >
Cc: dmaengine@vger.kernel.org
Cc: linux-i2c@vger.kernel.org
Cc: linux-media@vger.kernel.org
Cc: netdev@vger.kernel.org
Cc: linux-pci@vger.kernel.org
Cc: linux-phy@lists.infradead.org
Cc: linux-serial@vger.kernel.org
Cc: alsa-devel@alsa-project.org
Cc: linux-spi@vger.kernel.org
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com > (mipi-ccs)
Acked-by: Mark Brown <broonie@kernel.org >
Reviewed-by: Vinod Koul <vkoul@kernel.org >
Acked-By: Vinod Koul <vkoul@kernel.org >
Acked-by: Wolfram Sang <wsa@kernel.org > # for I2C
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20210824202014.978922-1-robh@kernel.org
2021-08-30 07:01:24 -05:00
Michal Simek
13b11b316f
dt-bindings: Add vendor prefix for Topic Embedded Systems
...
Add vendor prefix for Topic Embedded Systems (http://topic.nl ).
Signed-off-by: Michal Simek <michal.simek@xilinx.com >
Link: https://lore.kernel.org/r/b6e42012977876c421672a84bdb7636be819d664.1629877585.git.michal.simek@xilinx.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-25 13:13:31 -05:00
Geert Uytterhoeven
2fcf9a178b
of: fdt: Rename reserve_elfcorehdr() to fdt_reserve_elfcorehdr()
...
On ia64/allmodconfig:
drivers/of/fdt.c:609:20: error: conflicting types for 'reserve_elfcorehdr'; have 'void(void)'
609 | static void __init reserve_elfcorehdr(void)
| ^~~~~~~~~~~~~~~~~~
arch/ia64/include/asm/meminit.h:43:12: note: previous declaration of 'reserve_elfcorehdr' with type 'int(u64 *, u64 *)' {aka 'int(long long unsigned int *, long long unsigned int *)'}
43 | extern int reserve_elfcorehdr(u64 *start, u64 *end);
| ^~~~~~~~~~~~~~~~~~
Fix this by prefixing the FDT function name with "fdt_".
Fixes: f7e7ce93aa ("of: fdt: Add generic support for handling elf core headers property")
Reported-by: kernel test robot <lkp@intel.com >
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be >
Link: https://lore.kernel.org/r/f6eabbbce0fba6da3da0264c1e1cf23c01173999.1629884393.git.geert+renesas@glider.be
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-25 13:13:31 -05:00
Geert Uytterhoeven
b261dba2fd
arm64: kdump: Remove custom linux,usable-memory-range handling
...
Remove the architecture-specific code for handling the
"linux,usable-memory-range" property under the "/chosen" node in DT, as
the platform-agnostic FDT core code already takes care of this.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be >
Acked-by: Catalin Marinas <catalin.marinas@arm.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/7356c531c49a24b4a55577bf8e46d93f4d8ae460.1628670468.git.geert+renesas@glider.be
2021-08-24 17:09:01 -05:00
Geert Uytterhoeven
57beb9bd18
arm64: kdump: Remove custom linux,elfcorehdr handling
...
Remove the architecture-specific code for handling the
"linux,elfcorehdr" property under the "/chosen" node in DT, as the
platform-agnostic handling in the FDT core code already takes care of
this.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be >
Acked-by: Catalin Marinas <catalin.marinas@arm.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/3b8f801f9b92066855e87f3079fafc153ab20f69.1628670468.git.geert+renesas@glider.be
2021-08-24 17:09:01 -05:00
Geert Uytterhoeven
2931ea847d
riscv: Remove non-standard linux,elfcorehdr handling
...
RISC-V uses platform-specific code to locate the elf core header in
memory. However, this does not conform to the standard
"linux,elfcorehdr" DT bindings, as it relies on a reserved memory node
with the "linux,elfcorehdr" compatible value, instead of on a
"linux,elfcorehdr" property under the "/chosen" node.
The non-compliant code can just be removed, as the standard behavior is
already implemented by platform-agnostic handling in the FDT core code.
Fixes: 5640975003 ("RISC-V: Add crash kernel support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be >
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com >
Acked-by: Palmer Dabbelt <palmerdabbelt@google.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/41c75d6ee3114ae6304f8afe0051895af91200ee.1628670468.git.geert+renesas@glider.be
2021-08-24 17:09:01 -05:00
Geert Uytterhoeven
bf2e860973
of: fdt: Use IS_ENABLED(CONFIG_BLK_DEV_INITRD) instead of #ifdef
...
Replace the conditional compilation using "#ifdef CONFIG_BLK_DEV_INITRD"
by a check for "IS_ENABLED(CONFIG_BLK_DEV_INITRD)", to increase compile
coverage and to simplify the code.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/604c13747f09d800da6a7c12f661e1ec146f1dfd.1628670468.git.geert+renesas@glider.be
2021-08-24 17:09:01 -05:00
Geert Uytterhoeven
2af2b50acf
of: fdt: Add generic support for handling usable memory range property
...
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: Geert Uytterhoeven <geert+renesas@glider.be >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/3bd69bada93ee59b7d23c38b3527fc1654e19343.1628670468.git.geert+renesas@glider.be
2021-08-24 17:09:01 -05:00
Geert Uytterhoeven
f7e7ce93aa
of: fdt: Add generic support for handling elf core headers property
...
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: Geert Uytterhoeven <geert+renesas@glider.be >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/c7e46e50aaf87ef49bdaa61358d25b122f32b7df.1628670468.git.geert+renesas@glider.be
2021-08-24 17:09:01 -05:00
Geert Uytterhoeven
3370941301
crash_dump: Make elfcorehdr address/size symbols always visible
...
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: Rob Herring <robh+dt@kernel.org >
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/ba965ca613c0cc82c1ec2fe353ee34fb13b36474.1628670468.git.geert+renesas@glider.be
2021-08-24 17:09:01 -05:00
Krzysztof Kozlowski
0b3813014c
dt-bindings: memory: convert Samsung Exynos DMC to dtschema
...
Convert Samsung Exynos5422 SoC frequency and voltage scaling for
Dynamic Memory Controller to DT schema format using json-schema.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Acked-by: Lukasz Luba <lukasz.luba@arm.com >
Link: https://lore.kernel.org/r/20210820150353.161161-3-krzysztof.kozlowski@canonical.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-24 17:09:01 -05:00
Krzysztof Kozlowski
c507f15231
dt-bindings: devfreq: event: convert Samsung Exynos PPMU to dtschema
...
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: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Link: https://lore.kernel.org/r/20210820150353.161161-2-krzysztof.kozlowski@canonical.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-24 17:09:00 -05:00
Krzysztof Kozlowski
8c85bdafdd
dt-bindings: devfreq: event: convert Samsung Exynos NoCP to dtschema
...
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: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Link: https://lore.kernel.org/r/20210820150353.161161-1-krzysztof.kozlowski@canonical.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-24 13:31:25 -05:00
Rob Herring
1ee7943c33
kbuild: Enable dtc 'pci_device_reg' warning by default
...
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: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20210820165011.3257112-1-robh@kernel.org/
2021-08-23 13:52:53 -05:00
Zenghui Yu
cc8c996132
dt-bindings: soc: remove obsolete zte zx header
...
The zte zx platform had been removed in commit 89d4f98ae9 ("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: Zenghui Yu <yuzenghui@huawei.com >
Link: https://lore.kernel.org/r/20210821030924.192-2-yuzenghui@huawei.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-23 13:52:10 -05:00
Zenghui Yu
d014c93515
dt-bindings: clock: remove obsolete zte zx header
...
The zx296718-clkc driver had been removed in commit bcbe6005eb ("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: Zenghui Yu <yuzenghui@huawei.com >
Link: https://lore.kernel.org/r/20210821030924.192-1-yuzenghui@huawei.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-23 13:52:10 -05:00
Marc Zyngier
6211e9cb2f
of: Don't allow __of_attached_node_sysfs() without CONFIG_SYSFS
...
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: Marc Zyngier <maz@kernel.org >
Link: https://lore.kernel.org/r/20210820144722.169226-1-maz@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-23 13:52:09 -05:00
Krzysztof Kozlowski
16109b257d
dt-bindings: memory: convert H8/300 bus controller to dtschema
...
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: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Link: https://lore.kernel.org/r/20210818202953.16862-1-krzysztof.kozlowski@canonical.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-23 13:52:09 -05:00
Rob Herring
c4fdbf5eba
dt-bindings: Output yamllint warnings to stderr
...
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: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20210820000047.1667819-1-robh@kernel.org
2021-08-20 08:05:51 -05:00
Aswath Govindraju
e62ebf6253
dt-bindings: eeprom-93xx46: Convert to json schema
...
Convert eeprom-93xx46 binding documentation from txt to yaml format
Signed-off-by: Aswath Govindraju <a-govindraju@ti.com >
Link: https://lore.kernel.org/r/20210818105626.31800-1-a-govindraju@ti.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-20 07:14:25 -05:00
Rob Herring
a083fadf54
dt-bindings: PCI: faraday,ftpci100: Fix 'contains' schema usage
...
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: 2720b99133 ("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: Rob Herring <robh@kernel.org >
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Link: https://lore.kernel.org/r/20210817174743.541353-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-18 14:08:42 -05:00
Krzysztof Kozlowski
0a7eb4fe83
dt-bindings: memory: convert TI a8xx DDR2/mDDR memory controller to dtschema
...
Convert Texas Instruments da8xx DDR2/mDDR memory controller bindings to
DT schema format using json-schema.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Link: https://lore.kernel.org/r/20210818113248.85084-1-krzysztof.kozlowski@canonical.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-18 14:08:42 -05:00
Krzysztof Kozlowski
47e397a575
dt-bindings: memory: convert Synopsys IntelliDDR memory controller to dtschema
...
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: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Link: https://lore.kernel.org/r/20210818113139.84869-1-krzysztof.kozlowski@canonical.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-18 14:08:42 -05:00
Krzysztof Kozlowski
0aa9ab9c29
MAINTAINERS: EDAC/armada_xp: include dt-bindings
...
Include dt-bindings for Marvell Armada XP SDRAM in the EDAC-ARMADA
entry.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20210817093807.59531-2-krzysztof.kozlowski@canonical.com
2021-08-18 14:08:42 -05:00
Krzysztof Kozlowski
ee05ab92dd
dt-bindings: memory: convert Marvell MVEBU SDRAM controller to dtschema
...
Convert Marvell MVEBU SDRAM controller bindings to DT schema format
using json-schema.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Link: https://lore.kernel.org/r/20210817093807.59531-1-krzysztof.kozlowski@canonical.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-18 14:08:42 -05:00
Krzysztof Kozlowski
a0aca5e3dc
dt-bindings: memory: convert Broadcom DPFE to dtschema
...
Convert Broadcom DDR PHY Front End (DPFE) bindings to DT schema format
using json-schema.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Acked-by: Markus Mayer <mmayer@broadcom.com >
Link: https://lore.kernel.org/r/20210817080617.14503-1-krzysztof.kozlowski@canonical.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-18 14:08:42 -05:00
Saravana Kannan
cf4b94c853
of: property: fw_devlink: Add support for "phy-handle" property
...
Allows tracking dependencies between Ethernet PHYs and their consumers.
Cc: Andrew Lunn <andrew@lunn.ch >
Cc: netdev@vger.kernel.org
Signed-off-by: Saravana Kannan <saravanak@google.com >
Link: https://lore.kernel.org/r/20210818021717.3268255-1-saravanak@google.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-18 14:08:42 -05:00
Saravana Kannan
18c585c7d7
of: property: fw_devlink: Add support for "leds" and "backlight"
...
Allows tracking dependencies between leds/backlights devices and their
consumers.
Signed-off-by: Saravana Kannan <saravanak@google.com >
Link: https://lore.kernel.org/r/20210814023132.2729731-2-saravanak@google.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-17 17:14:42 -05:00
Krzysztof Kozlowski
577f425859
dt-bindings: memory: convert Qualcomm Atheros DDR to dtschema
...
Convert Qualcomm Atheros AR7xxx/AR9xxx DDR controller to DT schema
format using json-schema.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Link: https://lore.kernel.org/r/20210813143537.130310-1-krzysztof.kozlowski@canonical.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-17 17:14:42 -05:00
Krzysztof Kozlowski
9634cec586
dt-bindings: rng: convert Samsung Exynos TRNG to dtschema
...
Convert Samsung Exynos SoC True Random Number Generator bindings to DT
schema format using json-schema.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Link: https://lore.kernel.org/r/20210811084306.28740-2-krzysztof.kozlowski@canonical.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-17 17:14:42 -05:00
Krzysztof Kozlowski
22227848d3
dt-bindings: irqchip: convert Samsung Exynos IRQ combiner to dtschema
...
Convert Samsung Exynos SoC Interrupt Combiner Controller bindings to DT
schema format using json-schema.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Link: https://lore.kernel.org/r/20210811084306.28740-1-krzysztof.kozlowski@canonical.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-17 17:14:41 -05:00
Krzysztof Kozlowski
3487668d28
dt-bindings: ata: drop unused Exynos SATA bindings
...
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: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Link: https://lore.kernel.org/r/20210811083859.28234-1-krzysztof.kozlowski@canonical.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-17 17:14:41 -05:00
Biju Das
b6c2052a90
dt-bindings: net: renesas,etheravb: Drop "int_" prefix and "_n" suffix from interrupt names
...
This patch updates interrupt-names with dropping "int_" prefix and
"_n" suffix.
Fixes: 1dbd981fcf ("dt-bindings: net: renesas,etheravb: Document Gigabit Ethernet IP")
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com >
Link: https://lore.kernel.org/r/20210815133926.22860-1-biju.das.jz@bp.renesas.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-17 17:14:41 -05:00
Mauro Carvalho Chehab
5dfb2d2406
dt-bindings: phy: Add bindings for HiKey 970 PCIe PHY
...
Document the bindings for HiKey 970 (hi3670) PCIe PHY
interface, supported via the pcie-kirin driver.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
Link: https://lore.kernel.org/r/461495431dd28ad2779658659f137db4bd747aa8.1628061310.git.mchehab+huawei@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-16 16:00:52 -05:00
Mauro Carvalho Chehab
cfcf126fc6
dt-bindings: PCI: kirin: Add support for Kirin970
...
Add a new compatible, plus the new bindings needed by
HiKey970 board.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
Link: https://lore.kernel.org/r/875a4571e253040d3885ee1f37467b0bade7361b.1628061310.git.mchehab+huawei@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-16 16:00:52 -05:00
Mauro Carvalho Chehab
78e29356d6
dt-bindings: PCI: kirin: Convert kirin-pcie.txt to yaml
...
Convert the file into a JSON description at the yaml format.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
Link: https://lore.kernel.org/r/081c179ef2e0ddf11566144cd5967b15268565b4.1628061310.git.mchehab+huawei@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-16 15:37:33 -05:00
Mauro Carvalho Chehab
2de207f5ff
dt-bindings: PCI: kirin: Fix compatible string
...
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: Rob Herring <robh@kernel.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
Link: https://lore.kernel.org/r/3e3e29a88f8e71eb228edf33d70cbe70db431408.1627965261.git.mchehab+huawei@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-15 09:56:03 -05:00
Geert Uytterhoeven
39c6b3a3dd
of: fdt: Remove weak early_init_dt_mark_hotplug_memory_arch()
...
Commit 41a9ada3e6 ("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 aca52c3983 ("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: Geert Uytterhoeven <geert+renesas@glider.be >
Link: https://lore.kernel.org/r/1a61f75ec50d3c2922fcdbe33337266a58a4125f.1628671960.git.geert+renesas@glider.be
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-15 09:56:03 -05:00
Geert Uytterhoeven
18250b43f7
of: fdt: Remove early_init_dt_reserve_memory_arch() override capability
...
Commit e7ae8d174e ("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: Geert Uytterhoeven <geert+renesas@glider.be >
Link: https://lore.kernel.org/r/be0140a0183ecfd0a3afa4fe6d2d77ed418102f9.1628671897.git.geert+renesas@glider.be
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-15 09:56:03 -05:00
Saravana Kannan
6b2117ad65
of: property: fw_devlink: Add support for "resets" and "pwms"
...
Allows better tracking of dependencies between devices.
Signed-off-by: Saravana Kannan <saravanak@google.com >
Link: https://lore.kernel.org/r/20210805223729.1196047-1-saravanak@google.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-14 12:24:45 -05:00
Michal Simek
3e7e69f230
dt-bindings: timer: Remove binding for energymicro,efm32-timer.txt
...
The driver has been removed by commit 523d83ef09
("clocksource/drivers/efm32: Drop unused timer code") that's why binding
doc shouldn't be also valid anymore.
Signed-off-by: Michal Simek <michal.simek@xilinx.com >
Link: https://lore.kernel.org/r/571fc4b2e6d41c61b7f4445601a79bb50aace2e7.1628245879.git.michal.simek@xilinx.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-14 12:24:45 -05:00
Ezequiel Garcia
51ca8fcba2
dt-bindings: gpu: mali-bifrost: Add RK3568 compatible
...
The Rockchip RK3568 SoC has a Bifrost Mali-G52 GPU,
add a compatible string for it.
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com >
Link: https://lore.kernel.org/r/20210805025948.10900-3-ezequiel@collabora.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-14 12:24:44 -05:00
Ohhoon Kwon
4409273b81
of: fdt: do not update local variable after use
...
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: Ohhoon Kwon <ohoono.kwon@samsung.com >
Link: https://lore.kernel.org/r/20210803101309.904-1-ohoono.kwon@samsung.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-03 14:20:00 -06:00
Baisheng Gao
d08d29c804
Documentation: fix incorrect macro referencing in mscc-phy-vsc8531.txt
...
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: Baisheng Gao <gaobaisheng@bonc.com.cn >
Link: https://lore.kernel.org/r/1627488086-200263-1-git-send-email-gaobaisheng@bonc.com.cn
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-02 15:48:06 -06:00
Geert Uytterhoeven
869ab62c2b
dt-bindings: auxdisplay: arm-charlcd: Convert to json-schema
...
Convert the ARM Versatile Character LCD Device Tree binding documentation
to json-schema.
Correct compatible value.
Document missing properties.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org >
Link: https://lore.kernel.org/r/4a63caa4136e8a31e82c7d75bb6f273498e8cccf.1627402256.git.geert@linux-m68k.org
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-02 14:53:07 -06:00
Geert Uytterhoeven
9c4073782c
dt-bindings: auxdisplay: img-ascii-lcd: Convert to json-schema
...
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: Geert 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: Rob Herring <robh@kernel.org >
2021-08-02 14:51:35 -06:00
Geert Uytterhoeven
dbe60e5d7f
dt-bindings: memory: renesas,rpc-if: Miscellaneous improvements
...
- Fix rejection of legitimate flash subnodes containing multiple
compatible values,
- Add missing list of required properties.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be >
Link: https://lore.kernel.org/r/d81b59a513c2a5204c8378b4a89cd07f97c46797.1627401508.git.geert+renesas@glider.be
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-02 14:40:44 -06:00
Biju Das
1dbd981fcf
dt-bindings: net: renesas,etheravb: Document Gigabit Ethernet IP
...
Document Gigabit Ethernet IP found on RZ/G2L SoC.
Gigabit Ethernet Interface includes Ethernet controller (E-MAC),
Internal TCP/IP Offload Engine (TOE) and Dedicated Direct memory
access controller (DMAC) for transferring transmitted Ethernet
frames to and received Ethernet frames from respective storage
areas in the URAM at high speed.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com >
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com >
Link: https://lore.kernel.org/r/20210727123450.15918-1-biju.das.jz@bp.renesas.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-08-02 14:15:27 -06:00
Sam Shih
6ef02f9c39
dt-bindings: rng: mediatek: add mt7986 to mtk rng binding
...
Add RNG binding for MT7986 SoC.
Signed-off-by: Sam Shih <sam.shih@mediatek.com >
Link: https://lore.kernel.org/r/20210726071439.14248-9-sam.shih@mediatek.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-07-29 16:53:28 -06:00