Received: by 10.192.165.148 with SMTP id m20csp1548386imm; Sat, 21 Apr 2018 10:29:37 -0700 (PDT) X-Google-Smtp-Source: AIpwx49J002MDgw9/jva3YRXDMhhupIkSiNzrz5hm0uMjwp5KVbTDC+Za0BYZJNaYwvx8vg08AE1 X-Received: by 10.98.223.205 with SMTP id d74mr13737303pfl.114.1524331777531; Sat, 21 Apr 2018 10:29:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524331777; cv=none; d=google.com; s=arc-20160816; b=smpsHRev+bXInF3pkLT4D9zQ0C5yttqe870xQxLLh0R+RV53HoODMUbJ9k5NTZbqCz V4Hwoap1iVd+GPVyAFoPU+wV0z8XOMSJimg5nisJXrmFPIZuCMwsgRCrohTn1RB27C7i 7hUTxhWuquzfTe2eCSfLcax9i9nz6gCx3xpj8h2XJAiYeYljtkQVKx/qjaPrzm4LPoGk ppHR/et8lUkeYFcuP38h0B/jVKQ3AU9n4x/DhimGm4+A/2szN9SqR4x8oxm1P8FjXy22 9NGi9zaEuoSkiPBtjet/VEtygltKhz6YPrjlzzwRTmggQf2VCl1n4j64bvZ2rTSRmztY LZHg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=G9V5JZNr8bRIejY2yXm1+646kxJFmAVFbSWWx3aH/Tw=; b=qGW97zZQSyuWqXC1Ud3MeVDSI86G4jMtGibR/d5sORxMUCV0vpnalfIWANL4lv1fHT UpSsNMEhLiGIqfDgI6oZHlc0SvWiU1w+6jkMDk2HTRtGV+0lBBILaCYxriHTn27NoVTA IC+5PjgMUVnyrXHumYbW+mZmMnrtQ2UlBmXsRijRVA8B1lrbJoFNQd5QJ667e7xm4Pso l5p7H1UTOqQ9E7eI8nSn7UkHwfw4/rHCJ6D4n65Nx7Yew81VACmeiL3j5pY8UDaA7vDs zYEAuUs80krxUCTjTmyqqTtKKhN2W1YS/p5i0VJcv7NSKG1V9cMLgnE7f3y5SDqNA3k3 7OEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oOZwM9Kt; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g19si6563209pgv.487.2018.04.21.10.29.23; Sat, 21 Apr 2018 10:29:37 -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=@gmail.com header.s=20161025 header.b=oOZwM9Kt; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753384AbeDUR06 (ORCPT + 99 others); Sat, 21 Apr 2018 13:26:58 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:44182 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752911AbeDUR0c (ORCPT ); Sat, 21 Apr 2018 13:26:32 -0400 Received: by mail-lf0-f68.google.com with SMTP id g203-v6so9258785lfg.11; Sat, 21 Apr 2018 10:26:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=G9V5JZNr8bRIejY2yXm1+646kxJFmAVFbSWWx3aH/Tw=; b=oOZwM9KtpUi4jJ5+oLoTFKbRCx68rJUA2zngzBpFVoKpk1xQVdQcoTndu/ZzqcrLDO ln9d2zVB4llLfCGhbIfR8nyHhkGN1DigBtibIt5RwkZ/sC2yckT0rdz+a4qEzN6ENdmW r2IXlWHkw8yFOIrrWGncPwnSK5oagJRBD/nM0eRyXE4sPNF+jX1DIH+hhItHKzeCPrMM 6VQyvVgM1WKx6BQlLnxIDq8FtzH3FqEd73RncvTO7CIGiXbDfd8yUK8FRezL+PebIAQE fKUpVV+0KnKvxZmsPN8lOYU4Ev3TiMGpimMzEfcxoYDciJx3U6Bi1QtEzJC9esjAdp/w TmXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=G9V5JZNr8bRIejY2yXm1+646kxJFmAVFbSWWx3aH/Tw=; b=TWpoO6blLsjqBpoJ+8977Nm49HT4H+DsqN6XktTA7F//0sdCjSEy8dAx1UMGES/MFq d3w37hv+KoXwQhM5Fzgy6ZAkfiuAD+NIQXHwl6mYbil5hEiSCv/8/L2+xc1KTuDHYeC5 QdZlvXUqa+6DxVIMXFZOMjemkXEv8U3/LzwzZqt5fnC/cq7J9zE/nQzZOt7k0pLWinsX o0OK4kODGD3NG8P8RlZowPhWe7pGM2HcnPIB0BaanNYy1zt/HNvN2M3PDg+8qJB5CTOm FyyVZA9vrzZkWmlFUR1FQ+0T0ZKOWnI1GgWeEJN/kPRcV2PhNHzioOVyJiRuIckOo6rG KSuQ== X-Gm-Message-State: ALQs6tD8MEc3fxXoeHuHDPauX3BH2f+de9rsa1UqSqHfH0sq+fpNSrmW NwnW+gdsp1QvPGiRfz1XiaI= X-Received: by 2002:a19:f203:: with SMTP id q3-v6mr5173740lfh.54.1524331591140; Sat, 21 Apr 2018 10:26:31 -0700 (PDT) Received: from localhost.localdomain (user-94-254-173-44.play-internet.pl. [94.254.173.44]) by smtp.googlemail.com with ESMTPSA id u64sm1537884lja.74.2018.04.21.10.26.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 21 Apr 2018 10:26:30 -0700 (PDT) From: =?UTF-8?q?Pawe=C5=82=20Chmiel?= To: inki.dae@samsung.com, jy0922.shim@samsung.com, sw0312.kim@samsung.com, kyungmin.park@samsung.com Cc: airlied@linux.ie, kgene@kernel.org, krzk@kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Tomasz Figa , =?UTF-8?q?Pawe=C5=82=20Chmiel?= Subject: [PATCH v2 1/2] drm/exynos: fimd: Add support for S5PV210 FIMD variant Date: Sat, 21 Apr 2018 19:26:10 +0200 Message-Id: <1524331571-7420-2-git-send-email-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524331571-7420-1-git-send-email-pawel.mikolaj.chmiel@gmail.com> References: <1524331571-7420-1-git-send-email-pawel.mikolaj.chmiel@gmail.com> 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 From: Tomasz Figa This patch adds support for FIMD variant found on S5PV210 SoC. Except CLKSEL bit availability, it is identical to Exynos4210. Tested-by: Paweł Chmiel Signed-off-by: Tomasz Figa Signed-off-by: Paweł Chmiel --- Changes from v1: - Added missing signed-off-by --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index d42ae2bc3e56..01b1570d0c3a 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c @@ -121,6 +121,12 @@ static struct fimd_driver_data s3c64xx_fimd_driver_data = { .has_limited_fmt = 1, }; +static struct fimd_driver_data s5pv210_fimd_driver_data = { + .timing_base = 0x0, + .has_shadowcon = 1, + .has_clksel = 1, +}; + static struct fimd_driver_data exynos3_fimd_driver_data = { .timing_base = 0x20000, .lcdblk_offset = 0x210, @@ -193,6 +199,8 @@ struct fimd_context { static const struct of_device_id fimd_driver_dt_match[] = { { .compatible = "samsung,s3c6400-fimd", .data = &s3c64xx_fimd_driver_data }, + { .compatible = "samsung,s5pv210-fimd", + .data = &s5pv210_fimd_driver_data }, { .compatible = "samsung,exynos3250-fimd", .data = &exynos3_fimd_driver_data }, { .compatible = "samsung,exynos4210-fimd", -- 2.7.4