Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp896559pxb; Tue, 1 Feb 2022 12:41:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJxJBVs6YnybAwcnVrJRioSBhqFHAfuxPD9OEm9SZwHc5Pjm5AUC7PeDe5mRjm4IxNzNNCBx X-Received: by 2002:a05:6a00:14cc:: with SMTP id w12mr26445261pfu.47.1643748074168; Tue, 01 Feb 2022 12:41:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643748074; cv=none; d=google.com; s=arc-20160816; b=MRQgikM2l23HrRZIOFL/mkvQoNyzg5YUJb8gmN3wbTiVOp3jV2lLWdLiB/MJxlFnZP r2IKLcFOmMGsEDV42pNGN29DNHVoGfCv4+K61yWOKO7HcvU8fu6QI1qCITyWsjPfpMO3 DXR+iBqS8YQ2IyOiAOxw1u0JOn5KJAosqY/h1881fy+HVA8eSBN8U7aezaOvgNrJQDBM iuJKdffu5ZCex9bJFONhYPqnkMByQ6fmUhzK3JmyjjUF402iuUSke6CJWW682P9QlNWs KBDdAFykmujUtT2wl1SUelf/rHW+7nQadXBP3YXPQzNBl2ltH6aOU/IXv/qWiNWchH6b Lytw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=uxP5Mrjf+1xZ7KSuCYa0gMdIvljGy5EAdecrXW+Lf8k=; b=iQakDrvQvtHnmthk7Ek/zWLEXVDudRFovEpnVS8yq8V9P0r+ZLYDXZPxRO9Xi+BS8Q L3klRNyTSW6NXXzEhM/WrqoUO/3J6+uP3l3W6uMnWaH0BJDPB8qC34M9tmn5vVNvKoCX kxts0dSNcA4shlEQDueTwn3V/3ac1YE/C1LxqqcYF11XMPKk5hMH4AUrFv0ICch0jhfp Lhn5oggzqFtSxwjBCxd3BFARKRAOn0FGodd6obf5DhR3+xB2CL60H+1BVH2TSyKbuVb6 a67k9bOuWQMeiapKw3dLERhtWUmhViOASHJsqoVAFSvDIDgAsA439fH/pw7rAanBCX9l 1xBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RrE7kz0S; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o5si17648012pgs.119.2022.02.01.12.41.02; Tue, 01 Feb 2022 12:41:14 -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=@redhat.com header.s=mimecast20190719 header.b=RrE7kz0S; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379224AbiAaNz3 (ORCPT + 99 others); Mon, 31 Jan 2022 08:55:29 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:32547 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379218AbiAaNz0 (ORCPT ); Mon, 31 Jan 2022 08:55:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643637326; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uxP5Mrjf+1xZ7KSuCYa0gMdIvljGy5EAdecrXW+Lf8k=; b=RrE7kz0SThT16pWVOGYXKc77m/5/S1qVl3zgZSS9y5Sm9iSdzb7VKZKe1sBLIhwEzvUChN MeC5ExAYwNN9umMGj4jb7ee1pcVleElRnDDnR5KyjvtgxX53YzfohYVuj4taQ6274WzxdT /hD4SV0XIOgQQwStPcswzUHhKCRqwV8= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-607-dIetotQtMCWsr3qchHUFXQ-1; Mon, 31 Jan 2022 08:55:24 -0500 X-MC-Unique: dIetotQtMCWsr3qchHUFXQ-1 Received: by mail-wr1-f72.google.com with SMTP id g17-20020adfa591000000b001da86c91c22so4869899wrc.5 for ; Mon, 31 Jan 2022 05:55:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=uxP5Mrjf+1xZ7KSuCYa0gMdIvljGy5EAdecrXW+Lf8k=; b=4GFNt64p5oDrbjgfWcRM8PgwywzXBlgAj3JCbs8a5C+yoq+alrmvTP4aDhHhPyCxSI C90Pi5777XILmjHIGjKP/4XSIG1QioXbJHhJOMatFcxRp8jPfYK2eas7dc/il6dPaUt3 nHWsUVfoxhVwrbPA+rwLegZXzY/JQ08rM0gH0WPZc1mLAcR+PMHNC9pDydMmvGkrIDDs +xkoJLpBopAs7wp6uoBgLloBVHpZojWNNOvNvR8sRyZd4He6AuwdYbxO+stkTXG6rAN7 CEfj6QTAZ86+gUKtKn0s1w1NzxSEHXmTNLUlejT0NcAXO+UqpQR79Sdku/izsRiDm89H NbCQ== X-Gm-Message-State: AOAM532ZS04/C6NHXQRlFVapl8/j3CZj8JhpwTm+anMcv6XSYJF0VEzd qt9OwC55OzoLHH7pd4vAQJObStoB6VFquvHK+P65kR4aob2ksny9zJNxuNTwSRk3rViX0zZYV90 YdeWW0zGKvvEEhGuabW+23mae X-Received: by 2002:a05:6000:1d90:: with SMTP id bk16mr8433816wrb.217.1643637323522; Mon, 31 Jan 2022 05:55:23 -0800 (PST) X-Received: by 2002:a05:6000:1d90:: with SMTP id bk16mr8433808wrb.217.1643637323330; Mon, 31 Jan 2022 05:55:23 -0800 (PST) Received: from [192.168.1.102] ([92.176.231.205]) by smtp.gmail.com with ESMTPSA id h11sm8471273wmb.12.2022.01.31.05.55.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 31 Jan 2022 05:55:22 -0800 (PST) Message-ID: <29ab99fb-d906-907b-e922-251ac72b25ef@redhat.com> Date: Mon, 31 Jan 2022 14:55:21 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v1 1/4] fbtft: Unorphan the driver Content-Language: en-US To: Andy Shevchenko 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 References: <6e74d4cc-655a-e38e-0856-a59e4e6deb36@redhat.com> <5a3fffc8-b2d8-6ac3-809e-e8e71b66a8ea@redhat.com> From: Javier Martinez Canillas In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/31/22 14:23, 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: > > ... > >>>> +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. > Oh, I wasn't aware about PRP0001. I've read about it at: https://www.kernel.org/doc/Documentation/acpi/enumeration.txt > That said, please drop OF dependency. > Yes, got your point now and will drop the dep. Thanks for the explanation. Best regards, -- Javier Martinez Canillas Linux Engineering Red Hat