Skip to content

Convert MSM8916 boards to use labels, reduce duplication

Stephan Gerhold linux-arm-msm linux-devicetree 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10arm64: dts: qcom: apq8016-sbc: Remove properties that are already defaultarch/arm64/boot/dts/qcom/apq8016-sbc.dtsi+0 -180 replies
2/10arm64: dts: qcom: msm8916: Declare sound node in msm8916.dtsiarch/arm64/boot/dts/qcom/apq8016-sbc.dtsi arch/arm64/boot/dts/qcom/msm8916.dtsi+8 -50 replies
3/10arm64: dts: qcom: apq8016-sbc: Define leds outside of soc nodearch/arm64/boot/dts/qcom/apq8016-sbc.dtsi+52 -520 replies
4/10arm64: dts: qcom: msm8916: Add more labelsarch/arm64/boot/dts/qcom/msm8916.dtsi+20 -200 replies
5/10arm64: dts: qcom: msm8916: Use labels in board device treesarch/arm64/boot/dts/qcom/apq8016-sbc.dtsi arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts arch/arm64/boot/dts/qcom/msm8916-mtp.dtsi +1 more+514 -5460 replies
6/10arm64: dts: qcom: pm8916: Add resin nodearch/arm64/boot/dts/qcom/apq8016-sbc.dtsi arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi +1 more+23 -400 replies
7/10arm64: dts: qcom: msm8916: Move PM8916-specific parts to msm8916-pm8916.dtsiarch/arm64/boot/dts/qcom/apq8016-sbc.dtsi arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts arch/arm64/boot/dts/qcom/msm8916-mtp.dtsi +3 more+59 -480 replies
8/10arm64: dts: qcom: msm8916: Move more supplies to msm8916-pm8916.dtsiarch/arm64/boot/dts/qcom/apq8016-sbc.dtsi arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts arch/arm64/boot/dts/qcom/msm8916-pm8916.dtsi +1 more+24 -380 replies
9/10arm64: dts: qcom: msm8916: Set default pinctrl for blsp1_uart1/2arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts arch/arm64/boot/dts/qcom/msm8916-mtp.dtsi +2 more+9 -220 replies
10/10arm64: dts: qcom: msm8916: Move common USB properties to msm8916.dtsiarch/arm64/boot/dts/qcom/apq8016-sbc.dtsi arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi +1 more+3 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/10] Convert MSM8916 boards to use labels, reduce duplication

Board device trees for newer SoCs reference labels to override properties for components of the SoC. This patch series converts all MSM8916 boards to use the same style.

Additionally, in the second part of the series I attempt to reduce duplication within the MSM8916 board device trees a bit. If we keep copying a large number of properties to each and every board of a SoC then (in my opinion) it makes sense to consider if those can be shared in some include.

This will make it easier to add new boards in the future.

Stephan Gerhold (10):
arm64: dts: qcom: apq8016-sbc: Remove properties that are already
default
arm64: dts: qcom: msm8916: Declare sound node in msm8916.dtsi
arm64: dts: qcom: apq8016-sbc: Define leds outside of soc node
arm64: dts: qcom: msm8916: Add more labels
arm64: dts: qcom: msm8916: Use labels in board device trees
arm64: dts: qcom: pm8916: Add resin node
arm64: dts: qcom: msm8916: Move PM8916-specific parts to

    msm8916-pm8916.dtsi

arm64: dts: qcom: msm8916: Move more supplies to msm8916-pm8916.dtsi
arm64: dts: qcom: msm8916: Set default pinctrl for blsp1_uart1/2
arm64: dts: qcom: msm8916: Move common USB properties to msm8916.dtsi

 arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi     | 900 ++++++++----------
 .../boot/dts/qcom/msm8916-longcheer-l8150.dts | 108 +--
 arch/arm64/boot/dts/qcom/msm8916-mtp.dtsi     |  14 +-
 arch/arm64/boot/dts/qcom/msm8916-pm8916.dtsi  |  79 ++
 .../qcom/msm8916-samsung-a2015-common.dtsi    | 130 +--
 arch/arm64/boot/dts/qcom/msm8916.dtsi         |  99 +-
 arch/arm64/boot/dts/qcom/pm8916.dtsi          |   8 +
 7 files changed, 625 insertions(+), 713 deletions(-)
 create mode 100644 arch/arm64/boot/dts/qcom/msm8916-pm8916.dtsi

--
2.27.0