From: Jimmy Su <jimmy.su@intel.com>
To: linux-media@vger.kernel.org
Cc: sakari.ailus@linux.intel.com, jimmy.su@intel.com,
serin.yeh@intel.com, vicamo@gmail.com, sarang.sapre@intel.com
Subject: [PATCH v1 2/2] media: ipu-bridge: add upside-down quirks for Dell PA14260 & DA14260
Date: Wed, 7 Oct 2026 11:49:14 +0800 [thread overview]
Message-ID: <20261007034914.1654831-3-jimmy.su@intel.com> (raw)
In-Reply-To: <20261007034914.1654831-1-jimmy.su@intel.com>
Add rotation quirks for two Dell platforms:
- XPS 14 DA14260, which uses an OV08X40 sensor and can be identified
through its sensor HID.
- Dell Pro 14 Premium PA14260, which may use camera modules sharing
the same sensor HID as other systems but requiring a different
orientation. Match these modules using ACPI _DSM module identifiers
and apply a 180-degree rotation override when a matching module is
detected.
Co-developed-by: Vicamo Yang <vicamo@gmail.com>
Signed-off-by: Vicamo Yang <vicamo@gmail.com>
Signed-off-by: Jimmy Su <jimmy.su@intel.com>
---
drivers/media/pci/intel/ipu-bridge.c | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/drivers/media/pci/intel/ipu-bridge.c b/drivers/media/pci/intel/ipu-bridge.c
index 64caa4254e41..a7c71df8c7bc 100644
--- a/drivers/media/pci/intel/ipu-bridge.c
+++ b/drivers/media/pci/intel/ipu-bridge.c
@@ -144,6 +144,16 @@ static struct upside_down_match_info ov02e10_match = {
.ids = { "OVTI02E1" },
};
+static const struct upside_down_match_info ov08x40_match = {
+ .type = UPSIDE_DOWN_MATCH_HID,
+ .ids = { "OVTI08F4" },
+};
+
+static const struct upside_down_match_info pa14260_match = {
+ .type = UPSIDE_DOWN_MATCH_DSM,
+ .ids = { "CJFOE90_B", "BBG809N3A_B" },
+};
+
/*
* DMI matches for laptops which have their sensor mounted upside-down
* without reporting a rotation of 180° in neither the SSDB nor the _PLD.
@@ -184,6 +194,20 @@ static const struct dmi_system_id upside_down_sensor_dmi_ids[] = {
},
.driver_data = &ov02c10_match,
},
+ {
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS 14 DA14260"),
+ },
+ .driver_data = (void *)&ov08x40_match,
+ },
+ {
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Dell Pro 14 Premium PA14260"),
+ },
+ .driver_data = (void *)&pa14260_match,
+ },
/*
* The first four characters of DMI_BOARD_NAME identify the Lenovo
* machine type/model. For example, a DMI_BOARD_NAME starting with
--
2.34.1
prev parent reply other threads:[~2026-10-07 3:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-07 3:49 [PATCH v1 0/2] media: support upside-down camera mounting Jimmy Su
2026-10-07 3:49 ` [PATCH v1 1/2] media: ipu-bridge: extend upside-down matching with DSM module IDs Jimmy Su
2026-10-07 3:49 ` Jimmy Su [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261007034914.1654831-3-jimmy.su@intel.com \
--to=jimmy.su@intel.com \
--cc=linux-media@vger.kernel.org \
--cc=sakari.ailus@linux.intel.com \
--cc=sarang.sapre@intel.com \
--cc=serin.yeh@intel.com \
--cc=vicamo@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox