Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp894980pxb; Tue, 1 Feb 2022 12:39:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJxG23xpOvju0o0nIRzUP3V8zbIf+l3JhXrxTERKZVw3mHp0TVxFkIDLUdim7xbbS676mYng X-Received: by 2002:a17:90a:be15:: with SMTP id a21mr4349769pjs.36.1643747955090; Tue, 01 Feb 2022 12:39:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643747955; cv=none; d=google.com; s=arc-20160816; b=Q2voSpaXwqH0FP19e8vJ7ALBiO2KpvTXOqR767iqUY6CZ18EHiDevZK4+Ogvt7HDsF mteEhe+0EILEzvoHVbseGW0JH0+hvnwmzemFZ8YZ7FRmQ0FGF/t4960mhAPsAoGxVvSz +rEyaWmDO8Y9UlNkMJhUyLZ8ZHZwVGJADr+6cuDuwybroWD9YtdeVFFOMuFPE5lILjHX 0r0Y4hO6lPAe6Cq7vPa3Zs6R1xyofO5Rao3nk2uKrnpZyxHP/m7eAsqNcx+DpKIpJzYV YhCGFTqORYxzkO7fXDkOriW7nwcpp3+v4hGAmPr/eT5D4LWcueHMSDRbMvRkRU8NYMmQ 0F7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=T2a9Y/dBtastZ9C10+Qi54GEBe48Vajy4xe2AX+9/3k=; b=kTFOmg3sDvBde78/F/vzsE7Gyqo3cnSYH5RxnFSKXT/fh4WhBbcH1bwqdvPXzM/ni0 ffStkcjbZr2Xgd8eCxQ4hVcAw4CK90Tiqni4SrwCwS9u68WOfzqwVw+3uB6qpwIEfYmF n+DdrEbU/u3SHORZ76ucn0oLuEYIiAMoosNoO2dvPKeU/YKPqaL5qtBCpgNhscBp/GJ0 XizRJi878/8qfImT70gwt2H4ySGF67btSqsTLypjNXaJYmkoqxmebdwRFV9JwwnI1+6D I/1qHj3bM056HpMTFAdTDVYJLNN3c9/lwlCX1dCoqFnibw+7xVvaNMkqRZc3OnuDt5JU LkgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BAgjqFXr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r29si3860280pfg.86.2022.02.01.12.39.03; Tue, 01 Feb 2022 12:39:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BAgjqFXr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378687AbiAaNZx (ORCPT + 99 others); Mon, 31 Jan 2022 08:25:53 -0500 Received: from mga09.intel.com ([134.134.136.24]:53304 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232369AbiAaNZw (ORCPT ); Mon, 31 Jan 2022 08:25:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643635552; x=1675171552; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=PV2NMENejzNWL/eUmut4tFJ0nE85m4L6jACezcDdRYI=; b=BAgjqFXraVnm4S5ETe5f2/FhOeSUKQH/0lZ7JTxxkD65OugcKTYwFYNF 3M2VYv3OwDeOvKT6wjj9Y5wEqFNGKceTqiOAg0cbP+Bl1rXpe2PryPrxz xfx2f1SWr5KH9ZIQ1Zf2tu812F1LCYnUPLkyoLnZjRmMYOMRpxGVZgkur FV9COnv95F3ZptcS4BwbI8rr6AQr1HQQMPtfv/Bfg4QEPqT/K2uVJwfc2 /KnKaVRn4KlE/D5LzDMSGYjTqYQbkQYpetgcTW1q3JHSsg0qlBJo9FCte rLylGHfzHyrzRc/LJM1cJ6P41c6CLsgiLumDMzOovuwBGJuKDfRQ8ug0i w==; X-IronPort-AV: E=McAfee;i="6200,9189,10243"; a="247229308" X-IronPort-AV: E=Sophos;i="5.88,331,1635231600"; d="scan'208";a="247229308" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jan 2022 05:25:49 -0800 X-IronPort-AV: E=Sophos;i="5.88,331,1635231600"; d="scan'208";a="481748551" Received: from smile.fi.intel.com ([10.237.72.61]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jan 2022 05:25:45 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1nEWfh-00GseD-PN; Mon, 31 Jan 2022 15:24:41 +0200 Date: Mon, 31 Jan 2022 15:24:41 +0200 From: Andy Shevchenko To: Javier Martinez Canillas Cc: Andy Shevchenko , linux-fbdev@vger.kernel.org, Michael Hennerich , Greg Kroah-Hartman , Helge Deller , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Phillip Potter , Carlis , Lee Jones , Heiner Kallweit Subject: Re: [PATCH v1 1/4] fbtft: Unorphan the driver Message-ID: References: <6e74d4cc-655a-e38e-0856-a59e4e6deb36@redhat.com> <5a3fffc8-b2d8-6ac3-809e-e8e71b66a8ea@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 31, 2022 at 03:23:13PM +0200, Andy Shevchenko wrote: > On Mon, Jan 31, 2022 at 01:08:32PM +0100, Javier Martinez Canillas wrote: > > On 1/31/22 12:36, Andy Shevchenko wrote: ... > > I actually added this dependency deliberative. It's true that the driver is using > > the device properties API and so there isn't anything from the properties parsing > > point of view that depends on OF. And the original driver didn't depend on OF. > > > > But the original driver also only would had worked with Device Trees since the > > of_device_id table is the only one that contains the device specific data info. > > > > The i2c_device_id table only listed the devices supported to match, but then it > > would only had worked with the default values that are set by the driver. > > > > So in practice it *does* depend on OF. I'll be happy to drop that dependency if > > you provide an acpi_device_id table to match. > > The code is deceptive and you become to a wrong conclusion. No, the driver > does NOT depend on OF as a matter of fact. The tricky part is the PRP0001 > ACPI PNP ID that allows to reuse it on ACPI-based platforms. > > That said, please drop OF dependency. Side note: 72915994e028 ("video: ssd1307fb: Make use of device properties") -- With Best Regards, Andy Shevchenko