Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9929558ybi; Wed, 24 Jul 2019 12:31:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqz05oLUdwW9Y3tgGFLIzdHGrkYu2G9sb+mtW6fNievJRl5YwGuWqVgBCaH2sHIWkWdBUBUZ X-Received: by 2002:a65:4189:: with SMTP id a9mr56188110pgq.399.1563996662241; Wed, 24 Jul 2019 12:31:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563996662; cv=none; d=google.com; s=arc-20160816; b=O4sWIhKm0sP2nqWBDSDUgbSQHF5cluDRVQeziSSOa1fyqW/eWIaMr/xl/fejJfTgUN HZMGkcLrIYwiZ3BDFqsxhIcIulJ6Cq9zXzwSQsWHOOzhQo+LCElwrNmv+Pbk7dzjLlwg kRyk00Ymv33hVK2y9MkK1mJFq5SQTOCNBk3AxSe6sprzKB4KA7PYv/9GkT6qEecm9nm2 c2POLxBLge6jD5xN6bDkmfZxdcIg4cehtrldkbALk6d1wY7o1HoI1vEAM3vcYMrZA2CG HFO5nBX3y/IjFwgIhpHiqWs/y/rUp+x3/0hW7xF0hhJSYFN6RaGYhncNhpNpLuZ133Gb 01tw== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=MdbfzOeQ3hzCZpaa6bZaaGu8LDWmwjfwbgllbNmieC8=; b=kITMSP+8/9p5BU3wrHVUe0OqY6PuDDNGM1N1gc1hSqd/nrP00HTZqiP768Hu7QkCtT EwQ2o5m5QWCDZyzdwSxMsU50uEZCaAzmL5tsSnDGwp4LXN8wWJzxrOo/fOrxZqcq1nEK Y1GJr7PdU2dy8lr+w3AyuoaKGN+Lz2jjesqdBwJST8xVqnZ+5bUOSbzEwqenGoWYbuwN almBTjigausnbsQp8tCVGoxn5sBiJX7UNHsAb95/9E29zdj/tyfRo3QlWq3UviNMRb/E XD1mEhaZSgiAPWV5sLEeVjHL42eqzQdYP/71/tLLP8Xwajx2SlGlmvB8rhpvnXkg4TRD yBZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="1iu/9UlN"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id br15si15319750pjb.43.2019.07.24.12.30.47; Wed, 24 Jul 2019 12:31:02 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b="1iu/9UlN"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729262AbfGXT0r (ORCPT + 99 others); Wed, 24 Jul 2019 15:26:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:44030 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729264AbfGXT0n (ORCPT ); Wed, 24 Jul 2019 15:26:43 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E9B5F217F4; Wed, 24 Jul 2019 19:26:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563996402; bh=b26i91qnV1HcaUOk5k98IK9ko4CSBg96gdIpaFL6q6o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1iu/9UlNYsavAUXkipvKqKFTd3cKlNtuIhr7fTEh2A5Gf5KQN4SFDXYhX/7kiZHXU p1eXO+N50i4vs0qpbGWATsPVcbsy12mdiFUvVyX6MSRbtI5KYPA/fuoW8MTA2wdqn/ prfkc7Wl4rZlXn9LnwArnC9yY2LoiwZ7GKna2Ico= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kieran Bingham , Laurent Pinchart , Mauro Carvalho Chehab , Sasha Levin Subject: [PATCH 5.2 085/413] media: fdp1: Support M3N and E3 platforms Date: Wed, 24 Jul 2019 21:16:16 +0200 Message-Id: <20190724191741.192032793@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190724191735.096702571@linuxfoundation.org> References: <20190724191735.096702571@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit 4e8c120de9268fc26f583268b9d22e7d37c4595f ] New Gen3 R-Car platforms incorporate the FDP1 with an updated version register. No code change is required to support these targets, but they will currently report an error stating that the device can not be identified. Update the driver to match against the new device types. Signed-off-by: Kieran Bingham Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Sasha Levin --- drivers/media/platform/rcar_fdp1.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/media/platform/rcar_fdp1.c b/drivers/media/platform/rcar_fdp1.c index 6a90bc4c476e..b8615a288e2b 100644 --- a/drivers/media/platform/rcar_fdp1.c +++ b/drivers/media/platform/rcar_fdp1.c @@ -257,6 +257,8 @@ MODULE_PARM_DESC(debug, "activate debug info"); #define FD1_IP_H3_ES1 0x02010101 #define FD1_IP_M3W 0x02010202 #define FD1_IP_H3 0x02010203 +#define FD1_IP_M3N 0x02010204 +#define FD1_IP_E3 0x02010205 /* LUTs */ #define FD1_LUT_DIF_ADJ 0x1000 @@ -2365,6 +2367,12 @@ static int fdp1_probe(struct platform_device *pdev) case FD1_IP_H3: dprintk(fdp1, "FDP1 Version R-Car H3\n"); break; + case FD1_IP_M3N: + dprintk(fdp1, "FDP1 Version R-Car M3N\n"); + break; + case FD1_IP_E3: + dprintk(fdp1, "FDP1 Version R-Car E3\n"); + break; default: dev_err(fdp1->dev, "FDP1 Unidentifiable (0x%08x)\n", hw_version); -- 2.20.1