1. 04 Apr, 2023 1 commit
    • Stephan Gerhold's avatar
      arm64: dts: qcom: msm8916: Move WCN compatible to boards · 32444424
      Stephan Gerhold authored
      On MSM8916 the wireless connectivity functionality (WiFi/Bluetooth) is
      split into the digital part inside the SoC and the analog RF part inside
      a supplementary WCN36xx chip. For MSM8916, three different options
      exist:
      
        - WCN3620  (WLAN 802.11 b/g/n 2.4 GHz + Bluetooth)
        - WCN3660B (WLAN 802.11 a/b/g/n 2.4/5 GHz + Bluetooth)
        - WCN3680B (WLAN 802.11ac 2.4/5 GHz + Bluetooth)
      
      Choosing one of these is up to the board vendor. This means that the
      compatible belongs into the board-specific DT part so people porting
      new boards pay attention to set the correct compatible.
      
      Right now msm8916.dtsi sets "qcom,wcn3620" as default compatible,
      which does not work at all for boards that have WCN3660B or WCN3680B.
      
      Remove the default compatible from msm8196.dtsi and move it to the board
      DT as follows:
      
        - Boards with only &pronto { status = "okay"; } used the default
          "qcom,wcn3620" so far. They now set this explicitly for &wcnss_iris.
        - Boards with &pronto { ... iris { compatible = "qcom,wcn3660b"; }};
          already had an override that just moves to &wcnss_iris now.
        - For msm8916-samsung-a2015-common.dtsi the WCN compatible differs for
          boards making use of it (a3u: wcn3620, a5u: wcn3660b, e2015: wcn3620)
          so the definitions move to the board-specific DT part.
      
      Since this requires touching all the board DTs, use this as a chance to
      name the WCNSS-related labels consistently, so everything is grouped
      properly when sorted alphabetically.
      
      No functional change, just clean-up for more clarity & easier porting.
      Aside from ordering the generated DTBs are identical.
      Signed-off-by: default avatarStephan Gerhold <stephan.gerhold@kernkonzept.com>
      Reviewed-by: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
      Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
      Link: https://lore.kernel.org/r/20230309091452.1011776-1-stephan.gerhold@kernkonzept.com
      32444424
  2. 28 Mar, 2023 1 commit
  3. 27 Mar, 2023 13 commits
  4. 24 Mar, 2023 10 commits
  5. 23 Mar, 2023 13 commits
  6. 22 Mar, 2023 2 commits