Skip to content
Permalink
Geert-Uytterho…
Switch branches/tags

Commits on Aug 11, 2021

  1. ARM: uncompress: Parse "linux,usable-memory-range" DT property

    Add support for parsing the "linux,usable-memory-range" DT property.
    This property is used to describe the usable memory reserved for the
    crash dump kernel, and thus makes the memory reservation explicit.
    If present, Linux no longer needs to mask the program counter, and rely
    on the "mem=" kernel parameter to obtain the start and size of usable
    memory.
    
    For backwards compatibility, the traditional method to derive the start
    of memory is still used if "linux,usable-memory-range" is absent.
    
    Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
    geertu authored and intel-lab-lkp committed Aug 11, 2021
  2. 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>
    geertu authored and intel-lab-lkp committed Aug 11, 2021
  3. 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>
    geertu authored and intel-lab-lkp committed Aug 11, 2021
  4. 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: 5640975 ("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>
    geertu authored and intel-lab-lkp committed Aug 11, 2021
  5. 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>
    geertu authored and intel-lab-lkp committed Aug 11, 2021
  6. 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>
    geertu authored and intel-lab-lkp committed Aug 11, 2021
  7. 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>
    geertu authored and intel-lab-lkp committed Aug 11, 2021
  8. 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>
    geertu authored and intel-lab-lkp committed Aug 11, 2021
  9. MIPS: Avoid future duplicate elf core header reservation

    Prepare for early_init_fdt_scan_reserved_mem() reserving the memory
    occupied by an elf core header described in the device tree.
    As arch_mem_init() calls early_init_fdt_scan_reserved_mem() before
    mips_reserve_vmcore(), the latter needs to check if the memory has
    already been reserved before.
    
    Note that mips_reserve_vmcore() cannot just be removed, as not all MIPS
    systems use DT.
    
    Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
    geertu authored and intel-lab-lkp committed Aug 11, 2021

Commits on Aug 4, 2021

  1. 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>
    mchehab authored and robherring committed Aug 4, 2021
  2. 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>
    mchehab authored and robherring committed Aug 4, 2021
  3. 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>
    mchehab authored and robherring committed Aug 4, 2021

Commits on Aug 3, 2021

  1. 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>
    mchehab authored and robherring committed Aug 3, 2021
  2. 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>
    Ohhoon Kwon authored and robherring committed Aug 3, 2021

Commits on Aug 2, 2021

  1. 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>
    Baisheng Gao authored and robherring committed Aug 2, 2021
  2. 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>
    geertu authored and robherring committed Aug 2, 2021
  3. 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>
    geertu authored and robherring committed Aug 2, 2021
  4. 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>
    geertu authored and robherring committed Aug 2, 2021
  5. 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>
    Biju Das authored and robherring committed Aug 2, 2021

Commits on Jul 29, 2021

  1. 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>
    SamShih33 authored and robherring committed Jul 29, 2021
  2. dt-bindings: arm: Convert Gemini boards to YAML

    This removes the old plaintext Gemini binding and replace it
    with a YAML schema, adding some new boards in the process.
    While we are at it, add the missing vendors to the vendor
    prefix file.
    
    Drop the overly deliberate description of subnodes and the big
    example from the old document. Keep the elaborate description.
    
    I noticed that "wiliboard" is not a real vendor, the vendor
    is named "wiligear" so deprecated this and replaced with the
    proper vendor.
    
    Cc: Corentin Labbe <clabbe@baylibre.com>
    Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
    Link: https://lore.kernel.org/r/20210723152356.1874088-1-linus.walleij@linaro.org
    Signed-off-by: Rob Herring <robh@kernel.org>
    linusw authored and robherring committed Jul 29, 2021
  3. dt-bindings: mtd: update mtd-physmap.yaml reference

    Changeset 63f8e9e ("dt-bindings: mtd: Convert mtd-physmap to DT schema")
    renamed: Documentation/devicetree/bindings/mtd/mtd-physmap.txt
    to: Documentation/devicetree/bindings/mtd/mtd-physmap.yaml.
    
    Update its cross-reference accordingly.
    
    Fixes: 63f8e9e ("dt-bindings: mtd: Convert mtd-physmap to DT schema")
    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
    Link: https://lore.kernel.org/r/ab2ff9ee66110c37691b467ec8b4679e9d426416.1626947923.git.mchehab+huawei@kernel.org
    Signed-off-by: Rob Herring <robh@kernel.org>
    mchehab authored and robherring committed Jul 29, 2021
  4. dt-bindings: nvmem: Convert UniPhier eFuse bindings to json-schema

    Convert the UniPhier eFuse binding to DT schema format.
    
    Cc: Keiji Hayashibara <hayashibara.keiji@socionext.com>
    Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
    Link: https://lore.kernel.org/r/1626661864-15473-3-git-send-email-hayashi.kunihiko@socionext.com
    Signed-off-by: Rob Herring <robh@kernel.org>
    khayash1 authored and robherring committed Jul 29, 2021
  5. dt-bindings: nvmem: Extend patternProperties to optionally indicate b…

    …it position
    
    Allow to extend expression of sub nodes to optionally indicate bit
    position. This extension is needed to distinguish between different bit
    positions in the same address.
    
    For example, there are two nvmem nodes starting with bit 4 and bit 0
    at the same address 0x54. In this case, it can be expressed as follows.
    
        trim@54,4 {
            reg = <0x54 1>;
            bits = <4 2>;
        };
        trim@54,0 {
            reg = <0x54 1>;
            bits = <0 4>;
        };
    
    Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
    Link: https://lore.kernel.org/r/1626661864-15473-2-git-send-email-hayashi.kunihiko@socionext.com
    Signed-off-by: Rob Herring <robh@kernel.org>
    khayash1 authored and robherring committed Jul 29, 2021
  6. dt-bindings: fpga: convert Xilinx Zynq MPSoC bindings to YAML

    Convert FPGA Manager for Xilinx Zynq MPSoC bindings documentation to
    YAML.
    
    Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
    Link: https://lore.kernel.org/r/20210716212621.286806-1-iwamatsu@nigauri.org
    Signed-off-by: Rob Herring <robh@kernel.org>
    iwamatsu authored and robherring committed Jul 29, 2021
  7. dt-bindings: power: reset: convert Xilinx Zynq MPSoC bindings to YAML

    Convert power managemnet for Xilinx Zynq MPSoC bindings documentation to
    YAML.
    
    Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
    Link: https://lore.kernel.org/r/20210715095627.228176-1-iwamatsu@nigauri.org
    Signed-off-by: Rob Herring <robh@kernel.org>
    iwamatsu authored and robherring committed Jul 29, 2021

Commits on Jul 27, 2021

  1. dt-bindings: arm: mediatek: mmsys: add MT8365 SoC binding

    Add the MMSYS binding documentation for the MT8365 SoC.
    
    Signed-off-by: Fabien Parent <fparent@baylibre.com>
    Reviewed-by: Rob Herring <robh@kernel.org>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210519161847.3747352-2-fparent@baylibre.com
    Fabo authored and robherring committed Jul 27, 2021
  2. dt-bindings: arm: mediatek: mmsys: convert to YAML format

    Convert the mmsys bindings to the YAML format.
    
    Signed-off-by: Fabien Parent <fparent@baylibre.com>
    Reviewed-by: Rob Herring <robh@kernel.org>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210519161847.3747352-1-fparent@baylibre.com
    Fabo authored and robherring committed Jul 27, 2021
  3. dt-bindings: Remove "status" from schema examples

    There's no reason to have "status" properties in examples. "okay" is the
    default, and "disabled" turns off some schema checks ('required'
    specifically).
    
    Enabling qca,ar71xx causes a warning, so let's fix the node names:
    
    Documentation/devicetree/bindings/net/qca,ar71xx.example.dt.yaml: phy@3: '#phy-cells' is a required property
            From schema: schemas/phy/phy-provider.yaml
    
    Cc: Maxime Ripard <mripard@kernel.org>
    Cc: Chen-Yu Tsai <wens@csie.org>
    Cc: Thierry Reding <thierry.reding@gmail.com>
    Cc: Sam Ravnborg <sam@ravnborg.org>
    Cc: "David S. Miller" <davem@davemloft.net>
    Cc: Jakub Kicinski <kuba@kernel.org>
    Cc: Robert Marko <robert.marko@sartura.hr>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Cc: Ramesh Shanmugasundaram <rashanmu@gmail.com>
    Cc: "G. Jaya Kumaran" <vineetha.g.jaya.kumaran@intel.com>
    Cc: ChiYuan Huang <cy_huang@richtek.com>
    Cc: Wei Xu <xuwei5@hisilicon.com>
    Cc: Dilip Kota <eswara.kota@linux.intel.com>
    Cc: Karol Gugala <kgugala@antmicro.com>
    Cc: Mateusz Holenko <mholenko@antmicro.com>
    Cc: Olivier Moysan <olivier.moysan@st.com>
    Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
    Cc: dri-devel@lists.freedesktop.org
    Cc: linux-media@vger.kernel.org
    Cc: netdev@vger.kernel.org
    Cc: linux-rtc@vger.kernel.org
    Cc: alsa-devel@alsa-project.org
    Signed-off-by: Rob Herring <robh@kernel.org>
    Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com>
    Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
    Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> # For media
    Acked-by: Mark Brown <broonie@kernel.org>
    Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
    Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de>
    Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
    Link: https://lore.kernel.org/r/20210720172025.363238-1-robh@kernel.org
    robherring committed Jul 27, 2021
  4. dt-bindings: display: Fix graph 'unevaluatedProperties' related warnings

    The graph schema doesn't allow custom properties on endpoint nodes for
    '#/properties/port' and '#/$defs/port-base' should be used instead. This
    doesn't matter until 'unevaluatedProperties' support is implemented.
    
    Cc: David Airlie <airlied@linux.ie>
    Cc: Daniel Vetter <daniel@ffwll.ch>
    Cc: Rob Clark <robdclark@gmail.com>
    Cc: Sean Paul <sean@poorly.run>
    Cc: Marek Vasut <marex@denx.de>
    Cc: Krishna Manikandan <mkrishn@codeaurora.org>
    Cc: dri-devel@lists.freedesktop.org
    Signed-off-by: Rob Herring <robh@kernel.org>
    Acked-by: Sam Ravnborg <sam@ravnborg.org>
    Link: https://lore.kernel.org/r/20210719195001.2412345-1-robh@kernel.org
    robherring committed Jul 27, 2021
  5. dt-bindings: media: Fix graph 'unevaluatedProperties' related warnings

    The graph schema doesn't allow custom properties on endpoint nodes for
    '#/properties/port' and '#/$defs/port-base' should be used instead. This
    doesn't matter until 'unevaluatedProperties' support is implemented.
    
    Cc: Eugen Hristev <eugen.hristev@microchip.com>
    Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
    Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
    Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
    Cc: Ludovic Desroches <ludovic.desroches@microchip.com>
    Cc: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
    Cc: Ramesh Shanmugasundaram <rashanmu@gmail.com>
    Cc: linux-media@vger.kernel.org
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210719194850.2410511-1-robh@kernel.org
    robherring committed Jul 27, 2021

Commits on Jul 23, 2021

  1. dt-bindings: pci: Add DT binding for Toshiba Visconti PCIe controller

    This commit adds the Device Tree binding documentation that allows
    to describe the PCIe controller found in Toshiba Visconti SoCs.
    
    Signed-off-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
    Link: https://lore.kernel.org/r/20210723221421.113575-2-nobuhiro1.iwamatsu@toshiba.co.jp
    [robh: reference snps,dw-pcie.yaml]
    Signed-off-by: Rob Herring <robh@kernel.org>
    iwamatsu authored and robherring committed Jul 23, 2021
  2. dt-bindings: PCI: intel,lgm-pcie: Add reference to common schemas

    Add a reference to snps,dw-pcie.yaml (and indirectly pci-bus.yaml) schemas.
    With this, the common bus properties can be dropped from the schema.
    
    Cc: Bjorn Helgaas <bhelgaas@google.com>
    Cc: linux-pci@vger.kernel.org
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210719220351.2662758-1-robh@kernel.org
    robherring committed Jul 23, 2021

Commits on Jul 19, 2021

  1. dt-bindings: PCI: remove designware-pcie.txt

    Now that the properties defined there were converted to DT schema,
    and the other dt-bindings are pointing to the new schemas,
    drop it.
    
    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
    Link: https://lore.kernel.org/r/c93261b41f9ffe8d97d8c930f57b41aaf7de5264.1626608375.git.mchehab+huawei@kernel.org
    Signed-off-by: Rob Herring <robh@kernel.org>
    mchehab authored and robherring committed Jul 19, 2021
  2. dt-bindings: PCI: update references to Designware schema

    Now that its contents were converted to a DT schema, replace
    the references for the old file on existing properties.
    
    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
    Link: https://lore.kernel.org/r/dfff4d94631546c53450d1baeddc694dd26b5c36.1626608375.git.mchehab+huawei@kernel.org
    Signed-off-by: Rob Herring <robh@kernel.org>
    mchehab authored and robherring committed Jul 19, 2021
Older