mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 02:21:39 -04:00
media: ipu-bridge: Add DMI information of Lenovo X9 to the image upside-down list
The Lenovo X9 has an upside-down-mounted Sony IMX471 sensor so the image was displayed upside-down. Add the DMI information of Lenovo X9 to resolve the issue. Signed-off-by: Kate Hsuan <hpa@redhat.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
This commit is contained in:
@@ -134,6 +134,45 @@ static const struct dmi_system_id upside_down_sensor_dmi_ids[] = {
|
||||
},
|
||||
.driver_data = "OVTI02C1",
|
||||
},
|
||||
/*
|
||||
* The first four characters of DMI_BOARD_NAME identify the Lenovo
|
||||
* machine type/model. For example, a DMI_BOARD_NAME starting with
|
||||
* "21Q6" indicates a ThinkPad X9-15.
|
||||
*
|
||||
* Reference: https://psref.lenovo.com/
|
||||
*/
|
||||
{
|
||||
/* Lenovo X9-14 */
|
||||
.matches = {
|
||||
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
|
||||
DMI_MATCH(DMI_BOARD_NAME, "21QA"),
|
||||
},
|
||||
.driver_data = "SONY471A",
|
||||
},
|
||||
{
|
||||
/* Lenovo X9-14 */
|
||||
.matches = {
|
||||
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
|
||||
DMI_MATCH(DMI_BOARD_NAME, "21QB"),
|
||||
},
|
||||
.driver_data = "SONY471A",
|
||||
},
|
||||
{
|
||||
/* Lenovo X9-15 */
|
||||
.matches = {
|
||||
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
|
||||
DMI_MATCH(DMI_BOARD_NAME, "21Q6"),
|
||||
},
|
||||
.driver_data = "SONY471A",
|
||||
},
|
||||
{
|
||||
/* Lenovo X9-15 */
|
||||
.matches = {
|
||||
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
|
||||
DMI_MATCH(DMI_BOARD_NAME, "21Q7"),
|
||||
},
|
||||
.driver_data = "SONY471A",
|
||||
},
|
||||
{} /* Terminating entry */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user