From patchwork Wed Nov 9 03:55:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aakarsh Jain X-Patchwork-Id: 13037149 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3C0F5C433FE for ; Wed, 9 Nov 2022 03:56:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: List-Owner; bh=q0tQEVMPDppO/E87LkN86vgYLC6df6qXsCxxFlrBr4s=; b=U/CTfZyi8Z5/IR whlCe0Rs33BVsMh5wLM1A3hCxBivZ+15DO/JRzTzHQIiWdnr7bkkUDJqU/zD1awwHKO/6f2OrfrxA Eowhzd/B5eEmvxRqCBlcTlmU9MSkAt9DXqHXmgTFtE6f5UDWktnTEexLpbk6CJmLJnZsBKREGcTpR ObZf6OCyBm3XBPh1lq+Yvy7XjcfvoYUiqskTI/N4tvEzA8l82gzqDxPm7jteIqYlIpVQEKiMfMjoS mNHC9Ce9KqHz3OmeTq/OGQUnYqycJorJ9uhsF7wo36e/1wWLwjh1M20ODS+bgLVCHOriJhAGUtj/h +pz/hIOmv0PkZlK4k3lA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oscBX-00AToV-Qe; Wed, 09 Nov 2022 03:55:33 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1osc61-00AQon-Hr for linux-arm-kernel@lists.infradead.org; Wed, 09 Nov 2022 03:49:53 +0000 Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20221109034947epoutp030bd3fca85adef9869459d947a619885d~lzgvQdqGy1375313753epoutp030 for ; Wed, 9 Nov 2022 03:49:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20221109034947epoutp030bd3fca85adef9869459d947a619885d~lzgvQdqGy1375313753epoutp030 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1667965787; bh=rlp+qXaLAX0ZIbta6kqClM45VmPJd4TFz1poBktpQjo=; h=From:To:Cc:Subject:Date:References:From; b=FI8YmAU6tTVu5FPWLjwRQdHNKHXrFs+gP8Gxb7HjccJCSOhPGKCllIZ7sLryPVO4Q j9MfECZQOf30REWWKc22ZLvRJV20ndDmQNcgqkuxwbY9PnOdl7eXN+U8srsykFQOcy RSH/8PoBLuKu9aGzZqDvSHBaZ4pwxwC51ZGe449E= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20221109034946epcas5p457727ccf4b42f12a3d1fea68d6f99d98~lzguMXbbQ0918409184epcas5p4L; Wed, 9 Nov 2022 03:49:46 +0000 (GMT) Received: from epsmges5p2new.samsung.com (unknown [182.195.38.176]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4N6WF22wNKz4x9Q0; Wed, 9 Nov 2022 03:49:42 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p2new.samsung.com (Symantec Messaging Gateway) with SMTP id A6.84.39477.5532B636; Wed, 9 Nov 2022 12:49:41 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20221109034803epcas5p26644fa402ff1837754b61c1a307b2bb8~lzfObbFFO1703417034epcas5p2r; Wed, 9 Nov 2022 03:48:03 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20221109034803epsmtrp1f925d26956cf3fe42d690b9a864ed454~lzfOaB74x1103811038epsmtrp11; Wed, 9 Nov 2022 03:48:03 +0000 (GMT) X-AuditID: b6c32a4a-007ff70000019a35-7a-636b2355cf0b Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id BB.AF.14392.2F22B636; Wed, 9 Nov 2022 12:48:03 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20221109034759epsmtip1d7f61366e0e9d1b617963c7ee10c8ab8~lzfK7GFxD0213402134epsmtip1p; Wed, 9 Nov 2022 03:47:59 +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 v2 1/3] arm: exynos: Add new compatible string for Exynos3250 SoC. Date: Wed, 9 Nov 2022 09:25:05 +0530 Message-Id: <20221109035507.69086-1-aakarsh.jain@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA0WTbVBUVRjHO/fevbvYrN2Q7LCh4kUoGBZYW9bDywoO6NwJMpywSc2hdbkC 7Wu7S0Z9iCZBAkRRVAQC40VmAFdcWVgNEpctjBFmiB12Rt2CIGUtJgVD05J2uVLffud5/v/z POc55whw/yFSJMjTmliDVqGmyRVE90D4a+KdISplzKg7Ev1qO81DE/XdJGp6dAdDPzfNE8h+ 0cpHXc5aHLUO9vNQg2OEh3qu/kKgCzPe7OhpN4HuNJgB8tT8RKKKmUkcWabGeWjsch2Jyjut PHTO4eajFtcohs5a/sZQo/UBHxX1OfjI3dsN0MFiB5YMmY76DsDY3M2AcTXP4cylGjefaer1 YIyl7UuSuTXeSzIXmz9jir57TDAVXW2AKXW4SGbespYZ+nOenyHcrUrMZRXZrCGY1Sp12Xna HDmd9nZWSlasLEYilsShTXSwVqFh5XRqeoZ4W57aOwI6+COFOt8bylAYjXT05kSDLt/EBufq jCY5zeqz1XqpPsqo0BjztTlRWtYUL4mJ2RjrFb6vyh28vVd/lvrY87CDKAQeYSnwE0BKCmtv jPB87E99A2DZIigFK7w8B+D3zlM8brEA4LXffiCWHYt9Yxjn6ANw4GESJyrC4PR8mdcuEJCU GA73qH2aAOpzAKdKTD4NTlUS8GbFDO5LrKIyodN1nfTpCSoUTphDfCik5PBJz1au1DrY3tmP +6yQmhbAxwv9hE8DqVToahZxmlXw7mAXn2MR9BwpfsZKONXowTlWw/O9Vc/aT4L9zrqlbXAq HJ6/HM2F18ATQ+alU+HUSnj4yTTGxYXQVr/MYbDu1iMex0FwoL0FcMzAHnMNwU1kL/y98xw4 CtbU/F/hDABtIJDVGzU5rDFWv1HLHvjvjpQ6jQUsPeqIN2xgcuJelB1gAmAHUIDTAcIO8wdK f2G2ouAT1qDLMuSrWaMdxHoHVomLXlLqvL9Ca8qSSONipDKZTBr3ukxCvyxsqo5Q+lM5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y+jT1JG7tut0+6f/yDX499rtD/9W9a8uJ1JfNeHbs5 71O15Pl7T5QcXipONPA11PQqydvpy9dT/1nf/L5KBF/mp8X3TNgt3l5PaFm2SUX9lIiRU+w6 /VXscYc/93yw3qRhtOt+ucjfvMOfZ+t8+tOz5aJa3f6ja695L32/Q+6O59sdGWXz1oT1v97w hbNV3VVJ6UGKdpXmq5crn29m2/Lt+4EjLItrnyhvYr1jKf+XLy3p9h69r9UScb5x+nteTT21 /HzK7t59x0pVH73zMdRMfl38xvGubZDrMbM6pzuBDgfOXtKWd6hKnOi8LrT4Jy8P54VLnsL3 574FpjXGZ345j/NjtI1mXEltVGIpzkg01GIuKk4EAECCGZcLAwAA X-CMS-MailID: 20221109034803epcas5p26644fa402ff1837754b61c1a307b2bb8 X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221109034803epcas5p26644fa402ff1837754b61c1a307b2bb8 References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221108_194949_956039_510EA6DA X-CRM114-Status: GOOD ( 14.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Since,MFC v7 support was added for Exynos5420 and Exynos 3250 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. New compatible is added for Exynos3250 SOC which will differentiate the node properties for both SoCs which support MFC v7. Reviewed-by: Tommaso Merciai Suggested-by: Alim Akhtar Signed-off-by: Aakarsh Jain --- Documentation/devicetree/bindings/media/s5p-mfc.txt | 9 +++++---- 1 file changed, 5 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..cb166654fa81 100644 --- a/Documentation/devicetree/bindings/media/s5p-mfc.txt +++ b/Documentation/devicetree/bindings/media/s5p-mfc.txt @@ -10,10 +10,11 @@ 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" 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 Wed Nov 9 03:55:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aakarsh Jain X-Patchwork-Id: 13037173 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C8F93C433FE for ; Wed, 9 Nov 2022 05:02:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sfDGXOt8PBtTaWEzsFYh6HKKjJF3zUhtyp0xNkUD9do=; b=IPB+cc3Rfd/zzp yoVKvfN4KYkVg6uNd6b4rS6gy3flE2xQsgnkHMgBB783G5zBd+xeHvHOguD/fkIsN2XiHi80vO2Rk i+bNZDQAuwm7gbNUW2kvKaqENlGHcgsEeJO+PTd9KAECSiI3bcSzXiej7tAb8HWIdzmg/HDccfnEE NKFx5Ns7XhLhNppl4PAmcHa8AOWyUyw4NuWS7VorQVG8pYM/iw9ims6fs4ibLcY1FKgVg+rdfLcVN lk5DSFKhuu3ZDxDCS2GHxRamatcRAPpe1BFo9mw1e+PSkuG3pns6eWmGurI96rxStfRb89sE6V641 FYOAkadcIxUZ/oPxOzSQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1osdCS-00AvyY-Hc; Wed, 09 Nov 2022 05:00:32 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1osc64-00AQpb-Ba for linux-arm-kernel@lists.infradead.org; Wed, 09 Nov 2022 03:49:54 +0000 Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20221109034948epoutp01b0e4a1977f7131206c098c420b76f509~lzgwxvNc80501005010epoutp01X for ; Wed, 9 Nov 2022 03:49:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20221109034948epoutp01b0e4a1977f7131206c098c420b76f509~lzgwxvNc80501005010epoutp01X DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1667965788; bh=FtNonu142mw8UcQV9QErqFMq965U9ZP4d9RK4tcsloo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=d93l2GjHL2Y83nrqIaOcQg27A1SEK+oQ0XqqhHXNqTw+IcoafmpzkNjMK6jS5jxUJ 44Uv5DQpLoAI2NoMeUsonh8V4ojIhixcjdq8ApnzXYJnq+5isQVbzmHY4SgFr/5uk0 J4OPsjUdG88+jHYxB6TChH1MrO/WBzJ4jhqZpAGw= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20221109034947epcas5p47b7c3c4a6990d77c4fc9285d618d6db3~lzgwAozRx0918409184epcas5p4O; Wed, 9 Nov 2022 03:49:47 +0000 (GMT) Received: from epsmges5p1new.samsung.com (unknown [182.195.38.178]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4N6WF54W0Bz4x9Pp; Wed, 9 Nov 2022 03:49:45 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 2A.0A.01710.9532B636; Wed, 9 Nov 2022 12:49:45 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20221109034807epcas5p2eae5872bb8fb3e970c1bade98dd171c5~lzfSES6q12343923439epcas5p2k; Wed, 9 Nov 2022 03:48:07 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20221109034807epsmtrp1917e77c1d9ca089a967bc2ce185e4d4c~lzfSDJ_i31103811038epsmtrp1_; Wed, 9 Nov 2022 03:48:07 +0000 (GMT) X-AuditID: b6c32a49-c9ffa700000006ae-e3-636b2359687f Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 5F.AF.14392.6F22B636; Wed, 9 Nov 2022 12:48:06 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20221109034803epsmtip125c02760fc78da77fa3a1cb17e081af3~lzfOeoH4W0103001030epsmtip17; Wed, 9 Nov 2022 03:48:03 +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 v2 2/3] media: s5p-mfc:Add variant data for MFC v7 hardware for Exynos 3250 SoC Date: Wed, 9 Nov 2022 09:25:06 +0530 Message-Id: <20221109035507.69086-2-aakarsh.jain@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221109035507.69086-1-aakarsh.jain@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0VTe0xbVRz23NveXmaKN7DHGbKNdE6ECGuxsMNSHosTL+qUOJ3DxdS7cuXR 0tY+hm5RYRndJAypcYYyBqQFnBQotsA6BpFHJwsRzDqEbFIesglMpzwcMqfRlhb97/v9vu87 v8c5h8RDPEQYmavUsRoloxAQGzgd/VFRMZk75TJhqUGA7jhNXDRV3UEgy+oshiYtyxzU52jn obaR8zj6YqCHi2pcw1x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sU9B7fkVW3qOB3NmH0BogM5oFp4/Is54fYoZiAfaJz2TegLEO2IsH4ZfP7yG7cfK7k/Gx8 ycgxWh5lbI2WSHZ1bqg2RLdFr9tYsj9g7LQsvMeUXnzh4kxcU5GU0CQrwoJxtUbxB2Icqh8m AwAA X-CMS-MailID: 20221109034807epcas5p2eae5872bb8fb3e970c1bade98dd171c5 X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221109034807epcas5p2eae5872bb8fb3e970c1bade98dd171c5 References: <20221109035507.69086-1-aakarsh.jain@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221108_194952_770292_9056CF12 X-CRM114-Status: GOOD ( 19.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org commit "5441e9dafdfc6dc40fa" 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. 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 9 03:55:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aakarsh Jain X-Patchwork-Id: 13037150 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8AF96C433FE for ; Wed, 9 Nov 2022 03:57:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kIdXhaxh218WpLGbYYpSYtFTwoDhTbX5/S64fpuw29I=; b=tkvgtR+uPmLMD0 ZHQASGYKeV4b1Gj5mWkqQVS+jO3dsN/PDNMqNH8YevQ183cwY+4Kd+LPVoxHDwPn3cZWIOqwy6l8M Bl9aFeG3dyOJofNG/Xy6Go2ANAL+KBGIXfoW1pipNGK4RS64rcwuSxfpoW1kidD6MicM+8UlGRzpe sjHlW/MjCLluBRudJxuv602q02Iu+O5Cwo+ef1BL3nzCxq5o9zbUetw1sBN7ZzwmWESMkT00aYKP8 MCkOdV/s8wYN8gptMuPJI0bQbk5JTajQmltysgW+VItNoNV3abq9mHp3v1V5O2Nn4h5GH45Rkz9R+ 9bwKXrRfQvmQZzgqxhpA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oscCD-00AUJs-Se; Wed, 09 Nov 2022 03:56:15 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1osc68-00AQtr-RS for linux-arm-kernel@lists.infradead.org; Wed, 09 Nov 2022 03:49:58 +0000 Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20221109034953epoutp02a80687262eac07974dc90e74a60c0223~lzg1jyptR2159821598epoutp02i for ; Wed, 9 Nov 2022 03:49:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20221109034953epoutp02a80687262eac07974dc90e74a60c0223~lzg1jyptR2159821598epoutp02i DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1667965793; bh=I1h3AraRZ5r0FizcGhsBmyj3WZa0LneUyzoFvuYazag=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DUDmQaPSKQMhNtNFiPOYFGGBNHzO/Wrc+udCVBhfO53hR6CAjWWiEsr/KbMG0pM1R LPLF4q2cAbci7X9tom8j4NpYUr6//2wMXJ/FIzqpugAA6xKAG0ifnKnOLWtNAU5IQl g+Ke3DrVv7BtGjojIFflkvCjceg+W4t3EYb5vH28= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20221109034953epcas5p3f82c337ac4afe4c1eb92919c638decd6~lzg053tiD1932419324epcas5p3u; Wed, 9 Nov 2022 03:49:53 +0000 (GMT) Received: from epsmges5p1new.samsung.com (unknown [182.195.38.178]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4N6WFB1Lxyz4x9Pw; Wed, 9 Nov 2022 03:49:50 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 0E.0A.01710.E532B636; Wed, 9 Nov 2022 12:49:50 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPA id 20221109034811epcas5p4ecd94497380c5342258fc1dac7f99956~lzfWI9Dyq0747807478epcas5p4E; Wed, 9 Nov 2022 03:48:11 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20221109034811epsmtrp1a83013c5ec1ba7226a54000222d28bb1~lzfWH1WOx1103811038epsmtrp1E; Wed, 9 Nov 2022 03:48:11 +0000 (GMT) X-AuditID: b6c32a49-a41ff700000006ae-ee-636b235e1d6a Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 36.38.18644.BF22B636; Wed, 9 Nov 2022 12:48:11 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20221109034807epsmtip1f47eb8fc4e60a7836e27314250b1a491~lzfSVi4Ae0103101031epsmtip18; Wed, 9 Nov 2022 03:48:07 +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 v2 3/3] arm: dts: exynos: Rename compatible string property from version to SoC specific Date: Wed, 9 Nov 2022 09:25:07 +0530 Message-Id: <20221109035507.69086-3-aakarsh.jain@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221109035507.69086-1-aakarsh.jain@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WTe0xTVxzHd+5tb4ukyw2IHiticxsUWPraAC8GGHFM78ZMIPyxScSuKzct UNrax3RuydgCxJHJIEwj70nLnLwtDwuDpZTXZCiKBNxGlZfII3tIQRtntrVc2P77/B7f8zvn e87hogH3MT43U2uiDVqFhsB2sDr7w8NEp4TZSmlDHod8ZC9jkzPVnRhp8TxGyIcWN4t0tnVw yPaJCpS8OuxgkzUDt9nkjb45Fnl9yVu9W+ZikY9rmgG5XP4AI4uWZlHSNj/JJu91V2Lkl60d bLJpwMUh66buIuS3thcIWduxziHzewc4pKunE5B5BQNIAqQaqxsBZXdZATVlXUOprnIXh7L0 LCOUrf4LjJqe7MGoNuunVP7gcxZV1F4PqMKBKYxy20KokQ03J5mXlh2rphUZt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3F/8mcXi0Oat7BZbrsxmtlh+/ACrxfwj51gtth98xGKx8QVQ9uLMuywWz+evY7R4 Oesem0Xfi4fMFpseX2O1uLxrDptFz4atrBZrj9xlt1h6/SKTxbJNf5gsFm39wm7RuvcIu8Xd PdsYLVrajjA5SHismbeG0WPH3SWMHteXfGL22DnrLrvH4j0vmTw2repk87hzbQ+bx+Yl9R6t R3+xePRtWcXo0XXkOpvH501yHqe+fmYP4I3isklJzcksSy3St0vgythxJrjgO0fF3U9HGRsY j7J3MXJySAiYSHw+1MHWxcjFISSwg1FieedTRoiEjMT/tmNQRcISK/89Z4coamaS2HX4HZDD wcEmoCtxdnsOSFxEoJVR4vrKTiYQh1lgJYvE7Y09TCDdwgIZEmevbAGzWQRUJSbPncMK0swr YCvxcqccxAJ5idUbDjCD2JwCdhLHvx5iA7GFgEpamvawT2DkW8DIsIpRMrWgODc9t9iwwCgv tVyvODG3uDQvXS85P3cTIzjatLR2MO5Z9UHvECMTB+MhRgkOZiUR3jXrspKFeFMSK6tSi/Lj i0pzUosPMUpzsCiJ817oOhkvJJCeWJKanZpakFoEk2Xi4JRqYGqUMWt+pLX+4gb/u+qHvh95 tqA0kpvd/Jtb9MPydfsmF39TWdqrJirzpv/Ssh3Pp71ca/Ly/mID3Q/5PsuUDfK/aByyNJvm aPapZUFhyy27FXe0P05rLniZdqb5adbKUB37rKeRwlqa0W4KDyx3+u3mnDVD8c/Zv36d/Ymr LXtffXi0zmJ2ph1fcHDAae/imebPW0uPdKY8s5F59SqquC/bnDlI8ZOYoUjQTQP92VGHOPY9 f77ecpLPXHs5X96gv9pt07Pic3p4/4qGnbgjZu9XeCzylnGYb2d3Vd5dSamMIJ4p/ME3mTYm bbb35BS50Sk5RfR88odrpbWrr/Hsct2XvVFm5yo1SUGjior9SizFGYmGWsxFxYkAM4qSICUD AAA= X-CMS-MailID: 20221109034811epcas5p4ecd94497380c5342258fc1dac7f99956 X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221109034811epcas5p4ecd94497380c5342258fc1dac7f99956 References: <20221109035507.69086-1-aakarsh.jain@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221108_194957_260730_D4AABB82 X-CRM114-Status: GOOD ( 15.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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. 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..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";