Received: by 10.192.165.148 with SMTP id m20csp466610imm; Fri, 20 Apr 2018 09:35:08 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/xqxQgDLDSPHf6pn6sRTymZu7Wlqc03OGXJCAZJMoSqvdwDyqnwu8rxV7kOWh6lFPWJ6V9 X-Received: by 10.99.163.77 with SMTP id v13mr4752411pgn.224.1524242108852; Fri, 20 Apr 2018 09:35:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524242108; cv=none; d=google.com; s=arc-20160816; b=Mnrpxdlx3HU3gGcf26c9FVlm71BFwUyFVApMrvHrWthIouVYNcDsNtgDxqQSjkzwY4 QrQnSa8+lsebcVMoWOUHFLKJofaAeGEZ1p/4FJ8OwCmibgIloj/fs99bAe06rjTnQJTu ZC4bxBQDS8M8Z9mOhKXRkQQsAgE1BqXmFOEN+ZlaG6qNajPNTQwJkaQm6wOwifxHPqSx gpyCrnIwhm6RnzsXId/r+BD/l/PyLH0xOQUbP2M7RsrbDGLPwVFCJ4SmgLyU+gxmMTEW Gm6zQP4HIR0qbFGk3pT1CVX1c4vlrj19Ct2nKupyeZPGWBBz7Lu7KpoyLGjofOMyKQQx +XXw== 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=8RtG+qL5zB5HBRvUUEA54H/KWkorEVXMhXHc+FetMoo=; b=CRfwN5s3GVuyaCUdTSwgpxgcE6mPMdPpt0J3f5MMmKwFlfCR79goP5O13M52KTvKDa sMh2Iv/LnBYKyDZUOXgGWdEQ5nnFOwmDcI8kbbgAQi/qg/eXweBPxlgMbCEWU3N4ecQe 56AlD1XxcFuGmwNdSlrHlfHCzSmQbHg+d3G97Yi/frHX8QRd8XNL83EliuOEM+74si43 +QU87VkdGQGCVscELEvZ3ZKvKjMs98yQLLrbx/HQT8Oxy0LvlhRa8R+19Vo3YljeG/rJ NyBSlG0BrR6uHeSKK0r88BrjkMwzWprkNKGfUaTi3nU3NNqqLER6HXu70E/pm4Yvxh8Q ufJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pmSFQnpl; 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 133si5012474pgc.341.2018.04.20.09.34.53; Fri, 20 Apr 2018 09:35:08 -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=pmSFQnpl; 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 S1752722AbeDTQdW (ORCPT + 99 others); Fri, 20 Apr 2018 12:33:22 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:34955 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751182AbeDTQc4 (ORCPT ); Fri, 20 Apr 2018 12:32:56 -0400 Received: by mail-lf0-f67.google.com with SMTP id r125-v6so6007364lfe.2; Fri, 20 Apr 2018 09:32:55 -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=8RtG+qL5zB5HBRvUUEA54H/KWkorEVXMhXHc+FetMoo=; b=pmSFQnplbdUkcXEMWJdpdRzpUO/K/3jE5LjUQ/aWypSRRnwu1hRhWt/6W1X4FKG6jm y9/chn9T3R8fMpv5gx2UkNn6eEaZ2s25FSrGAA0P3/P5FtgYEGLqA7UKa77upBbSzqg1 UpVuIosSS04BOGPE6CufBEyvPNqn/BnwW3sg8VnCTSZ7DWEMcOWBYBKCUcAvQEiqUCh3 pJ97JQsF/YhmDisQSHtBViyPORWUD5/8Qq9pH/pbYKzsdzt0sjkl0a/T2h+oElEzZQRx FMgBpmvA5EW1DjlBxMWNKCnvMPS99rq/xpO3poq/MI/0zOTUut6xpXDtSVMCCwbpT8PR Rfyg== 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=8RtG+qL5zB5HBRvUUEA54H/KWkorEVXMhXHc+FetMoo=; b=njA1qDarWM9K1VsxT5HDC9e/DYHvY3bHXW3tSU6PRBMOI7Lhy1CsP6zcQwd5Qsy+IU YEeY8c38x7hdRKZ/MBVDTeFHhk0mVnc6eQe4Md+QLUU1ZbcFwJ6S8DzOGlfLrUSyiBnE R3LnrqE4ppixZ4VMuQhT4dQY2yBxk+7BASQRrirfov1xp+9QkN5x7ip+6jpcvf1ZXoKV nZsIrUmcbOQqqQYPXZwvSI+rqXTn6MSg2VfkW1ljP3JKw1pRFIs3jFHYTVjk3u7pX3Wy 4/fMKDOrRG/+CRak9gNiX6RbQfxPePKUHqsLLAkgt/0J3P47iyKh3dza7hr5wxuabJaz tZJA== X-Gm-Message-State: ALQs6tD8rYP4WmnzpAr6eAPVWPeHpPUHLKkqKsCdxZISzmKZ8UgyD+e8 Q3f5m7diMtS/kOOCghMpF7E= X-Received: by 10.46.146.204 with SMTP id k12mr954726ljh.101.1524241974903; Fri, 20 Apr 2018 09:32:54 -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 x1sm720055lja.76.2018.04.20.09.32.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 20 Apr 2018 09:32:54 -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 Subject: [PATCH 1/2] drm/exynos: fimd: Add support for S5PV210 FIMD variant Date: Fri, 20 Apr 2018 18:32:15 +0200 Message-Id: <1524241936-10295-2-git-send-email-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524241936-10295-1-git-send-email-pawel.mikolaj.chmiel@gmail.com> References: <1524241936-10295-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 --- 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