From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A1058C433EF for ; Mon, 31 Jan 2022 13:55:28 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0E47D10E3F3; Mon, 31 Jan 2022 13:55:28 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1667E10E3F3 for ; Mon, 31 Jan 2022 13:55:27 +0000 (UTC) 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-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-323-uJNHrhfVNwu_4_O4Prlf1A-1; Mon, 31 Jan 2022 08:55:24 -0500 X-MC-Unique: uJNHrhfVNwu_4_O4Prlf1A-1 Received: by mail-wm1-f71.google.com with SMTP id l16-20020a7bcf10000000b0034ffdd81e7aso5812107wmg.4 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=LThV27gB8olT5AusI9dUNku54MKj1iw5YnVowrBAELZb+gDgMCL03s/S4mbB+YU/Zk Uz/kpFeXGcTyfNxihAjZhUu0la+3zYyXbL+fQ/qyzgq9WwwcGpeOQAD0XAH95AgzgVVY +xneSssp6R22hZL1JYUpFOasDhryOtb+yBOqBnAexM8Q5LLjeex4KZ64gHpz+oJ/JAd+ oGE+DlC59ORtl6p/z9tdvDQPcI1xSsKaPe5SKvfBSSKJZDAu4cLaxMbd5dS6C0eg/y/N gYXcwJQOVNF2C6sDCUm/rgKmaCPKymWlTJsuHU5KScN9sGQ+R5o+OfQDFC40+i+GzlLK Sigg== X-Gm-Message-State: AOAM530dXTYP24+7hgYXPUdHleUTnseOdhxW7FoPs2lEUnXcGrtOJ2ZK ufmFv/NPj3kzMi8n+x5Rt1QHJfTNh4H2q5LTVt21cFguYUbcjhcJBDelLwgiVvVI+vlx9oIXJyP gbThwGs+K5+M+2fOOl8hjsgakQI5i X-Received: by 2002:a05:6000:1d90:: with SMTP id bk16mr8433818wrb.217.1643637323523; Mon, 31 Jan 2022 05:55:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJxykLOKK2CGVGLz0uBfgClNQCdlGlX3BmOFsL6O11/UOpozm0OsthMj4NcXtotxC6SFW7L++A== 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 To: Andy Shevchenko References: <6e74d4cc-655a-e38e-0856-a59e4e6deb36@redhat.com> <5a3fffc8-b2d8-6ac3-809e-e8e71b66a8ea@redhat.com> From: Javier Martinez Canillas In-Reply-To: Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=javierm@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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