1. 18 Aug, 2017 1 commit
    • Arnd Bergmann's avatar
      Merge tag 'v4.13-next-dts64' of https://github.com/mbgg/linux-mediatek into next/dt64 · 36d0f138
      Arnd Bergmann authored
      Pull "arm: mediatek: dts64 updates for v4.14" from Matthias Brugger:
      
      - add SoC mt7622 and its reference board
      - cleanup of dts bindings
      - mt6797: add watchdog and delete unused clock
      - add support for SoC mt2701 and it's eval board
      
      * tag 'v4.13-next-dts64' of https://github.com/mbgg/linux-mediatek:
        arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile
        dt-bindings: arm: Add bindings for Mediatek MT2712 SoC Platform
        arm64: dts: mediatek: Delete unused dummy clock for MT6797
        arm64: dts: mediatek: add watchdog to MT6797
        ARM: mediatek: dts: Add MT6797 binding
        ARM: mediatek: dts: Cleanup bindings documentation
        arm64: dts: mt7622: add dts file for MT7622 reference board variant 1
        arm64: dts: mt7622: add basic nodes to the mt7622.dtsi file
      36d0f138
  2. 17 Aug, 2017 6 commits
  3. 16 Aug, 2017 23 commits
    • Arnd Bergmann's avatar
      Merge tag 'qcom-arm64-for-4.14' of... · 63b5e000
      Arnd Bergmann authored
      Merge tag 'qcom-arm64-for-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux into next/dt64
      
      Pull "Qualcomm ARM64 Updates for v4.14" from Andy Gross:
      
      * Force USB host mode on APQ8016
      * Update coresight nodes on MSM8916
      * Add MSM8996 support for USB, PCIE phy, RPM/GLink, and modem SMP2P
      * Add db820c PM8994 regulator node
      * Add PMI8994 gpios
      * Add assorted MSM8916 nodes including GPU, IOMMU, Venus, and CEC clock.
      
      * tag 'qcom-arm64-for-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux:
        arm64: dts: qcom: msm8916: Add IOMMU support
        arm64: dts: qcom: msm8916: Add Venus video codec support
        arm64: dts: qcom: msm8916: Add gpu support
        arm64: dts: qcom: msm8996: Specify smd-edge for ADSP
        arm64: dts: msm8996: Add modem smp2p nodes
        arm64: dts: qcom: db820c: Add pm8994 regulator node
        arm64: dts: qcom: Add RPM glink nodes to msm8996
        arm64: dts: msm8996: Add device node for qcom,dwc3
        arm64: dts: msm8996: Add device node for qcom qmp-phy for pcie
        arm64: dts: msm8996: Add device node for qcom qmp-phy for usb
        arm64: dts: msm8996: Add device node for qcom qusb2 phy
        arm64: dts: qcom: add cec clock for apq8016 board
        arm64: dts: pmi8994: Add device node for pmi8994 gpios
        arm64: dts: qcom-msm8916: dts: Update coresight replicator
        arm64: dts: qcom: Force host mode for USB on apq8016-sbc
      63b5e000
    • Arnd Bergmann's avatar
      Merge tag 'hisi-arm64-dt-for-4.14-v2' of git://github.com/hisilicon/linux-hisi into next/dt64 · dbc1c5fc
      Arnd Bergmann authored
      Pull "ARM64: DT: Hisilicon SoC DT updates for 4.14" from Wei Xu:
      
      - Add PCIe node for hip07
      - Add acpu_sctrl node and refine the usb tx fifo size for hi6220
      - Add cpu idle states, L2 cache, PMU, OP-TEE, reboot, pstore,
        k3-dma and watchdog nodes for hi3660 and hikey960
      - Update mmc and bluetooth nodes for hi3660 and hikey960
      
      * tag 'hisi-arm64-dt-for-4.14-v2' of git://github.com/hisilicon/linux-hisi:
        arm64: dts: hi3660: enable watchdog
        arm64: dts: hi3660: add bindings for DMA
        arm64: dts: hikey960: change bluetooth uart max-speed to 3mbps
        arm64: dts: hi3660: Reset the mmc hosts
        arm64: dts: hikey960: Add pstore support
        arm64: dts: hikey960: Add support for syscon-reboot-mode
        arm64: dts: hikey960: Add optee node
        arm64: dts: hi3660: add pmu dt node for hi3660
        arm64: dts: hi3660: add L2 cache topology
        arm64: dts: hi3660: enable idle states
        arm64: dts: hi6220: improve g-tx-fifo-size setting for usb device
        arm64: dts: hi6220: add acpu_sctrl
        arm64: dts: hisi: add PCIe host controller node for hip07 SoC
      dbc1c5fc
    • Arnd Bergmann's avatar
      Merge tag 'uniphier-dt64-v4.14' of... · 029fb7c2
      Arnd Bergmann authored
      Merge tag 'uniphier-dt64-v4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier into next/dt64
      
      Pull "UniPhier ARM64 SoC DT updates for v4.14" from Masahiro Yamada:
      
      - add nodes for NAND, Watchdog
      - replace /include/ with #include
      - use #include <arm/...> instead of symlinks
      
      * tag 'uniphier-dt64-v4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier:
        arm64: dts: uniphier: add Denali NAND controller nodes
        arm64: dts: uniphier: use cross-arch include instead of symlinks
        arm64: dts: uniphier: use #include instead of /include/
        arm64: dts: uniphier: add watchdog node for LD11 and LD20
      029fb7c2
    • Arnd Bergmann's avatar
      Merge tag 'juno-updates-4.14' of... · 23f8f601
      Arnd Bergmann authored
      Merge tag 'juno-updates-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux into next/dt64
      
      Pull "ARMv8 Vexpress/Juno DT updates for v4.14" from Sudeep Holla:
      
      1. Replaces old coresight ATB programmable replicator compatible with
         new and more generic one
      
      2. Replaces incorrect usage of underscores for device node names in the
         device tree with hyphen
      
      * tag 'juno-updates-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux:
        arm64: dts: juno: replace underscores with hyphen in device node names
        arm64: dts: juno: Use the new coresight replicator string
      23f8f601
    • Arnd Bergmann's avatar
      Merge tag 'sunxi-dt64-for-4.14' of... · 9bbf3390
      Arnd Bergmann authored
      Merge tag 'sunxi-dt64-for-4.14' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into next/dt64
      
      Pull "Allwinner arm64 DT changes for 4.14" from Chen-Yu Tsai:
      
      The usual improvement patches:
      
        - R_INTC interrupt controller enabled for the A64 SoC
      
        - AXP803 PMIC added and enabled on the Pine64 and SoPine boards
      
      * tag 'sunxi-dt64-for-4.14' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
        arm64: allwinner: a64: add AXP803 PMIC support to SoPine and the baseboard
        arm64: allwinner: a64: enable AXP803 regulators for Pine64
        arm64: allwinner: a64: add DTSI file for AXP803 PMIC
        arm64: allwinner: a64: add AXP803 node to Pine64 device tree
        arm64: allwinner: a64: add NMI (R_INTC) controller on A64
      9bbf3390
    • Arnd Bergmann's avatar
      Merge tag 'v4.14-rockchip-dts64-1' of... · 4fda1e73
      Arnd Bergmann authored
      Merge tag 'v4.14-rockchip-dts64-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into next/dt64
      
      Pull "Rockchip dts64 changes for 4.14" from Heiko Stübner:
      
      64bit Rockchip devicetree changes containing fixes for pinctrl typos
      and the use of keep-power-in-suspend in non-sdio nodes as well as the
      removal of the deprecated num-slots property from dwmmc nodes.
      
      rk3328 gets support for spdif, io-domains and usb (including enablement
      of usb on the evaluation board), while rk3368 gains support for spdif.
      
      The biggest chunk of course aims for the rk3399 with a number of pcie
      changes, support for the mali gpu, a new power-domain, sdmmc support
      on the firefly board and dynamic-power-coefficients.
      
      The gru family also gets support for their quite central pwm regulators
      using the newly introduced vctrl regulator types.
      
      * tag 'v4.14-rockchip-dts64-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
        arm64: dts: rockchip: update dynamic-power-coefficient for rk3399
        arm64: dts: rockchip: add rk3328 spdif node
        arm64: dts: rockchip: add rk3368 spdif node
        arm64: dts: rockchip: enable sdmmc controller on rk3399-firefly
        arm64: dts: rockchip: Add rk3328 io-domain node
        arm64: dts: rockchip: kill pcie_clkreqn and pcie_clkreqnb for rk3399
        arm64: dts: rockchip: change clkreq mode for rk3399-firefly
        arm64: dts: rockchip: enable the GPU for RK3399-GRU
        arm64: dts: rockchip: add ARM Mali GPU node for RK3399 SoCs
        dt-bindings: gpu: add the RK3399 mali for rockchip specifics
        arm64: dts: rockchip: remove abused keep-power-in-suspend
        arm64: dts: rockchip: remove num-slots from all platforms
        arm64: dts: rockchip: change clkreq mode for rk3399-evb
        arm64: dts: rockchip: add SdioAudio pd control for rk3399
        arm64: dts: rockchip: enable usb2 for RK3328 evaluation board
        arm64: dts: rockchip: add usb2 nodes for RK3328 SoCs
        arm64: dts: rockchip: set rk3399 dynamic CPU power coefficients
        arm64: dts: rockchip: Use vctrl regulators for dynamic CPU voltages on Gru/Kevin
        arm64: dts: rockchip: Update CPU regulator voltage ranges for Gru
        arm64: dts: rockchip: fix typo in mmc pinctrl
      4fda1e73
    • Arnd Bergmann's avatar
      Merge tag 'mvebu-dt64-4.14-1' of git://git.infradead.org/linux-mvebu into next/dt64 · 77dcb02f
      Arnd Bergmann authored
      Pull "mvebu dt64 for 4.14 (part 1)" from Gregory CLEMENT:
      
      For Armada 37xx:
      - GIC improvement
      - Add PMUv3
      - Enable USB2 on EspressoBin
      
      For Armada 7K/8K:
      - add GPIO interrupts for CP110
      - add pinctrl nodes to describe the CPM I2C0 and CPS SPI1
      - re-order RTC nodes in Marvell CP110 description
      - on MacchiatoBin
          - fix USB3 regulator definition
          - add support for i2c mux
          - add support for PCIe
          - add an stdout-path
      
      * tag 'mvebu-dt64-4.14-1' of git://git.infradead.org/linux-mvebu:
        arm64: dts: marvell: re-order RTC nodes in Marvell CP110 description
        arm64: dts: marvell: mcbin: add an stdout-path
        arm64: dts: marvell: mcbin: add support for PCIe
        arm64: dts: marvell: mcbin: add support for i2c mux
        arm64: dts: marvell: fix USB3 regulator definition on MacchiatoBin
        arm64: dts: marvell: mcbin: add pinctrl nodes
        arm64: dts: marvell: cp110: add GPIO interrupts
        ARM64: dts: marvell: armada-37xx: Enable USB2 on espressobin
        ARM64: dts: marvell: armada-37xx: Wire PMUv3
        ARM64: dts: marvell: armada-37xx: Enable memory-mapped GIC CPU interface
        ARM64: dts: marvell: armada-37xx: Fix GIC maintenance interrupt
      77dcb02f
    • Arnd Bergmann's avatar
      Merge tag 'renesas-arm64-dt-for-v4.14' of... · 6421d89f
      Arnd Bergmann authored
      Merge tag 'renesas-arm64-dt-for-v4.14' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/dt64
      
      Pull "Renesas ARM64 Based SoC DT Updates for v4.14" from Simon Horman:
      
      * Add usb2.0 for R-Car H3 (r8a7795) ES2.0 SoC
      
      * Add R-Car D3 (r8a77995) SoC and Draak board support
      
        Adds minimal support for the R-Car D3 SoC and the Draak development
        board, allowing to boot from a ramdisk using a serial console.
      
      * Add Add VC6 clock generator to R-Car H3 (r8a7795)/Salvator-XS board
      
        The VC6 is an I2C-controlled programmable clock generator, used on the
        board to provide a display dot clock. Add it to DT.
      
      * Add missing second pair of DMA names to MSIOF nodes to
        R-Car M3-W (r8a7796) SoC
      
        MSIOF0 and MSIOF1 are tied to two DMA controllers through two pairs of
        DMA specifiers.  However, the second pair of corresponding DMA names was
        missing.
      
      * Add support for the DU to R-Car H3 (r8a7795) SoC
      
        Add a compatible string and VSP links to the DU node. The H3 ES1.x and H3
        ES2.0 are compatible save for the links to the VSPs that are described
        explicitly in DT, so there's no need for a new ES2-specific compatible
        string.
      
      * Enable HDMI on R-Car H3 (r8a7795) and M3-W (r8a7796) ULCB boards
      
      * Enable DU on R-Car M3-W (r8a7796) Salvator-X board
      
      * Enable I2C for DVFS on R-Car H3 (r8a7795) and M3-W (r8a7796) ULCB boards
      
      * Add Add DRIF support to R-Car H3 (r8a7795) and M3-W (r8a7796) SoCs
      
        Ramesh Shanmugasundaram says, "R-Car Gen3 DRIF is a SPI like receive only
        slave device."
      
      * Move CPG_AUDIO_CLK_I from board to soc files
      
        Geert Uytterhoeven says, "The definition of CPG_AUDIO_CLK_I is
        SoC-specific, not board-specific."
      
      * Add IMR-LX4 support to R-Car H3 (r8a7795) and M3-W (r8a7796) SoCs
      
        Sergei Shtylyov says, "The image renderer light extended 4 (IMR-LX4) or
        the distortion correction engine is a drawing processor with a simple
        instruction system capable of referencing data on an external memory as
        2D texture data and performing texture mapping and drawing with respect
        to any shape that is split into triangular objects."
      
      * tag 'renesas-arm64-dt-for-v4.14' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (31 commits)
        arm64: dts: renesas: r8a7795: add hsusb ch3 device node
        arm64: dts: renesas: r8a7795: add usb-dmac ch2 and ch3 device nodes
        arm64: dts: renesas: r8a7795: add usb2.0 host ch3 device nodes
        arm64: dts: renesas: r8a7795: add usb2_phy ch3 device node
        arm64: dts: renesas: r8a7795: Add usb companion property in EHCI
        arm64: dts: renesas: Add Renesas Draak board support
        arm64: dts: renesas: Add Renesas R8A77995 SoC support
        arm64: renesas: Add Renesas R8A77995 Kconfig support
        arm64: dts: r8a7795: salvator-xs: Connect DU dot clocks 0 and 3
        arm64: dts: salvator-xs: Add VC6 clock generator
        arm64: dts: r8a7796: Add missing second pair of DMA names to MSIOF nodes
        arm64: dts: r8a7795: Add all MSIOF nodes
        arm64: dts: r8a7795: Add support for the DU
        arm64: dts: ulcb: Enable HDMI output
        arm64: dts: ulcb: Add HDMI output connector
        arm64: dts: r8a7796: m3ulcb: Add DU external dot clocks
        arm64: dts: r8a7795: h3ulcb: Add DU external dot clocks
        arm64: dts: ulcb: Add DU external dot clock sources
        arm64: dts: r8a7796: salvator-x: Enable HDMI output
        arm64: dts: r8a7796: salvator-x: Add DU external dot clocks
        ...
      6421d89f
    • Arnd Bergmann's avatar
      Merge tag 'samsung-dt64-4.14' of... · 34a39ff1
      Arnd Bergmann authored
      Merge tag 'samsung-dt64-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into next/dt64
      
      Pull "Samsung DTS ARM64 changes for v4.14" from Krzysztof Kozłowski:
      
      1. Remove deprecated and unneeded properties from Exynos boards.
      2. Implement proper (working) support for USB On-The-Go on Exynos5433
         TM2/TM2E boards.
      
      * tag 'samsung-dt64-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
        arm64: dts: exynos: Remove num-slots from exynos platforms
        arm64: dts: exynos: Add extcon property for TM2 and TM2E
        arm64: dts: exynos: Fix wrong label for USB 3.0 controller node
        arm64: dts: exynos: Remove the OF graph from DSI node
      34a39ff1
    • Rob Clark's avatar
      arm64: dts: qcom: msm8916: Add IOMMU support · 6a6729f3
      Rob Clark authored
      This patch adds the IOMMU node for the IOMMU that resides on the
      Qualcomm MSM8916 platforms.
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      Reviewed-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
      6a6729f3
    • Stanimir Varbanov's avatar
      arm64: dts: qcom: msm8916: Add Venus video codec support · 16bd6c82
      Stanimir Varbanov authored
      This patch adds the Qualcomm Venus video codec node for the video
      codec hardware residing on MSM8916 platforms.
      Signed-off-by: default avatarStanimir Varbanov <stanimir.varbanov@linaro.org>
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      Reviewed-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
      16bd6c82
    • Leo Yan's avatar
      arm64: dts: hi3660: enable watchdog · 487f00d4
      Leo Yan authored
      This patch is to add watchdog binding for Hi3660 on Hikey960 board.
      
      Cc: Guodong Xu <guodong.xu@linaro.org>
      Cc: Zhong Kaihua <zhongkaihua@huawei.com>
      Signed-off-by: default avatarLeo Yan <leo.yan@linaro.org>
      Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
      487f00d4
    • Wang Ruyi's avatar
      arm64: dts: hi3660: add bindings for DMA · 0b507e91
      Wang Ruyi authored
      Add bindings for DMA.
      Signed-off-by: default avatarWang Ruyi <wangruyi@huawei.com>
      Signed-off-by: default avatarGuodong Xu <guodong.xu@linaro.org>
      Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
      0b507e91
    • Guodong Xu's avatar
      arm64: dts: hikey960: change bluetooth uart max-speed to 3mbps · bf1ff532
      Guodong Xu authored
      Update bluetooth UART max-speed to 3Mbps
      Signed-off-by: default avatarGuodong Xu <guodong.xu@linaro.org>
      Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
      bf1ff532
    • Guodong Xu's avatar
      arm64: dts: hi3660: Reset the mmc hosts · 996707d7
      Guodong Xu authored
      Add reset-names = "reset" into mmc nodes.
      Signed-off-by: default avatarGuodong Xu <guodong.xu@linaro.org>
      Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
      996707d7
    • Guodong Xu's avatar
      arm64: dts: hikey960: Add pstore support · 9c24dc9d
      Guodong Xu authored
      This patch reserves some memory in the DTS and sets up a
      pstore device tree node to enable pstore support on HiKey960.
      
      Cc: John Stultz <john.stultz@linaro.org>
      Signed-off-by: default avatarGuodong Xu <guodong.xu@linaro.org>
      Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
      9c24dc9d
    • Guodong Xu's avatar
      arm64: dts: hikey960: Add support for syscon-reboot-mode · b6b681c1
      Guodong Xu authored
      Add support to hikey960 dts for the syscon-reboot-mode driver.
      
      Cc: John Stultz <john.stultz@linaro.org>
      Signed-off-by: default avatarGuodong Xu <guodong.xu@linaro.org>
      Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
      b6b681c1
    • Victor Chong's avatar
      arm64: dts: hikey960: Add optee node · 313aebda
      Victor Chong authored
      This patch adds op-tee node for hikey960
      Signed-off-by: default avatarVictor Chong <victor.chong@linaro.org>
      Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
      313aebda
    • YiPing Xu's avatar
      arm64: dts: hi3660: add pmu dt node for hi3660 · f8054fb8
      YiPing Xu authored
      Add pmu dt node for hi3660
      Signed-off-by: default avatarYiPing Xu <xuyiping@hisilicon.com>
      Signed-off-by: default avatarZhong Kaihua <zhongkaihua@huawei.com>
      Signed-off-by: default avatarLeo Yan <leo.yan@linaro.org>
      Tested-by: default avatarJumana Mundichipparakkal <jumana.mp@arm.com>
      Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
      f8054fb8
    • Leo Yan's avatar
      arm64: dts: hi3660: add L2 cache topology · a6d08344
      Leo Yan authored
      This patch adds the L2 cache topology on 96boards Hikey960.
      Signed-off-by: default avatarLeo Yan <leo.yan@linaro.org>
      Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
      a6d08344
    • Leo Yan's avatar
      arm64: dts: hi3660: enable idle states · 30fec826
      Leo Yan authored
      There are two clusters on the Hi3660, the first one is Cortex-A53 based
      and the other one is Cortex-A73 based. These two clusters have different
      idle states.
      
      Thanks to Daniel Lezcano's recent changes, the generic ARM cpuidle
      driver can now support several clusters with different idle states, thus
      supporting the big.Little architecture.
      
      In addition to the WFI idle state which is the default shallowest state
      for all ARM cpus, the Hi3660 supports the following states:
      
       - CA53 CPUs:
              - CPU_SLEEP:       CPU power off state
              - CLUSTER_SLEEP_0: Cluster power off state
      
       - CA73 CPUs:
              - CPU_NAP:         CPU retention state
              - CPU_SLEEP:       CPU power off state
              - CLUSTER_SLEEP_1: Cluster power off state
      
      This patch adds the idle states description for the Hi3660 to the device
      tree.
      
      Cc: Kevin Wang <jean.wangtao@linaro.org>
      Signed-off-by: default avatarLeo Yan <leo.yan@linaro.org>
      Acked-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
      30fec826
    • Shawn Guo's avatar
      arm64: dts: hi6220: improve g-tx-fifo-size setting for usb device · 341b26b7
      Shawn Guo authored
      The current usb device g-tx-fifo-size setting in DT causes two problems
      for kernel driver.
      
      1. On hi6220, there are 15 tx_fifo dedicated for all EPs except EP0,
         while DT only provides tx_fifo settings for 6 EPs.  It results in the
         following annoying complaints from kernel.
      
      [    4.451623] dwc2 f72c0000.usb: dwc2_check_param_tx_fifo_sizes: Invalid parameter g_tx_fifo_size[7]=0
      [    4.461303] dwc2 f72c0000.usb: dwc2_check_param_tx_fifo_sizes: Invalid parameter g_tx_fifo_size[8]=0
      [    4.470969] dwc2 f72c0000.usb: dwc2_check_param_tx_fifo_sizes: Invalid parameter g_tx_fifo_size[9]=0
      [    4.480632] dwc2 f72c0000.usb: dwc2_check_param_tx_fifo_sizes: Invalid parameter g_tx_fifo_size[10]=0
      [    4.490385] dwc2 f72c0000.usb: dwc2_check_param_tx_fifo_sizes: Invalid parameter g_tx_fifo_size[11]=0
      [    4.500140] dwc2 f72c0000.usb: dwc2_check_param_tx_fifo_sizes: Invalid parameter g_tx_fifo_size[12]=0
      [    4.509892] dwc2 f72c0000.usb: dwc2_check_param_tx_fifo_sizes: Invalid parameter g_tx_fifo_size[13]=0
      [    4.519646] dwc2 f72c0000.usb: dwc2_check_param_tx_fifo_sizes: Invalid parameter g_tx_fifo_size[14]=0
      [    4.529399] dwc2 f72c0000.usb: dwc2_check_param_tx_fifo_sizes: Invalid parameter g_tx_fifo_size[15]=0
      [    4.539244] dwc2 f72c0000.usb: EPs: 16, dedicated fifos, 1920 entries in SPRAM
      
         Besides of that, the total 1920 fifo entries isn't fully utilized.
         Endpoint Info Control block consumes 128 entries, g-rx-fifo-size
         is 512, and g-np-tx-fifo-size is 128.  So the fifi entries available
         for tx_fifo is: 1920 - 128 - 512 - 128 = 1152.  Considering that
         the minimal valid tx_fifo size for each EP is 16, it should be
         reasonable to allocate 1152 entries as: 128 x 8 + 16 x 7 = 1136 (only
         16 entries unused).  With this new setting, we can get more EPs to
         use while removing the above warning messages in the meantime.
      
      2. Another consequence of above invalid g_tx_fifo_size parameter is that
         kernel driver will use values read from hardware register as the
         fall-back.  The value is 2048 for each EP fifo.  That's obviously
         invalid either, because even fifo entries for one EP exceeds the
         total entries 1920.  That's why we see the following fat warning from
         function dwc2_hsotg_init_fifo().  The new g-tx-fifo-size settings
         help to remove the warning as well.
      
      [   65.431634] dwc2 f72c0000.usb: Do port resume before switching to device mode
      [   65.624176] insufficient fifo memory
      [   65.624369] ------------[ cut here ]------------
      [   65.633633] WARNING: CPU: 0 PID: 5 at drivers/usb/dwc2/gadget.c:330 dwc2_hsotg_init_fifo+0x164/0x1ac
      [   65.643808] CPU: 0 PID: 5 Comm: kworker/u16:0 Not tainted 4.13.0-rc1-00022-g50861cf9dc1b-dirty #81
      [   65.653769] Hardware name: HiKey Development Board (DT)
      [   65.659624] Workqueue: dwc2 dwc2_conn_id_status_change
      [   65.665377] task: ffffffc005f73400 task.stack: ffffffc005f98000
      [   65.671987] PC is at dwc2_hsotg_init_fifo+0x164/0x1ac
      [   65.677633] LR is at dwc2_hsotg_init_fifo+0x164/0x1ac
      [   65.683275] pc : [<ffffff8008638044>] lr : [<ffffff8008638044>] pstate: 600001c5
      [   65.691504] sp : ffffffc005f9bce0
      [   65.695218] x29: ffffffc005f9bce0 x28: ffffffc005f6ac00
      [   65.701172] x27: ffffffc005f73400 x26: 0000000008000580
      [   65.707124] x25: ffffff8008bb4af0 x24: ffffff8008d02b70
      [   65.713074] x23: 0000003fcc831084 x22: ffffffc0337cf0bc
      [   65.719024] x21: 0000000000000580 x20: ffffffc0337cf018
      [   65.724976] x19: ffffffc0337cf098 x18: 0000000000000000
      [   65.730926] x17: 0000000000000000 x16: 0000000000000000
      [   65.736873] x15: 0000000000000000 x14: ffffff8008ca8900
      [   65.742825] x13: 0000004035299000 x12: 0000000034d5d91d
      [   65.748775] x11: 0000000000000000 x10: 00000000000008d0
      [   65.754726] x9 : ffffffc005f9bce0 x8 : 00000000000001b5
      [   65.760674] x7 : 66696620746e6569 x6 : ffffff8008d60050
      [   65.766623] x5 : 0000000000000000 x4 : 0000000000000000
      [   65.772573] x3 : 0000000000000002 x2 : 0000000000000002
      [   65.778521] x1 : 0000000000000001 x0 : 0000000000000018
      [   65.784469] Call trace:
      [   65.787236] Exception stack(0xffffffc005f9bb10 to 0xffffffc005f9bc40)
      [   65.794420] bb00:                                   ffffffc0337cf098 0000008000000000
      [   65.803145] bb20: ffffffc005f9bce0 ffffff8008638044 ffffff8008bb4af0 0000000008000580
      [   65.811870] bb40: ffffffc005f73400 ffffffc005f6ac00 0000000000000000 ffffff8008da2998
      [   65.820595] bb60: ffffffc005f9bce0 ffffffc005f9bce0 ffffffc005f9bca0 00000000ffffffc8
      [   65.829315] bb80: ffffffc005f9bbb0 ffffff80081046a0 ffffffc005f9bce0 ffffffc005f9bce0
      [   65.838038] bba0: ffffffc005f9bca0 00000000ffffffc8 0000000000000018 0000000000000001
      [   65.846761] bbc0: 0000000000000002 0000000000000002 0000000000000000 0000000000000000
      [   65.855485] bbe0: ffffff8008d60050 66696620746e6569 00000000000001b5 ffffffc005f9bce0
      [   65.864207] bc00: 00000000000008d0 0000000000000000 0000000034d5d91d 0000004035299000
      [   65.872928] bc20: ffffff8008ca8900 0000000000000000 0000000000000000 0000000000000000
      [   65.900856] [<ffffff8008638044>] dwc2_hsotg_init_fifo+0x164/0x1ac
      [   65.927195] [<ffffff800863b390>] dwc2_hsotg_core_init_disconnected+0x80/0x3c0
      [   65.954736] [<ffffff800862fef0>] dwc2_conn_id_status_change+0xfc/0x21c
      [   65.981561] [<ffffff80080d1ca8>] process_one_work+0x124/0x294
      [   66.007419] [<ffffff80080d1e70>] worker_thread+0x58/0x3c8
      [   66.023243] [<ffffff80080d79a0>] kthread+0x100/0x12c
      [   66.032455] [<ffffff8008082ec0>] ret_from_fork+0x10/0x50
      [   66.041987] ---[ end trace 7079dcaa2d9e46fa ]---
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      Tested-by: default avatarJohn Stultz <john.stultz@linaro.org>
      Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
      341b26b7
    • Zhangfei Gao's avatar
      arm64: dts: hi6220: add acpu_sctrl · 94d2d94b
      Zhangfei Gao authored
      Add acpu_sctrl clock node
      Signed-off-by: default avatarZhangfei Gao <zhangfei.gao@linaro.org>
      Signed-off-by: default avatarLi Pengcheng <lipengcheng8@huawei.com>
      Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
      94d2d94b
  4. 15 Aug, 2017 1 commit
  5. 14 Aug, 2017 1 commit
  6. 12 Aug, 2017 1 commit
  7. 09 Aug, 2017 2 commits
  8. 08 Aug, 2017 5 commits