1. 06 6月, 2019 12 次提交
    • S
      arm64: dts: renesas: r8a77990: Add dynamic power coefficient · 70c6d23e
      Simon Horman 提交于
      Describe the dynamic power coefficient of A53 CPUs.
      
      Based on work by Gaku Inami <gaku.inami.xw@bp.renesas.com> and others.
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      70c6d23e
    • D
      arm64: dts: renesas: r8a77990: Create thermal zone to support IPA · 8fa7d18f
      Dien Pham 提交于
      Setup a thermal zone driven by SoC temperature sensor.
      Create passive trip points and bind them to CPUFreq cooling
      device that supports power extension.
      
      In R-Car Gen3, IPA is supported for only one channel
      Reason:
        Currently, IPA controls base on only CPU temperature.
        And only one thermal channel is assembled closest
        CPU cores is selected as target of IPA.
        If other channels are used, IPA controlling is not properly.
      
      A single cooling device is described for all A53 CPUs as this
      reflects that physically there is only one cooling device present.
      
      This patch improves on an earlier version by:
      
      * Omitting cooling-max-level and cooling-min-level properties which
        are no longer present in mainline as of v4.17
      * Removing an unused trip-point0 node sub-property from the trips
        property.
      * Defers adding dynamic-power-coefficient properties to a separate patch as
        these are properties of the CPU.
      
      The long signed-off by chain below reflects many revisions, mainly
      internal, that this patch has been through.
      Signed-off-by: NDien Pham <dien.pham.ry@renesas.com>
      Signed-off-by: NTakeshi Kihara <takeshi.kihara.df@renesas.com>
      Signed-off-by: NYoshihiro Kaneko <ykaneko0929@gmail.com>
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      8fa7d18f
    • S
      arm64: dts: renesas: r8a77965: Add dynamic power coefficient · eb2cd8c2
      Simon Horman 提交于
      Describe the dynamic power coefficient of A57 and A53 CPUs.
      
      Based on work by Gaku Inami <gaku.inami.xw@bp.renesas.com> and others.
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      eb2cd8c2
    • D
      arm64: dts: renesas: r8a77965: Create thermal zone to support IPA · 7ec67edd
      Dien Pham 提交于
      Setup a thermal zone driven by SoC temperature sensor.
      Create passive trip points and bind them to CPUFreq cooling
      device that supports power extension.
      
      In R-Car Gen3, IPA is supported for only one channel
      (on H3/M3/M3N SoCs, it is channel THS3). Reason:
        Currently, IPA controls base on only CPU temperature.
        And only one thermal channel is assembled closest
        CPU cores is selected as target of IPA.
        If other channels are used, IPA controlling is not properly.
      
      The A57 cooling device supports 5 cooling states which can be categorised
      as follows:
      
      0 & 1) boost (clocking up)
      2)     default
      3 & 4) cooling (clocking down)
      
      Currently the thermal framework assumes that the default is the minimum,
      or in other words there is no provision for handling boost states.
      So this patch only describes the upper 3 states, default and cooling.
      
      A single cooling device is described for all A57 CPUs and a separate
      cooling device is described for all A53 CPUs. This reflects that physically
      there is only one cooling device present for each type of CPU.
      
      This patch improves on an earlier version by:
      
      * Omitting cooling-max-level and cooling-min-level properties which
        are no longer present in mainline as of v4.17
      * Removing an unused trip-point0 node sub-property from the trips
        property.
      * Using cooling-device indexes such that maximum refers to maximum cooling
        rather than the inverse.
      * Defers adding dynamic-power-coefficient properties to a separate patch as
        these are properties of the CPU.
      
      The long signed-off by chain below reflects many revisions, mainly
      internal, that this patch has been through.
      Signed-off-by: NDien Pham <dien.pham.ry@renesas.com>
      Signed-off-by: NAn Huynh <an.huynh.uj@rvc.renesas.com>
      Signed-off-by: NTakeshi Kihara <takeshi.kihara.df@renesas.com>
      Signed-off-by: NYoshihiro Kaneko <ykaneko0929@gmail.com>
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      7ec67edd
    • S
      arm64: dts: renesas: r8a7796: Add dynamic power coefficient · 9fed1b89
      Simon Horman 提交于
      Describe the dynamic power coefficient of A57 and A53 CPUs.
      
      Based on work by Gaku Inami <gaku.inami.xw@bp.renesas.com> and others.
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      9fed1b89
    • D
      arm64: dts: renesas: r8a7796: Create thermal zone to support IPA · 81022ecd
      Dien Pham 提交于
      Setup a thermal zone driven by SoC temperature sensor.
      Create passive trip points and bind them to CPUFreq cooling
      device that supports power extension.
      
      In R-Car Gen3, IPA is supported for only one channel
       (on H3/M3/M3N SoCs, it is channel THS3). Reason:
        Currently, IPA controls base on only CPU temperature.
        And only one thermal channel is assembled closest
        CPU cores is selected as target of IPA.
        If other channels are used, IPA controlling is not properly.
      
      The A57 cooling device supports 5 cooling states which can be categorised
      as follows:
      
      0 & 1) boost (clocking up)
      2)     default
      3 & 4) cooling (clocking down)
      
      Currently the thermal framework assumes that the default is the minimum,
      or in other words there is no provision for handling boost states.
      So this patch only describes the upper 3 states, default and cooling.
      
      A single cooling device is described for all A57 CPUs and a separate
      cooling device is described for all A53 CPUs. This reflects that physically
      there is only one cooling device present for each type of CPU.
      
      This patch improves on an earlier version by:
      
      * Omitting cooling-max-level and cooling-min-level properties which
        are no longer present in mainline as of v4.17
      * Removing an unused trip-point0 node sub-property from the trips
        property.
      * Using cooling-device indexes such that maximum refers to maximum cooling
        rather than the inverse.
      * Defers adding dynamic-power-coefficient properties to a separate patch as
        these are properties of the CPU.
      
      The long signed-off by chain below reflects many revisions, mainly
      internal, that this patch has been through.
      Signed-off-by: NDien Pham <dien.pham.ry@renesas.com>
      Signed-off-by: NHien Dang <hien.dang.eb@rvc.renesas.com>
      Signed-off-by: NAn Huynh <an.huynh.uj@rvc.renesas.com>
      Signed-off-by: NTakeshi Kihara <takeshi.kihara.df@renesas.com>
      Signed-off-by: NYoshihiro Kaneko <ykaneko0929@gmail.com>
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      81022ecd
    • S
      arm64: dts: renesas: r8a7795: Add dynamic power coefficient · 47e1714a
      Simon Horman 提交于
      Describe the dynamic power coefficient of A57 and A53 CPUs.
      
      Based on work by Gaku Inami <gaku.inami.xw@bp.renesas.com> and others.
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      47e1714a
    • D
      arm64: dts: renesas: r8a7795: Create thermal zone to support IPA · 15d8cd83
      Dien Pham 提交于
      Setup a thermal zone driven by SoC temperature sensor.
      Create passive trip points and bind them to CPUFreq cooling
      device that supports power extension.
      
      In R-Car Gen3, IPA is supported for only one channel
      (on H3/M3/M3N SoCs, it is channel THS3). Reason:
        Currently, IPA controls base on only CPU temperature.
        And only one thermal channel is assembled closest
        CPU cores is selected as target of IPA.
        If other channels are used, IPA controlling is not properly.
      
      The A5 cooling device supports 5 cooling states which can be categorised as
      follows:
      
      0 & 1) boost (clocking up)
      2)     default
      3 & 4) cooling (clocking down)
      
      Currently the thermal framework assumes that the default is the minimum,
      or in other words there is no provision for handling boost states.
      So this patch only describes the upper 3 states, default and cooling.
      
      A single cooling device is described for all A57 CPUs and a separate
      cooling device is described for all A53 CPUs. This reflects that physically
      there is only one cooling device present for each type of CPU.
      
      This patch improves on an earlier version by:
      
      * Omitting cooling-max-level and cooling-min-level properties which
        are no longer present in mainline as of v4.17
      * Removing an unused trip-point0 node sub-property from the trips
        property.
      * Using cooling-device indexes such that maximum refers to maximum cooling
        rather than the inverse.
      * Defers adding dynamic-power-coefficient properties to a separate patch as
        these are properties of the CPU.
      
      The long signed-off by chain below reflects many revisions, mainly
      internal, that this patch has been through.
      Signed-off-by: NDien Pham <dien.pham.ry@renesas.com>
      Signed-off-by: NKeita Kobayashi <keita.kobayashi.ym@renesas.com>
      Signed-off-by: NGaku Inami <gaku.inami.xw@bp.renesas.com>
      Signed-off-by: NHien Dang <hien.dang.eb@rvc.renesas.com>
      Signed-off-by: NAn Huynh <an.huynh.uj@rvc.renesas.com>
      Signed-off-by: NTakeshi Kihara <takeshi.kihara.df@renesas.com>
      Signed-off-by: NYoshihiro Kaneko <ykaneko0929@gmail.com>
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      15d8cd83
    • Y
      arm64: dts: renesas: Revise usb2_phy nodes and phys properties · 7794bd7e
      Yoshihiro Shimoda 提交于
      Since the commit 233da2c9 ("dt-bindings: phy: rcar-gen3-phy-usb2:
      Revise #phy-cells property") revised the #phy-cells, this patch follows
      the updated document for R-Car Gen3 and RZ/A2 SoCs.
      Signed-off-by: NYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      7794bd7e
    • T
      arm64: dts: renesas: ebisu: Remove renesas, no-ether-link property · 90d4fa39
      Takeshi Kihara 提交于
      It is incorrect to specify the no-ether-link property for the AVB device on
      the Ebisu board. This is because the property should only be used when a
      board does not provide a proper AVB_LINK signal. However, the Ebisu board
      does provide this signal.
      
      As per 87c059e9 ("arm64: dts: renesas: salvator-x: Remove renesas,
      no-ether-link property") this fixes a bug:
      
          Steps to reproduce:
          - start AVB TX stream (Using aplay via MSE),
          - disconnect+reconnect the eth cable,
          - after a reconnection the eth connection goes iteratively up/down
            without user interaction,
          - this may heal after some seconds or even stay for minutes.
      
          As the documentation specifies, the "renesas,no-ether-link" option
          should be used when a board does not provide a proper AVB_LINK signal.
          There is no need for this option enabled on RCAR H3/M3 Salvator-X/XS
          and ULCB starter kits since the AVB_LINK is correctly handled by HW.
      
          Choosing to keep or remove the "renesas,no-ether-link" option will have
          impact on the code flow in the following ways:
          - keeping this option enabled may lead to unexpected behavior since the
            RX & TX are enabled/disabled directly from adjust_link function
            without any HW interrogation,
          - removing this option, the RX & TX will only be enabled/disabled after
            HW interrogation. The HW check is made through the LMON pin in PSR
            register which specifies AVB_LINK signal value (0 - at low level;
            1 - at high level).
      
          In conclusion, the present change is also a safety improvement because
          it removes the "renesas,no-ether-link" option leading to a proper way
          of detecting the link state based on HW interrogation and not on
          software heuristic.
      
      Fixes: 8441ef64 ("arm64: dts: renesas: r8a77990: ebisu: Enable EthernetAVB")
      Signed-off-by: NTakeshi Kihara <takeshi.kihara.df@renesas.com>
      [simon: updated changelog]
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      90d4fa39
    • R
      arm64: dts: renesas: r8a774c0: Clean up CPU compatibles · 11290c09
      Robin Murphy 提交于
      Apparently this DTS crossed over with commit 31af04cd ("arm64: dts:
      Remove inconsistent use of 'arm,armv8' compatible string") and missed
      out on the cleanup, so put it right.
      Signed-off-by: NRobin Murphy <robin.murphy@arm.com>
      Reviewed-by: NGeert Uytterhoeven <geert+renesas@glider.be>
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      11290c09
    • M
      arm64: dts: renesas: Use ip=on for bootargs · b31b43c9
      Magnus Damm 提交于
      Convert bootargs from ip=dhcp to ip=on
      Signed-off-by: NMagnus Damm <damm+renesas@opensource.se>
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      b31b43c9
  2. 29 5月, 2019 2 次提交
  3. 20 5月, 2019 13 次提交
  4. 17 5月, 2019 1 次提交
  5. 08 5月, 2019 3 次提交
  6. 29 4月, 2019 5 次提交
  7. 26 4月, 2019 3 次提交
  8. 25 4月, 2019 1 次提交
    • K
      arm64: dts: exynos: Move fixed-clocks out of soc · f36afdd0
      Krzysztof Kozlowski 提交于
      The XXTI fixed-clock is the input to the SoC therefore it should not be
      inside the soc node.  This also fixes DTC W=1 warning:
      
          arch/arm64/boot/dts/exynos/exynos7.dtsi:90.17-94.5:
              Warning (simple_bus_reg): /soc/xxti: missing or empty reg/ranges property
      
      While moving, change the name of the xxti node to match the generic type
      of device (following DeviceTree specification).
      Signed-off-by: NKrzysztof Kozlowski <krzk@kernel.org>
      f36afdd0