]> git.itanic.dy.fi Git - linux-stable/commit
dt-bindings: memory: mt7621: add syscon as compatible string
authorArınç ÜNAL <arinc.unal@arinc9.com>
Tue, 20 Sep 2022 17:25:50 +0000 (20:25 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Sep 2022 09:24:58 +0000 (10:24 +0100)
commit862b19b7d4a1ab3dd5a7ab95af73f8ec06fdb200
tree1c58e498c6ed583ec7631f09c81c9709c127956f
parent0fbca84eea37eba365130483f9e96b5563a84d7a
dt-bindings: memory: mt7621: add syscon as compatible string

The syscon string was introduced because the mt7621 clock driver needs to
read some registers creating a regmap from the syscon. The bindings were
added before the clock driver was properly mainlined and at first the clock
driver was using ralink architecture dependent operations rt_memc_* defined
in 'arch/mips/include/asm/mach-ralink/ralink_regs.h'.

This string is already there on the memory controller node on mt7621.dtsi.

Add syscon as a constant string on the compatible property, now that memc
became a syscon. Update the example accordingly.

Fixes: 5278e4a181ff ("dt-bindings: memory: add binding for Mediatek's MT7621 SDRAM memory controller")
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Acked-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/memory-controllers/mediatek,mt7621-memc.yaml