Skip to contentSkip to conversation

platform/x86: Add AMD ISP platform config for OV05C10

PATCH In review Pratap Nirujogi 3 participants 3 messages May 14, 2025 – May 15, 2025 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

PATCH v15 1/1 platform/x86: Add AMD ISP platform config for OV05C10

ISP device specific configuration is not available in ACPI. Add swnode graph to configure the missing device properties for the OV05C10 camera device supported on amdisp platform.

Add support to create i2c-client dynamically when amdisp i2c adapter is available.

---
Changes v14 -> v15:

* Address review comments (typo errors, extra space removal).

 drivers/platform/x86/amd/Kconfig    |  11 +
 drivers/platform/x86/amd/Makefile   |   1 +
 drivers/platform/x86/amd/amd_isp4.c | 311 ++++++++++++++++++++++++++++
 3 files changed, 323 insertions(+)
 create mode 100644 drivers/platform/x86/amd/amd_isp4.c
drivers/platform/x86/amd/Kconfig +11 -0
index c3e086ea64fc..63e4bd985699 100644
@@ -32,3 +32,14 @@ config AMD_WBRF
 
 	  This mechanism will only be activated on platforms that advertise a
 	  need for it.
+
+config AMD_ISP_PLATFORM
+	tristate "AMD ISP4 platform driver"
+	depends on I2C && X86_64 && ACPI
+	help
+	  Platform driver for AMD platforms containing image signal processor
+	  gen 4. Provides camera sensor module board information to allow
+	  sensor and V4L drivers to work properly.
+
+	  This driver can also be built as a module. If so, the module
+	  will be called amd_isp4.
drivers/platform/x86/amd/Makefile +1 -0
index c6c40bdcbded..b0e284b5d497 100644
@@ -10,3 +10,4 @@ obj-$(CONFIG_AMD_PMC)		+= pmc/
 obj-$(CONFIG_AMD_HSMP)		+= hsmp/
 obj-$(CONFIG_AMD_PMF)		+= pmf/
 obj-$(CONFIG_AMD_WBRF)		+= wbrf.o
+obj-$(CONFIG_AMD_ISP_PLATFORM)	+= amd_isp4.o
drivers/platform/x86/amd/amd_isp4.c new file +311 -0

311 lines not on this page · raw message

Signature · 1 line
2.43.0
maintainer
#1 lore raw
Quoted 8 lines · Pratap Nirujogi

ISP device specific configuration is not available in ACPI. Add swnode graph to configure the missing device properties for the OV05C10 camera device supported on amdisp platform.

Add support to create i2c-client dynamically when amdisp i2c adapter is available.

[...]

Thank you for your contribution, it has been applied to my local review-ilpo-next branch. Note it will show up in the public platform-drivers-x86/review-ilpo-next branch only once I've pushed my local branch there, which might take a while.

The list of commits applied:
[1/1] platform/x86: Add AMD ISP platform config for OV05C10

      commit: 90b85567e45736b662d034be536a76ba0f4c7ca8

--
i.

#2 lore raw

Hi Ilpo,

Thanks for all your support and guidance, and happy to see the patch is accepted.

Thanks,
Pratap

Quoted 27 lines · Ilpo Järvinen

Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.

Quoted 8 lines · Pratap Nirujogi

ISP device specific configuration is not available in ACPI. Add swnode graph to configure the missing device properties for the OV05C10 camera device supported on amdisp platform.

Add support to create i2c-client dynamically when amdisp i2c adapter is available.

[...]

Thank you for your contribution, it has been applied to my local review-ilpo-next branch. Note it will show up in the public platform-drivers-x86/review-ilpo-next branch only once I've pushed my local branch there, which might take a while.

The list of commits applied:
[1/1] platform/x86: Add AMD ISP platform config for OV05C10

       commit: 90b85567e45736b662d034be536a76ba0f4c7ca8

--
i.