| .. | .. |
|---|
| 675 | 675 | .reg_read = px30s_otp_read, |
|---|
| 676 | 676 | }; |
|---|
| 677 | 677 | |
|---|
| 678 | +static const char * const rk3528_otp_clocks[] = { |
|---|
| 679 | + "usr", "sbpi", "apb", |
|---|
| 680 | +}; |
|---|
| 681 | + |
|---|
| 682 | +static const struct rockchip_data rk3528_data = { |
|---|
| 683 | + .size = 0x80, |
|---|
| 684 | + .clocks = rk3528_otp_clocks, |
|---|
| 685 | + .num_clks = ARRAY_SIZE(rk3528_otp_clocks), |
|---|
| 686 | + .reg_read = rk3568_otp_read, |
|---|
| 687 | +}; |
|---|
| 688 | + |
|---|
| 678 | 689 | static const char * const rk3568_otp_clocks[] = { |
|---|
| 679 | 690 | "usr", "sbpi", "apb", "phy", |
|---|
| 680 | 691 | }; |
|---|
| .. | .. |
|---|
| 716 | 727 | .data = (void *)&px30_data, |
|---|
| 717 | 728 | }, |
|---|
| 718 | 729 | #endif |
|---|
| 730 | +#ifdef CONFIG_CPU_RK3528 |
|---|
| 731 | + { |
|---|
| 732 | + .compatible = "rockchip,rk3528-otp", |
|---|
| 733 | + .data = (void *)&rk3528_data, |
|---|
| 734 | + }, |
|---|
| 735 | +#endif |
|---|
| 719 | 736 | #ifdef CONFIG_CPU_RK3568 |
|---|
| 720 | 737 | { |
|---|
| 721 | 738 | .compatible = "rockchip,rk3568-otp", |
|---|