cpufreq: rockchip: Add support for rk3588j

Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I13d2ffae1253c7e5b3513c6aefcf15fb8e16eb5d
This commit is contained in:
Finley Xiao
2022-12-05 15:43:29 +08:00
committed by Tao Huang
parent ee7c3ab6b5
commit c25a99d05f

View File

@@ -206,6 +206,9 @@ static int rk3588_get_soc_info(struct device *dev, struct device_node *np,
/* RK3588M */
if (value == 0xd)
*bin = 1;
/* RK3588J */
else if (value == 0xa)
*bin = 2;
}
if (*bin < 0)
*bin = 0;
@@ -213,6 +216,7 @@ static int rk3588_get_soc_info(struct device *dev, struct device_node *np,
return ret;
}
static int rk3588_change_length(struct device *dev, struct device_node *np,
int bin, int process, int volt_sel)
{