Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp240792ybp; Thu, 3 Oct 2019 12:53:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqzBxSpUODpsHVitkiL2hbmvQFxJVfhhKiVOvKh2ygZ/XBj4Q+VHhTkoet9NIEiVzeIKAOt0 X-Received: by 2002:a17:906:f6d1:: with SMTP id jo17mr9390253ejb.62.1570132402772; Thu, 03 Oct 2019 12:53:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570132402; cv=none; d=google.com; s=arc-20160816; b=KmAm5SXwVSLzSgNVwteE6R/msBWA8XPi+s+qXrOjhEtzexLCjpI1P43hFpACZhNJSF l4Qby0zN1kigT3NnvEXtAVMhZ9ZAahf+QCir8onl1Ig0idYiqE20wBh+MBq5jD63Gmbi VHyl4IQowmHrmnVNNLxr3Bjb2+lLzrumN+kNL51JkkPYjaw5490KkLIT5cnd12/qcVEN /85ewy0mohEN+F3fCX4yKwR09FA53kPPvNzjjC5GX3dCeSjFX8P9maaHB2E73Q7pvuPQ 0LqdUw9oqyN7mPhjL5yLTywN4d7y+0xyAQITi+F4ThhRhqbCpvzAB37XFbsx41aciIlZ YzVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=9pgSkfRdp0+C6gQGEaXGS6gP5j2Rq8fOoVTyq+Yt++k=; b=rqk7D3Juw95s3oGFCEm1gyBMmWU8bcG2PUNVUEx7pkT7k5Dys1GvA/hE7unbWuLm5y H5CrGYycHo0BNnGH0fAATSZy6htBMNrL5C30++4cp3ZY2FwL8omUyvwnSXeQ5IyXWD76 YySbP2RpMcb555m7zo6YqIMCKZqK7mW0r4LJJJ3KCCw0sbFSsniNe8IEmIGQiEfhVuFZ eUllhLaJ7nnnFouvYE3hR+bURgT1+zDDZXIf2rROGhF+M2e/AZURHEs/blDgf+uppDoR harBNWNz5KS3AY9x/82MRWRz3+gvjR9dnmydQQ9+Bzw63iwR+mVdNWuEb4RQ/v5iRPUL 5snQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="t/XDWKfU"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z7si1842274ejr.99.2019.10.03.12.52.58; Thu, 03 Oct 2019 12:53:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="t/XDWKfU"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732954AbfJCTvt (ORCPT + 99 others); Thu, 3 Oct 2019 15:51:49 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:46088 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726677AbfJCTvt (ORCPT ); Thu, 3 Oct 2019 15:51:49 -0400 Received: by mail-lj1-f193.google.com with SMTP id d1so4071702ljl.13; Thu, 03 Oct 2019 12:51:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9pgSkfRdp0+C6gQGEaXGS6gP5j2Rq8fOoVTyq+Yt++k=; b=t/XDWKfUS+mez5ZWHjWM3/9sAabp0xSKYo/p+tDfckbCxuxK7DXRe0LVGjtjGatLH0 NQcqJshl91AUKWnRxrSX/4BR8ckJw4oshWzgx0B6UMzxLmC4MrrVRZdfFVI4Nevu5qeY H1IauHE7iqruHnrGiWA4+0dKmX7cliKfRf/Hc7MiLmqjcXI/TupO+oaWjL5sqho0h4wJ b+HrNZQkTy8ecSXaJSjkWaFO2xnVt1xwMxlwl48KIqjyhfDxC8pZ5yZodKD/t9AjU1m4 fZo4XVie7sCQo3vtJjjGwa0KDR/nVhnEbtvznh/WmCUgw15X27vjxjt9H817a2JPWx9x GG8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9pgSkfRdp0+C6gQGEaXGS6gP5j2Rq8fOoVTyq+Yt++k=; b=m0Puz3hg6VaTuCjirvFFy07wnsuIK94iLGFYWvLgYXyQwt8KoHvaNzzChsIGYm2KAw HuRmfsNLfGAhXWFF1ATzt5c59UNWP+SssmlwsNk5r9Vw/TjWXR74iftk56PLOOaV3j8j 4CHF/ozPaFUfSI+Tqrmync0KVAMrT9L+qvs4sK7ofrUM5gIU4BCm+4PNypwM1DkAOiAU E2g/pZOokn4Df/rnX35RjY+rB8Ig/uB0U+BAmnpacg8sdrZNllyci84dTkpmk3K2UxHR QLLf1/t50yIO3+bT9GE67WR8O8Pa5D/um78uqsPN6YKttFDjrqjm7fl/Ol6ClcxPM0VS b48w== X-Gm-Message-State: APjAAAWJStrvrUCnkRianPt/oqEIM4HcL3UY+kOKmLq2bJ9WynSzotVT HOnV5mA7SacfZFrZBVjG20VVTF5o7uAaYtXK4VY= X-Received: by 2002:a2e:7d0d:: with SMTP id y13mr7214977ljc.170.1570132306661; Thu, 03 Oct 2019 12:51:46 -0700 (PDT) MIME-Version: 1.0 References: <29ab2e43-4374-a3ea-6ae1-a4267867eaa4@jpvw.nl> <20191002154922.7f1cfc76@coco.lan> <20191003080539.2b13c03b@coco.lan> <20191003120238.75811da6@coco.lan> <20191003160336.GA5125@Limone> <20191003130909.01d29b77@coco.lan> <20191003162326.GA2727@Limone> <20191003144225.0137bf6c@coco.lan> <20191003183200.GA2631@Limone> <20191003163914.7c384d36@coco.lan> <20191003164426.6da8538f@coco.lan> In-Reply-To: <20191003164426.6da8538f@coco.lan> From: Gonsolo Date: Thu, 3 Oct 2019 21:51:35 +0200 Message-ID: Subject: Re: [PATCH] si2157: Add support for Logilink VG0022A. To: Mauro Carvalho Chehab Cc: JP , crope@iki.fi, Sean Young , linux-media@vger.kernel.org, Linux Kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 1) The firmware file is likely at the Windows driver for this device > (probably using a different format). It should be possible to get > it from there. If you tell me how I'm willing to do this. :) > 2) Another possibility would be to add a way to tell the si2168 driver > to not try to load a firmware, using the original one. That would > require adding a field at si2168_config to allow signalizing to it > that it should not try to load a firmware file, and add a quirk at > the af9035 that would set such flag for Logilink VG0022A. I don't get this. Which firmware, si2168 or si2157? I'm still for option 3: If there is a bogus chip revision number it's likely the VG0022A and we can safely set fw to NULL, in which case everything works. All already working devices will continue to work as before. With a low probability there are other devices that will return 0xffff but a) they didn't work until now and b) they receive a clear message that they return bogus numbers and this works just for the VG0022A, in which case this hardware can be tested. At last, *my* VG0022A will work without a custom kernel which I'm a big fan of. :)) Are there any counterarguments except that it is not the cleanest solution in the universe? ;) -- g