]> git.itanic.dy.fi Git - linux-stable/commit
dt-bindings: memory: snps,dw-umctl2-ddrc: Use more descriptive device name
authorSerge Semin <Sergey.Semin@baikalelectronics.ru>
Sat, 10 Sep 2022 19:42:33 +0000 (22:42 +0300)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 21 Sep 2022 18:31:59 +0000 (20:31 +0200)
commit9f60675a0f2e72f7967cc534f1c97f6da3b47392
treeca70801f52c7c1e8261c367bf5b5c3aa87d6040e
parent845081313632b6a27dff576cf102b4aecb4654cf
dt-bindings: memory: snps,dw-umctl2-ddrc: Use more descriptive device name

The DT-schema name and the corresponding generic compatible string look
inappropriate in the current DW uMCTL2 DDRC DT-bindings:
1. DT-schema name contains undefined vendor-prefix. It's supposed to be
"snps", not "synopsys".
2. DT-schema name has "ecc" suffix. That is a device property, and has
nothing to do with the controller actual name.
3. The controller name is different. It's DW uMCTL2 DDRC. Just DDRC
doesn't identify the IP-core in subject.
4. There is no much point in using the IP-core version in the device name
since it can be retrieved from the corresponding device CSR. Moreover the
DW uMCTL2 DDRC driver doesn't differentiate the IP-core version at the
current state.

In order to fix all the inconsistencies described above we suggest to
rename the DT-schema to "snps,dw-umctl2-ddrc.yaml", deprecate the
compatible string "snps,ddrc-3.80a" and define a new generic device
name as "snps,dw-umctl2-ddrc".

Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220910194237.10142-16-Sergey.Semin@baikalelectronics.ru
Documentation/devicetree/bindings/memory-controllers/snps,dw-umctl2-ddrc.yaml [moved from Documentation/devicetree/bindings/memory-controllers/synopsys,ddrc-ecc.yaml with 83% similarity]
MAINTAINERS