ov5693/int3472: Privacy LED handling changes + IPU6 compatibility
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 35 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | media: ov5693: Add support for a privacy-led GPIOdrivers/ | +10 | 17 replies | |
| 2/6 | platform/x86: int3472/discrete: Refactor GPIO to sensor mappingdrivers/ | +35 | 2 replies | |
| 3/6 | platform/x86: int3472/discrete: Treat privacy LED as regular GPIOdrivers/ drivers/ drivers/ | +8 | 3 replies | |
| 4/6 | platform/x86: int3472/discrete: Move GPIO request to skl_int3472_register_clock()drivers/ drivers/ drivers/ | +25 | 0 replies | |
| 5/6 | platform/x86: int3472/discrete: Ensure the clk/power enable pins are in output modedrivers/ | +6 | 2 replies | |
| 6/6 | platform/x86: int3472/discrete: Get the polarity from the _DSM entrydrivers/ drivers/ drivers/ | +16 | 5 replies |
Reviews trailers per patch
None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Andy Shevchenko | Sakari Ailus |
|---|---|---|
| Series | R-b | R-b |
| 1/6 | ||
| 2/6 | ||
| 3/6 | ||
| 4/6 | ||
| 5/6 | ||
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] ov5693/int3472: Privacy LED handling changes + IPU6 compatibility
Hi All,
The out of tree IPU6 driver has moved to using the in kernel INT3472 code for doing power-ctrl rather then doing their own thing (good!).
Some of the IPU6 devices with a discrete INT3472 ACPI device have a privacy-led GPIO. but no clk-enable GPIO. To make this work this series moves the privacy LED control from being integrated with the clk-provider to modelling the privacy LED as a separate GPIO. This also brings the discrete INT3472 ACPI device privacy LED handling inline with the privacy LED handling for INT3472 TPS68470 PMIC devices which I posted here:
https://lore.kernel.org/platform-driver-x86/[email protected]/
This obsoletes my previous "[PATCH 0/3] platform/x86: int3472/discrete:
Make it work with IPU6" series:
https://lore.kernel.org/platform-driver-x86/[email protected]/
Mauro since laptops with IPU6 cameras are becoming more and more popular I would like to get this merged for 6.2 so that with 6.2 users will be able to build the out of tree IPU6 driver without requiring patching their main kernel. I realize we are a bit late in the cycle, but can you please still take the ov5693 patch for 6.2 ? It is quite small / straight-forward and since it used gpiod_get_optional() it is a no-op without the rest of this series.
This series has been tested on:
- Lenovo ThinkPad X1 Yoga gen 7, IPU6, front: ov2740 with privacy LED
- Dell Latitude 9420, IPU 6 with privacy LED on front
- Mirosoft Surface Go, IPU3, front: ov5693 with privacy LED,
back: ov8865 with privacy LED
Regards,
Hans
Hans de Goede (6):
media: ov5693: Add support for a privacy-led GPIO platform/x86: int3472/discrete: Refactor GPIO to sensor mapping platform/x86: int3472/discrete: Treat privacy LED as regular GPIO platform/x86: int3472/discrete: Move GPIO request to
skl_int3472_register_clock()
platform/x86: int3472/discrete: Ensure the clk/power enable pins are
in output mode
platform/x86: int3472/discrete: Get the polarity from the _DSM entry
drivers/media/i2c/ov5693.c | 10 ++ .../x86/intel/int3472/clk_and_regulator.c | 35 +++++-- drivers/platform/x86/intel/int3472/common.h | 4 +- drivers/platform/x86/intel/int3472/discrete.c | 95 ++++++++----------- 4 files changed, 80 insertions(+), 64 deletions(-)
Signature · 1 line
2.38.1