Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp4312566ybz; Mon, 20 Apr 2020 20:57:00 -0700 (PDT) X-Google-Smtp-Source: APiQypJH04NLVDx1m7iA3u15Il+2LdHB3F4YWUT6NHnmdOHQyWfIVOTJK2/pGH4HzHkM3II7YxJC X-Received: by 2002:a05:6402:1596:: with SMTP id c22mr11302576edv.100.1587441420623; Mon, 20 Apr 2020 20:57:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587441420; cv=none; d=google.com; s=arc-20160816; b=zD+E+qaCSkKqlJlFdu0L+UwXbhMRUWroy2ujN1UXjdKv/Q907ke45uVjFzX31PJz6j sdu29uk07yRRUKUgVpPRo0jOXMW9g88Z+EZ4FtJqhRSajgFzU3asLbQvZxtjOmfuUhwF emoHCrKnFkC3yp64nQ+Jr5vqJ+lJiSpD9ViLlZTnugsRLh3+cDwfC5jOcDaMr+3KpNKu MDiYc88LJv/kf5PJXhaC8JiP/WwjPS6hwSnCsfEOXVJjVhkSqgX8cIMZDTQ+N1VWg8rA hb0MtiHWxmAeCcw1zxt/ET1XQ3o97SgPab4c3iMencorbJpk4JZvwrZljSs6pQjjgSDn yhww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:organization:references:in-reply-to:date:cc:to:from :subject:message-id; bh=c8QJpk8eNGwG+8hC/dHo5sRjWUdtzwdDmVaqUL4Tc6s=; b=m7dCSscwqp/cJRwz/pGzU9K4RfyksABc0ZrQoGcmxLQGCy5HxKD+o7JkQK9Ap0Di+8 4ZKQGlKPMkEa6ZaZ6gL9wJ2Lw7UUBrq507/gMq0+m3ZPzPVznKDt8dNZz0AhZDNx/QCB MPQSWhFS085SKHTxUuxDxki5fmeWpNww9d78wJ241xCypW/uNd0ZWkAzbQlVtYhfAXox wjdn9EcCkp0tTkNlQuCQ6uUwRH37s3bNaq1HoVjh+p/40ZNVNFJvGUEmjozV4qoWClvw sT7PRSSISEXKgGsODVF+4jgiYTWYj8PQXJYxQ2BcapodGLUanCl5btQE4jm0XfjBPtB6 VmHQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a18si776750ejy.194.2020.04.20.20.56.37; Mon, 20 Apr 2020 20:57:00 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728128AbgDUDzi (ORCPT + 99 others); Mon, 20 Apr 2020 23:55:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727848AbgDUDzi (ORCPT ); Mon, 20 Apr 2020 23:55:38 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEEEEC061A0E; Mon, 20 Apr 2020 20:55:37 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id B8D3A2A0EF3 Message-ID: Subject: Re: [PATCH 2/3] phy-rockchip-dphy-rx0: Drop unneeded CONFIG_OF dependency From: Ezequiel Garcia To: Helen Koike , linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: kernel@collabora.com, Hans Verkuil Date: Tue, 21 Apr 2020 00:55:21 -0300 In-Reply-To: <7ced1203-cdea-ad26-f46b-8873bfb85043@collabora.com> References: <20200401213721.24173-1-ezequiel@collabora.com> <20200401213721.24173-3-ezequiel@collabora.com> <7ced1203-cdea-ad26-f46b-8873bfb85043@collabora.com> Organization: Collabora Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.0-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2020-04-02 at 10:59 -0300, Helen Koike wrote: > > On 4/1/20 6:37 PM, Ezequiel Garcia wrote: > > The driver is perfectly capable of being built without CONFIG_OF. > > Remove this dependency, which is useful for compile-only tests. > > > > Signed-off-by: Ezequiel Garcia > > Acked-by: Helen Koike > > > --- > > drivers/staging/media/phy-rockchip-dphy-rx0/Kconfig | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/staging/media/phy-rockchip-dphy-rx0/Kconfig b/drivers/staging/media/phy-rockchip-dphy-rx0/Kconfig > > index bd0147624de1..fb74df829371 100644 > > --- a/drivers/staging/media/phy-rockchip-dphy-rx0/Kconfig > > +++ b/drivers/staging/media/phy-rockchip-dphy-rx0/Kconfig > > @@ -2,7 +2,7 @@ > > > > config PHY_ROCKCHIP_DPHY_RX0 > > tristate "Rockchip MIPI Synopsys DPHY RX0 driver" > > - depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF > > + depends on ARCH_ROCKCHIP || COMPILE_TEST After discussing other similar patches, I'm starting to think this was a bad idea. Instead, we want to do have (ARCH_ROCKCHIP && OF) || COMPILE_TEST as the other Rockchip PHYs. Thanks, Ezequiel