Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3097182pxb; Fri, 4 Feb 2022 00:54:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJw2DLSoS3saEcrx06FEDak1p5WQ0/oZCDcMCJFX5DNZEkvShATrsUOJZPkfTH+KRbadrGZs X-Received: by 2002:a05:6402:5cb:: with SMTP id n11mr1946368edx.399.1643964876113; Fri, 04 Feb 2022 00:54:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643964876; cv=none; d=google.com; s=arc-20160816; b=N9MLYCF+APTDAqR56ogDcDAR1MsTrqYxWSorBBFgzyiIxh5j+p6CuZCDqeEMqT+/G+ 6/0l5xn7YmlvCMuE0wbo1quw2g4pViCITkkklKcHhyYdzk6YkyjGwNvM4TJ8Zyt8vwZk fK8z0dY09sGZiOLwZnyeDQr9UjQXrMWWDNiqtS+pzjqdKZCtkq7G4vqKaRLJLLBZom3t bF1TrdaENUvjxkL7/5G6iJNc79nY8IBXnUACETCUMP9WHfOqLCBll29Smzoi/os+mgub sui6VipBBiAzbOaSdVSWZBWXuiSzwFwVfeDbbfCLRRWli4gO8bxBz5FLpFpcZ4yJy8lv r+nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=rg8pU1C0f/0VjgTJHnUUmo0eT3fiUgj4jPzj76iwETY=; b=mo03pJHeOt0XVkaWWPHh72I5Bqh9BTLYp3oq1GbL/D3HFQfCiJEZPQMINWGGSRtudR G6vBOjOQlDB3fuyQiEpMGa3sn+KUvGu/DNZ+C0rwoDSwZ1aQAIF1XiE9MxTQovnDquhn 9o/YbJJ165k+k0K4cpgLisqcokd7fySPutwNqDM00cZy1CBgnvgo0brofTbcCNwKnASd /8d2LauADyDUbiNwihHOzWsy+Zz/3xkgKixLWIQ5q1DhHF27uL24/HCl5Ze3p+ik1ebV uif5b0RsmKCWuA+l+OLDLNwGAJFU/JGIuj19O8AzmpsC57t+PonbVH9mJ+5Prkvw4/+1 DGcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=FLOCGme6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ji7si797255ejc.585.2022.02.04.00.54.11; Fri, 04 Feb 2022 00:54:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=FLOCGme6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244940AbiBBGw4 (ORCPT + 99 others); Wed, 2 Feb 2022 01:52:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244780AbiBBGwk (ORCPT ); Wed, 2 Feb 2022 01:52:40 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A047EC061772; Tue, 1 Feb 2022 22:38:02 -0800 (PST) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 260032F3; Wed, 2 Feb 2022 07:37:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1643783879; bh=r7oPY8EgqItgv6YCn6zBalF5PLzzR/lsj6VuIS++Yos=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FLOCGme6aMq06je0Lu1485Xqfm7daGDbIMPkjYd6z2/1J38MsLOKvWawioFIFgMhN DxkYmPPDtx8NiDxJRBYB5+7Z6dVAIqn+OwMRmZg/ualZvvPOG4QKZwwU9p6hIMLScy yhqIUNDQ4ewYg1lhLkXzT4ypXKUrMotK3DV1XZJc= Date: Wed, 2 Feb 2022 08:37:35 +0200 From: Laurent Pinchart To: Aditya Garg Cc: "mchehab@kernel.org" , "mchehab+huawei@kernel.org" , "hverkuil@xs4all.nl" , "sergey.senozhatsky@gmail.com" , "ribalda@chromium.org" , Linux Kernel Mailing List , "linux-media@vger.kernel.org" , Orlando Chamberlain , "paul@mrarm.io" , Aun-Ali Zaidi Subject: Re: [PATCH RESEND] media: uvcvideo: Add support for Apple T2-attached FaceTime HD Camera Message-ID: References: <527C2E71-12E2-45D1-9B50-5A413B6920A1@live.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <527C2E71-12E2-45D1-9B50-5A413B6920A1@live.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Aditya, Thank you for the patch, and sorry for the late reply. On Wed, Jan 26, 2022 at 10:37:13AM +0000, Aditya Garg wrote: > From: Paul Pawlowski > > Adds the requisite device id to support detection of the Apple FaceTime > HD webcam exposed over the T2 BCE VHCI interface. > > Tested-by: Aun-Ali Zaidi > Signed-off-by: Paul Pawlowski > Signed-off-by: Aun-Ali Zaidi > Signed-off-by: Aditya Garg > --- > drivers/media/usb/uvc/uvc_driver.c | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c > index 7c007426e..88dc9e7aa 100644 > --- a/drivers/media/usb/uvc/uvc_driver.c > +++ b/drivers/media/usb/uvc/uvc_driver.c > @@ -2848,6 +2848,15 @@ static const struct usb_device_id uvc_ids[] = { > .bInterfaceProtocol = 0, > .driver_info = UVC_INFO_QUIRK(UVC_QUIRK_PROBE_MINMAX > | UVC_QUIRK_BUILTIN_ISIGHT) }, > + /* Apple FaceTime HD Camera (Built-In) */ > + { .match_flags = USB_DEVICE_ID_MATCH_DEVICE > + | USB_DEVICE_ID_MATCH_INT_INFO, > + .idVendor = 0x05ac, > + .idProduct = 0x8514, > + .bInterfaceClass = USB_CLASS_VIDEO, > + .bInterfaceSubClass = 1, > + .bInterfaceProtocol = 0, > + .driver_info = (kernel_ulong_t)&uvc_quirk_probe_def }, Have you tested that the device doesn't work without this quirk ? > /* Apple Built-In iSight via iBridge */ > { .match_flags = USB_DEVICE_ID_MATCH_DEVICE > | USB_DEVICE_ID_MATCH_INT_INFO, -- Regards, Laurent Pinchart