platform/x86: amd: Add ISP platform info
PATCH 1/1 platform/x86: amd: Add ISP platform info
Add ov05c i2c boardinfo and GPIO pin info for AMD ISP platform.
Details of the resources added:
- Added i2c bus number for AMD ISP platform is 99.
- Added GPIO 85 to allow ISP driver to enable and disable ISP access.
- Added GPIO 0 to allow sensor driver to enable and disable sensor module.
--- drivers/platform/x86/amd/Kconfig | 11 ++++++ drivers/platform/x86/amd/Makefile | 1 + drivers/platform/x86/amd/amd_isp.c | 63 ++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 drivers/platform/x86/amd/amd_isp.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 + bool "AMD platform with ISP4 that supports Camera sensor device" + depends on I2C && X86_64 && PINCTRL_AMDISP && AMD_ISP4 + help + For AMD platform that support Image signal processor generation 4, it + is necessary to add platform specific camera sensor module board info + which includes the sensor driver device id and the i2c address. + + If you have a AMD platform that support ISP4 and with a sensor + connected to it, say Y here
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_isp.o
drivers/platform/x86/amd/amd_isp.c new file +63 -0
63 lines not on this page · raw message
Signature · 1 line
2.43.0
Quoted 9 lines · Pratap Nirujogi
Add ov05c i2c boardinfo and GPIO pin info for AMD ISP platform.
Details of the resources added:
- Added i2c bus number for AMD ISP platform is 99.
- Added GPIO 85 to allow ISP driver to enable and disable ISP access.
- Added GPIO 0 to allow sensor driver to enable and disable sensor module.Signed-off-by Pratap Nirujogi <[email protected]>
Didn't you already sent v1? And receive comments?
Quoted 1 line
---
Where is the changelog? What happened in this patch comparing to v1?
Best regards,
Krzysztof
[AMD Official Use Only - AMD Internal Distribution Only]
Hi Krzysztof,
I should have called this patch v2 (instead of v1), sorry for the confusion caused, will take care of it in my next submissions.
Here is the changelog for v2:
- Adding ov05c acpi hw id check to ensure platform/x86 amd-isp driver runs on the intended AMD platform.
- Updated the copyright header and license used.
- Addressed few other comments from Mario related to module dependencies and naming.
I'm currently reviewing the feedback from Hans on v1 and will follow up to any feedback as a v3 with changelog appended under the cutlist.
Thanks for your review and guidance,
Pratap
-----Original Message-----
From: Krzysztof Kozlowski <[email protected]>
Sent: Monday, March 3, 2025 2:13 AM
To: Nirujogi, Pratap <[email protected]>; Limonciello, Mario <[email protected]>; [email protected]; [email protected]
Cc: [email protected]; [email protected]; Chan, Benjamin (Koon Pan) <[email protected]>
Subject: Re: [PATCH v1] platform/x86: amd: Add ISP platform info
Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
Quoted 9 lines · Pratap Nirujogi
Add ov05c i2c boardinfo and GPIO pin info for AMD ISP platform.
Details of the resources added:
- Added i2c bus number for AMD ISP platform is 99.
- Added GPIO 85 to allow ISP driver to enable and disable ISP access.
- Added GPIO 0 to allow sensor driver to enable and disable sensor module.Signed-off-by Pratap Nirujogi <[email protected]>
Didn't you already sent v1? And receive comments?
Quoted 1 line
---
Where is the changelog? What happened in this patch comparing to v1?
Best regards,
Krzysztof