From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A281333E36A for ; Tue, 8 Sep 2026 16:14:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788884082; cv=none; b=VolDtPfgVTYZr9w8kclw82bHpIcHqq4vAVUPLUF5YJuieQeyMzBHVuph81+kJWS4SJhS7SAghixLlKgUh5y21ASr5rl6B3oBXEnIVxBLewi9sek2Px+OV/zvoDDvUshzexYMn2RwCok6kLP62KVErGLejAswOddr6diA7rdIh2w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788884082; c=relaxed/simple; bh=QLy9D33gx3rxFxSNIHfeF3FJcR5f6YTHRxMgJCM2dyE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hdLv46nHX1o1nzcQ95np8biXmxulPWd7uiGwXc9f0p3+QuezjjjwjH+9x8x5p5KhnRyWXWwzsZrKtdX658PIFiY+AsmOR0FYVaPTMMIW25KDhGr35+z9MTor7fDOzTV89LW49SWtXNY1h+C1vJZ3YOYMki4lKG5uckbkwUSynEk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=hWdDhpl+; arc=none smtp.client-ip=209.85.128.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="hWdDhpl+" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-49b9320423cso54783295e9.0 for ; Tue, 08 Sep 2026 09:14:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788884079; x=1789488879; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=BfvgduGaY/V3KBXYd67nwwljCt2z7CswJ9hAh0BTkIw=; b=hWdDhpl+V0A37W0sr2J4l91fajnxSG9VwxUNfY7VpqQP2txpo3cfoqa9yXRqzdh/ri wv195JO/GQjtMbqaARwkh9jRyuxjTAECQ/Z8x1WHy082zs07Df6j1ifvhL/lYPdsFLVw eBYf8tGNzFjqLOi6iH7n1EWZawSDxT8GfIS+RyBMFexxgTy0W7He4R42eORt1W4yqMI+ APzPBySaV1t6iPWJHQ6fIALN4vIV2HiuOtvLWQRThrZ6MBPaEeUQpVBBFrnfAmjBUFaS vQ8gCBIAYN9xUcdRKsu5pj9H40TWybdhn20uubcCW/LSR0MJKTdjgJzecXIEw/tp+Xzm DAwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788884079; x=1789488879; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=BfvgduGaY/V3KBXYd67nwwljCt2z7CswJ9hAh0BTkIw=; b=Sp+Y1GZdka0xPb45RrXGUsJNbd/nUAdXiAYkgHy7w5R3PaRIxZOgTahby3yoLRIqYt ojUreN9Gi5uQNN0ctoQsQ2cjjrXVDjPfMIlr/1XB5wEW/8Ve4jHrHqlHPT1EC+FSNhOZ jhpxUhGiLFvVKjaHA8e8sFfAuqqDiL3mlRx6jSBDJCqcDG7PlHSj0uqZCBjIDEIXm/21 vS4IZIHaFHayHQSBbjPSvWdgJBOEnHHO8d+yQbj0AvR14zz5olMQqxTnVFGzt9grXnWo FursP3BXVaOhLfPTs+gL/VSQCEakSHCmLeCmOObt/tKVab9CM85GAp80iiiT3XAv5k0+ 9A7Q== X-Forwarded-Encrypted: i=1; AKwUvBw4txDrAdLl1wUyuLDTukri4bWDOwgO4r1+lGYo12e/ZA1hdpFpreyUgjIvyiJEHE7Gu7MknrEMVeMqUXYsBG+1lodH@vger.kernel.org X-Gm-Message-State: AFuF++lGNxAMeoDeTgDhfdvMbJAR5BV7LtCv798T3hmvNsZmREMuIVgy BsH5ooiBY5TwQ8kSqd89EgJmDJDkS2SW8ot4d7F+1GdZsKUk3PMlju0= X-Gm-Gg: AYBFou2jw4lp0HdTcjNhPm7TVoR4SLl36dPLDkm3QGqfgD72fw87VBx+8hdeE7ZB1tP 6Y5HPHgU1LDiEUJvqqz4yQvDf0hha7moT1SAvawftn4E+d6Zss7FZOZx+eKBqFGqGlRhg0lQ2VS Xbo0phQ+8ALsNZS2uBE5BumxaDg9V9GImgbiN4Op+AH71SIbf8Yl1AFmQZQGyn7zOi6jBi8S9hh xvP568B0nziE/LDBCX4cXeNif8HKHAPvXAGWL1UyeNh3uOH5hWsimOKQhMxZ+YcU5ruxK5NaJS8 l39RsqaV8cGXDVxjYtPf0tkBNsVVDYuOc8mmsDhfSd5uDmupJ5Sf+VuoGdXPpl37EEwL5BlrmXu suc2Yw+1H9rdEMvad+ivjSl61P4ijraf0Wko9yKs6Vig4cvrsT73rsl82vDjCLhfreRLTRLkSMx LBJLmdIRcGb/9s91Rmf1KQs/Pz38GN3hUKM1Mwc2+Sn/u04jRHyni8ZBwQLdn7o3CFp6WDsKiFE ORv9TjwOx6/9nLfJuULGyGrGKWCHmjf3OOnYXT4YtdHhKaZ X-Received: by 2002:a05:600c:4e94:b0:498:943:ccc0 with SMTP id 5b1f17b1804b1-49cf81e368emr517102915e9.6.1788884078339; Tue, 08 Sep 2026 09:14:38 -0700 (PDT) Received: from latitude7275 (84.124.213.91.dyn.user.ono.com. [84.124.213.91]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49cfbe5b252sm353464655e9.3.2026.09.08.09.14.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2026 09:14:37 -0700 (PDT) From: "D. Manresa" To: Daniel Scally , Sakari Ailus Cc: Hans de Goede , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , Thierry Chatard , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] platform/x86: int3472: Add TPS68470 board data for Dell Latitude 7275 Date: Tue, 8 Sep 2026 18:14:45 +0200 Message-ID: <20260908161445.334910-1-dmanresa@gmail.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260904062006.39209-1-dmanresa@gmail.com> References: <20260904062006.39209-1-dmanresa@gmail.com> Precedence: bulk X-Mailing-List: platform-driver-x86@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The Dell Latitude 7275 2-in-1 has the same camera design as the Latitude 7212 Rugged Extreme Tablet: an OmniVision OV5670 front sensor (ACPI INT3479) powered by a TI TPS68470 PMIC, with GPIO 3 as reset and GPIO 4 as powerdown and the same regulator voltages. The only difference is that the PMIC ACPI node enumerates as INT3472:04 instead of INT3472:05, so the existing board data is not matched and the driver fails with "No board-data found for this model". Add a board data entry for the Latitude 7275 reusing the 7212 regulator and GPIO tables with the right device name. Assisted-by: Claude Code:claude-fable-5-1 Signed-off-by: D. Manresa --- Tested on a Latitude 7275 (BIOS 1.18.0): the PMIC probes, the OV5670 binds and libcamera streams from the IPU3. The sensor sits on the I2C4 controller (INT3446), whose MMIO region overlaps the ACPI OperationRegion \_SB.PCI0.GEXP.BAR0 (both use the GNVS variable SB04), so intel_lpss_acpi only binds with acpi_enforce_resources=lax. This is the same BIOS bug as on the Latitude 5285, fixed by Thierry Chatard's "mfd: intel-lpss: add resource conflict quirk for Dell Latitude 5285" [1]; a follow-up patch adds the 7275 to that quirk's DMI table. [1] https://lore.kernel.org/linux-media/20260831160754.9857-2-tchatard@gmail.com/ Changes in v2: - Move the test notes and the I2C4/GEXP remark below the '---' line (Sakari). - Point at the Latitude 5285 intel-lpss quirk for the resource conflict. - Add an Assisted-by tag. --- a/drivers/platform/x86/intel/int3472/tps68470_board_data.c +++ b/drivers/platform/x86/intel/int3472/tps68470_board_data.c @@ -449,6 +449,15 @@ }, }; +static const struct int3472_tps68470_board_data dell_7275_tps68470_board_data = { + .dev_name = "i2c-INT3472:04", + .tps68470_regulator_pdata = &dell_7212_tps68470_pdata, + .n_gpiod_lookups = 1, + .tps68470_gpio_lookup_tables = { + &dell_7212_int3479_gpios, + }, +}; + static const struct int3472_tps68470_board_data msi_prestige_ai_evo_tps68470_board_data = { .dev_name = "i2c-INT3472:06", .tps68470_regulator_pdata = &msi_prestige_ai_evo_tps68470_pdata, @@ -500,6 +509,13 @@ }, { .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Latitude 7275"), + }, + .driver_data = (void *)&dell_7275_tps68470_board_data, + }, + { + .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Micro-Star International Co., Ltd."), DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Prestige 13 AI+ Evo A2VMG"), DMI_EXACT_MATCH(DMI_BOARD_NAME, "MS-13Q3"),