1. 10 Sep, 2024 1 commit
  2. 05 Sep, 2024 3 commits
  3. 04 Sep, 2024 1 commit
  4. 03 Sep, 2024 4 commits
    • Mark Brown's avatar
      Add device tree for ArmSoM Sige 5 board · 8426899f
      Mark Brown authored
      Merge series from Detlev Casanova <detlev.casanova@collabora.com>:
      
      Add the rk3576-armsom-sige5 device tree as well as its rk3576.dtsi base
      and pinctrl information in rk3576-pinctrl.dtsi.
      
      The other commits add DT bindings documentation for the devices that
      already work with the current corresponding drivers.
      
      Note that as is, the rockchip gpio driver needs the gpio nodes
      to be children of the pinctrl node, even though this is deprecated.
      
      When the driver supports it, they can be moved out of the pinctrl node.
      
      The power-domain@RK3576_PD_USB is a child of power-domain@RK3576_PD_VOP.
      That looks strange but it is how the hardware is, and confirmed by
      Rockchip: The NOC bus of USB passes through the PD of VOP, so it relies on
      VOP PD.
      
      The other bindings have been applied on next.
      
      Changes since v3:
      - Dropped mmc dt-bindings (submitted in [2])
      - Dropped syscon dt-bindings (applied in [3])
      - Fix gpu interrupt names mapping
      - (Fix email headers overwriting)
      
      Changes since v2:
      - Fix LEDs in armsom dts
      - mmc: Move allOf after the required block
      - Remove saradc dt-binding commit (already applied)
      - Remove opp-microvolt-L* fields
      - Reword mali commit message
      - Use rgmii-id and remove delays on gmac nodes
      
      Changes since v1:
      - Add eMMC support
      - Add gpu node
      - Add rtc node
      - Add spi compatible dt-bindings
      - Add watchdog support
      - Dropped timer compatible commit (applied in [0])
      - Move ethernet aliases to board dt
      - Move mmio nodes to soc node
      - Removed cru grf phandle
      - Removed gpio aliases
      - Removed grf compatibles (applied in [1])
      - Removed pinctrl php-grf phandle
      - Removed v2-tuning for sdcard
      - Renamed clock nodes
      - Renamed regulators do match regulator-vcc-<voltage>-<name>
      - Renamed the rkvdec_sram node to vdec_sram to match prior generations
      - Reorder fields consistently in nodes
      - Use correct #power-domain-cells values
      
      [0]: https://lore.kernel.org/all/918bb9e4-02d9-4dca-bed2-28bb123bdc10@linaro.org/
      [1]: https://lore.kernel.org/all/172441646605.877570.8075942261050000.b4-ty@sntech.de/
      [2]: https://lore.kernel.org/all/20240903145615.9302-1-detlev.casanova@collabora.com/
      [3]: https://lore.kernel.org/all/172500660860.97285.13837050366813522297.b4-ty@kernel.org/
      
      Detlev.
      
      Detlev Casanova (9):
        dt-bindings: arm: rockchip: Add ArmSoM Sige 5
        dt-bindings: arm: rockchip: Add rk3576 compatible string to pmu.yaml
        dt-bindings: i2c: i2c-rk3x: Add rk3576 compatible
        dt-bindings: serial: snps-dw-apb-uart: Add Rockchip RK3576
        dt-bindings: gpu: Add rockchip,rk3576-mali compatible
        dt-bindings: watchdog: Add rockchip,rk3576-wdt compatible
        spi: dt-bindings: Add rockchip,rk3576-spi compatible
        arm64: dts: rockchip: Add rk3576 SoC base DT
        arm64: dts: rockchip: Add rk3576-armsom-sige5 board
      
       .../devicetree/bindings/arm/rockchip.yaml     |    5 +
       .../devicetree/bindings/arm/rockchip/pmu.yaml |    2 +
       .../bindings/gpu/arm,mali-bifrost.yaml        |    1 +
       .../devicetree/bindings/i2c/i2c-rk3x.yaml     |    1 +
       .../bindings/serial/snps-dw-apb-uart.yaml     |    1 +
       .../devicetree/bindings/spi/spi-rockchip.yaml |    1 +
       .../bindings/watchdog/snps,dw-wdt.yaml        |    1 +
       arch/arm64/boot/dts/rockchip/Makefile         |    1 +
       .../boot/dts/rockchip/rk3576-armsom-sige5.dts |  659 ++
       .../boot/dts/rockchip/rk3576-pinctrl.dtsi     | 5775 +++++++++++++++++
       arch/arm64/boot/dts/rockchip/rk3576.dtsi      | 1644 +++++
       11 files changed, 8091 insertions(+)
       create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts
       create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-pinctrl.dtsi
       create mode 100644 arch/arm64/boot/dts/rockchip/rk3576.dtsi
      
      --
      2.46.0
      8426899f
    • Fabio Estevam's avatar
      spi: mxs: Switch to RUNTIME/SYSTEM_SLEEP_PM_OPS() · 02774b14
      Fabio Estevam authored
      Replace SET_RUNTIME_PM_OPS()/SET SYSTEM_SLEEP_PM_OPS() with their modern
      RUNTIME_PM_OPS() and SYSTEM_SLEEP_PM_OPS() alternatives.
      
      The combined usage of pm_ptr() and RUNTIME_PM_OPS/SYSTEM_SLEEP_PM_OPS()
      allows the compiler to evaluate if the runtime suspend/resume() functions
      are used at build time or are simply dead code.
      
      This allows removing the __maybe_unused annotations from the
      suspend/resume() functions.
      Signed-off-by: default avatarFabio Estevam <festevam@denx.de>
      Link: https://patch.msgid.link/20240902184655.932699-1-festevam@gmail.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      02774b14
    • Detlev Casanova's avatar
    • Nathan Chancellor's avatar
      spi: Revert "spi: Insert the missing pci_dev_put()before return" · bf62a8c7
      Nathan Chancellor authored
      Commit 8a0ec8c2 ("spi: Insert the missing pci_dev_put()before
      return") added two uses of pci_dev_put() with an uninitialized dma_dev,
      resulting in the following compiler warnings (or errors with
      CONFIG_WERROR) when building with clang:
      
        drivers/spi/spi-pxa2xx-pci.c:150:15: error: variable 'dma_dev' is uninitialized when used here [-Werror,-Wuninitialized]
          150 |                 pci_dev_put(dma_dev);
              |                             ^~~~~~~
        drivers/spi/spi-pxa2xx-pci.c:228:15: error: variable 'dma_dev' is uninitialized when used here [-Werror,-Wuninitialized]
          228 |                 pci_dev_put(dma_dev);
              |                             ^~~~~~~
      
      Commit 609d7ffd ("spi: pxa2xx-pci: Balance reference count for PCI
      DMA device") added a call to pci_dev_put() via
      devm_add_action_or_reset() in case of failures, so the recent change was
      incorrect for multiple reasons. Revert it altogether.
      
      Fixes: 8a0ec8c2 ("spi: Insert the missing pci_dev_put()before return")
      Reported-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Closes: https://lore.kernel.org/CAMuHMdWNjo69_W6f+R9QJJOf8uF0htg2XazeS-yjugJv3UM+kg@mail.gmail.com/Signed-off-by: default avatarNathan Chancellor <nathan@kernel.org>
      Link: https://patch.msgid.link/20240902-spi-revert-8a0ec8c2d736-v1-1-928b829fed2b@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      bf62a8c7
  5. 02 Sep, 2024 3 commits
  6. 30 Aug, 2024 3 commits
  7. 29 Aug, 2024 7 commits
  8. 28 Aug, 2024 7 commits
  9. 23 Aug, 2024 3 commits
  10. 19 Aug, 2024 5 commits
  11. 14 Aug, 2024 3 commits