From patchwork Fri Dec 28 15:19:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pawe=C5=82_Chmiel?= X-Patchwork-Id: 10744509 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0175C6C5 for ; Fri, 28 Dec 2018 15:20:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E500228BAF for ; Fri, 28 Dec 2018 15:20:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D7F5028BB6; Fri, 28 Dec 2018 15:20:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A802C28BAF for ; Fri, 28 Dec 2018 15:20:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=VrGLe5YoNPj4KYbMGMpcvRVmo1+sO4KOxwMq0eMyxlE=; b=rxM0xlwjhM/RXB g3ZltQckgdf2mnsKcSwd/3SZOpBGq/ctF617qYUBuwxeWPCmNJYBjhG3EA8eXnjcunU2PAzzQVI+I MevjLdAPl54j0Nd+rNmVg2+ZbsZIyblnGhBwjNb8mQw851xMGLhLj6UXsX0LqMMbkvt+y+wOUFW9q yoAqKCh3luOqlzSBjDkpoHsSJo2VgpXDihiaBisVEobmA1MSTFyIrCEzKwzrXAbRqHzNNn+MItUjj S6zWIL6VUml9ONEDZzo0p531h90frYxnVzgf0+AgY4ezv7ETMKaMRWZjSY4MnKVxXowWjh9zVPslt uEsFoPv1h9nfFxa2PTTA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gctvd-0000J1-7N; Fri, 28 Dec 2018 15:20:01 +0000 Received: from mail-lf1-x143.google.com ([2a00:1450:4864:20::143]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gctvN-0008Vp-6x for linux-arm-kernel@lists.infradead.org; Fri, 28 Dec 2018 15:19:49 +0000 Received: by mail-lf1-x143.google.com with SMTP id c16so14749437lfj.8 for ; Fri, 28 Dec 2018 07:19:33 -0800 (PST) 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=v4Ds6Z+OiEaHNaxosbxSSLHIYzs/zje2q5ByzOawEMg=; b=qdt/3TFbco4JAUE52thvWvxKRlrkGXp7ZoBgrM7LXx0MT80l2GP0TkqJc0ok81Bc9o wqZiSQ66FuddOXR7Sv5pMkN7O2iEE36Dk1ZTR6Lw29ztd7ZDSMZ3fIISy8FjOomCEsGN 4UH+XueRgezXQn2BXAwcoz1TrVk9+LFnhO7D4OziVHRfeqLCW78rbLZvsvR7brrjZqpV oUbTLzHkymHFD6mVfglvXoI/4vLzAjX0x7yE/czYCmwvAVhmwpSAf3emJI18cS7P89xY 4HQDPgxhRunjsZV3+YzVv9bE8qai+5FRKnyIcXLvGQPrbrlIFGJsJa8a0KqYrT3UlOdQ xLhA== 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=v4Ds6Z+OiEaHNaxosbxSSLHIYzs/zje2q5ByzOawEMg=; b=NlTz48KVtSYicoOUSOQLbiPI+qUqV+6KyK0N4LOf3Vhhcc+K6m28mkuv3IZbBGSvN4 2dsmUsDFGK2DBEiCbJ+dTwgD8J8dJ6Fn5b0c/Uza59VAWY8Lw1baOPMOh+EF/pTBAyUG +hmaePkQTh0tLb5oaGMklL5Jwbuz03sQNXJtSSYAPIpkCdwq6T8Nm/jhW2UwCIf6H8aa M4NxEaKJuKoi61Q/VuBlZumhlnL0aj1gHXQ8lCai8DSvWJzGVwgSEwxTFn9wLro0/mAJ Zgq+yJ3BjiyzLtt/1HoyprED+43zerZr8zbNgZUOxQ1Dwjf9N5QSyNK71TLxvfn0TAmn Zb5A== X-Gm-Message-State: AA+aEWZb3TmPWLW+0YNp+INIWhTaPJofZlnYLXZ2zmuGH/JBINuzPrDa XP1egg6YRGwEek7VIdoooCA= X-Google-Smtp-Source: AFSGD/UMI6f+gpL5kx/yIXHEnON8Ng9rPZDadspSsi43craER40nzg628JPrInJKPsrp+ieJpkIKoA== X-Received: by 2002:a19:f510:: with SMTP id j16mr13516090lfb.35.1546010371958; Fri, 28 Dec 2018 07:19:31 -0800 (PST) Received: from localhost.localdomain ([2a02:a315:5445:5300:7146:fd07:48ff:9665]) by smtp.googlemail.com with ESMTPSA id s24sm7872704lfc.30.2018.12.28.07.19.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Dec 2018 07:19:31 -0800 (PST) From: =?utf-8?q?Pawe=C5=82_Chmiel?= To: inki.dae@samsung.com, krzk@kernel.org, airlied@linux.ie Subject: [PATCH v2 1/3] drm/exynos: rotator: Add support for s5pv210 Date: Fri, 28 Dec 2018 16:19:02 +0100 Message-Id: <20181228151904.12079-2-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181228151904.12079-1-pawel.mikolaj.chmiel@gmail.com> References: <20181228151904.12079-1-pawel.mikolaj.chmiel@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181228_071945_459554_63C74A41 X-CRM114-Status: GOOD ( 13.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, jy0922.shim@samsung.com, sw0312.kim@samsung.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, robh+dt@kernel.org, kyungmin.park@samsung.com, kgene@kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?q?Pawe=C5=82_Chmiel?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This commit adds support for s5pv210. Currently only NV12 and XRGB8888 formats are supported. It was tested by using tool from https://www.spinics.net/lists/linux-samsung-soc/msg60498.html Signed-off-by: Paweł Chmiel --- drivers/gpu/drm/exynos/exynos_drm_rotator.c | 23 +++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_rotator.c b/drivers/gpu/drm/exynos/exynos_drm_rotator.c index 8d67b2a54be3..05abfed6f7f8 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_rotator.c +++ b/drivers/gpu/drm/exynos/exynos_drm_rotator.c @@ -356,6 +356,11 @@ static int rotator_runtime_resume(struct device *dev) } #endif +static const struct drm_exynos_ipp_limit rotator_s5pv210_rbg888_limits[] = { + { IPP_SIZE_LIMIT(BUFFER, .h = { 8, SZ_16K }, .v = { 8, SZ_16K }) }, + { IPP_SIZE_LIMIT(AREA, .h.align = 2, .v.align = 2) }, +}; + static const struct drm_exynos_ipp_limit rotator_4210_rbg888_limits[] = { { IPP_SIZE_LIMIT(BUFFER, .h = { 8, SZ_16K }, .v = { 8, SZ_16K }) }, { IPP_SIZE_LIMIT(AREA, .h.align = 4, .v.align = 4) }, @@ -371,6 +376,11 @@ static const struct drm_exynos_ipp_limit rotator_5250_rbg888_limits[] = { { IPP_SIZE_LIMIT(AREA, .h.align = 2, .v.align = 2) }, }; +static const struct drm_exynos_ipp_limit rotator_s5pv210_yuv_limits[] = { + { IPP_SIZE_LIMIT(BUFFER, .h = { 32, SZ_64K }, .v = { 32, SZ_64K }) }, + { IPP_SIZE_LIMIT(AREA, .h.align = 8, .v.align = 8) }, +}; + static const struct drm_exynos_ipp_limit rotator_4210_yuv_limits[] = { { IPP_SIZE_LIMIT(BUFFER, .h = { 32, SZ_64K }, .v = { 32, SZ_64K }) }, { IPP_SIZE_LIMIT(AREA, .h.align = 8, .v.align = 8) }, @@ -381,6 +391,11 @@ static const struct drm_exynos_ipp_limit rotator_4412_yuv_limits[] = { { IPP_SIZE_LIMIT(AREA, .h.align = 8, .v.align = 8) }, }; +static const struct exynos_drm_ipp_formats rotator_s5pv210_formats[] = { + { IPP_SRCDST_FORMAT(XRGB8888, rotator_s5pv210_rbg888_limits) }, + { IPP_SRCDST_FORMAT(NV12, rotator_s5pv210_yuv_limits) }, +}; + static const struct exynos_drm_ipp_formats rotator_4210_formats[] = { { IPP_SRCDST_FORMAT(XRGB8888, rotator_4210_rbg888_limits) }, { IPP_SRCDST_FORMAT(NV12, rotator_4210_yuv_limits) }, @@ -396,6 +411,11 @@ static const struct exynos_drm_ipp_formats rotator_5250_formats[] = { { IPP_SRCDST_FORMAT(NV12, rotator_4412_yuv_limits) }, }; +static const struct rot_variant rotator_s5pv210_data = { + .formats = rotator_s5pv210_formats, + .num_formats = ARRAY_SIZE(rotator_s5pv210_formats), +}; + static const struct rot_variant rotator_4210_data = { .formats = rotator_4210_formats, .num_formats = ARRAY_SIZE(rotator_4210_formats), @@ -413,6 +433,9 @@ static const struct rot_variant rotator_5250_data = { static const struct of_device_id exynos_rotator_match[] = { { + .compatible = "samsung,s5pv210-rotator", + .data = &rotator_s5pv210_data, + }, { .compatible = "samsung,exynos4210-rotator", .data = &rotator_4210_data, }, { From patchwork Fri Dec 28 15:19:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pawe=C5=82_Chmiel?= X-Patchwork-Id: 10744507 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AE1EC924 for ; Fri, 28 Dec 2018 15:20:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F6C428BB0 for ; Fri, 28 Dec 2018 15:20:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 92BC028BCA; Fri, 28 Dec 2018 15:20:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2FC1D28BB0 for ; Fri, 28 Dec 2018 15:20:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pS6YJzQGcncay4ExCb1ix5zMWk0xgICRPk50UVmHWqo=; b=l3ccmbcDzzmjP2 AZW/SsMLc5LUVzO/zEczLcbfdrl8ZL0LaC38Rh0tx+iaCn5juu7JWzdO/9HYS2QKBlpZYZ2mfdvfJ xAKu7hs8pGSHer8EIu63UR38AW6KXe6H+3Z4wpg9CA0FZeFWPOEOMl7wRUjD0G8A00ltPj7MLvUK7 OnpT89sQiI10i3wlErRYrcU4erYd+OW/95mfiU8PZGFvvInOWhSRtn/AbzZ2uVa20d9yHbV9fLgfr LPJ8IPTzCi/4ogp7AMiYuMNBsFzkfWthWk6ORqU941Y5HrR/ncE0SE38lrcWtX9PUyqh4adFaZjgu o1vFCCcTD523l24L/v5w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gctvr-00017L-3a; Fri, 28 Dec 2018 15:20:15 +0000 Received: from mail-lf1-x142.google.com ([2a00:1450:4864:20::142]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gctvO-0008Vs-Fo for linux-arm-kernel@lists.infradead.org; Fri, 28 Dec 2018 15:19:49 +0000 Received: by mail-lf1-x142.google.com with SMTP id i26so14772591lfc.0 for ; Fri, 28 Dec 2018 07:19:35 -0800 (PST) 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=tl+fPCGKybsyERJ7fDUtUUMflSNz3puUm0HFiy6tknk=; b=o3g+b1zR4yXudKtvdOkeGyXSFEmW6vKH+L0u+xNaCjGtTYjiA10eqAsQwgWXE2ywwT vsijve+DBDyu6lX1Lo6SNuKcSIdjnbk1rPO3x7GlpvQxEfQLFoGhfwTBVcACbWQWBmn/ MsNMrNnfxnVSmcezb306xvPpueMVSVDm7dNg/uBEfs6dPaBahTq0PUGT8C179AMA1Ggz PGGwtmNKxZYNLQQnI/4eMs7Q4Irs46qQ2kvUuFM3zdUYaP2deduuo2v/tgz15/Neb7gz RHrkKXFOvaOg2LgRqNGox9kSI+e9D+JRM+VCiE97xQEIR6A7YOZEHx3bF/CZv8/eWuv2 WTKQ== 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=tl+fPCGKybsyERJ7fDUtUUMflSNz3puUm0HFiy6tknk=; b=PZK/pHKuBICnTf8RgUmxPvf7v0W7sJmBGzAP+EMW4HvBpLw4kzB805t0uPhPlORiHM UswZ8qJcyReriGSW7TefceRoAwpTbxSiMbOHv/5EjNnttoW+TuLXrkngEmV99huVPOvS C6UZeKbVGuCBDPifGKp7gNHuj6s/OF7R1uBGd7bmQqOBboBp6ZUs4S8q7U/tfTEiejhR NiFcn+guZhStkzin6Il8G0bE5pBACetN0pFjdUEl5zMj17KnEdp0tNh1nsgqydEbozwq 1GQXXGhUsLmSKiNoRnxTqeH2zGRsQ1LThklWVRjffSIhMJPEc4AOBvTZqyMUVyeNJd0i a3Uw== X-Gm-Message-State: AA+aEWahl1bxIMGMJksTO3rWrqtRAH1gANFu8FjeU91qorIcZ4/1TbqR wxkRYFANMlGWTmq8gAbFQ6o6555RcsXsVw== X-Google-Smtp-Source: AFSGD/WNijqlJG0IW6U3isW5JUkQDEUW6xM/8F6rqKt7QQmqv60+DZ3rvcSvOjn6p7ve6WJgMVHg5Q== X-Received: by 2002:a19:5f1e:: with SMTP id t30mr13714028lfb.76.1546010374134; Fri, 28 Dec 2018 07:19:34 -0800 (PST) Received: from localhost.localdomain ([2a02:a315:5445:5300:7146:fd07:48ff:9665]) by smtp.googlemail.com with ESMTPSA id s24sm7872704lfc.30.2018.12.28.07.19.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Dec 2018 07:19:33 -0800 (PST) From: =?utf-8?q?Pawe=C5=82_Chmiel?= To: inki.dae@samsung.com, krzk@kernel.org, airlied@linux.ie Subject: [PATCH v2 2/3] dt-bindings: gpu: samsung-rotator: Document s5pv210 support Date: Fri, 28 Dec 2018 16:19:03 +0100 Message-Id: <20181228151904.12079-3-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181228151904.12079-1-pawel.mikolaj.chmiel@gmail.com> References: <20181228151904.12079-1-pawel.mikolaj.chmiel@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181228_071947_099859_B3DD1EFC X-CRM114-Status: GOOD ( 12.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, jy0922.shim@samsung.com, sw0312.kim@samsung.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, robh+dt@kernel.org, kyungmin.park@samsung.com, kgene@kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?q?Pawe=C5=82_Chmiel?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This commit documents new compatible for s5pv210 soc, which will be also supported by this driver. Signed-off-by: Paweł Chmiel Reviewed-by: Rob Herring Acked-by: Krzysztof Kozlowski --- Changes from v1: - Removed list enumeration - Placed s5pv210 at beginning of list (it's the oldest chipset) --- Documentation/devicetree/bindings/gpu/samsung-rotator.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/gpu/samsung-rotator.txt b/Documentation/devicetree/bindings/gpu/samsung-rotator.txt index 82cd1ed0be93..3aca2578da0b 100644 --- a/Documentation/devicetree/bindings/gpu/samsung-rotator.txt +++ b/Documentation/devicetree/bindings/gpu/samsung-rotator.txt @@ -2,9 +2,10 @@ Required properties: - compatible : value should be one of the following: - (a) "samsung,exynos4210-rotator" for Rotator IP in Exynos4210 - (b) "samsung,exynos4212-rotator" for Rotator IP in Exynos4212/4412 - (c) "samsung,exynos5250-rotator" for Rotator IP in Exynos5250 + * "samsung,s5pv210-rotator" for Rotator IP in S5PV210 + * "samsung,exynos4210-rotator" for Rotator IP in Exynos4210 + * "samsung,exynos4212-rotator" for Rotator IP in Exynos4212/4412 + * "samsung,exynos5250-rotator" for Rotator IP in Exynos5250 - reg : Physical base address of the IP registers and length of memory mapped region. From patchwork Fri Dec 28 15:19:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pawe=C5=82_Chmiel?= X-Patchwork-Id: 10744511 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2FBA213A4 for ; Fri, 28 Dec 2018 15:20:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 203E228BAF for ; Fri, 28 Dec 2018 15:20:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1481C28BB6; Fri, 28 Dec 2018 15:20:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A016328BAF for ; Fri, 28 Dec 2018 15:20:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=49VeNF1SCg6q0ntPoJPa3DxFtB39x/cyTWuxRer3Tig=; b=GRZopnqIYJffWz H0RBaMbs8TCOmIqxGLoA8rK8XshuybiAR6sNZusveLIAOyVrneN1f1rrqK8DHz5Bmr4tvLZr1t9gQ 4LjJm/Nm69YVhhvLraZejkUZKluaDr3CuCjj2H7yPPh3i6bE3RNJfQFirKILwK22kKMZLxko57fsK Ff6f7/ZNIZFTXY4ZxUgaptJS2pxGSrcc8BdqD0fiPKGhswtmytJxdmMqZ/geWZpqF4ZcChh+FcJ6x uRwPmJw5NIVm0n7TFi8vRm5EPRmxb3l/r+LlGx/Sl7uRZAk+WukkdZ5NJguAF2w/BuoJhAq/LvyAd V03gqkIPOELXLlPhMJnA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gctw7-0001xy-5U; Fri, 28 Dec 2018 15:20:31 +0000 Received: from mail-lj1-x244.google.com ([2a00:1450:4864:20::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gctvQ-0008Vw-FK for linux-arm-kernel@lists.infradead.org; Fri, 28 Dec 2018 15:19:53 +0000 Received: by mail-lj1-x244.google.com with SMTP id q2-v6so18930143lji.10 for ; Fri, 28 Dec 2018 07:19:38 -0800 (PST) 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=CCV0gd3aGFNtHm5duNx7zwWOLB1bEFb5KSmmwZuypIU=; b=NonqxYOY0jKIFzhMoGY7dkjCJmzvDJftKvILDCjPm0bXr/Fuak2U5To/b2r5ahLqDH K82R0mrg+GlPc1UYKlzYHnj2LTlfWHPTXIBhSgM1E8iL+t8lw3WbmupnPzlVhmfVNwaU v/3XprdkB3DwxUWvPMysjG/MtMUdAnU+zBjjWAmBjOCt7d7CXwUsKUo8N0jIwx+3Kmcp YVHlAXRQk/9M9cuPc1hzIChsqjrDQQUI+MX0VuAcGptb45NInJf9VMQpV2V6JSL+7YlI AWNogyBuz06EhYppayP1iEd+5xElx90j1Ox2AJRiAAUg8M9OvZvJwrtFDdN4q3JV3dix QHwg== 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=CCV0gd3aGFNtHm5duNx7zwWOLB1bEFb5KSmmwZuypIU=; b=fjjqaqWcOpB/bWQ/WKTaGW5h9qaMtUewoGg0QYqG/uP9lx17SOpBQdVkeVCVL8qNaI lxnbWQ20gARXMQNsJ5GxICMo4T96NrBt09BpelW3dNVpClTTGBBVo59Nj7/Ql8vXR5qo IzVmMKi5gPGmbmqCx+ckvk1Fpg2E9074Av9NMEE0KhFVF2z+XZp0UXy9BbUSa+qNhrfd Fph2+S738vt5qKLmcY88qQKQs0YTzY1UyhZITzjtL2zJsG0wXVkyqHAJUkDgHxuGtm4r 6+K4bUZKY6D2Zj2aKLGROAvceneWrjjASUR6i/rV60Ihs3SOfyMr1/ZGq0kATEnRXAkr KDSw== X-Gm-Message-State: AJcUukeIyFI4utpnfHEv7YqC7IddEHciQVt6mio6wxdG86ffVvEQUJzu jmrb66se+FucCJoE1UAb278= X-Google-Smtp-Source: ALg8bN4WyJOu3IF4f2GY54hTI2FKFReGAyCTELDRufUayNhspyNowq4R4V7h/GGbDU490RpVuDC42Q== X-Received: by 2002:a2e:9059:: with SMTP id n25-v6mr9252819ljg.155.1546010376468; Fri, 28 Dec 2018 07:19:36 -0800 (PST) Received: from localhost.localdomain ([2a02:a315:5445:5300:7146:fd07:48ff:9665]) by smtp.googlemail.com with ESMTPSA id s24sm7872704lfc.30.2018.12.28.07.19.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Dec 2018 07:19:35 -0800 (PST) From: =?utf-8?q?Pawe=C5=82_Chmiel?= To: inki.dae@samsung.com, krzk@kernel.org, airlied@linux.ie Subject: [PATCH v2 3/3] ARM: dts: s5pv210: Add node for exynos-rotator Date: Fri, 28 Dec 2018 16:19:04 +0100 Message-Id: <20181228151904.12079-4-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181228151904.12079-1-pawel.mikolaj.chmiel@gmail.com> References: <20181228151904.12079-1-pawel.mikolaj.chmiel@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181228_071948_915299_A71C1D81 X-CRM114-Status: GOOD ( 13.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, jy0922.shim@samsung.com, sw0312.kim@samsung.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, robh+dt@kernel.org, kyungmin.park@samsung.com, kgene@kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?q?Pawe=C5=82_Chmiel?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This commit adds node for Exynos Rorator device, so it can be used on all s5pv210 based devices. Signed-off-by: Paweł Chmiel --- arch/arm/boot/dts/s5pv210.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/s5pv210.dtsi b/arch/arm/boot/dts/s5pv210.dtsi index 75f454a210d6..a5463003c7f6 100644 --- a/arch/arm/boot/dts/s5pv210.dtsi +++ b/arch/arm/boot/dts/s5pv210.dtsi @@ -542,6 +542,15 @@ #dma-requests = <1>; }; + rotator: rotator@fa300000 { + compatible = "samsung,s5pv210-rotator"; + reg = <0xfa300000 0x1000>; + interrupt-parent = <&vic2>; + interrupts = <4>; + clocks = <&clocks CLK_ROTATOR>; + clock-names = "rotator"; + }; + i2c1: i2c@fab00000 { compatible = "samsung,s3c2440-i2c"; reg = <0xfab00000 0x1000>;