Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp894941pxb; Tue, 1 Feb 2022 12:39:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJxw5bdM0i+VsqtuGQX9O27s5TGAd4tZUJLcbtJplpi2jAWdYziQ4nmZ8x3iq3If3KYJGEZC X-Received: by 2002:a17:902:ba94:: with SMTP id k20mr27177221pls.155.1643747952192; Tue, 01 Feb 2022 12:39:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643747952; cv=none; d=google.com; s=arc-20160816; b=oTIzlXvUsvmAk3yfykp3oi3YqdYuawb7SKu9XjR1Q/kARHDHx/ptjUelVRP5liepo4 eOzM0TPQUE9Tn/HP5MGLorFJGr7z4kak/s985ItQq2Qeqq17EUPBzkSpzEKsCHlsyFmb gY82QrSUjxSFejmHS6OK8UxssR04q0oCXAyfyT0lrz4mhoSHhzWOueRResY4WYn2w6ZF TzsXRmWRDV4XRZom0krwhBttGZ/kTqIObcQSOepfE9fzwIyj3UYzAdoo8IpfxYuioOK/ 3gifkAhsAJDHUji8ePzCoCbW39skM+rMDuX6deFLeazMzoIFa/wNS0G4w3MvCM2qgLwV iyMA== 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=+Z2jZ0prPvToTi58tdd0hP/Dg0KjmHNiU5UAZ6HwaqY=; b=EiUp7zh3R5Ww0HPraZZXHlvarqIIiShic5LfAQWyFNTizdQo0Q/BOgjXkFfJIO7oRf UO19v2P7TBeZZYChy0OdiQk4eIC+NuEeHQF/hUVoIlvKQurLSIz7UVN3WEYUhPtmPTlr xliIFFftNjfQ/MJVJF42tyZno3ggKkrnCdAJzf22l8DuVBdNDnsX5cDcIPxT4lSpoVuj 45D8YZYxOJ3+rCMyBQgp7G6L6sPWWuziLY4uCAiONCbgSIo/kFpRrvPAJQeo26kMUJgQ 4eDL6gOqDKFbaSL2rV1sIV4OEyi9PrIeOqf/jy64SwcuAGyf/TLAuAT72L4mzYzoaEPF DXCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=JPWFgsbj; 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 h13si4764583plk.528.2022.02.01.12.39.01; Tue, 01 Feb 2022 12:39:12 -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=JPWFgsbj; 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 S1378645AbiAaNY0 (ORCPT + 99 others); Mon, 31 Jan 2022 08:24:26 -0500 Received: from mga17.intel.com ([192.55.52.151]:5526 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378331AbiAaNYV (ORCPT ); Mon, 31 Jan 2022 08:24:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643635461; x=1675171461; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=yHSic1vnMAc/hHMVia9qRBO1wV44h4MkxxdP9b6Z+YQ=; b=JPWFgsbjPjAndxoNeIL2YaRWimf1k9oW8VetQK5kTnEfPelE3bfPpt3H ZYrTFuXHmtBU8zkCfGfcDhSoWvu8LE+V5I/5ynX+66xQ2S2+bwTBSer92 MQJPMXtuucpHJhIi80nwpDr+KzL/D4bOcfxLuPJ1yNdqJ1kpC9uwqKw0H e5w0ZeCCBTBuZmv6dBt4xCUJaN5rPGnZJFmZiSKlHgkvonr0wrTz0vBQF J3Gih6sOSr86f0V7wZAHg77YQafWTH8PKZ+ioNCxStedB9U0UKFxVDdpK 3WBX4GExAMT6g4OxNe7tjG9m9aJCxefF/G7zbicY3aGSNa6DGNTz2Xffq w==; X-IronPort-AV: E=McAfee;i="6200,9189,10243"; a="228120579" X-IronPort-AV: E=Sophos;i="5.88,331,1635231600"; d="scan'208";a="228120579" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jan 2022 05:24:20 -0800 X-IronPort-AV: E=Sophos;i="5.88,331,1635231600"; d="scan'208";a="564995577" Received: from smile.fi.intel.com ([10.237.72.61]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jan 2022 05:24:17 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1nEWeH-00Gscc-0e; Mon, 31 Jan 2022 15:23:13 +0200 Date: Mon, 31 Jan 2022 15:23:12 +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: <5a3fffc8-b2d8-6ac3-809e-e8e71b66a8ea@redhat.com> 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 01:08:32PM +0100, Javier Martinez Canillas wrote: > On 1/31/22 12:36, Andy Shevchenko wrote: ... > >> +config TINYDRM_SSD130X > >> + tristate "DRM support for Solomon SSD130X OLED displays" > >> + depends on DRM && OF && I2C > > > > Please, make sure that it does NOT dependent on OF. > > > > 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. -- With Best Regards, Andy Shevchenko