1. 06 6月, 2019 1 次提交
  2. 04 6月, 2019 1 次提交
  3. 22 5月, 2019 4 次提交
  4. 20 5月, 2019 1 次提交
  5. 03 5月, 2019 2 次提交
  6. 12 4月, 2019 1 次提交
    • M
      ARM: dts: rockchip: Add dynamic-power-coefficient for rk3288 · ac60c5e3
      Matthias Kaehlcke 提交于
      The value was determined with the following method:
      
      - take CPUs 1-3 offline
      - for each OPP
        - set cpufreq min and max freq to OPP freq
        - start dhrystone benchmark
        - measure CPU power consumption during 10s
        - calculate Cx for OPPx
          - Cx = (Px - P1) / (Vx²fx - V1²f1)          [1]
            using the following units: mW / Ghz / V   [2]
      - C = avg(C2, ..., Cn)
      
      [1] see commit 4daa001a ("arm64: dts: juno: Add cpu
           dynamic-power-coefficient information")
      [2] https://patchwork.kernel.org/patch/10493615/#22158551
      
      FTR, these are the values for the different OPPs:
      
      freq (kHz)   	mV		Px (mW)		Cx
      
      126000		900		39
      216000		900		66		370
      312000		900		95		372
      408000		900		122		363
      600000		900		177		359
      696000		950		230		363
      816000		1000		297		361
      1008000		1050		404		362
      1200000		1100		528		362
      1416000		1200		770		377
      1512000		1300		984		385
      1608000		1350		1156		394
      Signed-off-by: NMatthias Kaehlcke <mka@chromium.org>
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      ac60c5e3
  7. 11 4月, 2019 1 次提交
    • H
      ARM: dts: rockchip: bulk convert gpios to their constant counterparts · 07f08d9c
      Heiko Stuebner 提交于
      Rockchip SoCs use 2 different numbering schemes. Where the gpio-
      controllers just count 0-31 for their 32 gpios, the underlying
      iomux controller splits these into 4 separate entities A-D.
      
      Device-schematics always use these iomux-values to identify pins,
      so to make mapping schematics to devicetree easier Andy Yan introduced
      named constants for the pins but so far we only used them on new
      additions.
      
      Using a sed-script created by Emil Renner Berthing bulk-convert
      the remaining raw gpio numbers into their descriptive counterparts
      and also gets rid of the unhelpful RK_FUNC_x -> x and RK_GPIOx -> x
      mappings:
      
      /rockchip,pins *=/bcheck
      b # to end of script
      :append-next-line
      N
      :check
      /^[^;]*$/bappend-next-line
      s/<RK_GPIO\([0-9]\) /<\1 /g
      s/<\([^ ][^ ]*  *\)0 /<\1RK_PA0 /g
      s/<\([^ ][^ ]*  *\)1 /<\1RK_PA1 /g
      s/<\([^ ][^ ]*  *\)2 /<\1RK_PA2 /g
      s/<\([^ ][^ ]*  *\)3 /<\1RK_PA3 /g
      s/<\([^ ][^ ]*  *\)4 /<\1RK_PA4 /g
      s/<\([^ ][^ ]*  *\)5 /<\1RK_PA5 /g
      s/<\([^ ][^ ]*  *\)6 /<\1RK_PA6 /g
      s/<\([^ ][^ ]*  *\)7 /<\1RK_PA7 /g
      s/<\([^ ][^ ]*  *\)8 /<\1RK_PB0 /g
      s/<\([^ ][^ ]*  *\)9 /<\1RK_PB1 /g
      s/<\([^ ][^ ]*  *\)10 /<\1RK_PB2 /g
      s/<\([^ ][^ ]*  *\)11 /<\1RK_PB3 /g
      s/<\([^ ][^ ]*  *\)12 /<\1RK_PB4 /g
      s/<\([^ ][^ ]*  *\)13 /<\1RK_PB5 /g
      s/<\([^ ][^ ]*  *\)14 /<\1RK_PB6 /g
      s/<\([^ ][^ ]*  *\)15 /<\1RK_PB7 /g
      s/<\([^ ][^ ]*  *\)16 /<\1RK_PC0 /g
      s/<\([^ ][^ ]*  *\)17 /<\1RK_PC1 /g
      s/<\([^ ][^ ]*  *\)18 /<\1RK_PC2 /g
      s/<\([^ ][^ ]*  *\)19 /<\1RK_PC3 /g
      s/<\([^ ][^ ]*  *\)20 /<\1RK_PC4 /g
      s/<\([^ ][^ ]*  *\)21 /<\1RK_PC5 /g
      s/<\([^ ][^ ]*  *\)22 /<\1RK_PC6 /g
      s/<\([^ ][^ ]*  *\)23 /<\1RK_PC7 /g
      s/<\([^ ][^ ]*  *\)24 /<\1RK_PD0 /g
      s/<\([^ ][^ ]*  *\)25 /<\1RK_PD1 /g
      s/<\([^ ][^ ]*  *\)26 /<\1RK_PD2 /g
      s/<\([^ ][^ ]*  *\)27 /<\1RK_PD3 /g
      s/<\([^ ][^ ]*  *\)28 /<\1RK_PD4 /g
      s/<\([^ ][^ ]*  *\)29 /<\1RK_PD5 /g
      s/<\([^ ][^ ]*  *\)30 /<\1RK_PD6 /g
      s/<\([^ ][^ ]*  *\)31 /<\1RK_PD7 /g
      s/<\([^ ][^ ]*  *[^ ][^ ]*  *\)0 /<\1RK_FUNC_GPIO /g
      s/<\([^ ][^ ]*  *[^ ][^ ]*  *\)RK_FUNC_\([1-9]\) /<\1\2 /g
      Suggested-by: NEmil Renner Berthing <esmil@mailme.dk>
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      07f08d9c
  8. 25 3月, 2019 2 次提交
  9. 21 3月, 2019 1 次提交
  10. 18 3月, 2019 2 次提交
  11. 06 12月, 2018 1 次提交
  12. 19 11月, 2018 1 次提交
    • V
      ARM: dts: rockchip: Add all CPUs in cooling maps · 99935bd4
      Viresh Kumar 提交于
      Each CPU can (and does) participate in cooling down the system but the
      DT only captures a handful of them, normally CPU0, in the cooling maps.
      Things work by chance currently as under normal circumstances its the
      first CPU of each cluster which is used by the operating systems to
      probe the cooling devices. But as soon as this CPU ordering changes and
      any other CPU is used to bring up the cooling device, we will start
      seeing failures.
      
      Also the DT is rather incomplete when we list only one CPU in the
      cooling maps, as the hardware doesn't have any such limitations.
      
      Update cooling maps to include all devices affected by individual trip
      points.
      Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      99935bd4
  13. 18 6月, 2018 2 次提交
  14. 17 6月, 2018 1 次提交
  15. 16 4月, 2018 2 次提交
  16. 05 3月, 2018 1 次提交
  17. 04 12月, 2017 1 次提交
  18. 22 10月, 2017 2 次提交
  19. 18 10月, 2017 1 次提交
  20. 17 9月, 2017 1 次提交
  21. 06 8月, 2017 2 次提交
  22. 16 7月, 2017 1 次提交
  23. 20 5月, 2017 1 次提交
  24. 16 3月, 2017 1 次提交
  25. 07 2月, 2017 1 次提交
  26. 02 1月, 2017 1 次提交
  27. 18 11月, 2016 1 次提交
  28. 09 11月, 2016 1 次提交
  29. 16 10月, 2016 2 次提交