Duplicated bindings for mediatek,mt8173-scpsys

Rafał Miłecki zajec5 at gmail.com
Fri Jun 28 00:57:07 PDT 2024


I noticed that "mediatek,mt8173-scpsys" compatible is specified in two
places:
Documentation/devicetree/bindings/soc/mediatek/scpsys.txt
Documentation/devicetree/bindings/mfd/mediatek,mt8195-scpsys.yaml

The first one seems to be "real" hardware block. It also has a Linux
driver at drivers/pmdomain/mediatek/mtk-scpsys.c . It also seems that
scpsys.txt was first added explicitly for MT8173.

The later one seems to be "just" an MFD with no real driver but it
seems to be actually used in arch/arm64/boot/dts/mediatek/mt8173.dtsi .

Can I ask for some assistance sorting this out?

Relevant kernel commits:

commit 26331d261f49949bff6477fc9c844b17076fa245
Author: Tinghan Shen <tinghan.shen at mediatek.com>
Date:   Thu Aug 11 10:57:59 2022 +0800

     dt-bindings: mfd: mt8195: Add bindings for MediaTek SCPSYS

commit c84e358718a66f76ac0de1681d15d8d0c68fcdab
Author: Sascha Hauer <s.hauer at pengutronix.de>
Date:   Wed Jun 24 08:17:04 2015 +0200

     soc: Mediatek: Add SCPSYS power domain driver

commit 859e42800bcfc4db9cefaa2c24d6e3a203fe961d
Author: Sascha Hauer <s.hauer at pengutronix.de>
Date:   Wed Jun 24 08:17:03 2015 +0200

     dt-bindings: soc: Add documentation for the MediaTek SCPSYS unit



More information about the linux-arm-kernel mailing list