From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 830C9344D80 for ; Mon, 29 Jun 2026 07:41:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782718902; cv=none; b=qdBZzAuJpHIUrSd0uFUkLsd+4bRZHw/8Ymf4QomiO+Uv9xVASJfeLa99+gyBKQtOgKIhyriZpU5q4OrTMVaVWJlPSaALvuY9xnKbgUDf33uW1l5xLQYGGc1wOUZ3nZ/zn+PDCMjoUueiFpyv7S0KcFKH/t/fCyqKigYYf0Sr66k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782718902; c=relaxed/simple; bh=VE12+kheJUHNJcZS0xmm8G1jNE16tSQxXib+Pnrs7qM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=BOFyWR4po4YicqWv17ZOLOAJpUsPrykLlUYzW3Yhytt2YHIzNEYFeKgvG/z5FLIDiRvLC59RKQ2tqFvxnnzQlnSSUlFsZUcjbt5RXEfOGGmWdBkQiedY6ntMbTLk53k3wSDWhNsAviHcYNannwOCGBXM7SDxVoN3jLsWKaspJcA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=G8wOSF1b; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="G8wOSF1b" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1782718900; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ux+/tM864TLH9DO10ATye6W9QF5Lm9wdYYjyrQrqxbQ=; b=G8wOSF1bBwPv0kPY6Xqxd+dYMCBFYwgA6kxu5DXGcktGQsMAR1lMyxayryd9tTQFsPXRi4 RmUpUA+sJy8UogGa0hqjgCjUB1gGG/EHwCpAwE7M/D8u1LLtOqes2im1eqNZ5bmpxo/Kt5 iil/8GktALttYzAP0s3ISNOmhGaoPGg= Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-82-oMX9TvHCNouSWNnG8KdNvg-1; Mon, 29 Jun 2026 03:41:29 -0400 X-MC-Unique: oMX9TvHCNouSWNnG8KdNvg-1 X-Mimecast-MFC-AGG-ID: oMX9TvHCNouSWNnG8KdNvg_1782718887 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id A988719560A2; Mon, 29 Jun 2026 07:41:27 +0000 (UTC) Received: from hpa-thinkpadx1carbongen12.taipei.com (unknown [10.67.32.110]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id AA58E1956041; Mon, 29 Jun 2026 07:41:20 +0000 (UTC) From: Kate Hsuan To: Mauro Carvalho Chehab , Hans de Goede , Hans Verkuil , Sakari Ailus , Serin Yeh , Tarang Raval , Damjan Georgievski , Kieran Bingham Cc: computman , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Daniel Scally , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , platform-driver-x86@vger.kernel.org, Kate Hsuan Subject: [PATCH v6 3/4] platform: int3472: discrete: con_id vana for Sony IMX471 as power enable Date: Mon, 29 Jun 2026 03:40:25 -0400 Message-ID: <20260629074026.35490-4-hpa@redhat.com> In-Reply-To: <20260629074026.35490-1-hpa@redhat.com> References: <20260629074026.35490-1-hpa@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 Update the con_id for the Sony IMX471 sensor to "vana" to serve as the power enable. Additionally, the HID values SONY471A and TBE20A0, both associated with the IMX471 image sensor, have been identified on Lenovo laptops. Signed-off-by: Kate Hsuan --- drivers/platform/x86/intel/int3472/discrete.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/drivers/platform/x86/intel/int3472/discrete.c b/drivers/platform/x86/intel/int3472/discrete.c index 115bb37577a1..adff564bf3fd 100644 --- a/drivers/platform/x86/intel/int3472/discrete.c +++ b/drivers/platform/x86/intel/int3472/discrete.c @@ -164,6 +164,24 @@ static const struct int3472_gpio_map int3472_gpio_map[] = { .con_id = "dvdd", .enable_time_us = 45 * USEC_PER_MSEC, }, + { /* imx471 expects "vana" as con_id for power enable */ + .hid = "SONY471A", + .type_from = INT3472_GPIO_TYPE_POWER_ENABLE, + .type_to = INT3472_GPIO_TYPE_POWER_ENABLE, + .con_id = "vana", + .enable_time_us = GPIO_REGULATOR_ENABLE_TIME, + }, + { + /* + * imx471 (on Lenovo ThinkPads X1 G14) expects "vana" as con_id + * for power enable + */ + .hid = "TBE20A0", + .type_from = INT3472_GPIO_TYPE_POWER_ENABLE, + .type_to = INT3472_GPIO_TYPE_POWER_ENABLE, + .con_id = "vana", + .enable_time_us = GPIO_REGULATOR_ENABLE_TIME, + }, }; static void int3472_get_con_id_and_polarity(struct int3472_discrete_device *int3472, u8 *type, -- 2.54.0