From patchwork Wed Nov 2 13:06:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aakarsh Jain X-Patchwork-Id: 621276 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62C12C433FE for ; Thu, 3 Nov 2022 05:29:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230383AbiKCF3r (ORCPT ); Thu, 3 Nov 2022 01:29:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230165AbiKCF3j (ORCPT ); Thu, 3 Nov 2022 01:29:39 -0400 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0438018B30 for ; Wed, 2 Nov 2022 22:29:38 -0700 (PDT) Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20221103052936epoutp033660e40a26822a5fd07c048d37ec11d5~j-ALe0OS21537715377epoutp03M for ; Thu, 3 Nov 2022 05:29:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20221103052936epoutp033660e40a26822a5fd07c048d37ec11d5~j-ALe0OS21537715377epoutp03M DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1667453376; bh=yk0gzNNvyzYWTWiiBL/q0YCEEEOP0qJSawMKY7du018=; h=From:To:Cc:Subject:Date:References:From; b=bbceF8pR9zquZGCxs8xd3V7Srt+kamCw+Ui7EeVCqvPlHAKiWGD3sjQ6OCAOSOOTh 3SvxANYDtlYRXUuNHe/NppVKyqe+9wdqnxqSA/OG8Uy2DqAVz6zVerwxthUgcqboPz m8+p2zPHC8COM/5gjpPn9WSY3w2SY18ro0qWxL9g= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20221103052935epcas5p3fb7e1b3f0c62ff48af830dee70031c97~j-AK3p-Pe1058810588epcas5p34; Thu, 3 Nov 2022 05:29:35 +0000 (GMT) Received: from epsmges5p3new.samsung.com (unknown [182.195.38.179]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4N2sl20JM2z4x9QL; Thu, 3 Nov 2022 05:29:34 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id 21.9B.56352.9B153636; Thu, 3 Nov 2022 14:29:29 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p3.samsung.com (KnoxPortal) with ESMTPA id 20221102125810epcas5p36e6caf41f602debe17f25f13969fd6dc~jxeit-Axi2760427604epcas5p3q; Wed, 2 Nov 2022 12:58:10 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20221102125810epsmtrp195bbd5ddece8e028185a9f3abb3d3575~jxeirqWVw0619606196epsmtrp1C; Wed, 2 Nov 2022 12:58:10 +0000 (GMT) X-AuditID: b6c32a4b-383ff7000001dc20-dd-636351b9e830 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 36.BD.18644.16962636; Wed, 2 Nov 2022 21:58:10 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20221102125806epsmtip1c8141a150bcf1a42bd23e065ab958e8b~jxefo-Nbg1911819118epsmtip1b; Wed, 2 Nov 2022 12:58:06 +0000 (GMT) From: Aakarsh Jain To: linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: m.szyprowski@samsung.com, andrzej.hajda@intel.com, mchehab@kernel.org, hverkuil-cisco@xs4all.nl, ezequiel@vanguardiasur.com.ar, jernej.skrabec@gmail.com, benjamin.gaignard@collabora.com, krzysztof.kozlowski+dt@linaro.org, stanimir.varbanov@linaro.org, dillon.minfei@gmail.com, david.plowman@raspberrypi.com, mark.rutland@arm.com, robh+dt@kernel.org, krzk+dt@kernel.org, andi@etezian.org, alim.akhtar@samsung.com, aswani.reddy@samsung.com, pankaj.dubey@samsung.com, smitha.t@samsung.com, aakarsh.jain@samsung.com Subject: [PATCH 1/3] arm64: exynos: Add new compatible string for Exynos3250 SoC. Date: Wed, 2 Nov 2022 18:36:00 +0530 Message-Id: <20221102130602.48969-1-aakarsh.jain@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA0WTe0xTVxzHPffe3lZm2Q1odlaU1RtBxACtQjksotswyw2CwTnNIltYLXcU 6Mve4itkYCY+UFE3MeWROspjBESQZ4GyIXQDFVyYYF2kEwRGYQ8XEabMkLUUtv8+5/f7fs/5 5nfOEeA+/aRIkKoxsHqNXEWTXkRz96agkNY9CoWkd1iGJiwFPDRiaiZR6YtJDD0unSFQV0MT HzUOFuHom55OHrpmu8dDLbeeEOim09UdKHAQaPLaDYCmCn8hUZ5zFEf1Yw946H5bMYnO1zXx UI3NwUfl9gEMVdS/wpC56Tkf5XTY+MhhbQbo5Ckb9g5krpuuA8biKAOMvewZzrQWOvhMqXUK Y+qrzpLM8AMryTSUZTE5388TTF5jFWBybXaSman3Z+7MzvAThAfStylZeTKrF7MahTY5VZMS Te/amxSTFCGTSEOkUSiSFmvkajaa3hmXEPJ+qso1Alp8WK7KcJUS5BxHh23fptdmGFixUssZ omlWl6zShetCObmay9CkhGpYw9tSiWRLhEv4abry/PM5vu6c91FT109kNph9LResFEAqHH47 6cTc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cJDzWzFvD6LHj7hJGj+tLPjF77Jx1l91j8Z6XTB6bVnWyedy5tofNY/OSeo/W o79YPPq2rGL06Dpync3j8yY5j1NfP7MH8EZx2aSk5mSWpRbp2yVwZfR8+cZe0M1XMe/QJbYG xq/cXYycHBICJhIXXz1lA7GFBHYwStz4YwcRl5H433aMHcIWllj57zk7RE0zk8SstZVdjBwc bAK6Eme353QxcnGICLQySlxf2ckE4jALrGSRuL2xhwmkQVggUOL/yitgNouAqsSVf7PAbF4B W4nNd+ewQiyQl1i94QDzBEaeBYwMqxglUwuKc9Nziw0LjPJSy/WKE3OLS/PS9ZLzczcxgqNH S2sH455VH/QOMTJxMB5ilOBgVhLhrT8bnSzEm5JYWZValB9fVJqTWnyIUZqDRUmc90LXyXgh gfTEktTs1NSC1CKYLBMHp1QDk5i8ju9Hk4ev83+aPnh8x+zLmr8Lmw45cAXI5ZWy5NbcuppT qFJTXqDWu1T1msk2nTs9dkeXqs+91XFTpFV+Mp/2R/mptT5XiytzFl9YbVq9/eLLC30zMtgT T1uZZRi2TJKeN5P3b3VF01HPJZPvywgv8J/8atImzdmW5yJiVvgFWVjrxTW7l2jXbzvldLJo zcKOpeZOu9NlV939r+6Ysi6nZmfY6o3zrO+J51q//nFsCaOMzYmJOxlrD3+copAru2Rb2fRC 3q924Ru9Lp5lLnm89/YhMecFbJLW9xfpPY4wvbPo/TYHwe+HmvqqG58e2pu35t78nhtiyxdf /mRt19EVdO+EO8P1jVPf/lHR+K7EUpyRaKjFXFScCAD8RHmvDQMAAA== X-CMS-MailID: 20221102125810epcas5p36e6caf41f602debe17f25f13969fd6dc X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221102125810epcas5p36e6caf41f602debe17f25f13969fd6dc References: Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Exynos3250 uses the same compatible as Exynos5420, but both the MFC IPs found in these SoC are different interms of clock property. So using same compatible for both SoC is not correct. Lets have a separate compatible for Exynos3250 and Exynos5420 to differentiate these SoCs. Suggested-by: Alim Akhtar Signed-off-by: Aakarsh Jain Reviewed-by: Tommaso Merciai --- Documentation/devicetree/bindings/media/s5p-mfc.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) We are already in process of converting this txt file to yaml. https://patchwork.kernel.org/project/linux-media/patch/ 20221011122516.32135-2-aakarsh.jain@samsung.com/ modifying this txt binding for completeness. diff --git a/Documentation/devicetree/bindings/media/s5p-mfc.txt b/Documentation/devicetree/bindings/media/s5p-mfc.txt index aa54c8159d9f..4ff1898e5a51 100644 --- a/Documentation/devicetree/bindings/media/s5p-mfc.txt +++ b/Documentation/devicetree/bindings/media/s5p-mfc.txt @@ -11,9 +11,10 @@ Required properties: (a) "samsung,mfc-v5" for MFC v5 present in Exynos4 SoCs (b) "samsung,mfc-v6" for MFC v6 present in Exynos5 SoCs (c) "samsung,mfc-v7" for MFC v7 present in Exynos5420 SoC - (d) "samsung,mfc-v8" for MFC v8 present in Exynos5800 SoC - (e) "samsung,exynos5433-mfc" for MFC v8 present in Exynos5433 SoC - (f) "samsung,mfc-v10" for MFC v10 present in Exynos7880 SoC + (d) "samsung,exynos3250-mfc" for MFC v7 present in Exynos3250 SoC + (e) "samsung,mfc-v8" for MFC v8 present in Exynos5800 SoC + (f) "samsung,exynos5433-mfc" for MFC v8 present in Exynos5433 SoC + (g) "samsung,mfc-v10" for MFC v10 present in Exynos7880 SoC - reg : Physical base address of the IP registers and length of memory mapped region. From patchwork Wed Nov 2 13:06:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aakarsh Jain X-Patchwork-Id: 621611 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E0B4C43217 for ; Thu, 3 Nov 2022 05:29:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230460AbiKCF3w (ORCPT ); Thu, 3 Nov 2022 01:29:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230494AbiKCF3q (ORCPT ); Thu, 3 Nov 2022 01:29:46 -0400 Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BF335FAA for ; Wed, 2 Nov 2022 22:29:45 -0700 (PDT) Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20221103052943epoutp02f277ff70a3caef095d7a07075d31e10c~j-ASEOxer2637926379epoutp021 for ; Thu, 3 Nov 2022 05:29:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20221103052943epoutp02f277ff70a3caef095d7a07075d31e10c~j-ASEOxer2637926379epoutp021 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1667453383; bh=5Yeiza4hwFUHRxgHQg44jdFShjSSRQePfF5w+VZxIp8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dmQVYW6K1sZejOA8ISG1usCf5VugaUwF7i7BGKSCRxWKSJCMv1SnoNkqAqatPCedw 4C2yM9LOPeW6/wEm+ClFOsjKS/DUSgYY4O9yBslTN/aqZB6JQQCoxr4Hsl5KRWP0Zq jQzTXmhU+W3PsiRqnpbDiZhNjmVkDsjQjoubF49Q= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas5p1.samsung.com (KnoxPortal) with ESMTP id 20221103052942epcas5p129cf8302467d7f7e220cb4d9a8a5ee68~j-ARdOgbR2620726207epcas5p15; Thu, 3 Nov 2022 05:29:42 +0000 (GMT) Received: from epsmges5p2new.samsung.com (unknown [182.195.38.175]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4N2sl746tcz4x9Q7; Thu, 3 Nov 2022 05:29:39 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 1E.54.39477.1C153636; Thu, 3 Nov 2022 14:29:37 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPA id 20221102125813epcas5p40a38f17a267276ff8b2bc5861b5d450d~jxel4fnLc0163401634epcas5p4H; Wed, 2 Nov 2022 12:58:13 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20221102125813epsmtrp1c3f15e1a5db7a711f83632ea98046a10~jxel3TP5U0619706197epsmtrp18; Wed, 2 Nov 2022 12:58:13 +0000 (GMT) X-AuditID: b6c32a4a-259fb70000019a35-51-636351c172a1 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id E3.04.14392.56962636; Wed, 2 Nov 2022 21:58:13 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20221102125810epsmtip1046d53c415e4db4ac2f17ef21a148d6a~jxeiw6bJU1919619196epsmtip1k; Wed, 2 Nov 2022 12:58:10 +0000 (GMT) From: Aakarsh Jain To: linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: m.szyprowski@samsung.com, andrzej.hajda@intel.com, mchehab@kernel.org, hverkuil-cisco@xs4all.nl, ezequiel@vanguardiasur.com.ar, jernej.skrabec@gmail.com, benjamin.gaignard@collabora.com, krzysztof.kozlowski+dt@linaro.org, stanimir.varbanov@linaro.org, dillon.minfei@gmail.com, david.plowman@raspberrypi.com, mark.rutland@arm.com, robh+dt@kernel.org, krzk+dt@kernel.org, andi@etezian.org, alim.akhtar@samsung.com, aswani.reddy@samsung.com, pankaj.dubey@samsung.com, smitha.t@samsung.com, aakarsh.jain@samsung.com Subject: [PATCH 2/3] media: s5p-mfc:Add variant data for MFC v7 hardware for Exynos 3250 SOC Date: Wed, 2 Nov 2022 18:36:01 +0530 Message-Id: <20221102130602.48969-2-aakarsh.jain@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221102130602.48969-1-aakarsh.jain@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WTe0xTVxzHd+69vb1oCjcg7AwYsEacEIGWQXdg8nJu3gyzsAfJ5ozYtTdA WtqmLQi6TI3ihE2UqHM8UlmhzPF+0yo4HiUmbCAOAvIo8pjyiItOcHSbc2u5sP33Pb/f53u+ J79zDoW7T5LeVLpKz2pVUqWQ3EK09QYFhXS/J5OJfntIofvmIh6aMbSRqNy+gKF75SsE6mlu 5aOWkRIcfXeri4euWgd5qL17jkCNi47unSIbgRau1gG0VDxNooLFWRw1zY/y0PD1UhJ91dDK Q7VWGx+Zxu5gqLLpGYaMrat8lNtp5SNbRxtAp89YsXjI1BhqAGO2VQBmrOIJzliKbXymvGMJ Y5qq8khmarSDZJorjjO5fX8STEFLFWDyrWMks9Lkx/Q/XeEnCQ4odqexUjmrDWBVMrU8XZUa I0z8IOXNlEiJSBwijkKvCwNU0gw2Rrh3f1LI2+lKxwiEAVlSZaajlCTV6YRhsbu16kw9G5Cm 1uljhKxGrtREaEJ10gxdpio1VMXqo8UiUXikAzysSHt+dwLT3HTNNuadwk6AR1vzgQsF6Qg4 9Pcglg+2UO70DQCvNZTzucUTAPvqhglu8TuAc33z+KZlwV4LuEYngE+NJzeoXAzOna8n8wFF kXQIHGhXOg3b6JMAzp/VOxmcLiTgZMHi+k4e9CF4t3YFOHmCDoRDJh+nFNAxsH4ynsvyh9UN Xeu0Cx0L18bz13M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vFuUVQ8p1alcbrwmP2ixJlXbwjtA8nRkqyTRCb4PNcI fBjIroWeqSpgBCJGyjYBaDYa6FmxCP4+/VA4y76wfMbzj6XsSQKWDWUYAcPQ7CrY0aD2tn6s AUBXeRbhHUi2nII91dmEN/Bl98K2c+0Cb0CxwfB5WYAXxWw0vN2zaXb9Ylhxx0Z62YeNgd9f G8HsqWhYne0iLwJJMZhjAQs5La9J0PCR2sgk7kgYr9Dwh5MSwpTJGiv497WQFY2gwfIlzA4I BtgBZEiZnzijY49SKo5XHDvO6ZLlusNqjreDAIaSLRA/Nz6WS9kERSp3iOO0nO6/JRgf/0yi ZMGbIM36jSfiA4+rLHJTuiqvq2so5d7L6TyKZC5UiPreP3sH4cD8hzN9uWmM1vnIt6knonB5 OFh9abckf7CS3bA8xxD7C5/NmP94i23QLgoGrrSKecqCy1EppqOdO+3SybHYCNP4R4/tmN5x aseamryoIv/+EPOL0KpdrrHkZHkKb6ccU8ES57Km9Oip8G692m2yPilb94Q516ZtibVcmf46 1p/K5YTog1oSLUvfZ45+mx4a7R/d/K2g7+YB+RLTXdRLOUQ+OfFYFRpkG+A/Va7V49zJfHUr 00Z8D5X4tcf07is+2HEgolWuj0t7tnLbmY6t06/zq4br8FYZxScqIkNIHa/4A2H/E14kAwAA X-CMS-MailID: 20221102125813epcas5p40a38f17a267276ff8b2bc5861b5d450d X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221102125813epcas5p40a38f17a267276ff8b2bc5861b5d450d References: <20221102130602.48969-1-aakarsh.jain@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org commit "5441e9dafdfc6dc40fa" which adds mfc v7 support for Exynos3250 and used the same compatible string as used by Exynos5240 but both the IPs are a bit different in terms of IP clock. Lets add variant driver data based on the new compatible string "samsung,exynos3250-mfc" for Exynos3250 SoC. Suggested-by: Alim Akhtar Fixes: 5441e9dafdfc ("[media] s5p-mfc: Core support for MFC v7") Signed-off-by: Aakarsh Jain --- .../media/platform/samsung/s5p-mfc/s5p_mfc.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c index fca5c6405eec..007c7dbee037 100644 --- a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c +++ b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c @@ -1576,8 +1576,18 @@ static struct s5p_mfc_variant mfc_drvdata_v7 = { .port_num = MFC_NUM_PORTS_V7, .buf_size = &buf_size_v7, .fw_name[0] = "s5p-mfc-v7.fw", - .clk_names = {"mfc", "sclk_mfc"}, - .num_clocks = 2, + .clk_names = {"mfc"}, + .num_clocks = 1, +}; + +static struct s5p_mfc_variant mfc_drvdata_v7_3250 = { + .version = MFC_VERSION_V7, + .version_bit = MFC_V7_BIT, + .port_num = MFC_NUM_PORTS_V7, + .buf_size = &buf_size_v7, + .fw_name[0] = "s5p-mfc-v7.fw", + .clk_names = {"mfc", "sclk_mfc"}, + .num_clocks = 2, }; static struct s5p_mfc_buf_size_v6 mfc_buf_size_v8 = { @@ -1647,6 +1657,9 @@ static const struct of_device_id exynos_mfc_match[] = { }, { .compatible = "samsung,mfc-v7", .data = &mfc_drvdata_v7, + }, { + .compatible = "samsung,exynos3250-mfc", + .data = &mfc_drvdata_v7_3250, }, { .compatible = "samsung,mfc-v8", .data = &mfc_drvdata_v8, From patchwork Wed Nov 2 13:06:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aakarsh Jain X-Patchwork-Id: 621275 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4D3F9C4332F for ; Thu, 3 Nov 2022 05:30:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230495AbiKCFaA (ORCPT ); Thu, 3 Nov 2022 01:30:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230183AbiKCF3w (ORCPT ); Thu, 3 Nov 2022 01:29:52 -0400 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AED3AB1C7 for ; Wed, 2 Nov 2022 22:29:50 -0700 (PDT) Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20221103052948epoutp042fcec4d613e642a42e57f56bce15807d~j-AXJaTYg1828718287epoutp04O for ; Thu, 3 Nov 2022 05:29:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20221103052948epoutp042fcec4d613e642a42e57f56bce15807d~j-AXJaTYg1828718287epoutp04O DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1667453388; bh=4qBUx2QDAhX1kh6nWGZRrxqRso5GJ9KFQ9asXvnAyPw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TCf1eeLb/cphCZsdXUjB5YhbZmH5OEB0fdWgNx1eFWbS/dW2ADxVKJw4zYu1Ddg7T mpbaV+2IB4gVuJAXkh1cpKfNr7WuTCgWEfvPdlqgetHJnLZN5mJuNpPfjIh2wLoK1g 4ZE0fn0YdXzZlBT8Wd32+GmClgxhjcMoUTq183YI= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20221103052948epcas5p4fdbc03d2b51af6b5a457ec218d039a24~j-AWbyKkz2152821528epcas5p47; Thu, 3 Nov 2022 05:29:48 +0000 (GMT) Received: from epsmges5p3new.samsung.com (unknown [182.195.38.174]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4N2slB1Z6lz4x9Q5; Thu, 3 Nov 2022 05:29:42 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id 5D.9B.56352.4C153636; Thu, 3 Nov 2022 14:29:40 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20221102125816epcas5p23e16fefd6b820e7dd7d9a93f0d48f40d~jxeo9kLch3082130821epcas5p2t; Wed, 2 Nov 2022 12:58:16 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20221102125816epsmtrp2841e089a1f09752becc1a2fcd866e6ff~jxeo8XqlW1846518465epsmtrp2n; Wed, 2 Nov 2022 12:58:16 +0000 (GMT) X-AuditID: b6c32a4b-5f7fe7000001dc20-1e-636351c4b7b0 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id F5.04.14392.86962636; Wed, 2 Nov 2022 21:58:16 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20221102125813epsmtip1dad99ce1b696e3f0129399b84bed9246~jxel4p4wh2204122041epsmtip1w; Wed, 2 Nov 2022 12:58:13 +0000 (GMT) From: Aakarsh Jain To: linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: m.szyprowski@samsung.com, andrzej.hajda@intel.com, mchehab@kernel.org, hverkuil-cisco@xs4all.nl, ezequiel@vanguardiasur.com.ar, jernej.skrabec@gmail.com, benjamin.gaignard@collabora.com, krzysztof.kozlowski+dt@linaro.org, stanimir.varbanov@linaro.org, dillon.minfei@gmail.com, david.plowman@raspberrypi.com, mark.rutland@arm.com, robh+dt@kernel.org, krzk+dt@kernel.org, andi@etezian.org, alim.akhtar@samsung.com, aswani.reddy@samsung.com, pankaj.dubey@samsung.com, smitha.t@samsung.com, aakarsh.jain@samsung.com Subject: [PATCH 3/3] arm64: dts: exynos: Rename compatible string property from version to SOC specific Date: Wed, 2 Nov 2022 18:36:02 +0530 Message-Id: <20221102130602.48969-3-aakarsh.jain@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221102130602.48969-1-aakarsh.jain@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WTf0xbVRTHve+1r2VJ2RNw3qGM2o05MLB2tPWyAPMHmS9iIgtZpkwHj/IC jP5KX3E6MQwnzoEg3YbKj3SGHy4yfpaf7WBltDgyhckkoLGFCSOj4HAUGYu4aWnZ/O9z7vme 8z05914+HuAggvnZaj2jU9NKEbGJ02ULD4+0H1AoxPbTz6PZngouumnsIlDt/dsYmqpd5qCB 9k4e6hirwtGFq/1cdN4+wkXdV6Y5qG3Okx2tcHLQ7fPNALkqJwlUOvc7jkwz41z0s6WaQJ+3 dnJRk93JQ/UToxj61vQPhmo6/+Khwj47Dzl7uwD65FM79hKkGo2NgOpx1gFqos6NU+ZKJ4+q 7XVhlKnhNEE5xnsJqr0unyoc/JtDlXY0AKrIPkFQy6Zt1LWVZV6SICUnNouhMxidkFErNBnZ 6sw4UWJy6qupMrlYEimJQS+KhGpaxcSJEt5IityfrfSsQCR8j1bmeo6SaJYV7Y6P1Wly9Yww S8Pq40SMNkOplWqjWFrF5qozo9SMfq9ELN4j8wjTcrJKrBWY9iH//cliI+cEGOQVAT8+JKXw Qd9JUAQ28QPISwBaVy9wfIEbwHutbYQvuAdg2czI45KqW0PYOgeQfQAWNDI+USEGv+xq9VTw +QQZCYe7leuaILIAwJnP9OsanDRw4G+lc/h6IpDMhsVflXgbccgweP1ug9dAQMbBjxe/x31m ofBia7+X/ch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ycHBICJhKzn5xg6mLk4hAS2M0osWXuPSaIhIzE/7ZjUEXCEiv/PWeHKGpmkpix8yJj FyMHB5uArsTZ7TkgcRGBVkaJ6ys7wSYxC6xkkbi9sQdskrBAusTedZ0sIDaLgKrE+Q+rwKby CthKNL07xgyxQV5i9YYDYDangJ3E95tdjCC2EFDNxp7rzBMY+RYwMqxilEwtKM5Nzy02LDDM Sy3XK07MLS7NS9dLzs/dxAiOOC3NHYzbV33QO8TIxMF4iFGCg1lJhLf+bHSyEG9KYmVValF+ fFFpTmrxIUZpDhYlcd4LXSfjhQTSE0tSs1NTC1KLYLJMHJxSDUzrnd8vDtdntam0iT/k85RP XVH3/67fUZ8k8wPcw54X9D4933VpRuUWU/Yz2lr1G97Fbf7y1HUxh4BheuLWAKZlR+9fNfr+ hT/voKsx07u/p46K3GB8ntV+RWa1vP46SV7jw6vvJ+fZm1xfu8Vn8//f9w8XX1dhXc0qOJHv yYfGjAc8Mg83i+svv6fmWGvNG7cks+pZGcvxhZ6qVw7psAfn23PPrmpN674qzrLNwEzxx/1u 3V+SSnKqRuJBTPNqnp71budiF+xnPLGToWZ6AXtB+5HkhFmZFoKfxS+X3/l85PPqYzHz+57y ls5zrO9sfBzwg99UVvlC+Ha56bdU3/u+iHPp+tNeKcib0njYXImlOCPRUIu5qDgRAMv2evAn AwAA X-CMS-MailID: 20221102125816epcas5p23e16fefd6b820e7dd7d9a93f0d48f40d X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221102125816epcas5p23e16fefd6b820e7dd7d9a93f0d48f40d References: <20221102130602.48969-1-aakarsh.jain@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org commit "752d3a23d1f68de87e3c" which adds MFC codec device node for exynos3250 SOC. Since exynos3250.dtsi and exynos5420.dtsi are using same compatible string as "samsung,mfc-v7" but their node properties are different.As both SoCs have MFC v7 hardware module but with different clock hierarchy and complexity. So renaming compatible string from version specific to SOC based. Suggested-by: Alim Akhtar Fixes: 752d3a23d1f6 ("ARM: dts: add MFC codec device node for exynos3250") Signed-off-by: Aakarsh Jain Reviewed-by: Tommaso Merciai --- arch/arm/boot/dts/exynos3250.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi index 326b9e0ed8d3..98105c64f7d9 100644 --- a/arch/arm/boot/dts/exynos3250.dtsi +++ b/arch/arm/boot/dts/exynos3250.dtsi @@ -485,7 +485,7 @@ }; mfc: codec@13400000 { - compatible = "samsung,mfc-v7"; + compatible = "samsung,exynos3250-mfc"; reg = <0x13400000 0x10000>; interrupts = ; clock-names = "mfc", "sclk_mfc";