* [PATCH 1/3] dt-bindings: vendor-prefixes: Add Coreriver vendor prefix
@ 2020-01-21 14:15 Nick Reitemeyer
2020-01-21 14:15 ` [PATCH 2/3] dt-bindings: input: add Coreriver TC360 binding Nick Reitemeyer
` (3 more replies)
0 siblings, 4 replies; 8+ messages in thread
From: Nick Reitemeyer @ 2020-01-21 14:15 UTC (permalink / raw)
To: dmitry.torokhov, robh+dt
Cc: stephan, linux-input, devicetree, Nick Reitemeyer
Coreriver is a South Korean microcontroller manufacturer: http://coreriver.com
Signed-off-by: Nick Reitemeyer <nick.reitemeyer@web.de>
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index 6046f4555852..77fb3c453014 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -199,6 +199,8 @@ patternProperties:
description: Colorful GRP, Shenzhen Xueyushi Technology Ltd.
"^compulab,.*":
description: CompuLab Ltd.
+ "^coreriver,.*":
+ description: CORERIVER Semiconductor Co.,Ltd.
"^corpro,.*":
description: Chengdu Corpro Technology Co., Ltd.
"^cortina,.*":
--
2.23.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 2/3] dt-bindings: input: add Coreriver TC360 binding
2020-01-21 14:15 [PATCH 1/3] dt-bindings: vendor-prefixes: Add Coreriver vendor prefix Nick Reitemeyer
@ 2020-01-21 14:15 ` Nick Reitemeyer
2020-02-03 11:54 ` Rob Herring
2020-02-15 23:41 ` Dmitry Torokhov
2020-01-21 14:15 ` [PATCH 3/3] Input: tm2-touchkey - add support for Coreriver TC360 variant Nick Reitemeyer
` (2 subsequent siblings)
3 siblings, 2 replies; 8+ messages in thread
From: Nick Reitemeyer @ 2020-01-21 14:15 UTC (permalink / raw)
To: dmitry.torokhov, robh+dt
Cc: stephan, linux-input, devicetree, Nick Reitemeyer
Signed-off-by: Nick Reitemeyer <nick.reitemeyer@web.de>
---
Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt b/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt
index ef2ae729718f..921172f689b8 100644
--- a/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt
+++ b/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt
@@ -5,6 +5,7 @@ Required properties:
* "cypress,tm2-touchkey" - for the touchkey found on the tm2 board
* "cypress,midas-touchkey" - for the touchkey found on midas boards
* "cypress,aries-touchkey" - for the touchkey found on aries boards
+ * "coreriver,tc360-touchkey" - for the Coreriver TouchCore 360 touchkey
- reg: I2C address of the chip.
- interrupts: interrupt to which the chip is connected (see interrupt
binding[0]).
--
2.23.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 3/3] Input: tm2-touchkey - add support for Coreriver TC360 variant
2020-01-21 14:15 [PATCH 1/3] dt-bindings: vendor-prefixes: Add Coreriver vendor prefix Nick Reitemeyer
2020-01-21 14:15 ` [PATCH 2/3] dt-bindings: input: add Coreriver TC360 binding Nick Reitemeyer
@ 2020-01-21 14:15 ` Nick Reitemeyer
2020-02-15 23:42 ` Dmitry Torokhov
2020-02-03 11:54 ` [PATCH 1/3] dt-bindings: vendor-prefixes: Add Coreriver vendor prefix Rob Herring
2020-02-15 23:40 ` Dmitry Torokhov
3 siblings, 1 reply; 8+ messages in thread
From: Nick Reitemeyer @ 2020-01-21 14:15 UTC (permalink / raw)
To: dmitry.torokhov, robh+dt
Cc: stephan, linux-input, devicetree, Nick Reitemeyer
The Coreriver TouchCore 360 is like the midas board touchkey, but it is using a fixed regulator.
Signed-off-by: Nick Reitemeyer <nick.reitemeyer@web.de>
---
drivers/input/keyboard/tm2-touchkey.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/drivers/input/keyboard/tm2-touchkey.c b/drivers/input/keyboard/tm2-touchkey.c
index 14b55bacdd0f..fb078e049413 100644
--- a/drivers/input/keyboard/tm2-touchkey.c
+++ b/drivers/input/keyboard/tm2-touchkey.c
@@ -75,6 +75,14 @@ static struct touchkey_variant aries_touchkey_variant = {
.cmd_led_off = ARIES_TOUCHKEY_CMD_LED_OFF,
};
+static const struct touchkey_variant tc360_touchkey_variant = {
+ .keycode_reg = 0x00,
+ .base_reg = 0x00,
+ .fixed_regulator = true,
+ .cmd_led_on = TM2_TOUCHKEY_CMD_LED_ON,
+ .cmd_led_off = TM2_TOUCHKEY_CMD_LED_OFF,
+};
+
static int tm2_touchkey_led_brightness_set(struct led_classdev *led_dev,
enum led_brightness brightness)
{
@@ -327,6 +335,9 @@ static const struct of_device_id tm2_touchkey_of_match[] = {
}, {
.compatible = "cypress,aries-touchkey",
.data = &aries_touchkey_variant,
+ }, {
+ .compatible = "coreriver,tc360-touchkey",
+ .data = &tc360_touchkey_variant,
},
{ },
};
--
2.23.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH 1/3] dt-bindings: vendor-prefixes: Add Coreriver vendor prefix
2020-01-21 14:15 [PATCH 1/3] dt-bindings: vendor-prefixes: Add Coreriver vendor prefix Nick Reitemeyer
2020-01-21 14:15 ` [PATCH 2/3] dt-bindings: input: add Coreriver TC360 binding Nick Reitemeyer
2020-01-21 14:15 ` [PATCH 3/3] Input: tm2-touchkey - add support for Coreriver TC360 variant Nick Reitemeyer
@ 2020-02-03 11:54 ` Rob Herring
2020-02-15 23:40 ` Dmitry Torokhov
3 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2020-02-03 11:54 UTC (permalink / raw)
To: Nick Reitemeyer
Cc: dmitry.torokhov, robh+dt, stephan, linux-input, devicetree,
Nick Reitemeyer
On Tue, 21 Jan 2020 15:15:24 +0100, Nick Reitemeyer wrote:
>
> Coreriver is a South Korean microcontroller manufacturer: http://coreriver.com
>
> Signed-off-by: Nick Reitemeyer <nick.reitemeyer@web.de>
> ---
> Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2/3] dt-bindings: input: add Coreriver TC360 binding
2020-01-21 14:15 ` [PATCH 2/3] dt-bindings: input: add Coreriver TC360 binding Nick Reitemeyer
@ 2020-02-03 11:54 ` Rob Herring
2020-02-15 23:41 ` Dmitry Torokhov
1 sibling, 0 replies; 8+ messages in thread
From: Rob Herring @ 2020-02-03 11:54 UTC (permalink / raw)
To: Nick Reitemeyer
Cc: dmitry.torokhov, robh+dt, stephan, linux-input, devicetree,
Nick Reitemeyer
On Tue, 21 Jan 2020 15:15:25 +0100, Nick Reitemeyer wrote:
>
> Signed-off-by: Nick Reitemeyer <nick.reitemeyer@web.de>
> ---
> Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt | 1 +
> 1 file changed, 1 insertion(+)
>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/3] dt-bindings: vendor-prefixes: Add Coreriver vendor prefix
2020-01-21 14:15 [PATCH 1/3] dt-bindings: vendor-prefixes: Add Coreriver vendor prefix Nick Reitemeyer
` (2 preceding siblings ...)
2020-02-03 11:54 ` [PATCH 1/3] dt-bindings: vendor-prefixes: Add Coreriver vendor prefix Rob Herring
@ 2020-02-15 23:40 ` Dmitry Torokhov
3 siblings, 0 replies; 8+ messages in thread
From: Dmitry Torokhov @ 2020-02-15 23:40 UTC (permalink / raw)
To: Nick Reitemeyer; +Cc: robh+dt, stephan, linux-input, devicetree
On Tue, Jan 21, 2020 at 03:15:24PM +0100, Nick Reitemeyer wrote:
> Coreriver is a South Korean microcontroller manufacturer: http://coreriver.com
>
> Signed-off-by: Nick Reitemeyer <nick.reitemeyer@web.de>
Applied, thank you.
> ---
> Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> index 6046f4555852..77fb3c453014 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> @@ -199,6 +199,8 @@ patternProperties:
> description: Colorful GRP, Shenzhen Xueyushi Technology Ltd.
> "^compulab,.*":
> description: CompuLab Ltd.
> + "^coreriver,.*":
> + description: CORERIVER Semiconductor Co.,Ltd.
> "^corpro,.*":
> description: Chengdu Corpro Technology Co., Ltd.
> "^cortina,.*":
> --
> 2.23.0
>
--
Dmitry
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2/3] dt-bindings: input: add Coreriver TC360 binding
2020-01-21 14:15 ` [PATCH 2/3] dt-bindings: input: add Coreriver TC360 binding Nick Reitemeyer
2020-02-03 11:54 ` Rob Herring
@ 2020-02-15 23:41 ` Dmitry Torokhov
1 sibling, 0 replies; 8+ messages in thread
From: Dmitry Torokhov @ 2020-02-15 23:41 UTC (permalink / raw)
To: Nick Reitemeyer; +Cc: robh+dt, stephan, linux-input, devicetree
On Tue, Jan 21, 2020 at 03:15:25PM +0100, Nick Reitemeyer wrote:
> Signed-off-by: Nick Reitemeyer <nick.reitemeyer@web.de>
Applied, thank you.
> ---
> Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt b/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt
> index ef2ae729718f..921172f689b8 100644
> --- a/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt
> +++ b/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt
> @@ -5,6 +5,7 @@ Required properties:
> * "cypress,tm2-touchkey" - for the touchkey found on the tm2 board
> * "cypress,midas-touchkey" - for the touchkey found on midas boards
> * "cypress,aries-touchkey" - for the touchkey found on aries boards
> + * "coreriver,tc360-touchkey" - for the Coreriver TouchCore 360 touchkey
> - reg: I2C address of the chip.
> - interrupts: interrupt to which the chip is connected (see interrupt
> binding[0]).
> --
> 2.23.0
>
--
Dmitry
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 3/3] Input: tm2-touchkey - add support for Coreriver TC360 variant
2020-01-21 14:15 ` [PATCH 3/3] Input: tm2-touchkey - add support for Coreriver TC360 variant Nick Reitemeyer
@ 2020-02-15 23:42 ` Dmitry Torokhov
0 siblings, 0 replies; 8+ messages in thread
From: Dmitry Torokhov @ 2020-02-15 23:42 UTC (permalink / raw)
To: Nick Reitemeyer; +Cc: robh+dt, stephan, linux-input, devicetree
On Tue, Jan 21, 2020 at 03:15:26PM +0100, Nick Reitemeyer wrote:
> The Coreriver TouchCore 360 is like the midas board touchkey, but it is using a fixed regulator.
>
> Signed-off-by: Nick Reitemeyer <nick.reitemeyer@web.de>
Applied, thank you.
> ---
> drivers/input/keyboard/tm2-touchkey.c | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/drivers/input/keyboard/tm2-touchkey.c b/drivers/input/keyboard/tm2-touchkey.c
> index 14b55bacdd0f..fb078e049413 100644
> --- a/drivers/input/keyboard/tm2-touchkey.c
> +++ b/drivers/input/keyboard/tm2-touchkey.c
> @@ -75,6 +75,14 @@ static struct touchkey_variant aries_touchkey_variant = {
> .cmd_led_off = ARIES_TOUCHKEY_CMD_LED_OFF,
> };
>
> +static const struct touchkey_variant tc360_touchkey_variant = {
> + .keycode_reg = 0x00,
> + .base_reg = 0x00,
> + .fixed_regulator = true,
> + .cmd_led_on = TM2_TOUCHKEY_CMD_LED_ON,
> + .cmd_led_off = TM2_TOUCHKEY_CMD_LED_OFF,
> +};
> +
> static int tm2_touchkey_led_brightness_set(struct led_classdev *led_dev,
> enum led_brightness brightness)
> {
> @@ -327,6 +335,9 @@ static const struct of_device_id tm2_touchkey_of_match[] = {
> }, {
> .compatible = "cypress,aries-touchkey",
> .data = &aries_touchkey_variant,
> + }, {
> + .compatible = "coreriver,tc360-touchkey",
> + .data = &tc360_touchkey_variant,
> },
> { },
> };
> --
> 2.23.0
>
--
Dmitry
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2020-02-15 23:42 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-21 14:15 [PATCH 1/3] dt-bindings: vendor-prefixes: Add Coreriver vendor prefix Nick Reitemeyer
2020-01-21 14:15 ` [PATCH 2/3] dt-bindings: input: add Coreriver TC360 binding Nick Reitemeyer
2020-02-03 11:54 ` Rob Herring
2020-02-15 23:41 ` Dmitry Torokhov
2020-01-21 14:15 ` [PATCH 3/3] Input: tm2-touchkey - add support for Coreriver TC360 variant Nick Reitemeyer
2020-02-15 23:42 ` Dmitry Torokhov
2020-02-03 11:54 ` [PATCH 1/3] dt-bindings: vendor-prefixes: Add Coreriver vendor prefix Rob Herring
2020-02-15 23:40 ` 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).