platform/x86: Add AMD ISP platform config for OV05C10
PATCH v11 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.
Co-developed-by Benjamin Chan <[email protected]>
Signed-off-by Benjamin Chan <[email protected]>
Reviewed-by Mario Limonciello <[email protected]>
Reviewed-by Hans de Goede <[email protected]>
Reviewed-by Armin Wolf <[email protected]>
Signed-off-by Pratap Nirujogi <[email protected]>
---
Changes v10 -> v11:
* Add check for return value of devm_mutex_init()
drivers/platform/x86/amd/Kconfig | 11 ++ drivers/platform/x86/amd/Makefile | 1 + drivers/platform/x86/amd/amd_isp4.c | 280 ++++++++++++++++++++++++++++ 3 files changed, 292 insertions(+) create mode 100644 drivers/platform/x86/amd/amd_isp4.c
drivers/platform/x86/amd/Kconfig +11 -0
@@ -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
@@ -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 +280 -0
280 lines not on this page · raw message
Signature · 1 line
2.43.0