1. Jun 06, 2019
    • Simon Horman's avatar
      arm64: dts: renesas: r8a77990: Add dynamic power coefficient · 70c6d23e
      Simon Horman authored
      
      
      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: default avatarSimon Horman <horms+renesas@verge.net.au>
      70c6d23e
    • Dien Pham's avatar
      arm64: dts: renesas: r8a77990: Create thermal zone to support IPA · 8fa7d18f
      Dien Pham authored
      
      
      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: default avatarDien Pham <dien.pham.ry@renesas.com>
      Signed-off-by: default avatarTakeshi Kihara <takeshi.kihara.df@renesas.com>
      Signed-off-by: default avatarYoshihiro Kaneko <ykaneko0929@gmail.com>
      Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
      8fa7d18f
    • Simon Horman's avatar
      arm64: dts: renesas: r8a77965: Add dynamic power coefficient · eb2cd8c2
      Simon Horman authored
      
      
      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: default avatarSimon Horman <horms+renesas@verge.net.au>
      eb2cd8c2
    • Dien Pham's avatar
      arm64: dts: renesas: r8a77965: Create thermal zone to support IPA · 7ec67edd
      Dien Pham authored
      
      
      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: default avatarDien Pham <dien.pham.ry@renesas.com>
      Signed-off-by: default avatarAn Huynh <an.huynh.uj@rvc.renesas.com>
      Signed-off-by: default avatarTakeshi Kihara <takeshi.kihara.df@renesas.com>
      Signed-off-by: default avatarYoshihiro Kaneko <ykaneko0929@gmail.com>
      Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
      7ec67edd
    • Simon Horman's avatar
      arm64: dts: renesas: r8a7796: Add dynamic power coefficient · 9fed1b89
      Simon Horman authored
      
      
      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: default avatarSimon Horman <horms+renesas@verge.net.au>
      9fed1b89
    • Dien Pham's avatar
      arm64: dts: renesas: r8a7796: Create thermal zone to support IPA · 81022ecd
      Dien Pham authored
      
      
      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: default avatarDien Pham <dien.pham.ry@renesas.com>
      Signed-off-by: default avatarHien Dang <hien.dang.eb@rvc.renesas.com>
      Signed-off-by: default avatarAn Huynh <an.huynh.uj@rvc.renesas.com>
      Signed-off-by: default avatarTakeshi Kihara <takeshi.kihara.df@renesas.com>
      Signed-off-by: default avatarYoshihiro Kaneko <ykaneko0929@gmail.com>
      Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
      81022ecd
    • Simon Horman's avatar
      arm64: dts: renesas: r8a7795: Add dynamic power coefficient · 47e1714a
      Simon Horman authored
      
      
      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: default avatarSimon Horman <horms+renesas@verge.net.au>
      47e1714a
    • Dien Pham's avatar
      arm64: dts: renesas: r8a7795: Create thermal zone to support IPA · 15d8cd83
      Dien Pham authored
      
      
      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: default avatarDien Pham <dien.pham.ry@renesas.com>
      Signed-off-by: default avatarKeita Kobayashi <keita.kobayashi.ym@renesas.com>
      Signed-off-by: default avatarGaku Inami <gaku.inami.xw@bp.renesas.com>
      Signed-off-by: default avatarHien Dang <hien.dang.eb@rvc.renesas.com>
      Signed-off-by: default avatarAn Huynh <an.huynh.uj@rvc.renesas.com>
      Signed-off-by: default avatarTakeshi Kihara <takeshi.kihara.df@renesas.com>
      Signed-off-by: default avatarYoshihiro Kaneko <ykaneko0929@gmail.com>
      Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
      15d8cd83
    • Yoshihiro Shimoda's avatar
      arm64: dts: renesas: Revise usb2_phy nodes and phys properties · 7794bd7e
      Yoshihiro Shimoda authored
      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: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
      Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
      7794bd7e
    • Takeshi Kihara's avatar
      arm64: dts: renesas: ebisu: Remove renesas, no-ether-link property · 90d4fa39
      Takeshi Kihara authored
      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: default avatarTakeshi Kihara <takeshi.kihara.df@renesas.com>
      [simon: updated changelog]
      Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
      90d4fa39
    • Robin Murphy's avatar
      arm64: dts: renesas: r8a774c0: Clean up CPU compatibles · 11290c09
      Robin Murphy authored
      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: default avatarRobin Murphy <robin.murphy@arm.com>
      Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
      Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
      11290c09
    • Magnus Damm's avatar
      arm64: dts: renesas: Use ip=on for bootargs · b31b43c9
      Magnus Damm authored
      
      
      Convert bootargs from ip=dhcp to ip=on
      
      Signed-off-by: default avatarMagnus Damm <damm+renesas@opensource.se>
      Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
      b31b43c9
  2. May 29, 2019
  3. May 20, 2019