linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] MediaTek PMIC Keys - DT schema conversion
@ 2022-09-14 10:30 AngeloGioacchino Del Regno
  2022-09-14 10:30 ` [PATCH v2 1/2] dt-bindings: input: Convert mtk-pmic-keys to DT schema AngeloGioacchino Del Regno
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-09-14 10:30 UTC (permalink / raw)
  To: krzysztof.kozlowski+dt
  Cc: dmitry.torokhov, robh+dt, matthias.bgg, chen.zhong, linux-input,
	devicetree, linux-kernel, linux-arm-kernel, linux-mediatek,
	AngeloGioacchino Del Regno

This series converts the old mtk-pmic-keys.txt binding to DT schema,
documents the missing support for key press/release interrupts and
adds a compatible for the newly introduced MT6331 keys.

Changes in v2:
 - Removed tests leftover interrupts/interrupt-names from examples

AngeloGioacchino Del Regno (2):
  dt-bindings: input: Convert mtk-pmic-keys to DT schema
  dt-bindings: input: mediatek,pmic-keys: Add compatible for MT6331 keys

 .../bindings/input/mediatek,pmic-keys.yaml    | 114 ++++++++++++++++++
 .../bindings/input/mtk-pmic-keys.txt          |  46 -------
 2 files changed, 114 insertions(+), 46 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml
 delete mode 100644 Documentation/devicetree/bindings/input/mtk-pmic-keys.txt

-- 
2.37.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH v2 1/2] dt-bindings: input: Convert mtk-pmic-keys to DT schema
  2022-09-14 10:30 [PATCH v2 0/2] MediaTek PMIC Keys - DT schema conversion AngeloGioacchino Del Regno
@ 2022-09-14 10:30 ` AngeloGioacchino Del Regno
  2022-09-14 16:02   ` Mattijs Korpershoek
  2022-09-14 16:27   ` Rob Herring
  2022-09-14 10:30 ` [PATCH v2 2/2] dt-bindings: input: mediatek,pmic-keys: Add compatible for MT6331 keys AngeloGioacchino Del Regno
  2022-09-14 18:13 ` [PATCH v2 0/2] MediaTek PMIC Keys - DT schema conversion Dmitry Torokhov
  2 siblings, 2 replies; 8+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-09-14 10:30 UTC (permalink / raw)
  To: krzysztof.kozlowski+dt
  Cc: dmitry.torokhov, robh+dt, matthias.bgg, chen.zhong, linux-input,
	devicetree, linux-kernel, linux-arm-kernel, linux-mediatek,
	AngeloGioacchino Del Regno

Convert the mtk-pmic-keys to DT schema format.

The old binding was missing documentation for key press/release
interrupts, even though it was supported in hardware and driver,
so support for the same was added during the conversion.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
 .../bindings/input/mediatek,pmic-keys.yaml    | 113 ++++++++++++++++++
 .../bindings/input/mtk-pmic-keys.txt          |  46 -------
 2 files changed, 113 insertions(+), 46 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml
 delete mode 100644 Documentation/devicetree/bindings/input/mtk-pmic-keys.txt

diff --git a/Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml b/Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml
new file mode 100644
index 000000000000..9d8a0c3aebca
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml
@@ -0,0 +1,113 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/input/mediatek,pmic-keys.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MediaTek PMIC Keys
+
+maintainers:
+  - Chen Zhong <chen.zhong@mediatek.com>
+
+allOf:
+  - $ref: input.yaml#
+
+description: |
+  There are two key functions provided by MT6397, MT6323 and other MediaTek
+  PMICs: pwrkey and homekey.
+  The key functions are defined as the subnode of the function node provided
+  by the PMIC that is defined as a Multi-Function Device (MFD).
+
+  For MediaTek MT6323/MT6397 PMIC bindings see
+  Documentation/devicetree/bindings/mfd/mt6397.txt
+
+properties:
+  compatible:
+    enum:
+      - mediatek,mt6323-keys
+      - mediatek,mt6358-keys
+      - mediatek,mt6397-keys
+
+  power-off-time-sec: true
+
+  mediatek,long-press-mode:
+    description: |
+      Key long-press force shutdown setting
+      0 - disabled
+      1 - pwrkey
+      2 - pwrkey+homekey
+    $ref: /schemas/types.yaml#/definitions/uint32
+    default: 0
+    maximum: 2
+
+patternProperties:
+  "^((power|home)|(key-[a-z0-9-]+|[a-z0-9-]+-key))$":
+    $ref: input.yaml#
+
+    properties:
+      interrupts:
+        minItems: 1
+        items:
+          - description: Key press interrupt
+          - description: Key release interrupt
+
+      interrupt-names: true
+
+      linux-keycodes:
+        maxItems: 1
+
+      wakeup-source: true
+
+    required:
+      - linux,keycodes
+
+    if:
+      properties:
+        interrupt-names:
+          contains:
+            const: powerkey
+    then:
+      properties:
+        interrupt-names:
+          minItems: 1
+          items:
+            - const: powerkey
+            - const: powerkey_r
+    else:
+      properties:
+        interrupt-names:
+          minItems: 1
+          items:
+            - const: homekey
+            - const: homekey_r
+
+    unevaluatedProperties: false
+
+required:
+  - compatible
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/input/input.h>
+    #include <dt-bindings/interrupt-controller/arm-gic.h>
+
+    pmic {
+        compatible = "mediatek,mt6397";
+
+        keys {
+          compatible = "mediatek,mt6397-keys";
+          mediatek,long-press-mode = <1>;
+          power-off-time-sec = <0>;
+
+          key-power {
+            linux,keycodes = <KEY_POWER>;
+            wakeup-source;
+          };
+
+          key-home {
+            linux,keycodes = <KEY_VOLUMEDOWN>;
+          };
+        };
+    };
diff --git a/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt b/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt
deleted file mode 100644
index 9d00f2a8e13a..000000000000
--- a/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt
+++ /dev/null
@@ -1,46 +0,0 @@
-MediaTek MT6397/MT6323 PMIC Keys Device Driver
-
-There are two key functions provided by MT6397/MT6323 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
-of Muti-Function Device (MFD)
-
-For MT6397/MT6323 MFD bindings see:
-Documentation/devicetree/bindings/mfd/mt6397.txt
-
-Required properties:
-- compatible: Should be one of:
-	- "mediatek,mt6397-keys"
-	- "mediatek,mt6323-keys"
-	- "mediatek,mt6358-keys"
-- linux,keycodes: See Documentation/devicetree/bindings/input/input.yaml
-
-Optional Properties:
-- wakeup-source: See Documentation/devicetree/bindings/power/wakeup-source.txt
-- mediatek,long-press-mode: Long press key shutdown setting, 1 for
-	pwrkey only, 2 for pwrkey/homekey together, others for disabled.
-- power-off-time-sec: See Documentation/devicetree/bindings/input/input.yaml
-
-Example:
-
-	pmic: mt6397 {
-		compatible = "mediatek,mt6397";
-
-		...
-
-		mt6397keys: mt6397keys {
-			compatible = "mediatek,mt6397-keys";
-			mediatek,long-press-mode = <1>;
-			power-off-time-sec = <0>;
-
-			power {
-				linux,keycodes = <116>;
-				wakeup-source;
-			};
-
-			home {
-				linux,keycodes = <114>;
-			};
-		};
-
-	};
-- 
2.37.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH v2 2/2] dt-bindings: input: mediatek,pmic-keys: Add compatible for MT6331 keys
  2022-09-14 10:30 [PATCH v2 0/2] MediaTek PMIC Keys - DT schema conversion AngeloGioacchino Del Regno
  2022-09-14 10:30 ` [PATCH v2 1/2] dt-bindings: input: Convert mtk-pmic-keys to DT schema AngeloGioacchino Del Regno
@ 2022-09-14 10:30 ` AngeloGioacchino Del Regno
  2022-09-14 16:03   ` Mattijs Korpershoek
  2022-09-14 16:27   ` Rob Herring
  2022-09-14 18:13 ` [PATCH v2 0/2] MediaTek PMIC Keys - DT schema conversion Dmitry Torokhov
  2 siblings, 2 replies; 8+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-09-14 10:30 UTC (permalink / raw)
  To: krzysztof.kozlowski+dt
  Cc: dmitry.torokhov, robh+dt, matthias.bgg, chen.zhong, linux-input,
	devicetree, linux-kernel, linux-arm-kernel, linux-mediatek,
	AngeloGioacchino Del Regno

Add a compatible for the keys found on MT6331 PMIC.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
 Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml b/Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml
index 9d8a0c3aebca..2f72ec418415 100644
--- a/Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml
+++ b/Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml
@@ -25,6 +25,7 @@ properties:
   compatible:
     enum:
       - mediatek,mt6323-keys
+      - mediatek,mt6331-keys
       - mediatek,mt6358-keys
       - mediatek,mt6397-keys
 
-- 
2.37.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH v2 1/2] dt-bindings: input: Convert mtk-pmic-keys to DT schema
  2022-09-14 10:30 ` [PATCH v2 1/2] dt-bindings: input: Convert mtk-pmic-keys to DT schema AngeloGioacchino Del Regno
@ 2022-09-14 16:02   ` Mattijs Korpershoek
  2022-09-14 16:27   ` Rob Herring
  1 sibling, 0 replies; 8+ messages in thread
From: Mattijs Korpershoek @ 2022-09-14 16:02 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno, krzysztof.kozlowski+dt
  Cc: dmitry.torokhov, robh+dt, matthias.bgg, chen.zhong, linux-input,
	devicetree, linux-kernel, linux-arm-kernel, linux-mediatek,
	AngeloGioacchino Del Regno

Hi Angelo,

On Wed, Sep 14, 2022 at 12:30, AngeloGioacchino Del Regno         <angelogioacchino.delregno@collabora.com> wrote:

> Convert the mtk-pmic-keys to DT schema format.
>
> The old binding was missing documentation for key press/release
> interrupts, even though it was supported in hardware and driver,
> so support for the same was added during the conversion.
>
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> ---
>  .../bindings/input/mediatek,pmic-keys.yaml    | 113 ++++++++++++++++++
>  .../bindings/input/mtk-pmic-keys.txt          |  46 -------
>  2 files changed, 113 insertions(+), 46 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml
>  delete mode 100644 Documentation/devicetree/bindings/input/mtk-pmic-keys.txt

Thank you for doing this. I started this but it seemed you were faster
than me :)

Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>

>
> diff --git a/Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml b/Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml
> new file mode 100644
> index 000000000000..9d8a0c3aebca
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml
> @@ -0,0 +1,113 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/input/mediatek,pmic-keys.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: MediaTek PMIC Keys
> +
> +maintainers:
> +  - Chen Zhong <chen.zhong@mediatek.com>
> +
> +allOf:
> +  - $ref: input.yaml#
> +
> +description: |
> +  There are two key functions provided by MT6397, MT6323 and other MediaTek
> +  PMICs: pwrkey and homekey.
> +  The key functions are defined as the subnode of the function node provided
> +  by the PMIC that is defined as a Multi-Function Device (MFD).
> +
> +  For MediaTek MT6323/MT6397 PMIC bindings see
> +  Documentation/devicetree/bindings/mfd/mt6397.txt
> +
> +properties:
> +  compatible:
> +    enum:
> +      - mediatek,mt6323-keys
> +      - mediatek,mt6358-keys
> +      - mediatek,mt6397-keys
> +
> +  power-off-time-sec: true
> +
> +  mediatek,long-press-mode:
> +    description: |
> +      Key long-press force shutdown setting
> +      0 - disabled
> +      1 - pwrkey
> +      2 - pwrkey+homekey
> +    $ref: /schemas/types.yaml#/definitions/uint32
> +    default: 0
> +    maximum: 2
> +
> +patternProperties:
> +  "^((power|home)|(key-[a-z0-9-]+|[a-z0-9-]+-key))$":
> +    $ref: input.yaml#
> +
> +    properties:
> +      interrupts:
> +        minItems: 1
> +        items:
> +          - description: Key press interrupt
> +          - description: Key release interrupt
> +
> +      interrupt-names: true
> +
> +      linux-keycodes:
> +        maxItems: 1
> +
> +      wakeup-source: true
> +
> +    required:
> +      - linux,keycodes
> +
> +    if:
> +      properties:
> +        interrupt-names:
> +          contains:
> +            const: powerkey
> +    then:
> +      properties:
> +        interrupt-names:
> +          minItems: 1
> +          items:
> +            - const: powerkey
> +            - const: powerkey_r
> +    else:
> +      properties:
> +        interrupt-names:
> +          minItems: 1
> +          items:
> +            - const: homekey
> +            - const: homekey_r
> +
> +    unevaluatedProperties: false
> +
> +required:
> +  - compatible
> +
> +unevaluatedProperties: false
> +
> +examples:
> +  - |
> +    #include <dt-bindings/input/input.h>
> +    #include <dt-bindings/interrupt-controller/arm-gic.h>
> +
> +    pmic {
> +        compatible = "mediatek,mt6397";
> +
> +        keys {
> +          compatible = "mediatek,mt6397-keys";
> +          mediatek,long-press-mode = <1>;
> +          power-off-time-sec = <0>;
> +
> +          key-power {
> +            linux,keycodes = <KEY_POWER>;
> +            wakeup-source;
> +          };
> +
> +          key-home {
> +            linux,keycodes = <KEY_VOLUMEDOWN>;
> +          };
> +        };
> +    };
> diff --git a/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt b/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt
> deleted file mode 100644
> index 9d00f2a8e13a..000000000000
> --- a/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt
> +++ /dev/null
> @@ -1,46 +0,0 @@
> -MediaTek MT6397/MT6323 PMIC Keys Device Driver
> -
> -There are two key functions provided by MT6397/MT6323 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
> -of Muti-Function Device (MFD)
> -
> -For MT6397/MT6323 MFD bindings see:
> -Documentation/devicetree/bindings/mfd/mt6397.txt
> -
> -Required properties:
> -- compatible: Should be one of:
> -	- "mediatek,mt6397-keys"
> -	- "mediatek,mt6323-keys"
> -	- "mediatek,mt6358-keys"
> -- linux,keycodes: See Documentation/devicetree/bindings/input/input.yaml
> -
> -Optional Properties:
> -- wakeup-source: See Documentation/devicetree/bindings/power/wakeup-source.txt
> -- mediatek,long-press-mode: Long press key shutdown setting, 1 for
> -	pwrkey only, 2 for pwrkey/homekey together, others for disabled.
> -- power-off-time-sec: See Documentation/devicetree/bindings/input/input.yaml
> -
> -Example:
> -
> -	pmic: mt6397 {
> -		compatible = "mediatek,mt6397";
> -
> -		...
> -
> -		mt6397keys: mt6397keys {
> -			compatible = "mediatek,mt6397-keys";
> -			mediatek,long-press-mode = <1>;
> -			power-off-time-sec = <0>;
> -
> -			power {
> -				linux,keycodes = <116>;
> -				wakeup-source;
> -			};
> -
> -			home {
> -				linux,keycodes = <114>;
> -			};
> -		};
> -
> -	};
> -- 
> 2.37.2

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2 2/2] dt-bindings: input: mediatek,pmic-keys: Add compatible for MT6331 keys
  2022-09-14 10:30 ` [PATCH v2 2/2] dt-bindings: input: mediatek,pmic-keys: Add compatible for MT6331 keys AngeloGioacchino Del Regno
@ 2022-09-14 16:03   ` Mattijs Korpershoek
  2022-09-14 16:27   ` Rob Herring
  1 sibling, 0 replies; 8+ messages in thread
From: Mattijs Korpershoek @ 2022-09-14 16:03 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno, krzysztof.kozlowski+dt
  Cc: dmitry.torokhov, robh+dt, matthias.bgg, chen.zhong, linux-input,
	devicetree, linux-kernel, linux-arm-kernel, linux-mediatek,
	AngeloGioacchino Del Regno

On Wed, Sep 14, 2022 at 12:30, AngeloGioacchino Del Regno         <angelogioacchino.delregno@collabora.com> wrote:

> Add a compatible for the keys found on MT6331 PMIC.
>
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>

> ---
>  Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml b/Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml
> index 9d8a0c3aebca..2f72ec418415 100644
> --- a/Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml
> +++ b/Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml
> @@ -25,6 +25,7 @@ properties:
>    compatible:
>      enum:
>        - mediatek,mt6323-keys
> +      - mediatek,mt6331-keys
>        - mediatek,mt6358-keys
>        - mediatek,mt6397-keys
>  
> -- 
> 2.37.2

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2 1/2] dt-bindings: input: Convert mtk-pmic-keys to DT schema
  2022-09-14 10:30 ` [PATCH v2 1/2] dt-bindings: input: Convert mtk-pmic-keys to DT schema AngeloGioacchino Del Regno
  2022-09-14 16:02   ` Mattijs Korpershoek
@ 2022-09-14 16:27   ` Rob Herring
  1 sibling, 0 replies; 8+ messages in thread
From: Rob Herring @ 2022-09-14 16:27 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno
  Cc: dmitry.torokhov, linux-input, chen.zhong, robh+dt, linux-kernel,
	matthias.bgg, linux-arm-kernel, krzysztof.kozlowski+dt,
	linux-mediatek, devicetree

On Wed, 14 Sep 2022 12:30:20 +0200, AngeloGioacchino Del Regno wrote:
> Convert the mtk-pmic-keys to DT schema format.
> 
> The old binding was missing documentation for key press/release
> interrupts, even though it was supported in hardware and driver,
> so support for the same was added during the conversion.
> 
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> ---
>  .../bindings/input/mediatek,pmic-keys.yaml    | 113 ++++++++++++++++++
>  .../bindings/input/mtk-pmic-keys.txt          |  46 -------
>  2 files changed, 113 insertions(+), 46 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml
>  delete mode 100644 Documentation/devicetree/bindings/input/mtk-pmic-keys.txt
> 

Reviewed-by: Rob Herring <robh@kernel.org>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2 2/2] dt-bindings: input: mediatek,pmic-keys: Add compatible for MT6331 keys
  2022-09-14 10:30 ` [PATCH v2 2/2] dt-bindings: input: mediatek,pmic-keys: Add compatible for MT6331 keys AngeloGioacchino Del Regno
  2022-09-14 16:03   ` Mattijs Korpershoek
@ 2022-09-14 16:27   ` Rob Herring
  1 sibling, 0 replies; 8+ messages in thread
From: Rob Herring @ 2022-09-14 16:27 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno
  Cc: dmitry.torokhov, linux-mediatek, robh+dt, devicetree,
	matthias.bgg, krzysztof.kozlowski+dt, linux-arm-kernel,
	linux-input, linux-kernel, chen.zhong

On Wed, 14 Sep 2022 12:30:21 +0200, AngeloGioacchino Del Regno wrote:
> Add a compatible for the keys found on MT6331 PMIC.
> 
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> ---
>  Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2 0/2] MediaTek PMIC Keys - DT schema conversion
  2022-09-14 10:30 [PATCH v2 0/2] MediaTek PMIC Keys - DT schema conversion AngeloGioacchino Del Regno
  2022-09-14 10:30 ` [PATCH v2 1/2] dt-bindings: input: Convert mtk-pmic-keys to DT schema AngeloGioacchino Del Regno
  2022-09-14 10:30 ` [PATCH v2 2/2] dt-bindings: input: mediatek,pmic-keys: Add compatible for MT6331 keys AngeloGioacchino Del Regno
@ 2022-09-14 18:13 ` Dmitry Torokhov
  2 siblings, 0 replies; 8+ messages in thread
From: Dmitry Torokhov @ 2022-09-14 18:13 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno
  Cc: krzysztof.kozlowski+dt, robh+dt, matthias.bgg, chen.zhong,
	linux-input, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek

On Wed, Sep 14, 2022 at 12:30:19PM +0200, AngeloGioacchino Del Regno wrote:
> This series converts the old mtk-pmic-keys.txt binding to DT schema,
> documents the missing support for key press/release interrupts and
> adds a compatible for the newly introduced MT6331 keys.
> 
> Changes in v2:
>  - Removed tests leftover interrupts/interrupt-names from examples
> 
> AngeloGioacchino Del Regno (2):
>   dt-bindings: input: Convert mtk-pmic-keys to DT schema
>   dt-bindings: input: mediatek,pmic-keys: Add compatible for MT6331 keys
> 
>  .../bindings/input/mediatek,pmic-keys.yaml    | 114 ++++++++++++++++++
>  .../bindings/input/mtk-pmic-keys.txt          |  46 -------
>  2 files changed, 114 insertions(+), 46 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml
>  delete mode 100644 Documentation/devicetree/bindings/input/mtk-pmic-keys.txt

Applied the lot, thank you.

-- 
Dmitry

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-09-14 18:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-14 10:30 [PATCH v2 0/2] MediaTek PMIC Keys - DT schema conversion AngeloGioacchino Del Regno
2022-09-14 10:30 ` [PATCH v2 1/2] dt-bindings: input: Convert mtk-pmic-keys to DT schema AngeloGioacchino Del Regno
2022-09-14 16:02   ` Mattijs Korpershoek
2022-09-14 16:27   ` Rob Herring
2022-09-14 10:30 ` [PATCH v2 2/2] dt-bindings: input: mediatek,pmic-keys: Add compatible for MT6331 keys AngeloGioacchino Del Regno
2022-09-14 16:03   ` Mattijs Korpershoek
2022-09-14 16:27   ` Rob Herring
2022-09-14 18:13 ` [PATCH v2 0/2] MediaTek PMIC Keys - DT schema conversion Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).