X86 platform drivers
 help / color / mirror / Atom feed
* [PATCH v2 0/1] v4l2-subdev/int3472: Use "privacy" as con_id for the LED lookup
@ 2025-09-10 10:47 Hans de Goede
  2025-09-10 10:47 ` [PATCH v2 1/1] media: v4l2-subdev / pdx86: int3472: Use "privacy" as con_id for the privacy LED Hans de Goede
  0 siblings, 1 reply; 8+ messages in thread
From: Hans de Goede @ 2025-09-10 10:47 UTC (permalink / raw)
  To: Ilpo Järvinen, Andy Shevchenko, Sakari Ailus
  Cc: Hans de Goede, Aleksandrs Vinarskis, platform-driver-x86,
	Mauro Carvalho Chehab, linux-media

Hi All,

During DT-binding review for extending the V4L2 camera sensor privacy LED
support to systems using devicetree, it has come up that having a "-led"
suffix for the LED name / con_id is undesirable since it already is clear
that it is a LED:

https://lore.kernel.org/linux-media/0e030e7d-0a1a-4a00-ba18-ed26107d07fa@oss.qualcomm.com/

There was discussion about making an exception for "privacy-led" since
that is already used on x86/ACPI platforms, but I'm afraid that will set
a bad example which ends up being copy and pasted, so lets just drop
the "-led" prefix from the x86/ACPI side, which we can do since there
this is only an in-kernel "API".

Changes in v2:
- Squash the changes into a single patch changing both places where
  "privacy-led" is used to "privacy" in one go

Ilpo can you give your ack for this patch getting merged through
the linux-media tree?

Regards,

Hans



Hans de Goede (1):
  media: v4l2-subdev / pdx86: int3472: Use "privacy" as con_id for the
    privacy LED

 drivers/media/v4l2-core/v4l2-subdev.c    | 2 +-
 drivers/platform/x86/intel/int3472/led.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.51.0


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

* [PATCH v2 1/1] media: v4l2-subdev / pdx86: int3472: Use "privacy" as con_id for the privacy LED
  2025-09-10 10:47 [PATCH v2 0/1] v4l2-subdev/int3472: Use "privacy" as con_id for the LED lookup Hans de Goede
@ 2025-09-10 10:47 ` Hans de Goede
  2025-09-10 10:51   ` Ilpo Järvinen
  0 siblings, 1 reply; 8+ messages in thread
From: Hans de Goede @ 2025-09-10 10:47 UTC (permalink / raw)
  To: Ilpo Järvinen, Andy Shevchenko, Sakari Ailus
  Cc: Hans de Goede, Aleksandrs Vinarskis, platform-driver-x86,
	Mauro Carvalho Chehab, linux-media

During DT-binding review for extending the V4L2 camera sensor privacy LED
support to systems using devicetree, it has come up that having a "-led"
suffix for the LED name / con_id is undesirable since it already is clear
that it is a LED.

Drop the "-led" suffix from the con_id in both the lookup table in
the int3472 code, as well as from the con_id led_get() argument in
the v4l2-subdev code.

Signed-off-by: Hans de Goede <hansg@kernel.org>
---
 drivers/media/v4l2-core/v4l2-subdev.c    | 2 +-
 drivers/platform/x86/intel/int3472/led.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/media/v4l2-core/v4l2-subdev.c b/drivers/media/v4l2-core/v4l2-subdev.c
index 113eb74eb7c1..babcc1120354 100644
--- a/drivers/media/v4l2-core/v4l2-subdev.c
+++ b/drivers/media/v4l2-core/v4l2-subdev.c
@@ -2602,7 +2602,7 @@ EXPORT_SYMBOL_GPL(v4l2_subdev_is_streaming);
 int v4l2_subdev_get_privacy_led(struct v4l2_subdev *sd)
 {
 #if IS_REACHABLE(CONFIG_LEDS_CLASS)
-	sd->privacy_led = led_get(sd->dev, "privacy-led");
+	sd->privacy_led = led_get(sd->dev, "privacy");
 	if (IS_ERR(sd->privacy_led) && PTR_ERR(sd->privacy_led) != -ENOENT)
 		return dev_err_probe(sd->dev, PTR_ERR(sd->privacy_led),
 				     "getting privacy LED\n");
diff --git a/drivers/platform/x86/intel/int3472/led.c b/drivers/platform/x86/intel/int3472/led.c
index f1d6d7b0cb75..b1d84b968112 100644
--- a/drivers/platform/x86/intel/int3472/led.c
+++ b/drivers/platform/x86/intel/int3472/led.c
@@ -43,7 +43,7 @@ int skl_int3472_register_pled(struct int3472_discrete_device *int3472, struct gp
 
 	int3472->pled.lookup.provider = int3472->pled.name;
 	int3472->pled.lookup.dev_id = int3472->sensor_name;
-	int3472->pled.lookup.con_id = "privacy-led";
+	int3472->pled.lookup.con_id = "privacy";
 	led_add_lookup(&int3472->pled.lookup);
 
 	return 0;
-- 
2.51.0


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

* Re: [PATCH v2 1/1] media: v4l2-subdev / pdx86: int3472: Use "privacy" as con_id for the privacy LED
  2025-09-10 10:47 ` [PATCH v2 1/1] media: v4l2-subdev / pdx86: int3472: Use "privacy" as con_id for the privacy LED Hans de Goede
@ 2025-09-10 10:51   ` Ilpo Järvinen
  2025-09-24  7:06     ` Aleksandrs Vinarskis
  0 siblings, 1 reply; 8+ messages in thread
From: Ilpo Järvinen @ 2025-09-10 10:51 UTC (permalink / raw)
  To: Hans de Goede, Sakari Ailus
  Cc: Andy Shevchenko, Aleksandrs Vinarskis, platform-driver-x86,
	Mauro Carvalho Chehab, linux-media

[-- Attachment #1: Type: text/plain, Size: 2076 bytes --]

On Wed, 10 Sep 2025, Hans de Goede wrote:

> During DT-binding review for extending the V4L2 camera sensor privacy LED
> support to systems using devicetree, it has come up that having a "-led"
> suffix for the LED name / con_id is undesirable since it already is clear
> that it is a LED.
> 
> Drop the "-led" suffix from the con_id in both the lookup table in
> the int3472 code, as well as from the con_id led_get() argument in
> the v4l2-subdev code.
> 
> Signed-off-by: Hans de Goede <hansg@kernel.org>
> ---
>  drivers/media/v4l2-core/v4l2-subdev.c    | 2 +-
>  drivers/platform/x86/intel/int3472/led.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/media/v4l2-core/v4l2-subdev.c b/drivers/media/v4l2-core/v4l2-subdev.c
> index 113eb74eb7c1..babcc1120354 100644
> --- a/drivers/media/v4l2-core/v4l2-subdev.c
> +++ b/drivers/media/v4l2-core/v4l2-subdev.c
> @@ -2602,7 +2602,7 @@ EXPORT_SYMBOL_GPL(v4l2_subdev_is_streaming);
>  int v4l2_subdev_get_privacy_led(struct v4l2_subdev *sd)
>  {
>  #if IS_REACHABLE(CONFIG_LEDS_CLASS)
> -	sd->privacy_led = led_get(sd->dev, "privacy-led");
> +	sd->privacy_led = led_get(sd->dev, "privacy");
>  	if (IS_ERR(sd->privacy_led) && PTR_ERR(sd->privacy_led) != -ENOENT)
>  		return dev_err_probe(sd->dev, PTR_ERR(sd->privacy_led),
>  				     "getting privacy LED\n");
> diff --git a/drivers/platform/x86/intel/int3472/led.c b/drivers/platform/x86/intel/int3472/led.c
> index f1d6d7b0cb75..b1d84b968112 100644
> --- a/drivers/platform/x86/intel/int3472/led.c
> +++ b/drivers/platform/x86/intel/int3472/led.c
> @@ -43,7 +43,7 @@ int skl_int3472_register_pled(struct int3472_discrete_device *int3472, struct gp
>  
>  	int3472->pled.lookup.provider = int3472->pled.name;
>  	int3472->pled.lookup.dev_id = int3472->sensor_name;
> -	int3472->pled.lookup.con_id = "privacy-led";
> +	int3472->pled.lookup.con_id = "privacy";
>  	led_add_lookup(&int3472->pled.lookup);
>  
>  	return 0;
> 

Acked-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>

-- 
 i.

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

* Re: [PATCH v2 1/1] media: v4l2-subdev / pdx86: int3472: Use "privacy" as con_id for the privacy LED
  2025-09-10 10:51   ` Ilpo Järvinen
@ 2025-09-24  7:06     ` Aleksandrs Vinarskis
  2025-09-24  9:58       ` Hans de Goede
  0 siblings, 1 reply; 8+ messages in thread
From: Aleksandrs Vinarskis @ 2025-09-24  7:06 UTC (permalink / raw)
  To: Ilpo Järvinen
  Cc: Hans de Goede, Sakari Ailus, Andy Shevchenko, platform-driver-x86,
	Mauro Carvalho Chehab, linux-media


On Wednesday, September 10th, 2025 at 12:51, Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> wrote:

> 
> 
> On Wed, 10 Sep 2025, Hans de Goede wrote:
> 
> > During DT-binding review for extending the V4L2 camera sensor privacy LED
> > support to systems using devicetree, it has come up that having a "-led"
> > suffix for the LED name / con_id is undesirable since it already is clear
> > that it is a LED.
> > 
> > Drop the "-led" suffix from the con_id in both the lookup table in
> > the int3472 code, as well as from the con_id led_get() argument in
> > the v4l2-subdev code.
> > 
> > Signed-off-by: Hans de Goede hansg@kernel.org
> > ---
> > drivers/media/v4l2-core/v4l2-subdev.c | 2 +-
> > drivers/platform/x86/intel/int3472/led.c | 2 +-
> > 2 files changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/drivers/media/v4l2-core/v4l2-subdev.c b/drivers/media/v4l2-core/v4l2-subdev.c
> > index 113eb74eb7c1..babcc1120354 100644
> > --- a/drivers/media/v4l2-core/v4l2-subdev.c
> > +++ b/drivers/media/v4l2-core/v4l2-subdev.c
> > @@ -2602,7 +2602,7 @@ EXPORT_SYMBOL_GPL(v4l2_subdev_is_streaming);
> > int v4l2_subdev_get_privacy_led(struct v4l2_subdev *sd)
> > {
> > #if IS_REACHABLE(CONFIG_LEDS_CLASS)
> > - sd->privacy_led = led_get(sd->dev, "privacy-led");
> > + sd->privacy_led = led_get(sd->dev, "privacy");
> > if (IS_ERR(sd->privacy_led) && PTR_ERR(sd->privacy_led) != -ENOENT)
> > return dev_err_probe(sd->dev, PTR_ERR(sd->privacy_led),
> > "getting privacy LED\n");
> > diff --git a/drivers/platform/x86/intel/int3472/led.c b/drivers/platform/x86/intel/int3472/led.c
> > index f1d6d7b0cb75..b1d84b968112 100644
> > --- a/drivers/platform/x86/intel/int3472/led.c
> > +++ b/drivers/platform/x86/intel/int3472/led.c
> > @@ -43,7 +43,7 @@ int skl_int3472_register_pled(struct int3472_discrete_device *int3472, struct gp
> > 
> > int3472->pled.lookup.provider = int3472->pled.name;
> > int3472->pled.lookup.dev_id = int3472->sensor_name;
> > - int3472->pled.lookup.con_id = "privacy-led";
> > + int3472->pled.lookup.con_id = "privacy";
> > led_add_lookup(&int3472->pled.lookup);
> > 
> > return 0;
> 
> 
> Acked-by: Ilpo Järvinen ilpo.jarvinen@linux.intel.com
> 

Hi all,

Anything still pending before this patch can land? As DT-binding change that requires this [1] is already in linux-next it would be nice to land this in the same cycle.

Thanks,
Alex

[1] https://lore.kernel.org/all/20250910-leds-v5-0-bb90a0f897d5@vinarskis.com/

> 
> --
> i.

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

* Re: [PATCH v2 1/1] media: v4l2-subdev / pdx86: int3472: Use "privacy" as con_id for the privacy LED
  2025-09-24  7:06     ` Aleksandrs Vinarskis
@ 2025-09-24  9:58       ` Hans de Goede
  2025-09-24 10:28         ` Sakari Ailus
  0 siblings, 1 reply; 8+ messages in thread
From: Hans de Goede @ 2025-09-24  9:58 UTC (permalink / raw)
  To: Aleksandrs Vinarskis, Ilpo Järvinen, Sakari Ailus
  Cc: Andy Shevchenko, platform-driver-x86, Mauro Carvalho Chehab,
	linux-media

Hi All,

On 24-Sep-25 9:06 AM, Aleksandrs Vinarskis wrote:
> 
> On Wednesday, September 10th, 2025 at 12:51, Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> wrote:
> 
>>
>>
>> On Wed, 10 Sep 2025, Hans de Goede wrote:
>>
>>> During DT-binding review for extending the V4L2 camera sensor privacy LED
>>> support to systems using devicetree, it has come up that having a "-led"
>>> suffix for the LED name / con_id is undesirable since it already is clear
>>> that it is a LED.
>>>
>>> Drop the "-led" suffix from the con_id in both the lookup table in
>>> the int3472 code, as well as from the con_id led_get() argument in
>>> the v4l2-subdev code.
>>>
>>> Signed-off-by: Hans de Goede hansg@kernel.org
>>> ---
>>> drivers/media/v4l2-core/v4l2-subdev.c | 2 +-
>>> drivers/platform/x86/intel/int3472/led.c | 2 +-
>>> 2 files changed, 2 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/drivers/media/v4l2-core/v4l2-subdev.c b/drivers/media/v4l2-core/v4l2-subdev.c
>>> index 113eb74eb7c1..babcc1120354 100644
>>> --- a/drivers/media/v4l2-core/v4l2-subdev.c
>>> +++ b/drivers/media/v4l2-core/v4l2-subdev.c
>>> @@ -2602,7 +2602,7 @@ EXPORT_SYMBOL_GPL(v4l2_subdev_is_streaming);
>>> int v4l2_subdev_get_privacy_led(struct v4l2_subdev *sd)
>>> {
>>> #if IS_REACHABLE(CONFIG_LEDS_CLASS)
>>> - sd->privacy_led = led_get(sd->dev, "privacy-led");
>>> + sd->privacy_led = led_get(sd->dev, "privacy");
>>> if (IS_ERR(sd->privacy_led) && PTR_ERR(sd->privacy_led) != -ENOENT)
>>> return dev_err_probe(sd->dev, PTR_ERR(sd->privacy_led),
>>> "getting privacy LED\n");
>>> diff --git a/drivers/platform/x86/intel/int3472/led.c b/drivers/platform/x86/intel/int3472/led.c
>>> index f1d6d7b0cb75..b1d84b968112 100644
>>> --- a/drivers/platform/x86/intel/int3472/led.c
>>> +++ b/drivers/platform/x86/intel/int3472/led.c
>>> @@ -43,7 +43,7 @@ int skl_int3472_register_pled(struct int3472_discrete_device *int3472, struct gp
>>>
>>> int3472->pled.lookup.provider = int3472->pled.name;
>>> int3472->pled.lookup.dev_id = int3472->sensor_name;
>>> - int3472->pled.lookup.con_id = "privacy-led";
>>> + int3472->pled.lookup.con_id = "privacy";
>>> led_add_lookup(&int3472->pled.lookup);
>>>
>>> return 0;
>>
>>
>> Acked-by: Ilpo Järvinen ilpo.jarvinen@linux.intel.com
>>
> 
> Hi all,
> 
> Anything still pending before this patch can land? As DT-binding change that requires this [1] is already in linux-next it would be nice to land this in the same cycle.

Hmm, I was under the impression this was already merged but I do not see it in:

https://gitlab.freedesktop.org/linux-media/media-committers/

Sakari, can you pick this one up please, preferably for
6.18 ?

Regards,

Hans


> [1] https://lore.kernel.org/all/20250910-leds-v5-0-bb90a0f897d5@vinarskis.com/



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

* Re: [PATCH v2 1/1] media: v4l2-subdev / pdx86: int3472: Use "privacy" as con_id for the privacy LED
  2025-09-24  9:58       ` Hans de Goede
@ 2025-09-24 10:28         ` Sakari Ailus
  2025-09-24 10:33           ` Hans de Goede
  0 siblings, 1 reply; 8+ messages in thread
From: Sakari Ailus @ 2025-09-24 10:28 UTC (permalink / raw)
  To: Hans de Goede
  Cc: Aleksandrs Vinarskis, Ilpo Järvinen, Andy Shevchenko,
	platform-driver-x86, Mauro Carvalho Chehab, linux-media

Hi Hans, Aleksandrs,

On Wed, Sep 24, 2025 at 11:58:38AM +0200, Hans de Goede wrote:
> Hi All,
> 
> On 24-Sep-25 9:06 AM, Aleksandrs Vinarskis wrote:
> > 
> > On Wednesday, September 10th, 2025 at 12:51, Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> wrote:
> > 
> >>
> >>
> >> On Wed, 10 Sep 2025, Hans de Goede wrote:
> >>
> >>> During DT-binding review for extending the V4L2 camera sensor privacy LED
> >>> support to systems using devicetree, it has come up that having a "-led"
> >>> suffix for the LED name / con_id is undesirable since it already is clear
> >>> that it is a LED.
> >>>
> >>> Drop the "-led" suffix from the con_id in both the lookup table in
> >>> the int3472 code, as well as from the con_id led_get() argument in
> >>> the v4l2-subdev code.
> >>>
> >>> Signed-off-by: Hans de Goede hansg@kernel.org
> >>> ---
> >>> drivers/media/v4l2-core/v4l2-subdev.c | 2 +-
> >>> drivers/platform/x86/intel/int3472/led.c | 2 +-
> >>> 2 files changed, 2 insertions(+), 2 deletions(-)
> >>>
> >>> diff --git a/drivers/media/v4l2-core/v4l2-subdev.c b/drivers/media/v4l2-core/v4l2-subdev.c
> >>> index 113eb74eb7c1..babcc1120354 100644
> >>> --- a/drivers/media/v4l2-core/v4l2-subdev.c
> >>> +++ b/drivers/media/v4l2-core/v4l2-subdev.c
> >>> @@ -2602,7 +2602,7 @@ EXPORT_SYMBOL_GPL(v4l2_subdev_is_streaming);
> >>> int v4l2_subdev_get_privacy_led(struct v4l2_subdev *sd)
> >>> {
> >>> #if IS_REACHABLE(CONFIG_LEDS_CLASS)
> >>> - sd->privacy_led = led_get(sd->dev, "privacy-led");
> >>> + sd->privacy_led = led_get(sd->dev, "privacy");
> >>> if (IS_ERR(sd->privacy_led) && PTR_ERR(sd->privacy_led) != -ENOENT)
> >>> return dev_err_probe(sd->dev, PTR_ERR(sd->privacy_led),
> >>> "getting privacy LED\n");
> >>> diff --git a/drivers/platform/x86/intel/int3472/led.c b/drivers/platform/x86/intel/int3472/led.c
> >>> index f1d6d7b0cb75..b1d84b968112 100644
> >>> --- a/drivers/platform/x86/intel/int3472/led.c
> >>> +++ b/drivers/platform/x86/intel/int3472/led.c
> >>> @@ -43,7 +43,7 @@ int skl_int3472_register_pled(struct int3472_discrete_device *int3472, struct gp
> >>>
> >>> int3472->pled.lookup.provider = int3472->pled.name;
> >>> int3472->pled.lookup.dev_id = int3472->sensor_name;
> >>> - int3472->pled.lookup.con_id = "privacy-led";
> >>> + int3472->pled.lookup.con_id = "privacy";
> >>> led_add_lookup(&int3472->pled.lookup);
> >>>
> >>> return 0;
> >>
> >>
> >> Acked-by: Ilpo Järvinen ilpo.jarvinen@linux.intel.com
> >>
> > 
> > Hi all,
> > 
> > Anything still pending before this patch can land? As DT-binding change that requires this [1] is already in linux-next it would be nice to land this in the same cycle.
> 
> Hmm, I was under the impression this was already merged but I do not see it in:
> 
> https://gitlab.freedesktop.org/linux-media/media-committers/
> 
> Sakari, can you pick this one up please, preferably for
> 6.18 ?

Is the related DT binding change going to be merged for v6.18? I had this
queued for v6.19 but I don't see a problem with merging it as a fix for
v6.18 either.

-- 
Regards,

Sakari Ailus

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

* Re: [PATCH v2 1/1] media: v4l2-subdev / pdx86: int3472: Use "privacy" as con_id for the privacy LED
  2025-09-24 10:28         ` Sakari Ailus
@ 2025-09-24 10:33           ` Hans de Goede
  2025-09-25 16:04             ` Sakari Ailus
  0 siblings, 1 reply; 8+ messages in thread
From: Hans de Goede @ 2025-09-24 10:33 UTC (permalink / raw)
  To: Sakari Ailus
  Cc: Aleksandrs Vinarskis, Ilpo Järvinen, Andy Shevchenko,
	platform-driver-x86, Mauro Carvalho Chehab, linux-media

Hi Sakari,

On 24-Sep-25 12:28 PM, Sakari Ailus wrote:
> Hi Hans, Aleksandrs,
> 
> On Wed, Sep 24, 2025 at 11:58:38AM +0200, Hans de Goede wrote:
>> Hi All,
>>
>> On 24-Sep-25 9:06 AM, Aleksandrs Vinarskis wrote:
>>>
>>> On Wednesday, September 10th, 2025 at 12:51, Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> wrote:
>>>
>>>>
>>>>
>>>> On Wed, 10 Sep 2025, Hans de Goede wrote:
>>>>
>>>>> During DT-binding review for extending the V4L2 camera sensor privacy LED
>>>>> support to systems using devicetree, it has come up that having a "-led"
>>>>> suffix for the LED name / con_id is undesirable since it already is clear
>>>>> that it is a LED.
>>>>>
>>>>> Drop the "-led" suffix from the con_id in both the lookup table in
>>>>> the int3472 code, as well as from the con_id led_get() argument in
>>>>> the v4l2-subdev code.
>>>>>
>>>>> Signed-off-by: Hans de Goede hansg@kernel.org
>>>>> ---
>>>>> drivers/media/v4l2-core/v4l2-subdev.c | 2 +-
>>>>> drivers/platform/x86/intel/int3472/led.c | 2 +-
>>>>> 2 files changed, 2 insertions(+), 2 deletions(-)
>>>>>
>>>>> diff --git a/drivers/media/v4l2-core/v4l2-subdev.c b/drivers/media/v4l2-core/v4l2-subdev.c
>>>>> index 113eb74eb7c1..babcc1120354 100644
>>>>> --- a/drivers/media/v4l2-core/v4l2-subdev.c
>>>>> +++ b/drivers/media/v4l2-core/v4l2-subdev.c
>>>>> @@ -2602,7 +2602,7 @@ EXPORT_SYMBOL_GPL(v4l2_subdev_is_streaming);
>>>>> int v4l2_subdev_get_privacy_led(struct v4l2_subdev *sd)
>>>>> {
>>>>> #if IS_REACHABLE(CONFIG_LEDS_CLASS)
>>>>> - sd->privacy_led = led_get(sd->dev, "privacy-led");
>>>>> + sd->privacy_led = led_get(sd->dev, "privacy");
>>>>> if (IS_ERR(sd->privacy_led) && PTR_ERR(sd->privacy_led) != -ENOENT)
>>>>> return dev_err_probe(sd->dev, PTR_ERR(sd->privacy_led),
>>>>> "getting privacy LED\n");
>>>>> diff --git a/drivers/platform/x86/intel/int3472/led.c b/drivers/platform/x86/intel/int3472/led.c
>>>>> index f1d6d7b0cb75..b1d84b968112 100644
>>>>> --- a/drivers/platform/x86/intel/int3472/led.c
>>>>> +++ b/drivers/platform/x86/intel/int3472/led.c
>>>>> @@ -43,7 +43,7 @@ int skl_int3472_register_pled(struct int3472_discrete_device *int3472, struct gp
>>>>>
>>>>> int3472->pled.lookup.provider = int3472->pled.name;
>>>>> int3472->pled.lookup.dev_id = int3472->sensor_name;
>>>>> - int3472->pled.lookup.con_id = "privacy-led";
>>>>> + int3472->pled.lookup.con_id = "privacy";
>>>>> led_add_lookup(&int3472->pled.lookup);
>>>>>
>>>>> return 0;
>>>>
>>>>
>>>> Acked-by: Ilpo Järvinen ilpo.jarvinen@linux.intel.com
>>>>
>>>
>>> Hi all,
>>>
>>> Anything still pending before this patch can land? As DT-binding change that requires this [1] is already in linux-next it would be nice to land this in the same cycle.
>>
>> Hmm, I was under the impression this was already merged but I do not see it in:
>>
>> https://gitlab.freedesktop.org/linux-media/media-committers/
>>
>> Sakari, can you pick this one up please, preferably for
>> 6.18 ?
> 
> Is the related DT binding change going to be merged for v6.18?

Just be clear / make sure we are on the same page 6.18 will be what
is in -next now, so my request to merge this for 6.18 is a request
to get this into -next before the merge-window which will open next
Monday (or in the first fixes pull-req after the merge-window).

> I had this queued for v6.19 but I don't see a problem with
> merging it as a fix for v6.18 either.

Again just to be clear, 6.19 is -next-next. Where as the DT
changes are in the current next:

https://git.kernel.org/pub/scm/linux/kernel/git/lee/leds.git/log/?h=for-leds-next

Regards,

Hans





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

* Re: [PATCH v2 1/1] media: v4l2-subdev / pdx86: int3472: Use "privacy" as con_id for the privacy LED
  2025-09-24 10:33           ` Hans de Goede
@ 2025-09-25 16:04             ` Sakari Ailus
  0 siblings, 0 replies; 8+ messages in thread
From: Sakari Ailus @ 2025-09-25 16:04 UTC (permalink / raw)
  To: Hans de Goede
  Cc: Aleksandrs Vinarskis, Ilpo Järvinen, Andy Shevchenko,
	platform-driver-x86, Mauro Carvalho Chehab, linux-media

Hi Hans,

On Wed, Sep 24, 2025 at 12:33:38PM +0200, Hans de Goede wrote:
> Hi Sakari,
> 
> On 24-Sep-25 12:28 PM, Sakari Ailus wrote:
> > Hi Hans, Aleksandrs,
> > 
> > On Wed, Sep 24, 2025 at 11:58:38AM +0200, Hans de Goede wrote:
> >> Hi All,
> >>
> >> On 24-Sep-25 9:06 AM, Aleksandrs Vinarskis wrote:
> >>>
> >>> On Wednesday, September 10th, 2025 at 12:51, Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> wrote:
> >>>
> >>>>
> >>>>
> >>>> On Wed, 10 Sep 2025, Hans de Goede wrote:
> >>>>
> >>>>> During DT-binding review for extending the V4L2 camera sensor privacy LED
> >>>>> support to systems using devicetree, it has come up that having a "-led"
> >>>>> suffix for the LED name / con_id is undesirable since it already is clear
> >>>>> that it is a LED.
> >>>>>
> >>>>> Drop the "-led" suffix from the con_id in both the lookup table in
> >>>>> the int3472 code, as well as from the con_id led_get() argument in
> >>>>> the v4l2-subdev code.
> >>>>>
> >>>>> Signed-off-by: Hans de Goede hansg@kernel.org
> >>>>> ---
> >>>>> drivers/media/v4l2-core/v4l2-subdev.c | 2 +-
> >>>>> drivers/platform/x86/intel/int3472/led.c | 2 +-
> >>>>> 2 files changed, 2 insertions(+), 2 deletions(-)
> >>>>>
> >>>>> diff --git a/drivers/media/v4l2-core/v4l2-subdev.c b/drivers/media/v4l2-core/v4l2-subdev.c
> >>>>> index 113eb74eb7c1..babcc1120354 100644
> >>>>> --- a/drivers/media/v4l2-core/v4l2-subdev.c
> >>>>> +++ b/drivers/media/v4l2-core/v4l2-subdev.c
> >>>>> @@ -2602,7 +2602,7 @@ EXPORT_SYMBOL_GPL(v4l2_subdev_is_streaming);
> >>>>> int v4l2_subdev_get_privacy_led(struct v4l2_subdev *sd)
> >>>>> {
> >>>>> #if IS_REACHABLE(CONFIG_LEDS_CLASS)
> >>>>> - sd->privacy_led = led_get(sd->dev, "privacy-led");
> >>>>> + sd->privacy_led = led_get(sd->dev, "privacy");
> >>>>> if (IS_ERR(sd->privacy_led) && PTR_ERR(sd->privacy_led) != -ENOENT)
> >>>>> return dev_err_probe(sd->dev, PTR_ERR(sd->privacy_led),
> >>>>> "getting privacy LED\n");
> >>>>> diff --git a/drivers/platform/x86/intel/int3472/led.c b/drivers/platform/x86/intel/int3472/led.c
> >>>>> index f1d6d7b0cb75..b1d84b968112 100644
> >>>>> --- a/drivers/platform/x86/intel/int3472/led.c
> >>>>> +++ b/drivers/platform/x86/intel/int3472/led.c
> >>>>> @@ -43,7 +43,7 @@ int skl_int3472_register_pled(struct int3472_discrete_device *int3472, struct gp
> >>>>>
> >>>>> int3472->pled.lookup.provider = int3472->pled.name;
> >>>>> int3472->pled.lookup.dev_id = int3472->sensor_name;
> >>>>> - int3472->pled.lookup.con_id = "privacy-led";
> >>>>> + int3472->pled.lookup.con_id = "privacy";
> >>>>> led_add_lookup(&int3472->pled.lookup);
> >>>>>
> >>>>> return 0;
> >>>>
> >>>>
> >>>> Acked-by: Ilpo Järvinen ilpo.jarvinen@linux.intel.com
> >>>>
> >>>
> >>> Hi all,
> >>>
> >>> Anything still pending before this patch can land? As DT-binding change that requires this [1] is already in linux-next it would be nice to land this in the same cycle.
> >>
> >> Hmm, I was under the impression this was already merged but I do not see it in:
> >>
> >> https://gitlab.freedesktop.org/linux-media/media-committers/
> >>
> >> Sakari, can you pick this one up please, preferably for
> >> 6.18 ?
> > 
> > Is the related DT binding change going to be merged for v6.18?
> 
> Just be clear / make sure we are on the same page 6.18 will be what
> is in -next now, so my request to merge this for 6.18 is a request
> to get this into -next before the merge-window which will open next
> Monday (or in the first fixes pull-req after the merge-window).

Ack, I'll pick this as a fix for v6.18.

-- 
Kind regards,

Sakari Ailus

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

end of thread, other threads:[~2025-09-25 16:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-10 10:47 [PATCH v2 0/1] v4l2-subdev/int3472: Use "privacy" as con_id for the LED lookup Hans de Goede
2025-09-10 10:47 ` [PATCH v2 1/1] media: v4l2-subdev / pdx86: int3472: Use "privacy" as con_id for the privacy LED Hans de Goede
2025-09-10 10:51   ` Ilpo Järvinen
2025-09-24  7:06     ` Aleksandrs Vinarskis
2025-09-24  9:58       ` Hans de Goede
2025-09-24 10:28         ` Sakari Ailus
2025-09-24 10:33           ` Hans de Goede
2025-09-25 16:04             ` Sakari Ailus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox