[PATCH 2/9] regulator: dt-bindings: mt6358: Drop *_sshub regulators

Matthias Brugger matthias.bgg at gmail.com
Fri Jun 9 08:47:28 PDT 2023



On 09/06/2023 10:29, Chen-Yu Tsai wrote:
> The *_sshub regulators are actually alternate configuration interfaces
> for their non *_sshub counterparts. They are not separate regulator
> outputs. These registers are intended for the companion processor to
> use to configure the power rails while the main processor is sleeping.
> They are not intended for the main operating system to use.
> 
> Since they are not real outputs they shouldn't be modeled separately.
> Remove them. Luckily no device tree actually uses them.
> 
> Signed-off-by: Chen-Yu Tsai <wenst at chromium.org>

Reviewed-by: Matthias Brugger <matthias.bgg at gmail.com>

> ---
>   .../bindings/regulator/mt6358-regulator.txt   | 22 +++++--------------
>   1 file changed, 5 insertions(+), 17 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/regulator/mt6358-regulator.txt b/Documentation/devicetree/bindings/regulator/mt6358-regulator.txt
> index b22b956d1cbe..b6384306db5c 100644
> --- a/Documentation/devicetree/bindings/regulator/mt6358-regulator.txt
> +++ b/Documentation/devicetree/bindings/regulator/mt6358-regulator.txt
> @@ -8,14 +8,14 @@ Documentation/devicetree/bindings/regulator/regulator.txt.
>   
>   The valid names for regulators are::
>   BUCK:
> -  buck_vdram1, buck_vcore, buck_vcore_sshub, buck_vpa, buck_vproc11,
> -  buck_vproc12, buck_vgpu, buck_vs2, buck_vmodem, buck_vs1
> +  buck_vdram1, buck_vcore, buck_vpa, buck_vproc11, buck_vproc12, buck_vgpu,
> +  buck_vs2, buck_vmodem, buck_vs1
>   LDO:
>     ldo_vdram2, ldo_vsim1, ldo_vibr, ldo_vrf12, ldo_vio18, ldo_vusb, ldo_vcamio,
>     ldo_vcamd, ldo_vcn18, ldo_vfe28, ldo_vsram_proc11, ldo_vcn28, ldo_vsram_others,
> -  ldo_vsram_others_sshub, ldo_vsram_gpu, ldo_vxo22, ldo_vefuse, ldo_vaux18,
> -  ldo_vmch, ldo_vbif28, ldo_vsram_proc12, ldo_vcama1, ldo_vemc, ldo_vio28, ldo_va12,
> -  ldo_vrf18, ldo_vcn33, ldo_vcama2, ldo_vmc, ldo_vldo28, ldo_vaud28, ldo_vsim2
> +  ldo_vsram_gpu, ldo_vxo22, ldo_vefuse, ldo_vaux18, ldo_vmch, ldo_vbif28,
> +  ldo_vsram_proc12, ldo_vcama1, ldo_vemc, ldo_vio28, ldo_va12, ldo_vrf18,
> +  ldo_vcn33, ldo_vcama2, ldo_vmc, ldo_vldo28, ldo_vaud28, ldo_vsim2
>   
>   Example:
>   
> @@ -346,17 +346,5 @@ Example:
>   				regulator-max-microvolt = <3100000>;
>   				regulator-enable-ramp-delay = <540>;
>   			};
> -
> -			mt6358_vcore_sshub_reg: buck_vcore_sshub {
> -				regulator-name = "vcore_sshub";
> -				regulator-min-microvolt = <500000>;
> -				regulator-max-microvolt = <1293750>;
> -			};
> -
> -			mt6358_vsram_others_sshub_reg: ldo_vsram_others_sshub {
> -				regulator-name = "vsram_others_sshub";
> -				regulator-min-microvolt = <500000>;
> -				regulator-max-microvolt = <1293750>;
> -			};
>   		};
>   	};



More information about the linux-arm-kernel mailing list