Linux 6.7-rc7
[linux-modified.git] / arch / arm64 / boot / dts / qcom / sa8155p.dtsi
1 // SPDX-License-Identifier: BSD-3-Clause
2 /*
3  * Copyright (c) 2023, Linaro Limited
4  *
5  * SA8155P is an automotive variant of SM8150, with some minor changes.
6  * Most notably, the RPMhPD setup differs: MMCX and LCX/LMX rails are gone,
7  * though the cmd-db doesn't reflect that and access attemps result in a bite.
8  */
9
10 #include "sm8150.dtsi"
11
12 &dispcc {
13         power-domains = <&rpmhpd SA8155P_CX>;
14 };
15
16 &mdss_dsi0 {
17         power-domains = <&rpmhpd SA8155P_CX>;
18 };
19
20 &mdss_dsi1 {
21         power-domains = <&rpmhpd SA8155P_CX>;
22 };
23
24 &mdss_mdp {
25         power-domains = <&rpmhpd SA8155P_CX>;
26 };
27
28 &remoteproc_slpi {
29         power-domains = <&rpmhpd SA8155P_CX>,
30                         <&rpmhpd SA8155P_MX>;
31 };
32
33 &rpmhpd {
34         /*
35          * The bindings were crafted such that SA8155P PDs match their
36          * SM8150 counterparts to make it more maintainable and only
37          * necessitate adjusting entries that actually differ
38          */
39         compatible = "qcom,sa8155p-rpmhpd";
40 };