<div dir="auto">Thanks. pSemi purchased ArcticSand a few years ago so they are the same legal entity. I will ask them if they want to retain the original copyright notice</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 8, 2019, 2:05 PM Dan Murphy <<a href="mailto:dmurphy@ti.com">dmurphy@ti.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Brian<br>
<br>
On 6/30/19 7:28 PM, Brian Dodge wrote:<br>
> The original patch adding this driver and DT bindings improperly<br>
> used "arc" as the vendor-prefix. This adds "arctic" which is the<br>
> proper prefix and retains "arc" to allow existing users of the<br>
> "arc" prefix to update to new kernels. There is at least one<br>
> (Samsung Chromebook Plus)<br>
><br>
> Signed-off-by: Brian Dodge <<a href="mailto:bdodge09@gmail.com" target="_blank" rel="noreferrer">bdodge09@gmail.com</a>><br>
> Acked-by: Daniel Thompson <<a href="mailto:daniel.thompson@linaro.org" target="_blank" rel="noreferrer">daniel.thompson@linaro.org</a>><br>
> ---<br>
> drivers/video/backlight/arcxcnn_bl.c | 41 +++++++++++++++++++++++++++---------<br>
> 1 file changed, 31 insertions(+), 10 deletions(-)<br>
><br>
> diff --git a/drivers/video/backlight/arcxcnn_bl.c b/drivers/video/backlight/arcxcnn_bl.c<br>
> index 7b1c0a0..a419554 100644<br>
> --- a/drivers/video/backlight/arcxcnn_bl.c<br>
> +++ b/drivers/video/backlight/arcxcnn_bl.c<br>
> @@ -1,9 +1,9 @@<br>
> // SPDX-License-Identifier: GPL-2.0-only<br>
> /*<br>
> - * Backlight driver for ArcticSand ARC_X_C_0N_0N Devices<br>
> + * Backlight driver for pSemi (formerly ArcticSand) ARC_X_C_0N_0N Devices<br>
> *<br>
> - * Copyright 2016 ArcticSand, Inc.<br>
> - * Author : Brian Dodge <<a href="mailto:bdodge@arcticsand.com" target="_blank" rel="noreferrer">bdodge@arcticsand.com</a>><br>
<br>
I know you are the original author from ArcticSand but did pSemi <br>
actually own the copyright in 2016?<br>
<br>
I don't think this is a big issue just wondering if we should retain the <br>
ArcticSand copyright as well.<br>
<br>
Probably a question for your legal department.<br>
<br>
Otherwise<br>
<br>
Reviewed-by: Dan Murphy <<a href="mailto:dmurphy@ti.com" target="_blank" rel="noreferrer">dmurphy@ti.com</a>><br>
<br>
> + * Copyright 2016-2019 pSemi, Inc.<br>
> + * Author : Brian Dodge <<a href="mailto:bdodge@psemi.com" target="_blank" rel="noreferrer">bdodge@psemi.com</a>><br>
> */<br>
> <br>
> #include <linux/backlight.h><br>
> @@ -191,27 +191,46 @@ static void arcxcnn_parse_dt(struct arcxcnn *lp)<br>
> if (ret == 0)<br>
> lp->pdata->initial_brightness = prog_val;<br>
> <br>
> - ret = of_property_read_u32(node, "arc,led-config-0", &prog_val);<br>
> + ret = of_property_read_u32(node, "arctic,led-config-0", &prog_val);<br>
> + if (ret)<br>
> + ret = of_property_read_u32(node, "arc,led-config-0", &prog_val);<br>
> +<br>
> if (ret == 0)<br>
> lp->pdata->led_config_0 = (u8)prog_val;<br>
> <br>
> - ret = of_property_read_u32(node, "arc,led-config-1", &prog_val);<br>
> + ret = of_property_read_u32(node, "arctic,led-config-1", &prog_val);<br>
> + if (ret)<br>
> + ret = of_property_read_u32(node, "arc,led-config-1", &prog_val);<br>
> +<br>
> if (ret == 0)<br>
> lp->pdata->led_config_1 = (u8)prog_val;<br>
> <br>
> - ret = of_property_read_u32(node, "arc,dim-freq", &prog_val);<br>
> + ret = of_property_read_u32(node, "arctic,dim-freq", &prog_val);<br>
> + if (ret)<br>
> + ret = of_property_read_u32(node, "arc,dim-freq", &prog_val);<br>
> +<br>
> if (ret == 0)<br>
> lp->pdata->dim_freq = (u8)prog_val;<br>
> <br>
> - ret = of_property_read_u32(node, "arc,comp-config", &prog_val);<br>
> + ret = of_property_read_u32(node, "arctic,comp-config", &prog_val);<br>
> + if (ret)<br>
> + ret = of_property_read_u32(node, "arc,comp-config", &prog_val);<br>
> +<br>
> if (ret == 0)<br>
> lp->pdata->comp_config = (u8)prog_val;<br>
> <br>
> - ret = of_property_read_u32(node, "arc,filter-config", &prog_val);<br>
> + ret = of_property_read_u32(node, "arctic,filter-config", &prog_val);<br>
> + if (ret)<br>
> + ret = of_property_read_u32(node,<br>
> + "arc,filter-config", &prog_val);<br>
> +<br>
> if (ret == 0)<br>
> lp->pdata->filter_config = (u8)prog_val;<br>
> <br>
> - ret = of_property_read_u32(node, "arc,trim-config", &prog_val);<br>
> + ret = of_property_read_u32(node, "arctic,trim-config", &prog_val);<br>
> + if (ret)<br>
> + ret = of_property_read_u32(node, "arc,trim-config", &prog_val);<br>
> +<br>
> if (ret == 0)<br>
> lp->pdata->trim_config = (u8)prog_val;<br>
> <br>
> @@ -381,6 +400,8 @@ static int arcxcnn_remove(struct i2c_client *cl)<br>
> }<br>
> <br>
> static const struct of_device_id arcxcnn_dt_ids[] = {<br>
> + { .compatible = "arctic,arc2c0608" },<br>
> + /* here to remain compatible with an older binding, do not use */<br>
> { .compatible = "arc,arc2c0608" },<br>
> { }<br>
> };<br>
> @@ -404,5 +425,5 @@ static struct i2c_driver arcxcnn_driver = {<br>
> module_i2c_driver(arcxcnn_driver);<br>
> <br>
> MODULE_LICENSE("GPL v2");<br>
> -MODULE_AUTHOR("Brian Dodge <<a href="mailto:bdodge@arcticsand.com" target="_blank" rel="noreferrer">bdodge@arcticsand.com</a>>");<br>
> +MODULE_AUTHOR("Brian Dodge <<a href="mailto:bdodge@psemi.com" target="_blank" rel="noreferrer">bdodge@psemi.com</a>>");<br>
> MODULE_DESCRIPTION("ARCXCNN Backlight driver");<br>
</blockquote></div>