[1/3] dt-bindings: vendor-prefixes: Add Coreriver vendor prefix
diff mbox series

Message ID 20200121141525.3404-1-nick.reitemeyer@web.de
State Not Applicable
Headers show
Series
  • [1/3] dt-bindings: vendor-prefixes: Add Coreriver vendor prefix
Related show

Checks

Context Check Description
robh/dt-meta-schema success
robh/checkpatch warning "total: 0 errors, 1 warnings, 8 lines checked"

Commit Message

Nick Reitemeyer Jan. 21, 2020, 2:15 p.m. UTC
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(+)

--
2.23.0

Comments

Rob Herring Feb. 3, 2020, 11:54 a.m. UTC | #1
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>
Dmitry Torokhov Feb. 15, 2020, 11:40 p.m. UTC | #2
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 Torokhov Feb. 15, 2020, 11:42 p.m. UTC | #3
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
>

Patch
diff mbox series

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,.*":