Commit Graph

6 Commits

Author SHA1 Message Date
Caesar Wang e31f1b672c arm64: dts: rockchip: use SPDX-License-Identifier
Update all 64bit rockchip devicetree files to use SPDX-License-Identifiers.

Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: Ie983cca0d54cae8b5ad6d322d51eb7bbd265aa0a
2022-08-01 14:20:46 +08:00
Chen Liang 2a499cb249 ARM64: dts: rk3399: adjust idle-cost-data of EAS with idle state
Change-Id: I994371c6a3c2aa99ffd666047a1707754ac96290
Signed-off-by: Chen Liang <cl@rock-chips.com>
2016-12-08 11:40:13 +08:00
Jianqun Xu 910f9d73a1 ARM64: dts: rk3399: move opp tables to rk3399-opp.dtsi
Add a new dtsi file - rk3399-opp.dtsi, to configure opp-tables
for cpu, gpu and dmc.

Add rk3399-early-opp.dtsi for board with ES1, which need limit
frequency for cpu, gpu and dmc.

Change-Id: Ib57761fd5f405b0e79039d7a01e6e023d6f5dc2c
Reviewed-by: Finley Xiao <finley.xiao@rock-chips.com>
Reviewed-by: Huang, Tao <huangtao@rock-chips.com>
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2016-11-30 11:24:23 +08:00
Chen Liang 91b9817e6d ARM64: dts: rk3399: prevent out of bounds accesses to array
It will return state++ when get the idle state, so we need fill
anothor idle power(=WFI) in the parameter of EAS, code as below:

static int group_idle_state(struct sched_group *sg)
{
        int i, state = INT_MAX;

        /* Find the shallowest idle state in the sched group. */
        for_each_cpu(i, sched_group_cpus(sg))
                state = min(state, idle_get_state_idx(cpu_rq(i)));

        /* Take non-cpuidle idling into account (active idle/arch_cpu_idle()) */
        state++;

        return state;
}

Change-Id: I9293da1379746768823df4e75a7478aa50fc0e87
Signed-off-by: Chen Liang <cl@rock-chips.com>
2016-07-11 17:41:31 +08:00
Chen Liang f6799e7f4a ARM64: dts: rk3399: support more frequency for evb2
RK3399 evb2 support A72 1.8G / A53 1.5G.

Change-Id: If3b034b3e2b57e1a867d99593529efc95dd51b66
Signed-off-by: Chen Liang <cl@rock-chips.com>
2016-06-17 16:40:08 +08:00
Chen Liang 6959b1dd99 ARM64: dts: rk3399: add raw data for EAS
Change-Id: I7203936494c7886ef86c60688e545589f3c6f930
Signed-off-by: Chen Liang <cl@rock-chips.com>
2016-06-08 14:13:40 +08:00