From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (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 D05F22E54AA; Wed, 3 Jun 2026 07:43:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780472604; cv=none; b=RpaLejooN0HK0Yk4VTPh77KeeCCOIGANDViUiYTbgEzLCKRzqEim+PQGr+QuO9upgo74sLhxZeQi3yiEwhp+PSgFjAV8Cmy0F8CBxWBOUJzMynLm1gSrlqR1UzYBt0xLzklO6xPbrcUcbVhbQ0QT3IQAG0NKZjfYh0GYR+tbSvw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780472604; c=relaxed/simple; bh=EfL0Y/vc1moO5CywnqEtYC7Ec6QRAJkjLGeMfMk425U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=J26OGrY5Z9PwjTvDAvWyMvS/H1wuJg3DovpNZLnFBZmN70Rh47U0ZCAUoRMBSRtsuFBeoqQ0GRkuZT1lYDUuwXkulwZIz3RGZbSjx2PnhyjoinIw9QZcUsR+vshJMhHGh312kpOSgQUX7DnC9OGqfhFIkG6GY+vmCya2X7j+9BU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=DyFr7ud9; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="DyFr7ud9" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1780472603; x=1812008603; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=EfL0Y/vc1moO5CywnqEtYC7Ec6QRAJkjLGeMfMk425U=; b=DyFr7ud9iTNN/6/yvWwpgOsUOxiYeDYvTamNnIhjLaFsmhZ7bEt8znBx 5sKRtnfQiPnR2z9sKAyAXRr6GxhsTYnKjjKpqrj5BmuqnJLRZOxbchL2Q x4WsuWXQQNyp1SVaizVv1g7LLmg+aokcfDJzEIOE/IqNgbPaqDiCaVT5d byKA1uppotIARK8pxarMPUSg20cfH0jhkrPNp2ybyWvUZw3fkOa+SuyDA 8OhJNehEjPHqYaAs0+J05odG0lefsOLXjX34jLXANoxgDT3akPnZFmw7T CF3XfQiwgQqR41qkrNaS2PAizd1iR3P1u6A2UjjT2LLL7yUK278KcHfm7 Q==; X-CSE-ConnectionGUID: KQdptHfGSRKthnSlFaGjkA== X-CSE-MsgGUID: 2weHUf4JR92CmKI8WSVJ7w== X-IronPort-AV: E=McAfee;i="6800,10657,11805"; a="92378633" X-IronPort-AV: E=Sophos;i="6.24,184,1774335600"; d="scan'208";a="92378633" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jun 2026 00:43:22 -0700 X-CSE-ConnectionGUID: nROCRjs3QNyIgLlKokCflA== X-CSE-MsgGUID: 4VeEMZS7Tym54okgqXmZdg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.24,184,1774335600"; d="scan'208";a="282257650" Received: from amilburn-desk.amilburn-desk (HELO kekkonen.fi.intel.com) ([10.245.244.175]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jun 2026 00:43:20 -0700 Received: from kekkonen.localdomain (localhost [IPv6:::1]) by kekkonen.fi.intel.com (Postfix) with SMTP id C7464121C60; Wed, 03 Jun 2026 10:43:17 +0300 (EEST) Date: Wed, 3 Jun 2026 10:43:17 +0300 Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo From: Sakari Ailus To: Miguel Vadillo , rafael@kernel.org Cc: linux-acpi@vger.kernel.org, lenb@kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, mehdi.djait@linux.intel.com, wei.a.xu@intel.com, atul.raut@intel.com Subject: Re: [PATCH] ACPI: scan: Honor _DEP for Intel CVS devices Message-ID: References: <20260601194040.18223-1-miguel.vadillo@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260601194040.18223-1-miguel.vadillo@intel.com> Hi Miguel, Rafael, Thanks for the patch. On Mon, Jun 01, 2026 at 12:40:40PM -0700, Miguel Vadillo wrote: > CVS (Computer Vision Sensing) is an ACPI-enumerated device that sits > inline in the CSI-2 path between the camera sensor and Intel IPU. > On platforms where CVS is present, the camera sensor's ACPI node > declares a _DEP dependency on the CVS device. > > The CVS driver must be fully initialized before camera sensor drivers > probe, because CVS controls the CSI-2 link ownership handshake (via > GPIO REQ/RESP), the MIPI/CSI-2 lane configuration, and the camera > power domain. Without CVS ready, the sensor driver can bind but the > CSI-2 stream will not function correctly. > > The CVS driver calls acpi_dev_clear_dependencies() at the end of its > probe() to unblock waiting consumers once it is ready. > > Move the CVS HIDs from acpi_ignore_dep_ids[] to acpi_honor_dep_ids[] > so that camera sensor enumeration is deferred until the CVS driver has > finished probing, matching the behavior already in place for IVSC. > > Signed-off-by: Miguel Vadillo Reviewed-by: Sakari Ailus Rafael: do you think this could still make it to 7.2? Otherwise cameras might not work on a some laptops where they did use to. The default configuration is appropriate in some laptops so camera used to work without the CVS driver but now that we have the CVS driver merged and the CVS device is part of the software node / ACPI graph, probing the camera sensor driver will in fact not take place at all (and obviously the camera won't work in this case). -- Kind regards, Sakari Ailus