[PATCH v6 2/3] dt-bindings: input: mtk-pmic-keys: add MT6392 binding definition
Fabien Parent
fparent at baylibre.com
Mon Oct 12 07:38:39 EDT 2020
Add the binding documentation of the mtk-pmic-keys for the MT6392 PMICs.
Signed-off-by: Fabien Parent <fparent at baylibre.com>
Reviewed-by: Rob Herring <robh at kernel.org>
---
v6:
* No changes
v5:
* rebased
* Rename MT6397/MT6392/MT6323 into MT63XX to make it more readable when
the list of support PMIC increase
* Removed Reviewed-by from Rob Herring because of the new extra changes
made to this patch
* change the compatible for MT6392 to also contains MT6397 since MT6392 PMIC
key driver is compatible with mt6397.
v4:
* Patch was previously sent separately but merge to this patch series
since there is a hard dependency on the MFD patch.
.../devicetree/bindings/input/mtk-pmic-keys.txt | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt b/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt
index 535d92885372..71c82687ab92 100644
--- a/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt
+++ b/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt
@@ -1,15 +1,18 @@
-MediaTek MT6397/MT6323 PMIC Keys Device Driver
+MediaTek MT63xx PMIC Keys Device Driver
-There are two key functions provided by MT6397/MT6323 PMIC, pwrkey
+There are two key functions provided by MT63xx PMIC, pwrkey
and homekey. The key functions are defined as the subnode of the function
-node provided by MT6397/MT6323 PMIC that is being defined as one kind
+node provided by MT63xx PMIC that is being defined as one kind
of Muti-Function Device (MFD)
-For MT6397/MT6323 MFD bindings see:
+For MT63xx MFD bindings see:
Documentation/devicetree/bindings/mfd/mt6397.txt
Required properties:
-- compatible: "mediatek,mt6397-keys" or "mediatek,mt6323-keys"
+- compatible: Should be one of:
+ - "mediatek,mt6323-keys" for MT6323 PMIC
+ - "mediatek,mt6392-keys", "mediatek,mt6397-keys" for MT6392 PMIC
+ - "mediatek,mt6397-keys" for MT6397 PMIC
- linux,keycodes: See Documentation/devicetree/bindings/input/input.yaml
Optional Properties:
--
2.28.0
More information about the linux-arm-kernel
mailing list