From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (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 BCDEA288A2 for ; Fri, 6 Mar 2026 09:22:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772788964; cv=none; b=BmSOcNNOWUu1bVslBeKFRiqMEnmo3G3KFbemeMbDUUAVkNwrXhX4OT02xrnQMNHTFQde8PLfJdZbMiMsPHkT0JJ1PbTkNo29phuSjJdJT1Sy7pZ2MSe6RoNfuhZXnQoFRBPvNMJEpVSusg1f2hgEsqWsP/OnK+24U+imP9lj1jo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772788964; c=relaxed/simple; bh=rxKXOX6VkDWy6uETQN9RI5oCYgXLEojPPXdeXgfWqdE=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=u5o72JDgz0SycBFc+JGWOloHvwGS5sQ+gctrkumttSHSZjNS4DY4KdqDOSszoWnbLks2AooQlsWJ9lgTr6M2dE1llNbqlOtpxLwADSCUKxWmOFvRNpwBoWau5jnGA/bisw9/sl4spJtvIEXc3frqOKcjTYLXPy7Qi6dK62qAC8I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=W1+D6493; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=G1BxtlIx; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="W1+D6493"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="G1BxtlIx" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6264aEYR264635 for ; Fri, 6 Mar 2026 09:22:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 7wdJEe8n94wvzDzCHs4VwOQ5WjMYvaee5BChamjF/hw=; b=W1+D6493bmOJ9itf FW1E05EcuX7iGaa77oqnjlShKAvizCMQYb1TNT8wCr6Uk92Ncf8lz3/rfJcbJ0g9 c1k5paqQ5rvO3niznCFe7w4qM5FOzijxgY6DJQnRExonVp7dkuw6rWguKsYxQh0+ NsRDhIXMgtQ4VKqmRL/CfpKO0Lt1YY6uYjuP3B6f5Gym032jv5OLE/im4/tqzSh2 YTSPV2GIANwh3HxcvMabEJ9hBFFAiBQIsYZ+Yv00InfcmcyBCuwsgCo5jWhOX6BK gRyBvkzjf4P2uz+uzJ5QAZM62PiT/AnGJud/MS1CvytWa9M3ybxoD37T653T6nag MBeyXQ== Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4cqdvkty9q-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 06 Mar 2026 09:22:42 +0000 (GMT) Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-8c70ed6c849so1867367685a.1 for ; Fri, 06 Mar 2026 01:22:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1772788961; x=1773393761; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=7wdJEe8n94wvzDzCHs4VwOQ5WjMYvaee5BChamjF/hw=; b=G1BxtlIxgWpjNnP5zRyDB7Nv9dV8++nuEZT8EnS1cyi1OMe02c/gEKnjS70y/Gy4H1 Po1UCdhk5MUuxDE+0ys8UpC96tEe4Xg77hCNDa/ZeZpXOKhMSF+lxu0bnQ0fpaRC4YXi ofgk2kVhlt8LaoHIj5MrWzMbC/Ij6fVtcQgp/jkvjUIGr9BFwOWW1WPeACwzASvgAU0k 1ZVSa46AA8uZj/68jMS9I4zsvMlbR+cbJSaYl9OOPnJunDrUnVzIpFo9tRFB+HvXBNnD tIpbpo6QK/w8pVJJ++NEw8lg9b9LMyA6Pt+CLXct+gI3pQ+kVlYuhZfIxU3Gpgx2kRxu 9bIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772788961; x=1773393761; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7wdJEe8n94wvzDzCHs4VwOQ5WjMYvaee5BChamjF/hw=; b=GZXLb1HPzjulp58d6UPoCwi6ZB9Uy8G4X3iL43uA9wDng7UuTrNJgkcUloYkPP203h B1wyAK2Rw2qEhGhjh/dd3BExijVbuz8MuG1XlXL9UDj679ZFVVNMwM/4SZ+J10v2jJ1b PB3zMHAel4RVDgPKr3AKoe9DYKtwei1kUFiU7D3L/rvl556iKMUIJIGixDPPQpENgX4L fOJPN/5x2w1HflrcSCt3XKzQFYNlYeAE1NG2QGJLdVHMiH2oP42MPXeo5CH/Okt7Zzbh fZcoSga8LINETxb8+CnyJLWYxg3y2j84DnqyJUXYpMiHffSsYeA5gbzouX1FYns6C6Xq WIlQ== X-Forwarded-Encrypted: i=1; AJvYcCWYBNIJjqLEasjFs+rxZQXhYhUqYxNqfiTKxKBJBFxo9EPRGWLGzm3iRYQL94VRdL6mH2VB01ShQMVPnrs=@vger.kernel.org X-Gm-Message-State: AOJu0YztL1P0KM9bx77POfhZhsRWipLUJC/dU6wuJQHmII0Y2zLLgZe8 FDCjzaHpRwGNuvuiNAhE7n9hvzTK2BuYfjRo4v1IpPJk46he4IlbT7Jyj/i2b4yBJrdY8IlUG6W EHeDw1rABAMaqPLifh9F3PKZPUBrin6RLbGP1lhb2Xx+Z4eoRJpIMaiGFfA1LAwo665o= X-Gm-Gg: ATEYQzwX4pWd3RZnjT1DSg2CCCa0uMAieMASR9/auA3P5TkGHKCiPmw2Y1aIskojgG9 yU1SXl49YiecUCNXzkgBXUtwW/62dPcqlU4UHiQrrpGwvU//BPi86KD3uz/8pY6C3CC13EWNTyr AL7bTflEINzuqMdV5hc72GapVpmGzKiWRJAnMnGiQMNKYQnxvWj8X4Zr3SxXt856q2fHXFiWZH2 6OwZ1JUmAShYMphin+qWuXWu2TSZ4e9tVveWMdysnJr7aDioXvQXr0JwcD3k6/GKNX22uxcUNUZ dXeCZJxYCck/CyHaNZZofMMHizu7CuK2O8OQEPIU1+7hzYgpcqKf1wATH5DwDt8oX0dOCIP2VCL GNcnUfipEByq5lIwvmTLW1SWYd1S/ADTkSU9ZeqlS7tA/OFCchzJa066EBTj3dtf/txRsZ07aIA RwCD4Wa7KYuy7q0if+xEfnTcd7kAiY+kkHieNWVkHHEFZmyyIHyqaholkSujRY2w7Lfu+XIRqPq SYc/iRh5wGVzrxC X-Received: by 2002:a05:620a:280d:b0:8ca:110b:38cb with SMTP id af79cd13be357-8cd6d38f863mr175763885a.29.1772788960970; Fri, 06 Mar 2026 01:22:40 -0800 (PST) X-Received: by 2002:a05:620a:280d:b0:8ca:110b:38cb with SMTP id af79cd13be357-8cd6d38f863mr175761785a.29.1772788960533; Fri, 06 Mar 2026 01:22:40 -0800 (PST) Received: from ?IPV6:2001:1c00:c32:7800:5bfa:a036:83f0:f9ec? (2001-1c00-0c32-7800-5bfa-a036-83f0-f9ec.cable.dynamic.v6.ziggo.nl. [2001:1c00:c32:7800:5bfa:a036:83f0:f9ec]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b942f15c801sm40650866b.48.2026.03.06.01.22.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 06 Mar 2026 01:22:39 -0800 (PST) Message-ID: <14f431a2-3c31-4f23-88dc-7e2d5c8da50d@oss.qualcomm.com> Date: Fri, 6 Mar 2026 10:22:38 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: "johannes.goede@oss.qualcomm.com" Subject: Re: [PATCH v2 1/2] platform/x86: int3472: Add board data for Intel nvl To: "T, Arun" , Sakari Ailus Cc: "mehdi.djait@linux.intel.com" , "linux-media@vger.kernel.org" , "linux-kernel@vger.kernel.org" References: <20260130092431.2335363-2-arun.t@intel.com> <20260227133542.970820-1-arun.t@intel.com> <20260227133542.970820-2-arun.t@intel.com> <0f2502fb-20cd-4638-8428-9a9eb5318147@oss.qualcomm.com> Content-Language: en-US, nl In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=M7xA6iws c=1 sm=1 tr=0 ts=69aa9ce2 cx=c_pps a=HLyN3IcIa5EE8TELMZ618Q==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=Yq5XynenixoA:10 a=7j0FZ4iXMVMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=-204PKcC4nqfIuXNHFwA:9 a=QEXdDO2ut3YA:10 a=bTQJ7kPSJx9SKPbeHEYW:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMzA2MDA4NyBTYWx0ZWRfX4H8zsriFu2VZ skLfLlZlFHPOg9v7lMw9Lhnr+1f6Ja0iuQbqdLhLxNzG5+JW75FfH4nr6JK0b2kUA2BWA6m9Rdf iuLstKuYIgd1nHVOP/gO/0cOZXy/HLRSsRyMYKY84Dnq2opZN3zg+sOPohTTTp0tTOrp/v0dexJ 8KKz+iBc8dRwthYkzVpBw04QyMfLnIZXL3i2tOvN3J5NOBb1VlJGLVpuvhJgne2h+9iTrcM8qPp gLR5tBHlwNXl9ppfHxVAZIIp2hqiVH6yeHsud8dZEjj7a86BEPWKQwsQNgfm9+gkmkiiLx9IQ2j LBqV/mmrxWS7Ha3Y2XrKzpNvctPovGtYqSwWLRYjLKzeGfTegPYh8Yb4PaIqRJbWVdPvEB2ggIJ e3yOOfCDhNurY48IF8gwmNFsTXTzclqzwVt3QP7BSP1tOSZeJgbeD+qg6pft+X3/8UY960iP40x Uur/833t3QqEfZawTAA== X-Proofpoint-GUID: l3b1Iu9NWUarN_jdy2P_hCjD5T1_GL_u X-Proofpoint-ORIG-GUID: l3b1Iu9NWUarN_jdy2P_hCjD5T1_GL_u X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-03-06_03,2026-03-04_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 suspectscore=0 phishscore=0 malwarescore=0 lowpriorityscore=0 priorityscore=1501 bulkscore=0 spamscore=0 clxscore=1015 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2602130000 definitions=main-2603060087 Hi, On 6-Mar-26 09:47, T, Arun wrote: > Hi Hans, > > We are using CRD G3 card + ov13b10 (UF and WF), which is supported by Discrete and TPS68470 power solutions. > WF camera is powered by Discrete and UF camera is powered by TPS68470 PMIC. > Discrete solution provides regulator name as "avdd". > TPS68470 provides multiple regulators like "ana". Vdd, dovdd, etc. > > As per your comment We have tried below experiments and shared output below: > > Experiment 1: > -Add avdd name as a regulator name. > > static struct regulator_consumer_supply int3472_ana_consumer_supplies[] = { > REGULATOR_SUPPLY("avdd", "i2c-OVTI13B1:00"), > }; > > +++ b/drivers/media/i2c/ov13b10.c > @@ -704,7 +704,6 @@ static const char * const ov13b10_supply_names[] = { > "dovdd", /* Digital I/O power */ > "avdd", /* Analog power */ > "dvdd", /* Digital core power */ > }; > > Error logs: > [ 0.732156] tps68470-regulator tps68470-regulator: Failed to set supply avdd > [ 0.739297] tps68470-regulator tps68470-regulator: error -EBUSY: registering ANA regulator > [ 0.747663] tps68470-regulator tps68470-regulator: probe with driver tps68470-regulator failed with error -16 > [ 3.621085] intel_ipu7_isys.isys intel_ipu7.isys.40: bind ov13b10 1-0010 nlanes is 2 port is 1 > > Result: > Only WF camera sensor is working, which gets the avdd regulator from the discrete solution. > UF camera gets failed to bind due conflict regulator names. If you have 2 OVTI13B1 cameras then they will have 2 different device names, you can see these by doing: ls /sys/bus/i2c/devices They will likely be: "i2c-OVTI13B1:00" "i2c-OVTI13B1:01" and since you're getting an error that the discrete INT3472 device has already registered the "avdd" supply for the "i2c-OVTI13B1:00" sensor, that means that the tps68470 is likely supplying the "i2c-OVTI13B1:01" sensor and not the "i2c-OVTI13B1:00" so you need to have the regulator_consumer_supply maps point to "i2c-OVTI13B1:01" . If you boot with "intel_skl_int3472_discrete.dyndbg intel_skl_int3472_common.dyndbg" add to your kernel commandline then the int3472 code will add some debug messages to dmesg which let you know which sensor is mapped to which INT3472:0x device. Regards, Hans