Skip to content
Permalink
Robert-Foss/Qc…
Switch branches/tags

Commits on Jun 16, 2021

  1. arm64: dts: qcom: sm8350: Add dispcc DT node

    This commit adds the dispcc DTS node for sm8350.
    
    Signed-off-by: Robert Foss <robert.foss@linaro.org>
    robertfoss authored and intel-lab-lkp committed Jun 16, 2021
  2. arm64: dts: qcom: sm8350: Add videocc DT node

    This commit adds the videocc DTS node for sm8350.
    
    Signed-off-by: Robert Foss <robert.foss@linaro.org>
    robertfoss authored and intel-lab-lkp committed Jun 16, 2021
  3. arm64: dts: qcom: sm8350: Power up dispcc & videocc on sm8350 by MMCX…

    … regulator
    
    Add regulator controlling MMCX power domain to be used by display clock
    controller and video clock controller on SM8350.
    
    Signed-off-by: Robert Foss <robert.foss@linaro.org>
    robertfoss authored and intel-lab-lkp committed Jun 16, 2021
  4. clk: qcom: Add video clock controller driver for SM8350

    Add support for the video clock controller found on SM8350 based devices.
    
    Derived from the downstream driver.
    
    Signed-off-by: Robert Foss <robert.foss@linaro.org>
    robertfoss authored and intel-lab-lkp committed Jun 16, 2021
  5. dt-bindings: clock: Add SM8350 QCOM video clock bindings

    Add device tree bindings for video clock controller for SM8350 SoCs.
    
    Signed-off-by: Robert Foss <robert.foss@linaro.org>
    robertfoss authored and intel-lab-lkp committed Jun 16, 2021
  6. clk: qcom: Add display clock controller driver for SM8350

    Add support for the display clock controller found on SM8350.
    
    Signed-off-by: Robert Foss <robert.foss@linaro.org>
    robertfoss authored and intel-lab-lkp committed Jun 16, 2021
  7. dt-bindings: clock: Add QCOM SM8350 display clock bindings

    Add device tree bindings for display clock controller for
    Qualcomm Technology Inc's SM8350 SoC.
    
    Signed-off-by: Robert Foss <robert.foss@linaro.org>
    robertfoss authored and intel-lab-lkp committed Jun 16, 2021
  8. clk: qcom: clk-alpha-pll: Add configuration support for LUCID 5LPE

    Ported from the downstream driver. Used on SM8350 for
    DISPCC & VIDEOCC.
    
    Signed-off-by: Robert Foss <robert.foss@linaro.org>
    robertfoss authored and intel-lab-lkp committed Jun 16, 2021
  9. clk: qcom: clk-alpha-pll: Fix typo in comment

    Substiture lucid for trion in comment, in order to conform to the
    function name.
    
    Signed-off-by: Robert Foss <robert.foss@linaro.org>
    robertfoss authored and intel-lab-lkp committed Jun 16, 2021
  10. clk: qcom: rcg2: Add support for flags

    These changes are ported from the downstream driver, and are used on SM8350
    for CAMCC, DISPCC, GCC, GPUCC & VIDEOCC.
    
    Signed-off-by: Robert Foss <robert.foss@linaro.org>
    robertfoss authored and intel-lab-lkp committed Jun 16, 2021
  11. clk: qcom: common: Add runtime init/suspend/resume

    Ported over from the downstream driver. Is used by SM8350 DISPCC & VIDEOCC.
    
    This patch includes support for initializing interconnect bandwidth voting.
    
    Signed-off-by: Robert Foss <robert.foss@linaro.org>
    robertfoss authored and intel-lab-lkp committed Jun 16, 2021

Commits on Jun 10, 2021

  1. dt-bindings: aspeed-i2c: Convert txt to yaml format

    Convert aspeed i2c to yaml.
    
    Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
    Link: https://lore.kernel.org/r/20210603024839.27976-2-jamin_lin@aspeedtech.com
    Signed-off-by: Rob Herring <robh@kernel.org>
    jamin-aspeed authored and robherring committed Jun 10, 2021

Commits on Jun 9, 2021

  1. dt-bindings: watchdog: Convert arm,sbsa-gwdt to DT schema

    Convert the arm,sbsa-gwdt binding to DT schema format.
    
    Cc: Wim Van Sebroeck <wim@linux-watchdog.org>
    Cc: Guenter Roeck <linux@roeck-us.net>
    Cc: Fu Wei <fu.wei@linaro.org>
    Cc: linux-watchdog@vger.kernel.org
    Signed-off-by: Rob Herring <robh@kernel.org>
    Acked-by: Guenter Roeck <linux@roeck-us.net>
    Link: https://lore.kernel.org/r/20210607194022.3095736-1-robh@kernel.org
    robherring committed Jun 9, 2021
  2. dt-bindings: mtd: Convert mtd-physmap to DT schema

    Convert the mtd-physmap binding to DT schema format. The arm-versatile,
    cypress,hyperflash and intel,ixp4xx-flash are all just an additional
    compatible string, so they are all merged into the main schema.
    
    There doesn't appear to be any users nor support for 'vendor-id' and
    'device-id', so these have been dropped.
    
    Cc: Linus Walleij <linus.walleij@linaro.org>
    Cc: Miquel Raynal <miquel.raynal@bootlin.com>
    Cc: Richard Weinberger <richard@nod.at>
    Cc: Vignesh Raghavendra <vigneshr@ti.com>
    Cc: linux-mtd@lists.infradead.org
    Signed-off-by: Rob Herring <robh@kernel.org>
    Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
    Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
    Link: https://lore.kernel.org/r/20210607193500.3085920-1-robh@kernel.org
    robherring committed Jun 9, 2021
  3. dt-bindings: virtio: Convert virtio-mmio to DT schema

    Convert the virtio-mmio binding to DT schema format.
    
    Cc: "Michael S. Tsirkin" <mst@redhat.com>
    Cc: Jason Wang <jasowang@redhat.com>
    Cc: Jean-Philippe Brucker <jean-philippe@linaro.org>
    Cc: virtualization@lists.linux-foundation.org
    Acked-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210607193928.3092186-1-robh@kernel.org/
    robherring committed Jun 9, 2021
  4. dt-bindings: rtc: Add Arm PL031 schema

    The PL031 RTC binding has been in use for a long time, but never got
    documented. Fortunately, it's simple and existing users are consistent.
    
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Cc: linux-rtc@vger.kernel.org
    Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210607193718.3090202-1-robh@kernel.org/
    robherring committed Jun 9, 2021

Commits on Jun 4, 2021

  1. of: unittest: Use DEFINE_RES_MEM() to simplify code

    No functional change.
    
    Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
    Link: https://lore.kernel.org/r/20210601062223.9724-1-thunder.leizhen@huawei.com
    Signed-off-by: Rob Herring <robh@kernel.org>
    Zhen Lei authored and robherring committed Jun 4, 2021
  2. dt-bindings: usb: cdns,usb3: Fix interrupts order

    Correct the order of the descriptions for the "interrupts" property to
    match the order of the "interrupt-names" property.
    
    Fixes: 68989fe ("dt-bindings: usb: Convert cdns-usb3.txt to YAML schema")
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    Acked-by: Peter Chen <peter.chen@kernel.org>
    Acked-by: Peter Chen <peter.chen@nxp.com>
    Link: https://lore.kernel.org/r/20210527193952.1705127-1-geert@linux-m68k.org
    Signed-off-by: Rob Herring <robh@kernel.org>
    geertu authored and robherring committed Jun 4, 2021
  3. dt-bindings: hisilicon: use the correct HiSilicon copyright

    s/Hisilicon/HiSilicon/.
    It should use capital S, according to the official website
    https://www.hisilicon.com/en.
    
    Signed-off-by: Hao Fang <fanghao11@huawei.com>
    Link: https://lore.kernel.org/r/1621678997-15240-1-git-send-email-fanghao11@huawei.com
    Signed-off-by: Rob Herring <robh@kernel.org>
    haofang11 authored and robherring committed Jun 4, 2021
  4. dt-bindings: mailbox : arm,mhuv2: Use example with matching schema

    Currently the example provided in arm,mhuv2 schema complains as below:
    
        Documentation/devicetree/bindings/mailbox/arm,mhuv2.example.dt.yaml :0:0:
        /example-0/soc/scb@2e000000: failed to match any schema with compatible:
        ['fujitsu,mb86s70-scb-1.0']
    
    Fix it by using an example with a matching schema that makes use of 4
    mailboxes that is well suited to demonstrate Rx and Tx channels with both
    doorbell and data transfer protocols.
    
    Cc: Rob Herring <robh+dt@kernel.org>
    Cc: Viresh Kumar <viresh.kumar@linaro.org>
    Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
    Link: https://lore.kernel.org/r/20210604205710.1944363-7-sudeep.holla@arm.com
    Signed-off-by: Rob Herring <robh@kernel.org>
    sudeep-holla authored and robherring committed Jun 4, 2021
  5. dt-bindings: mailbox : arm,mhu: Use examples with matching schema

    Currently the example provided in arm,mhu schema complains as below:
    
        Documentation/devicetree/bindings/mailbox/arm,mhu.example.dt.yaml :0:0:
        /example-0/soc/scb@2e000000: failed to match any schema with compatible:
        ['fujitsu,mb86s70-scb-1.0']
    
    Fix the same using examples based on Juno platform. The old SCPI firmware
    used MHU with standard 32-bit data transfer protocol while the new SCMI
    firmware uses MHU and expects to be used in doorbell mode. Update example
    with SCPI and SCMI firmware nodes to demonstrate both 32-bit data transfer
    and doorbell mode of MHU operations
    
    Cc: Rob Herring <robh+dt@kernel.org>
    Cc: Viresh Kumar <viresh.kumar@linaro.org>
    Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
    Link: https://lore.kernel.org/r/20210604205710.1944363-6-sudeep.holla@arm.com
    Signed-off-by: Rob Herring <robh@kernel.org>
    sudeep-holla authored and robherring committed Jun 4, 2021
  6. dt-bindings: firmware: arm,scmi: Convert to json schema

    Convert the old text format binding for System Control and Management Interface
    (SCMI) Message Protocol into the new and shiny YAML format.
    
    Cc: Cristian Marussi <cristian.marussi@arm.com>
    Cc: Florian Fainelli <f.fainelli@gmail.com>
    Cc: Jim Quinlan <jim2101024@gmail.com>
    Cc: Etienne Carriere <etienne.carriere@linaro.org>
    Cc: Peter Hilber <peter.hilber@opensynergy.com>
    Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
    Link: https://lore.kernel.org/r/20210604205710.1944363-5-sudeep.holla@arm.com
    [robh: Rework interrupts schema and if/then]
    Signed-off-by: Rob Herring <robh@kernel.org>
    sudeep-holla authored and robherring committed Jun 4, 2021
  7. dt-bindings: firmware: amlogic,scpi: Convert to json schema

    Convert/merge the existing text format SCPI binding additions for
    amlogic,scpi into the common arm,scpi json scheme.
    
    Couple of things to note:
    "amlogic,meson-gxbb-scpi" is always used with "arm,scpi-pre-1.0" and
    "amlogic,meson-gxbb-scpi-sensors" is used always with "arm,scpi-sensors"
    
    Cc: Rob Herring <robh+dt@kernel.org>
    Cc: Kevin Hilman <khilman@baylibre.com>
    Cc: Neil Armstrong <narmstrong@baylibre.com>
    Cc: Jerome Brunet <jbrunet@baylibre.com>
    Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
    Link: https://lore.kernel.org/r/20210604205710.1944363-4-sudeep.holla@arm.com
    Signed-off-by: Rob Herring <robh@kernel.org>
    sudeep-holla authored and robherring committed Jun 4, 2021
  8. dt-bindings: firmware: arm,scpi: Convert to json schema

    Convert the old text format binding for System Control and Power Interface
    (SCPI) Message Protocol into the new and shiny YAML format.
    
    Cc: Rob Herring <robh+dt@kernel.org>
    Cc: Kevin Hilman <khilman@baylibre.com>
    Cc: Neil Armstrong <narmstrong@baylibre.com>
    Cc: Jerome Brunet <jbrunet@baylibre.com>
    Cc: Viresh Kumar <viresh.kumar@linaro.org>
    Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
    Link: https://lore.kernel.org/r/20210604205710.1944363-3-sudeep.holla@arm.com
    [robh: Move fixed strings to 'properties', drop some literal block notations]
    Signed-off-by: Rob Herring <robh@kernel.org>
    sudeep-holla authored and robherring committed Jun 4, 2021
  9. dt-bindings: mailbox : arm,mhu: Fix arm,scpi example used here

    Once the arm,scpi binding is converted to YAML format, the following
    errors will be seen when doing `make DT_CHECKER_FLAGS=-m dt_binding_check`
    
    From schema: Documentation/devicetree/bindings/firmware/arm,scpi.yaml
    Documentation/devicetree/bindings/mailbox/arm,mhu.example.dt.yaml:
    	scpi@2f000000: $nodename:0: 'scpi' was expected
    Documentation/devicetree/bindings/mailbox/arm,mhu.example.dt.yaml:
    	scpi@2f000000: reg: [[0, 788529152, 0, 512]] is not of type 'object'
    Documentation/devicetree/bindings/mailbox/arm,mhu.example.dt.yaml:
    	scpi@2f000000: 'shmem' is a required property
    
    Fix those error following the SCPI bindings.
    
    Cc: Rob Herring <robh+dt@kernel.org>
    Cc: Viresh Kumar <viresh.kumar@linaro.org>
    Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
    Link: https://lore.kernel.org/r/20210604205710.1944363-2-sudeep.holla@arm.com
    Signed-off-by: Rob Herring <robh@kernel.org>
    sudeep-holla authored and robherring committed Jun 4, 2021

Commits on Jun 3, 2021

  1. of: Merge of_address_to_resource() and of_pci_address_to_resource() i…

    …mplementations
    
    of_address_to_resource() and of_pci_address_to_resource() are almost the
    same except the former takes an index and the latter takes a BAR number.
    Now that __of_get_address() can take either one, refactor the functions
    to use a common implementation.
    
    Cc: Frank Rowand <frowand.list@gmail.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210527194547.1287934-5-robh@kernel.org
    robherring committed Jun 3, 2021
  2. of: address: Use IS_ENABLED() for !CONFIG_PCI

    Convert address.c to use IS_ENABLED() instead of ifdefs for the
    public PCI functions. This simplifies the ifdefs in of_address.h.
    
    Cc: Frank Rowand <frowand.list@gmail.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210527194547.1287934-4-robh@kernel.org
    robherring committed Jun 3, 2021
  3. of: Merge of_get_address() and of_get_pci_address() implementations

    of_get_address() and of_get_pci_address() are the same implementation
    except of_get_pci_address() takes the PCI BAR number rather than an
    index. Modify the of_get_address() implementation to work on either
    index or BAR and provide wrapper functions for the existing functions.
    
    Cc: Frank Rowand <frowand.list@gmail.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210527194547.1287934-3-robh@kernel.org
    robherring committed Jun 3, 2021
  4. PCI: Add empty stub for pci_register_io_range()

    Add an empty stub for pci_register_io_range() when !CONFIG_PCI. It's needed
    to convert of_pci_range_to_resource() to use IS_ENABLED(CONFIG_PCI).
    
    Cc: Bjorn Helgaas <bhelgaas@google.com>
    Cc: linux-pci@vger.kernel.org
    Signed-off-by: Rob Herring <robh@kernel.org>
    Acked-by: Bjorn Helgaas <bhelgaas@google.com>
    Link: https://lore.kernel.org/r/20210527194547.1287934-2-robh@kernel.org
    robherring committed Jun 3, 2021
  5. of: Move reserved memory private function declarations

    fdt_init_reserved_mem() and fdt_reserved_mem_save_node() are private to
    the DT code, so move there declarations to of_private.h. There's no need
    for the dummy functions as CONFIG_OF_RESERVED_MEM is always enabled for
    CONFIG_OF_EARLY_FLATTREE.
    
    Cc: Frank Rowand <frowand.list@gmail.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210527193841.1284169-1-robh@kernel.org
    robherring committed Jun 3, 2021
  6. of: Drop reserved mem dependency on DMA_DECLARE_COHERENT and DMA_CMA

    Reserved memory regions can be used for more than just DMA regions, so
    only enabling on DMA_DECLARE_COHERENT (via HAS_DMA) or DMA_CMA is wrong.
    This effectively doesn't matter except for the few cases arches select
    NO_DMA.
    
    At least, these users of RESERVEDMEM_OF_DECLARE depend on reserved memory
    support:
    
    arch/riscv/mm/init.c:RESERVEDMEM_OF_DECLARE(elfcorehdr, "linux,elfcorehdr", elfcore_hdr_setup);
    drivers/memory/tegra/tegra210-emc-table.c:RESERVEDMEM_OF_DECLARE(tegra210_emc_table, "nvidia,tegra210-emc-table",
    drivers/soc/fsl/qbman/bman_ccsr.c:RESERVEDMEM_OF_DECLARE(bman_fbpr, "fsl,bman-fbpr", bman_fbpr);
    drivers/soc/fsl/qbman/qman_ccsr.c:RESERVEDMEM_OF_DECLARE(qman_fqd, "fsl,qman-fqd", qman_fqd);
    drivers/soc/fsl/qbman/qman_ccsr.c:RESERVEDMEM_OF_DECLARE(qman_pfdr, "fsl,qman-pfdr", qman_pfdr);
    
    Let's simplify things and enable OF_RESERVED_MEM when OF_EARLY_FLATTREE is
    enabled.
    
    Cc: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210527223217.1572631-1-robh@kernel.org
    robherring committed Jun 3, 2021
  7. dt-bindings: reset: update ti,sci-reset.yaml references

    Changeset 9a81b8c ("dt-bindings: reset: Convert ti,sci-reset to json schema")
    renamed: Documentation/devicetree/bindings/reset/ti,sci-reset.txt
    to: Documentation/devicetree/bindings/reset/ti,sci-reset.yaml.
    
    Update the cross-references accordingly.
    
    Fixes: 9a81b8c ("dt-bindings: reset: Convert ti,sci-reset to json schema")
    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
    Link: https://lore.kernel.org/r/e9b505d900d898c0d030deb168ab291206c203ee.1622648507.git.mchehab+huawei@kernel.org
    Signed-off-by: Rob Herring <robh@kernel.org>
    mchehab authored and robherring committed Jun 3, 2021
  8. dt-bindings: clock: update ti,sci-clk.yaml references

    Changeset a7dbfa6 ("dt-bindings: clock: Convert ti,sci-clk to json schema")
    renamed: Documentation/devicetree/bindings/clock/ti,sci-clk.txt
    to: Documentation/devicetree/bindings/clock/ti,sci-clk.yaml.
    
    Update the cross-references accordingly.
    
    Fixes: a7dbfa6 ("dt-bindings: clock: Convert ti,sci-clk to json schema")
    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
    Link: https://lore.kernel.org/r/0fae687366c09dfb510425b3c88316a727b27d6d.1622648507.git.mchehab+huawei@kernel.org
    Signed-off-by: Rob Herring <robh@kernel.org>
    mchehab authored and robherring committed Jun 3, 2021
  9. dt-bindings: soc: ti: update sci-pm-domain.yaml references

    Changeset fda55c7 ("dt-bindings: soc: ti: Convert ti,sci-pm-domain to json schema")
    renamed: Documentation/devicetree/bindings/soc/ti/sci-pm-domain.txt
    to: Documentation/devicetree/bindings/soc/ti/sci-pm-domain.yaml.
    
    Update the cross-references accordingly.
    
    Fixes: fda55c7 ("dt-bindings: soc: ti: Convert ti,sci-pm-domain to json schema")
    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
    Link: https://lore.kernel.org/r/c03020ff281054c3bd2527c510659e05fec6f181.1622648507.git.mchehab+huawei@kernel.org
    Signed-off-by: Rob Herring <robh@kernel.org>
    mchehab authored and robherring committed Jun 3, 2021
  10. dt-bindings: power: supply: cpcap-charger: update cpcap-charger.yaml …

    …reference
    
    Changeset ce49e42 ("dt-bindings: power: supply: cpcap-charger: Convert to DT schema format")
    renamed: Documentation/devicetree/bindings/power/supply/cpcap-charger.txt
    to: Documentation/devicetree/bindings/power/supply/cpcap-charger.yaml.
    
    Update its cross-reference accordingly.
    
    Fixes: ce49e42 ("dt-bindings: power: supply: cpcap-charger: Convert to DT schema format")
    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
    Link: https://lore.kernel.org/r/e9ce216362b7b9dcf84d707a3854247123440bf7.1622648507.git.mchehab+huawei@kernel.org
    Signed-off-by: Rob Herring <robh@kernel.org>
    mchehab authored and robherring committed Jun 3, 2021
Older