[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200907103311.1601907-2-fparent@baylibre.com>
Date: Mon, 7 Sep 2020 12:33:10 +0200
From: Fabien Parent <fparent@...libre.com>
To: linux-kernel@...r.kernel.org, linux-mediatek@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
linux-input@...r.kernel.org
Cc: hsin-hsiung.wang@...iatek.com, lee.jones@...aro.org,
matthias.bgg@...il.com, robh+dt@...nel.org,
dmitry.torokhov@...il.com, Fabien Parent <fparent@...libre.com>,
Rob Herring <robh@...nel.org>
Subject: [PATCH v5 2/3] dt-bindings: input: mtk-pmic-keys: add MT6392 binding definition
Add the binding documentation of the mtk-pmic-keys for the MT6392 PMICs.
Signed-off-by: Fabien Parent <fparent@...libre.com>
Reviewed-by: Rob Herring <robh@...nel.org>
---
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
Powered by blists - more mailing lists