diff mbox series

arm: dts: e850-96: Remove not needed bootph-all flags

Message ID 20240525215138.11936-1-semen.protsenko@linaro.org
State Accepted
Commit 11b9219d5acede06cdc5e29b4bc98438802ddfdf
Headers show
Series arm: dts: e850-96: Remove not needed bootph-all flags | expand

Commit Message

Sam Protsenko May 25, 2024, 9:51 p.m. UTC
Most of the nodes in e850-96 appended device tree that add bootph-all
flags are not necessary. All those nodes are instantiated as
dependencies of other nodes anyway. Remove those nodes to avoid
cluttering the appended dts. 'bdinfo' reports 768 bytes reduction for
"Early malloc usage", and 'dm tree' output doesn't change. Keep only
pmu_system_controller changes, which are actually needed for serial to
work properly.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
---
 arch/arm/dts/exynos850-e850-96-u-boot.dtsi | 28 ----------------------
 1 file changed, 28 deletions(-)

Comments

Minkyu Kang May 31, 2024, 6:51 a.m. UTC | #1
Hi,

On Sun, 26 May 2024 at 06:51, Sam Protsenko <semen.protsenko@linaro.org>
wrote:

> Most of the nodes in e850-96 appended device tree that add bootph-all
> flags are not necessary. All those nodes are instantiated as
> dependencies of other nodes anyway. Remove those nodes to avoid
> cluttering the appended dts. 'bdinfo' reports 768 bytes reduction for
> "Early malloc usage", and 'dm tree' output doesn't change. Keep only
> pmu_system_controller changes, which are actually needed for serial to
> work properly.
>
> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
> ---
>  arch/arm/dts/exynos850-e850-96-u-boot.dtsi | 28 ----------------------
>  1 file changed, 28 deletions(-)
>
> diff --git a/arch/arm/dts/exynos850-e850-96-u-boot.dtsi
> b/arch/arm/dts/exynos850-e850-96-u-boot.dtsi
> index 7ad11e9faab2..6d7148f7264a 100644
> --- a/arch/arm/dts/exynos850-e850-96-u-boot.dtsi
> +++ b/arch/arm/dts/exynos850-e850-96-u-boot.dtsi
> @@ -3,35 +3,7 @@
>   * Copyright (c) 2023 Linaro Ltd.
>   */
>
> -&cmu_top {
> -       bootph-all;
> -};
> -
> -&cmu_peri {
> -       bootph-all;
> -};
> -
> -&oscclk {
> -       bootph-all;
> -};
> -
> -&pinctrl_alive {
> -       bootph-all;
> -};
> -
>  &pmu_system_controller {
>         bootph-all;
>         samsung,uart-debug-1;
>  };
> -
> -&serial_0 {
> -       bootph-all;
> -};
> -
> -&uart1_pins {
> -       bootph-all;
> -};
> -
> -&usi_uart {
> -       bootph-all;
> -};
> --
> 2.39.2
>
>
applied to u-boot-samsung.
diff mbox series

Patch

diff --git a/arch/arm/dts/exynos850-e850-96-u-boot.dtsi b/arch/arm/dts/exynos850-e850-96-u-boot.dtsi
index 7ad11e9faab2..6d7148f7264a 100644
--- a/arch/arm/dts/exynos850-e850-96-u-boot.dtsi
+++ b/arch/arm/dts/exynos850-e850-96-u-boot.dtsi
@@ -3,35 +3,7 @@ 
  * Copyright (c) 2023 Linaro Ltd.
  */
 
-&cmu_top {
-	bootph-all;
-};
-
-&cmu_peri {
-	bootph-all;
-};
-
-&oscclk {
-	bootph-all;
-};
-
-&pinctrl_alive {
-	bootph-all;
-};
-
 &pmu_system_controller {
 	bootph-all;
 	samsung,uart-debug-1;
 };
-
-&serial_0 {
-	bootph-all;
-};
-
-&uart1_pins {
-	bootph-all;
-};
-
-&usi_uart {
-	bootph-all;
-};