Skip to content
  1. May 23, 2017
  2. Mar 23, 2017
    • Shawn Lin's avatar
      arm64: dts: rockchip: fix PCIe domain number for rk3399 · 41b464ef
      Shawn Lin authored
      
      
      It's suggested to fix the domain number for all PCIe
      host bridges or not set it at all. However, if we don't
      fix it, the domain number will keep increasing ever when
      doing unbind/bind test, which makes the bus tree of lspci
      introduce pointless domain hierarchy. More investigation shows
      the domain number allocater of PCI doesn't consider the conflict
      of domain number if we have more than one PCIe port belonging to
      different domains. So once unbinding/binding one of them and keep
      others would going to overflow the domain number so that finally
      it will share the same domain as others, but actually it shouldn't.
      We should fix the domain number for PCIe or invent new indexing
      ID mechanisms. However it isn't worth inventing new indexing ID
      mechanisms personlly, Just look at how other Root Complex drivers
      did, for instance, broadcom and qualcomm, it seems fixing the domain
      number was more popular. So this patch gonna fix the domain number
      of PCIe for rk3399.
      
      Signed-off-by: default avatarShawn Lin <shawn.lin@rock-chips.com>
      Reviewed-by: default avatarBrian Norris <briannorris@chromium.org>
      Tested-by: default avatarBrian Norris <briannorris@chromium.org>
      Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
      41b464ef
  3. Mar 22, 2017
  4. Mar 06, 2017
  5. Jan 14, 2017
  6. Jan 13, 2017
  7. Jan 06, 2017
  8. Jan 02, 2017
  9. Nov 21, 2016
  10. Nov 15, 2016
  11. Nov 14, 2016
  12. Nov 11, 2016
  13. Nov 09, 2016
  14. Nov 02, 2016
  15. Oct 16, 2016
  16. Sep 08, 2016
  17. Sep 06, 2016
  18. Sep 05, 2016
  19. Sep 02, 2016
  20. Aug 26, 2016
  21. Aug 24, 2016
  22. Aug 17, 2016
  23. Aug 08, 2016
    • Elaine Zhang's avatar
      arm64: dts: rockchip: add the power domain node for rk3399 · 807a2371
      Elaine Zhang authored
      
      
      In order to meet low power requirements, a power management unit (PMU) is
      designed for controlling power resources in RK3399. The RK3399 PMU is
      dedicated for managing the power of the whole chip.
      
      1. add pd node for RK3399 Soc
      2. create power domain tree
      3. add qos node for domain
      
      From the DT/binds and driver can get more detail information:
      The driver:
              drivers/soc/rockchip/pm_domains.c
      The document:
              Documentation/devicetree/bindings/soc/rockchip/power_domain.txt
      
      Note:
      As the TRM lists many voltage domains and power domains, then this patch
      adds some domains for driver. Due to some domains
      (e.g. emmc, usb, core)...We can't turned off it on
      bootup, or says some device driver can't handle the power domain enough.
      Maybe We will add more other domains in the future or later.
      
      Signed-off-by: default avatarElaine Zhang <zhangqing@rock-chips.com>
      Signed-off-by: default avatarCaesar Wang <wxt@rock-chips.com>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-rockchip@lists.infradead.org
      Cc: Heiko Stuebner <heiko@sntech.de>
      Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
      Tested-by: default avatarDouglas Anderson <dianders@chromium.org>
      Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
      807a2371
  24. Jun 28, 2016
  25. Jun 27, 2016
    • Douglas Anderson's avatar
      arm64: dts: rockchip: add ap_pwroff and ddrio_pwroff pins for rk3399 · 5d26ad9c
      Douglas Anderson authored
      
      
      There are two sleep related pins on rk3399: ap_pwroff and ddrio_pwroff.
      Let's add the definition of these two pins to rk3399's main dtsi file so
      that boards can use them.
      
      These two pins are similar to the global_pwroff and ddrio_pwroff pins in
      rk3288 and are expected to be used in the same way: boards will likely
      want to configure these pinctrl settings in their global pinctrl hog
      list.
      
      Note that on rk3288 there were two additional pins in the "sleep"
      section: "ddr0_retention" and "ddr1_retention".  On rk3288 designs these
      pins appeared to actually route from rk3288 back to rk3288.  Presumably
      on rk3399 this is simply not needed since the pins don't appear to exist
      there.
      
      Signed-off-by: default avatarDouglas Anderson <dianders@chromium.org>
      Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
      5d26ad9c
  26. Jun 23, 2016