Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3544461ybl; Tue, 21 Jan 2020 02:46:22 -0800 (PST) X-Google-Smtp-Source: APXvYqwsny11ycUAwUyEv2dWYA/vQunpZU0H4pQc9xqYfzDzrnu/wupAxyMo1TsRGTjfVMCHBMgt X-Received: by 2002:aca:3f54:: with SMTP id m81mr2390305oia.73.1579603581586; Tue, 21 Jan 2020 02:46:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579603581; cv=none; d=google.com; s=arc-20160816; b=XppjbDVCiB1iP9omrn17PtuglYiKPZorB0IpPR5dPEEe8MkAMrS/2+CLE8zy+EqOeq yGVX7VhxVQaybEN7KrbH1YuBRs4WurIZzl7pmDlr4ol42aqI58+sMu8IOGaVtiFHqLF0 vi9+9/vyiR+OcCTku5vj4V7Ww8P/BSTKNKRkjCJ1sIh10KHXHziPqFuWi5woCvDvA6Wi raw2yrxx8xs47lI/nIFlSUoN/6u5EqBMxVzI6bUr1FCSx3raTmjJM0CyQ56jjY4sMn3r K8vSV+fXgMiOHBb1SiAQtodr2ArW601x7jbdJkfF0/RQy/gs19gBFCmT65uLBgRptDNP Jaag== 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=TT85sWHjlmq93QZXxapk+zH8L46mlgQIDqv3ytUeWhQ=; b=Fj5SSo8eSgRdDy0cYU7+VsdDkzjX83shqv1x8t6MAq/5BvESU+rAtzZXqRL1l99FMQ 9Rk5OwENDn7VHRRwa64mEIJeBt6KXvwYF+sGmaS+x9z9PYINcqh4xoT98QoypOJLm8xV j62Fr2xuRZluAoqqNMHm7wHiBKeIwNkjzTVbW18DvUfltEmUryFKI4wvynpTYsjivGjT 7IVsgnojrkLKZejftoVtgkkuU9Tka9n3Xu6U6zvKdAmI8MI8YCBjmehdVYOk8D746ezW GIbqrToAjix2px9woktJxjfMsPMnEUXOhf92rGyLMm49aHVXy7S2jnZpsDRzm4eDiW9D mQgg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id m85si19479613oig.158.2020.01.21.02.46.10; Tue, 21 Jan 2020 02:46:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1729334AbgAUKpK (ORCPT + 99 others); Tue, 21 Jan 2020 05:45:10 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:47134 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727220AbgAUKpK (ORCPT ); Tue, 21 Jan 2020 05:45:10 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id ED66F293365 Message-ID: <241033bf82fc7e955dd20c0084bfd4f6fc9fc75b.camel@collabora.com> Subject: Re: [PATCH 1/4] media: rockchip/rga: add rk3228-rga to rockchip_rga_match[] From: Ezequiel Garcia To: Justin Swartz , Jacob Chen , Mauro Carvalho Chehab , Heiko Stuebner Cc: linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Date: Tue, 21 Jan 2020 07:45:01 -0300 In-Reply-To: <20200120194158.25357-1-justin.swartz@risingedge.co.za> References: <20200120194158.25357-1-justin.swartz@risingedge.co.za> Organization: Collabora Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.1-2 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 Mon, 2020-01-20 at 19:41 +0000, Justin Swartz wrote: > Add an entry to the rockchip_rga_match array for "rockchip,rk3228-rga" > > Signed-off-by: Justin Swartz > --- > drivers/media/platform/rockchip/rga/rga.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/media/platform/rockchip/rga/rga.c b/drivers/media/platform/rockchip/rga/rga.c > index e9ff12b6b..268116cd5 100644 > --- a/drivers/media/platform/rockchip/rga/rga.c > +++ b/drivers/media/platform/rockchip/rga/rga.c > @@ -956,6 +956,9 @@ static const struct dev_pm_ops rga_pm = { > > static const struct of_device_id rockchip_rga_match[] = { > { > + .compatible = "rockchip,rk3228-rga", > + }, Unless you need to tune something in the driver specifically for rk3228, then you don't need a new compatible string. As the name implies, it's just a "compatible", so you may simply declare your rga dts node as compatible to "rockchip,rk3288-rga". (Of course, this means we shouldn't have added the rk3399 compatible string.) Regards, Ezequiel