From patchwork Mon Nov 14 11:50:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aakarsh Jain X-Patchwork-Id: 13043224 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 A070BC4332F for ; Tue, 15 Nov 2022 04:01:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230080AbiKOEBa (ORCPT ); Mon, 14 Nov 2022 23:01:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232248AbiKOEB1 (ORCPT ); Mon, 14 Nov 2022 23:01:27 -0500 Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33ECE15A34 for ; Mon, 14 Nov 2022 20:01:25 -0800 (PST) Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20221115040123epoutp02336215c3d8393077d4fb7f118b893975~npilqxhNs0064000640epoutp02I for ; Tue, 15 Nov 2022 04:01:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20221115040123epoutp02336215c3d8393077d4fb7f118b893975~npilqxhNs0064000640epoutp02I DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1668484883; bh=tWpN8q79jODLr9sW+7iEmUZwTF0pBHwISByz13Zn6hk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OdbrKYcFxn/GsFNwaOC8PrtpPGAxITftRsbO2dYL/K1sruraYJxQIte+gMozsd9nM uQux5Kpw++YQOAXVddqRrUec4VLq1TOpgw8UkiGHayhI0OOYsuYlO59xC/PmR53VGE zTHSn+ehyEJy9bc0Mxx4dv7EQpkE9tOliODJlx2o= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20221115040122epcas5p215df7c16d7eeca8acb37b5876e06d01e~npikmUmWT1038710387epcas5p2W; Tue, 15 Nov 2022 04:01:22 +0000 (GMT) Received: from epsmges5p3new.samsung.com (unknown [182.195.38.178]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4NBCCh6wxNz4x9Q0; Tue, 15 Nov 2022 04:01:20 +0000 (GMT) Received: from epcas5p4.samsung.com ( [182.195.41.42]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id CF.ED.56352.01F03736; Tue, 15 Nov 2022 13:01:20 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20221114114406epcas5p20e15f3c3aafba2410eee8697159b1fd6~ncNTGOdhz1599215992epcas5p2k; Mon, 14 Nov 2022 11:44:06 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20221114114406epsmtrp1abc3407b6ef4fc4cd601cee8aea7f813~ncNTFCmKd0315803158epsmtrp1K; Mon, 14 Nov 2022 11:44:06 +0000 (GMT) X-AuditID: b6c32a4b-5f7fe7000001dc20-34-63730f108fb3 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 54.71.18644.50A22736; Mon, 14 Nov 2022 20:44:05 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20221114114402epsmtip2a4d15400ea10cabc98a83de0c74d1445~ncNP_2TW11105611056epsmtip2V; Mon, 14 Nov 2022 11:44:02 +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 v5 1/3] media: dt-bindings: s5p-mfc: Add new compatible string for Exynos3250 SoC Date: Mon, 14 Nov 2022 17:20:22 +0530 Message-Id: <20221114115024.69591-2-aakarsh.jain@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221114115024.69591-1-aakarsh.jain@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WTe0xTVxzHc3pv24usei2MHRp15DpZLAItFHZQcCwj5DKQkCnZIzPQlJtC KG3T2+o2Q9QpbBCBsbgMEIHRwsJD5NXKy4xHGdGNgULKEilTmeF2yRizw8hDt5bi9t/n9zvf 3yPfcw6BiX8RSIg8rZExaJUaSrADt40dlIaTu1iVrOP56+hRXzUf3a+zCZD56RIP/Wp242i0 xypEvbNXMPTdxDAf1dt/5qMbIw9x1MV5Tu9UO3G0VN8BkKtmQYDKuQcY6l508NHMQK0AXeq0 8tE1u1OImubu8FBz9yYPNVr/FqKim3Yhcg7ZALpYbOclQrq9rh3QfU4LoOcsjzG6v8YppM1D Lh7d3VoioOcdQwK6x3KWLhpfx+ny3lZAl9rnBLS7ex99e9UtzBB9mB+fyyhzGEMIo1XpcvK0 6gQq9XjW21kxsTJ5uDwOvUGFaJUFTAKVlJYRnpyn8VhAhZxSakyeVIaSZanIo/EGncnIhOTq WGMCxehzN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PzaLvxUNmi02Pr7FaXN41h82iZ8NWVou1R+6yWyy9fpHJYtmmP0wWi7Z+Ybdo3XuE3eLu nm2MFi1tR5gcJDzWzFvD6LHj7hJGj+tLPjF77Jx1l91j8Z6XTB6bVnWyedy5tofNY/OSeo/W o79YPPq2rGL06Dpync3j8yY5j1NfP7MH8EZx2aSk5mSWpRbp2yVwZXS97GQvWCxYsfpybAPj Fb4uRk4OCQETiQt/1jB3MXJxCAnsYJTon76YHSIhI/G/7RiULSyx8t9zdoiiZiaJvbuvAXVw cLAJ6Eqc3Z4DEhcRaGWUuL6ykwnEYRZYySJxe2MPE0i3sECixOyNc9lAbBYBVYl3PWcZQWxe AVuJS+/OM0JskJdYveEAM4jNKWAncfbgBxYQWwio5t2xt2wTGPkWMDKsYpRMLSjOTc8tNiww ykst1ytOzC0uzUvXS87P3cQIjjctrR2Me1Z90DvEyMTBeIhRgoNZSYR3nkx+shBvSmJlVWpR fnxRaU5q8SFGaQ4WJXHeC10n44UE0hNLUrNTUwtSi2CyTBycUg1MUfYqc+p0+FSCP8xn3Vwd 8CnzrWSeyd4g8Wn/bEKjjq5LENSc2/hq4avz998VFt6VqtuiYLJj0/vgcM+/h9tufZu+W+hn 663roXcy0zLK9Gb982DabLf8nOaGkG6Ob/WH1vM0ylx/6Kv+JMnqaNiX6F/zHpZn7re7c/Pc eiMBeWajgNbawuk6HhcdtyjJnW9xFN3qbbFR8Ribyd/6+rC5j3/EbN2e6N6erukX3u+mtbbw 8pNAhktHymPMHL60C3D0PeF9O8v1VYC+eEpOzCXxPmbRiDYF9wvdfQcmFYh7Bs28ffVwSdEF rxU9uu4ajdM8HcU5v8qsP+xcuvzzW6ljp5vsijbksNtJfund8UWJpTgj0VCLuag4EQAnbORy JgMAAA== X-CMS-MailID: 20221114114406epcas5p20e15f3c3aafba2410eee8697159b1fd6 X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221114114406epcas5p20e15f3c3aafba2410eee8697159b1fd6 References: <20221114115024.69591-1-aakarsh.jain@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Since MFC v7 support was present for both Exynos5420 and Exynos3250 SoC with same compatible string "samsung,mfc-v7". As both SoCs having different hardware properties and having same compatible string for both SoCs doesn't seems to be correct. Add new compatible for Exynos3250 SoC followed by mfc-v7 fallback which will differentiate the node properties for both SoCs which support MFC v7. Reviewed-by: Krzysztof Kozlowski Reviewed-by: Tommaso Merciai Suggested-by: Alim Akhtar Signed-off-by: Aakarsh Jain --- Documentation/devicetree/bindings/media/s5p-mfc.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 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..8eb90c043d5d 100644 --- a/Documentation/devicetree/bindings/media/s5p-mfc.txt +++ b/Documentation/devicetree/bindings/media/s5p-mfc.txt @@ -10,10 +10,12 @@ Required properties: - compatible : value should be either one among the following (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 + (c) "samsung,exynos3250-mfc", "samsung,mfc-v7" for MFC v7 + present in Exynos3250 SoC + (d) "samsung,mfc-v7" for MFC v7 present in Exynos5420 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 Mon Nov 14 11:50:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aakarsh Jain X-Patchwork-Id: 13043225 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 31910C43219 for ; Tue, 15 Nov 2022 04:01:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237658AbiKOEBq (ORCPT ); Mon, 14 Nov 2022 23:01:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232772AbiKOEBc (ORCPT ); Mon, 14 Nov 2022 23:01:32 -0500 Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4787015FF0 for ; Mon, 14 Nov 2022 20:01:30 -0800 (PST) Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20221115040128epoutp02f4a6eed40a562cb2db0c005c50f961f1~npiqRDx4E0064000640epoutp02L for ; Tue, 15 Nov 2022 04:01:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20221115040128epoutp02f4a6eed40a562cb2db0c005c50f961f1~npiqRDx4E0064000640epoutp02L DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1668484888; bh=tLxH/oSbN4ttWhYedYhc0ui5x2yb6SohQZ11AMUJCvM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bUMkZ1ubFkkMNhORoeaZCx5sgCFcVsQmpxz1d8xxy4/hFZ/0hjrrI5BAbnbTgMK3f Tp+Gi0cp7+aqiP67J9zE3opH7TpokZLdRG3aa5jKO/3cg2L6dLj+G49hdL4iUlMMEt BM/8BDgOFbx8lMmJ1C4SmCQfWALr6QAC3dIZSVGM= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20221115040127epcas5p419d029e877d5109e154d2f52102fb3da~npipUHNKA1030510305epcas5p4a; Tue, 15 Nov 2022 04:01:27 +0000 (GMT) Received: from epsmges5p2new.samsung.com (unknown [182.195.38.180]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4NBCCn6thMz4x9Q3; Tue, 15 Nov 2022 04:01:25 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 71.A0.39477.51F03736; Tue, 15 Nov 2022 13:01:25 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p3.samsung.com (KnoxPortal) with ESMTPA id 20221114114409epcas5p32057f807dd538f874f8fd4a940c9de00~ncNWRC9St2923329233epcas5p3u; Mon, 14 Nov 2022 11:44:09 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20221114114409epsmtrp184711f2642d3142513c0017d9aab5cd2~ncNWP1IYX0315803158epsmtrp1M; Mon, 14 Nov 2022 11:44:09 +0000 (GMT) X-AuditID: b6c32a4a-007ff70000019a35-cb-63730f155a0f Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 66.71.18644.90A22736; Mon, 14 Nov 2022 20:44:09 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20221114114406epsmtip2c6b27252ae24b80d4ee2ec90a03e4e2b~ncNTHWzGc1105511055epsmtip2U; Mon, 14 Nov 2022 11:44: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 v5 2/3] media: s5p-mfc: Add variant data for MFC v7 hardware for Exynos 3250 SoC Date: Mon, 14 Nov 2022 17:20:23 +0530 Message-Id: <20221114115024.69591-3-aakarsh.jain@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221114115024.69591-1-aakarsh.jain@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0VTa1AbVRSeu7vZLGjoDhS4UkoxIx3AARIgcSlPlalbHzMgan2MxpAsz7wm Gyq0TMUOoCQtgtJRIg3Y0DJDkSLvAu0ADW1lpA4DAlKiLdg26aggKRahY01I0H/fOef7zjn3 u/cSqO88HkTkq3SMViVV8HFvrPdyRHiU/w5WJpiziajb/fUc6qapF6fM63cR6hezA6NGu3q4 VPf0VyjVcnWYQzVarnOovpFFjPrW5qxO1lsx6m5jO6Dsxp9xqtp2C6U6l2Y41NRAA04d7+jh UN9YrFzqzOwkQp3tfIhQp3vuc6mKixYuZR3qBVR5pQVJg3SbqQ3Q/dZmQM82r6L0BaOVS5uH 7Ajd2VqF0wszQzjd1fwhXTG2gdHV3a2A1ltmcdrRGUKPrzm4Gby3C5PyGKmc0YYyKplanq/K Tea/lCV5XiISC4RRwgTq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YzWyw/foDVYv6Rc6wW2w8+YrHY+AIoe3HmXRaL5/PXMVq8 nHWPzaLvxUNmi02Pr7FaXN41h82iZ8NWVou1R+6yWyy9fpHJYtmmP0wWi7Z+Ybdo3XuE3eLu nm2MFi1tR5gcJDzWzFvD6LHj7hJGj+tLPjF77Jx1l91j8Z6XTB6bVnWyedy5tofNY/OSeo/W o79YPPq2rGL06Dpync3j8yY5j1NfP7MH8EZx2aSk5mSWpRbp2yVwZXTO8ix4xFfR+rmXtYGx h6eLkZNDQsBEouvrLnYQW0hgB6NEcxM3RFxG4n/bMXYIW1hi5b/nQDYXUE0zk8TkWR9Zuhg5 ONgEdCXObs8BiYsItDJKXF/ZyQTiMAusZJG4vbGHCaRbWCBBYs/RGWANLAKqEku+goV5BWwl Ft88yASxQF5i9YYDzCA2p4CdxNmDH1ggDrKVeHfsLdsERr4FjAyrGCVTC4pz03OLDQuM8lLL 9YoTc4tL89L1kvNzNzGCY01LawfjnlUf9A4xMnEwHmKU4GBWEuGdJ5OfLMSbklhZlVqUH19U mpNafIhRmoNFSZz3QtfJeCGB9MSS1OzU1ILUIpgsEwenVANT4dJilaZJPP32+xx+K3yRcGar nxwnfombIeyaldu6D8ZaH9aUBcVtMnLernV21TwVj99nvJjknBcFpQpM+GF1eNFXYfbsggNa 0R8euJUnJzZX+gecKC2490bg8mqJ38Z9LiW6fc4y6t36V8r0H/d4cVfap4utOjL1b8BWT+aA trW2f5r8b99WXTbn2c9TNRWTJi9i6q7vmKt7TPhuoeS2xP3zlsjVGQu3aOT6XsqNPrs6+8H6 X3KS+U1Bj/0yat97e7/aE8azYObx/4y39u2IlX6vmXbOOK+svin1X6CPlK1uxKn5unbLF380 6ZhUF/5W6oRSwtl1rpUMhjMt5WODKs5t9H3b2rtsxq9tb5RYijMSDbWYi4oTATvyGfckAwAA X-CMS-MailID: 20221114114409epcas5p32057f807dd538f874f8fd4a940c9de00 X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221114114409epcas5p32057f807dd538f874f8fd4a940c9de00 References: <20221114115024.69591-1-aakarsh.jain@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Commit 5441e9dafdfc6dc40 ("[media] s5p-mfc: Core support for MFC v7") which adds mfc v7 support for Exynos3250 and use the same compatible string as used by Exynos5240 but both the IPs are a bit different in terms of IP clock. 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 Reviewed-by: Alim Akhtar --- .../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 Mon Nov 14 11:50:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aakarsh Jain X-Patchwork-Id: 13043226 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 64282C433FE for ; Tue, 15 Nov 2022 04:02:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237673AbiKOECB (ORCPT ); Mon, 14 Nov 2022 23:02:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237821AbiKOEBx (ORCPT ); Mon, 14 Nov 2022 23:01:53 -0500 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 452DA1C418 for ; Mon, 14 Nov 2022 20:01:41 -0800 (PST) Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20221115040140epoutp0147d758b8dbd558063644fc20318d1e45~npi0zwzu_2108321083epoutp01m for ; Tue, 15 Nov 2022 04:01:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20221115040140epoutp0147d758b8dbd558063644fc20318d1e45~npi0zwzu_2108321083epoutp01m DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1668484900; bh=4Q5OQv6ek20SCDHutwu88UaXFb56EuVL8bwNMJ3r/eI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PIBrx5YoPz3PrFVzbQk/yNPkfyOhu8I+Vcxn68YCdP/nl3YqQxHKeKpnRWYTZKZ6n xKVRuAyzVcE8vs7sKW7bQe59ya17qCOdAvKr9z+Ad5id7rKm34j25wYTYO4zo9eeAs PMDolj4W8reNsnyo29rWNDtiyeVausM4ikKBq4xM= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas5p1.samsung.com (KnoxPortal) with ESMTP id 20221115040138epcas5p11ede79a041ca797f039232c8076e47dd~npizpQy5N0913709137epcas5p18; Tue, 15 Nov 2022 04:01:38 +0000 (GMT) Received: from epsmges5p3new.samsung.com (unknown [182.195.38.180]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4NBCD10hy6z4x9Pv; Tue, 15 Nov 2022 04:01:37 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id BA.0E.56352.02F03736; Tue, 15 Nov 2022 13:01:36 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPA id 20221114114412epcas5p43350b596e52a98eb69406574b4a16171~ncNZTqLUx0954209542epcas5p4B; Mon, 14 Nov 2022 11:44:12 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20221114114412epsmtrp2dfab1581fcfc90883516c1d65bfcae17~ncNZR16uR0788507885epsmtrp2t; Mon, 14 Nov 2022 11:44:12 +0000 (GMT) X-AuditID: b6c32a4b-5f7fe7000001dc20-7b-63730f207faa Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 25.E4.14392.C0A22736; Mon, 14 Nov 2022 20:44:12 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20221114114409epsmtip2ec50e17d83fb8bd28910d3118d833d2e~ncNWPvCIM1393413934epsmtip2G; Mon, 14 Nov 2022 11:44:09 +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 v5 3/3] ARM: dts: exynos: Add new SoC specific compatible string for Exynos3250 SoC Date: Mon, 14 Nov 2022 17:20:24 +0530 Message-Id: <20221114115024.69591-4-aakarsh.jain@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221114115024.69591-1-aakarsh.jain@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0VTe0xTZxTfd+/t7a2h81Lc+CQ+mgZNwACtUvaV8dgy4m7m/iBzc0ZmuqZc C1Lapg98sVhEGKBrhKgZjKHhtQDyKlAYKwYrD0EYMhxkApaXARxRhMkIY8taCtt/v3PO73fO ye98H4ULnpB+VKLGyOo1CrWI3EbY7gcEBAm3G5Ti5pfh6FlLPgdNFNlIVLI6iyFnyTKBHA1N XNT4+Dsc/dDdzkG3On7moOZ7UwSqn3NVB/PHCTR7qwag+YKnJLLMTeLIOj3MQUOthSS6WtfE QdUd41xUNjKIoXLrOoaKm/7gooy2Di4at9sAupzZgb0HmTtFdwDTMl4KmJHSJZz5sWCcy5TY 5zHGWplNMmPDdpJpKL3IZHSuEYylsRIwOR0jJLNs3cP0vl7mxvJPJEUksIp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c1xiDI22Ne24hBmjsEmrpl2yrbbCMlvtipKKtENWSs1aRNnQpEGr8e33/J/nmf+Hh8blF4gZ 9B7tfl7QcmolKSUq65QRsROiBdWCzIFI1FudJ0HvTJUkKhryY6izKEig2jsOClW0XcZRSb1L ggrczySoqqabQOUfRt3WPB+B/AVlAAXy35LozIcuHNnft0vQi3tXSHTK5pCgW24fhW54WzFU bB/B0HXHIIWyH7gp5HNWAqQ3uLEVkL1pugnYap8ZsF7zN5y9m++j2CJnAGPtlhySfdPuJNk7 5uNstmeYYM9UWABrdHtJNmifzTZ8D1KbZNuky1J49Z6DvDA/Yad0t82ehad7wjKu9lRKMoGe NoIwGjKL4MOGDtIIpLScuQ9gu7kMjBmz4B/DI2qMFbD0t58aC2VhsNx2e1TQNMnEwqYqdeg+ hckG0Fuag4UEzpQSsKP8FBZqKxgVzHKZ/zHBzIVlnntYqCxjlsPft7CxBxHQanPhIQ5jEmBT TT8RYvlo5MujPjIXTLwGxlnAdD5d1KRpxPj0eC1/KE7kNOIBbVqcSqexg3+7RUdVgypLf1wt wGhQCyCNK6fITLN0KrkshTt8hBd0O4QDal6sBTNpQjlN1mJ8skPOpHH7+b08n84L/12MDpuR idUX/9RLW1bmwrWFaWt+uQzhP5o+akvWPW14/V21MDv8FaSjUxu7VfNySONgb7PM2lLSve5E 4rOrwuqJq0dMTkVrTMvBqSkDkc3tRwNusd7XtzRjhPxBi+N6FhXqzq5PjHrsSS0wPLEubPAn vd9X+Py5xcOdretqTGnzJ3QutYbn9c5JjmosztPp3+q8WxOd1xPvc6QrmdpufTgwbDi54FxQ t+XY9M/N5xVTNzs+KZICX1+MD8Zk0LDJ/Up9cvBcxeTcHptNNpTPHUlVdXmEVZckJRczNjiT hzta++5OTioLHIrsd2j6vpEbhzpf7lry0jYt62nE6bZPa9ab7JP0i5WEuJuLj8YFkfsL/ucI NiYDAAA= X-CMS-MailID: 20221114114412epcas5p43350b596e52a98eb69406574b4a16171 X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221114114412epcas5p43350b596e52a98eb69406574b4a16171 References: <20221114115024.69591-1-aakarsh.jain@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Commit 752d3a23d1f68de ("ARM: dts: add MFC codec device node for exynos3250") 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. Add new compatible string followed by mfc-v7 fallback for Exynos3250 SoC. Reviewed-by: Tommaso Merciai Suggested-by: Alim Akhtar Signed-off-by: Aakarsh Jain --- 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..a2d6ee7fff08 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", "samsung,mfc-v7"; reg = <0x13400000 0x10000>; interrupts = ; clock-names = "mfc", "sclk_mfc";