mbox series

[GIT,PULL] arm64: dts64: mediatek updates for v5.16

Message ID 1a3d63a3-c020-3319-26f6-a2ec338cc42e@gmail.com (mailing list archive)
State Mainlined, archived
Commit 4bdb00edbd2ae354471f8d37d976a864bf29b60f
Headers show
Series [GIT,PULL] arm64: dts64: mediatek updates for v5.16 | expand

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/ tags/v5.15-next-dts64

Message

Matthias Brugger Oct. 11, 2021, 9:58 a.m. UTC
Hi Arnd and Olof,

Here come the latest updates for arm64 DTS cahgnes.
Biggest change is, that we have now support for a reset controller inside the 
mmsys. This goes inhand with changes to the driver, that you will find in the 
soc pull request.

Please have a look.

Regards,
Matthias

---

The following changes since commit 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f:

   Linux 5.15-rc1 (2021-09-12 16:28:37 -0700)

are available in the Git repository at:

   https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/ 
tags/v5.15-next-dts64

for you to fetch changes up to 4bdb00edbd2ae354471f8d37d976a864bf29b60f:

   arm64: dts: mt8183: Add the mmsys reset bit to reset the dsi0 (2021-10-08 
15:11:14 +0200)

----------------------------------------------------------------
- mt8173: add reset for dsi0 to mmsys
- move dt-bindings reset controller includes to correct folder
- split PCIe node to use new format for mt2712 and mt7622
- mt8183: add audio node to chromebook devices
- mt8192: add clock controller node

----------------------------------------------------------------
Chuanjia Liu (1):
       arm64: dts: mediatek: Split PCIe node for MT2712 and MT7622

Chun-Jie Chen (1):
       arm64: dts: mediatek: Add mt8192 clock controllers

Enric Balletbo i Serra (5):
       arm64: dts: mediatek: Move reset controller constants into common location
       dt-bindings: mediatek: Add #reset-cells to mmsys system controller
       dt-bindings: display: mediatek: add dsi reset optional property
       arm64: dts: mt8173: Add the mmsys reset bit to reset the dsi0
       arm64: dts: mt8183: Add the mmsys reset bit to reset the dsi0

Kansho Nishida (2):
       arm64: dts: mt8183: add audio node
       arm64: dts: mt8183: add kukui platform audio node

  .../bindings/arm/mediatek/mediatek,mmsys.yaml      |   4 +
  .../bindings/display/mediatek/mediatek,dsi.txt     |   6 +
  arch/arm64/boot/dts/mediatek/mt2712e.dtsi          |  97 ++++++------
  arch/arm64/boot/dts/mediatek/mt6358.dtsi           |   1 +
  .../boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts  |  16 +-
  arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts       |   6 +-
  arch/arm64/boot/dts/mediatek/mt7622.dtsi           | 112 +++++++-------
  arch/arm64/boot/dts/mediatek/mt8173.dtsi           |   2 +
  .../mt8183-kukui-audio-da7219-max98357a.dtsi       |  13 ++
  .../mt8183-kukui-audio-da7219-rt1015p.dtsi         |  13 ++
  .../dts/mediatek/mt8183-kukui-audio-da7219.dtsi    |  54 +++++++
  .../dts/mediatek/mt8183-kukui-audio-max98357a.dtsi |  13 ++
  .../dts/mediatek/mt8183-kukui-audio-rt1015p.dtsi   |  13 ++
  .../mt8183-kukui-audio-ts3a227e-max98357a.dtsi     |  13 ++
  .../mt8183-kukui-audio-ts3a227e-rt1015p.dtsi       |  13 ++
  .../dts/mediatek/mt8183-kukui-audio-ts3a227e.dtsi  |  32 ++++
  .../dts/mediatek/mt8183-kukui-jacuzzi-burnet.dts   |   1 +
  .../dts/mediatek/mt8183-kukui-jacuzzi-damu.dts     |   1 +
  .../dts/mediatek/mt8183-kukui-jacuzzi-fennel.dtsi  |   1 +
  .../mt8183-kukui-jacuzzi-juniper-sku16.dts         |   1 +
  .../dts/mediatek/mt8183-kukui-jacuzzi-kappa.dts    |   1 +
  .../dts/mediatek/mt8183-kukui-jacuzzi-kenzo.dts    |   1 +
  .../mediatek/mt8183-kukui-jacuzzi-willow-sku0.dts  |   1 +
  .../mediatek/mt8183-kukui-jacuzzi-willow-sku1.dts  |   1 +
  .../boot/dts/mediatek/mt8183-kukui-kakadu.dts      |   1 +
  .../boot/dts/mediatek/mt8183-kukui-kodama.dtsi     |   1 +
  .../boot/dts/mediatek/mt8183-kukui-krane.dtsi      |   5 +
  arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi     |  67 ++++++++-
  arch/arm64/boot/dts/mediatek/mt8183.dtsi           |  99 ++++++++++++-
  arch/arm64/boot/dts/mediatek/mt8192.dtsi           | 163 +++++++++++++++++++++
  drivers/watchdog/mtk_wdt.c                         |   6 +-
  .../{reset-controller => reset}/mt2712-resets.h    |   0
  include/dt-bindings/reset/mt8173-resets.h          |   2 +
  .../{reset-controller => reset}/mt8183-resets.h    |   3 +
  .../{reset-controller => reset}/mt8192-resets.h    |   0
  35 files changed, 640 insertions(+), 123 deletions(-)
  create mode 100644 
arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-da7219-max98357a.dtsi
  create mode 100644 
arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-da7219-rt1015p.dtsi
  create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-da7219.dtsi
  create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-max98357a.dtsi
  create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-rt1015p.dtsi
  create mode 100644 
arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-ts3a227e-max98357a.dtsi
  create mode 100644 
arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-ts3a227e-rt1015p.dtsi
  create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-ts3a227e.dtsi
  rename include/dt-bindings/{reset-controller => reset}/mt2712-resets.h (100%)
  rename include/dt-bindings/{reset-controller => reset}/mt8183-resets.h (98%)
  rename include/dt-bindings/{reset-controller => reset}/mt8192-resets.h (100%)

Comments

Arnd Bergmann Oct. 11, 2021, 8:34 p.m. UTC | #1
On Mon, Oct 11, 2021 at 11:58 AM Matthias Brugger
<matthias.bgg@gmail.com> wrote:
>
> Hi Arnd and Olof,
>
> Here come the latest updates for arm64 DTS cahgnes.
> Biggest change is, that we have now support for a reset controller inside the
> mmsys. This goes inhand with changes to the driver, that you will find in the
> soc pull request.
>
>
>    arm64: dts: mt8183: Add the mmsys reset bit to reset the dsi0 (2021-10-08
> 15:11:14 +0200)
>
> ----------------------------------------------------------------
> - mt8173: add reset for dsi0 to mmsys
> - move dt-bindings reset controller includes to correct folder
> - split PCIe node to use new format for mt2712 and mt7622
> - mt8183: add audio node to chromebook devices
> - mt8192: add clock controller node

I skipped this one for now, need some clarification. The PCIe node
looks like you are doing an incompatible change to the DT binding,
but that is something that should be explained in the tag description
or (ideally) avoided if at all possible.

Did I misread that patch, or did you forget about it here?

On a related note, the tag description should better have full
sentences like your introductory text above it, that makes for
a better changelog text in the end. Enumerating all the changes
is not helpful here because the list of commits is also part of
the changeset description after I commit it.

          Arnd
Matthias Brugger Oct. 14, 2021, 9:26 a.m. UTC | #2
On 11/10/2021 22:34, Arnd Bergmann wrote:
> On Mon, Oct 11, 2021 at 11:58 AM Matthias Brugger
> <matthias.bgg@gmail.com> wrote:
>>
>> Hi Arnd and Olof,
>>
>> Here come the latest updates for arm64 DTS cahgnes.
>> Biggest change is, that we have now support for a reset controller inside the
>> mmsys. This goes inhand with changes to the driver, that you will find in the
>> soc pull request.
>>
>>
>>     arm64: dts: mt8183: Add the mmsys reset bit to reset the dsi0 (2021-10-08
>> 15:11:14 +0200)
>>
>> ----------------------------------------------------------------
>> - mt8173: add reset for dsi0 to mmsys
>> - move dt-bindings reset controller includes to correct folder
>> - split PCIe node to use new format for mt2712 and mt7622
>> - mt8183: add audio node to chromebook devices
>> - mt8192: add clock controller node
> 
> I skipped this one for now, need some clarification. The PCIe node
> looks like you are doing an incompatible change to the DT binding,
> but that is something that should be explained in the tag description
> or (ideally) avoided if at all possible.
> 

Mediatek PCI device tree binding described the root port in a wrong. The IP 
actaully implements several root complex with everyone having a single root port.

We need to fix the DT in an incompatible way to describe the HW as it is. This 
also fixes a problem that no IRQ bigger then 32 could be handled.

The only public available HW that is affected by this is the BananaPi R64. I'm 
not aware that there is a big user base using the upstream kernel. In this 
boards PCI is only used for extension cards, so I don't expect any boot problems.

> Did I misread that patch, or did you forget about it here?
> 
> On a related note, the tag description should better have full
> sentences like your introductory text above it, that makes for
> a better changelog text in the end. Enumerating all the changes
> is not helpful here because the list of commits is also part of
> the changeset description after I commit it.
> 

Got it, I'll write a full sentence description I use to do for the pull request 
emails in the tag.

Regards,
Matthias
Arnd Bergmann Oct. 20, 2021, 2:50 p.m. UTC | #3
From: Arnd Bergmann <arnd@arndb.de>

On Mon, 11 Oct 2021 11:58:34 +0200, Matthias Brugger wrote:
> Here come the latest updates for arm64 DTS cahgnes.
> Biggest change is, that we have now support for a reset controller inside the
> mmsys. This goes inhand with changes to the driver, that you will find in the
> soc pull request.
> 
> Please have a look.
> 
> Regards,
> Matthias

Merged into arm/dt, thanks!

merge commit: ba232d398aee515ee0f8d046ba391f03bed49bfa

       Arnd