Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2768715pxb; Thu, 3 Feb 2022 14:01:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJwnjFklJRTmW1LAKb8apvxSvk3Zex6A6Xc691CNMKCZAEAepoVvFUjXvHqJpJ857/pQWvMh X-Received: by 2002:a17:90b:4c43:: with SMTP id np3mr16044597pjb.88.1643925694124; Thu, 03 Feb 2022 14:01:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643925694; cv=none; d=google.com; s=arc-20160816; b=EcvfCmtHRQ7cT//PZeAxnZOWrhzgRxQpcK2OVOSEgQlJFRKXalrIZtoLlRYHi47Q3W QIK+zleWRP3wEi6uWzMRqapEg/0I2+9Mj+YCdo4nmaR/QmgUbiUOgRhsL0IEHRzTsta7 0SoMY/USRhxQ3Nn93RrEqWONr3GOIluPP/b2xzNMTAyieLtyv19B05WMOgGSK7e+OjCE eDHMwq7whvNUejx4M2/g+D6FLdz9TtZTJ6/tX+6kgShWgZiMiY5CO3+jpCND1pw/m8MQ i+ANdimpYVMStIVFliXQFD9vIpHFVlYZifLPAOV/22gpN9gcyDwx3mk7WKKbUsIAbQqb 5vlw== 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=hkM0INNT5ToyPpz8o/c48ueKP4pJusE9J4xkc01YiWo=; b=A9hnl6uaQcHghT4hGHQBWaaOgWjhQVfKTacIKIDPKgYvv2M2jgaRBgu1DStFja7PqH u9gnDC++3Mdo5oGGC/fG5lWx+5i74OTDEZh6/NtRSIvqMf3nSJeoXFDINL3+gFYT144v FQkAcdJBHnJGQiMBXlXb0Ry4smyqfBuokr6Dg9ZzBVoz/iVCSFmI0FGaADRPHTJ6j8Xq mLtFM0GcW1Hu++J7T4YTdJKNJvkBk0Uhh43JMwSaVlwjVqoANQxerdyTWbNZEh1ccmP5 CvgTSY7roVdzi/ZpCRuA/Dh1ICw1wmMGaDSGccAbT6XazbLurlEfnilidN+JPCXma4WI WV7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=X2rRfZsK; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k8si98966pgp.91.2022.02.03.14.01.21; Thu, 03 Feb 2022 14:01:34 -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 header.i=@chromium.org header.s=google header.b=X2rRfZsK; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244068AbiBBDmB (ORCPT + 99 others); Tue, 1 Feb 2022 22:42:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243201AbiBBDmA (ORCPT ); Tue, 1 Feb 2022 22:42:00 -0500 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97E41C061714 for ; Tue, 1 Feb 2022 19:42:00 -0800 (PST) Received: by mail-pj1-x1034.google.com with SMTP id my12-20020a17090b4c8c00b001b528ba1cd7so4701030pjb.1 for ; Tue, 01 Feb 2022 19:42:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=hkM0INNT5ToyPpz8o/c48ueKP4pJusE9J4xkc01YiWo=; b=X2rRfZsKiwEgkCuMlhd9dh+eCA+LMtVK77jTFgjKml4w3Qi9/213ObL3zGVZ6XOqPF D65XXGjhA7nhGgmBnNDBewQm9OVTrNX1p6fTceSyirCHVY/5E+4qpHkokXHv1Vc7uOXD XgMKUpOJ5IcHgF2pnQvLvHS7QS71OiSIqhw6g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=hkM0INNT5ToyPpz8o/c48ueKP4pJusE9J4xkc01YiWo=; b=qkwf6os/EnANN7vqF4VZprU6cEgCcY2vqatzQ6BpblXKejPcUHQ0VEfmWKRmhhS+xg Dzw6W4g1IaSci8XsI6AITLLmQpwSrrG1Ppx30Zrnr4VTtrTg31dgKK0gUT6MyBV7QOPk dESeODBVSLoneWAUSq4wHRhLK7jSaBv78QLlP3vobRV3YKOx4aTf6IMZvrQj1SjjZ7F6 5/Gw720hYFECi9Nf8/bGBlY0kqgk8Xf9eMIToX7fsOm/mC+idfTSXzVcyjdxafugmaU7 S8kvKTmFbQ+BSEE4nPG+qGffHWGr/DtEomGm/bueBN9BhIAMJSzpIMzxerxLAInQYKvs yaog== X-Gm-Message-State: AOAM5327A10yr3zEHbUZSLkjkizJSnR9WxxJl4XbVrXj1jSv8V+7ULkh NgaXS9ExWqkuyd6I1qmHHaEMezqIsdHX4g== X-Received: by 2002:a17:90b:1881:: with SMTP id mn1mr5953137pjb.236.1643773320175; Tue, 01 Feb 2022 19:42:00 -0800 (PST) Received: from google.com ([2401:fa00:8f:203:9ae0:cb9f:b05e:ec]) by smtp.gmail.com with ESMTPSA id i127sm7462698pfg.142.2022.02.01.19.41.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Feb 2022 19:41:59 -0800 (PST) Date: Wed, 2 Feb 2022 12:41:54 +0900 From: Sergey Senozhatsky To: Aditya Garg Cc: "laurent.pinchart@ideasonboard.com" , "laurent.pinchart+renesas@ideasonboard.com" , "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 , Linus Torvalds 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> <9BD1D373-F588-44EE-AFC0-3D691B4134DA@live.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9BD1D373-F588-44EE-AFC0-3D691B4134DA@live.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (22/01/31 09:12), Aditya Garg wrote: > > On 26-Jan-2022, at 4:07 PM, 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 I'm not the maintainer, but the patch looks OK to me FWIW Reviewed-by: Sergey Senozhatsky Laurent, Ricardo, any thoughts? > > 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 }, > > /* Apple Built-In iSight via iBridge */ > > { .match_flags = USB_DEVICE_ID_MATCH_DEVICE > > | USB_DEVICE_ID_MATCH_INT_INFO,