mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-25 03:55:09 +08:00
9d87b0ac80
Add compatible for mt8195 Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20211209174235.14049-3-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
44 lines
1.1 KiB
Plaintext
44 lines
1.1 KiB
Plaintext
= Mediatek MTK-EFUSE device tree bindings =
|
|
|
|
This binding is intended to represent MTK-EFUSE which is found in most Mediatek SOCs.
|
|
|
|
Required properties:
|
|
- compatible: should be
|
|
"mediatek,mt7622-efuse", "mediatek,efuse": for MT7622
|
|
"mediatek,mt7623-efuse", "mediatek,efuse": for MT7623
|
|
"mediatek,mt8173-efuse" or "mediatek,efuse": for MT8173
|
|
"mediatek,mt8192-efuse", "mediatek,efuse": for MT8192
|
|
"mediatek,mt8195-efuse", "mediatek,efuse": for MT8195
|
|
"mediatek,mt8516-efuse", "mediatek,efuse": for MT8516
|
|
- reg: Should contain registers location and length
|
|
- bits: contain the bits range by offset and size
|
|
|
|
= Data cells =
|
|
Are child nodes of MTK-EFUSE, bindings of which as described in
|
|
bindings/nvmem/nvmem.txt
|
|
|
|
Example:
|
|
|
|
efuse: efuse@10206000 {
|
|
compatible = "mediatek,mt8173-efuse";
|
|
reg = <0 0x10206000 0 0x1000>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
/* Data cells */
|
|
thermal_calibration: calib@528 {
|
|
reg = <0x528 0xc>;
|
|
};
|
|
};
|
|
|
|
= Data consumers =
|
|
Are device nodes which consume nvmem data cells.
|
|
|
|
For example:
|
|
|
|
thermal {
|
|
...
|
|
nvmem-cells = <&thermal_calibration>;
|
|
nvmem-cell-names = "calibration";
|
|
};
|