From patchwork Fri Nov 11 03:23:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aakarsh Jain X-Patchwork-Id: 624122 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 2D25CC433FE for ; Fri, 11 Nov 2022 04:34:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232664AbiKKEeO (ORCPT ); Thu, 10 Nov 2022 23:34:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232115AbiKKEeL (ORCPT ); Thu, 10 Nov 2022 23:34:11 -0500 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B2A025E90 for ; Thu, 10 Nov 2022 20:34:09 -0800 (PST) Received: from epcas5p2.samsung.com (unknown [182.195.41.40]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20221111043407epoutp03ddfe93cc49a3ed01bc64b9f48865f3a1~mbaBm3o161196111961epoutp031 for ; Fri, 11 Nov 2022 04:34:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20221111043407epoutp03ddfe93cc49a3ed01bc64b9f48865f3a1~mbaBm3o161196111961epoutp031 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1668141247; bh=rlp+qXaLAX0ZIbta6kqClM45VmPJd4TFz1poBktpQjo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=G8Z7o6Wt4JP8nZwCDFgOztRiT3zPCsIIFMz88ulTooPXFctAgKYJFD3dHWVU0x6OY YK/vmh+aldTatLZoC3VN2GW8cwyePne+vGApyV9OZLLQEVxHEMUWCKsROjF4mx7QFQ FrQXd4d+pIgz6iYM0tEApqo3zrhVCTQbSxoAG1ns= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas5p1.samsung.com (KnoxPortal) with ESMTP id 20221111043406epcas5p1699317108e48da8bbbef0c50d8a838ab~mbaA4RNpu2678526785epcas5p1y; Fri, 11 Nov 2022 04:34:06 +0000 (GMT) Received: from epsmges5p1new.samsung.com (unknown [182.195.38.181]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4N7m7J4Ll6z4x9Q0; Fri, 11 Nov 2022 04:34:04 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 29.58.01710.AB0DD636; Fri, 11 Nov 2022 13:34:02 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPA id 20221111031711epcas5p45191dacb108498b920e5cf876f9d0c16~maW2NANnn0949709497epcas5p42; Fri, 11 Nov 2022 03:17:11 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20221111031711epsmtrp232cffed872e16fdcb29f07fdec48dfcd~maW2L5_dT1692316923epsmtrp2E; Fri, 11 Nov 2022 03:17:11 +0000 (GMT) X-AuditID: b6c32a49-c9ffa700000006ae-76-636dd0badd95 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 88.92.14392.6BEBD636; Fri, 11 Nov 2022 12:17:11 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20221111031707epsmtip1898dbd38ddc9d5a8041dfa3eef9122bb~maWzDTrSi2155921559epsmtip1K; Fri, 11 Nov 2022 03:17: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 v3 1/3] media: dt-bindings: s5p-mfc: Add new compatible string for Exynos3250 SoC. Date: Fri, 11 Nov 2022 08:53:35 +0530 Message-Id: <20221111032337.79219-2-aakarsh.jain@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221111032337.79219-1-aakarsh.jain@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WTe0xTVxzHd+69vS2PmhuQ7Yyhq42gshVabLsDWl2CLtdsbDC3LHEzrGnv APtMW2SDPwQBp2RjYthQ5KG8UytIoaVjMBCKGJNNyYhkQBVkA7qA2XiPEVxL6/bf5/c9398j v3MOBw8ZI8M5GVoTY9DK1XwykLD379sj6HygUQgHGneg3x1XWGiiyk6i2rUZDD2uXSRQX5uN jdqHr+KocbCXhaqdP7NQx+0nBGqd9ZwOXXERaKa6GSB3+SMSFc9O4sg69ZCFfumsINFXt2ws dNPpYqP6kSEMNVg3MFRjW2Kjwm4nG7m67AAVnHNib0LaUmUBtMNVB+iRugWc/r7cxaZru9wY bTVfIOnxh10k3VZ3hi4cWCfo4nYzoIucIyS9aN1J31teZCdzT6gOpjNyJWPgMVqFTpmhTZPx 3z6empgqkQpFAlE8eoPP08o1jIx/5J1kwVsZas8K+LzTcnWmR0qWG4382EMHDbpME8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+Fw+ZLTY9vsZqcXnXHDaLng1bWS3WHrnLbrH0+kUmi2Wb/jBZLNr6hd2ide8Rdou7 e7YxWrS0HWFykPBYM28No8eOu0sYPa4v+cTssXPWXXaPxXteMnlsWtXJ5nHn2h42j81L6j1a j/5i8ejbsorRo+vIdTaPz5vkPE59/cwewBvFZZOSmpNZllqkb5fAlXH8WWzBMoGKl9/XsDQw vuTtYuTkkBAwkVg1fy9jFyMXh5DAbkaJtfe/sEEkZCT+tx1jh7CFJVb+e84OUdTMJLH1+zkg h4ODTUBX4uz2HJC4iEAro8T1lZ1MIA6zwEoWidsbe5hAuoUFkiSubpzABNLAIqAq8eBOCEiY V8BW4taEHcwQC+QlVm84AGZzCthJPFi+ngWkXAiopv2v1gRGvgWMDKsYJVMLinPTc4sNCwzz Usv1ihNzi0vz0vWS83M3MYJjTUtzB+P2VR/0DjEycTAeYpTgYFYS4eXWyE4W4k1JrKxKLcqP LyrNSS0+xCjNwaIkznuh62S8kEB6YklqdmpqQWoRTJaJg1Oqgams//S9jb6xtR0pt0+0iV60 WXtpXb/W+0oea95/F5N37xISPd/Ip8qW+/XUzb1eWcoOtqo8zcdmtVzicNDYZXR75lG9eW+/ JzKaLb+bIfPWfNcjdnZ+YVfBW/rv717X4QtRmOj2kVeOyUhie8ktjonqj7KF/bjZHbRENtx8 U8O5T9x3iUeknaNNksK1gn8us5ZPk820kjc0+nA0iuGeY+qGoD/TY7Q/FU0w4u//NiXxE+vh d6VWnIvbjjHf7JruFJ8kXarDdCO5M2ndI4+9uZ+b+PLdXxZMqVu08lCs0YSfjjzvXk9+K6yg qLHEKGxnS76l1Yv5/IU8YhZMSi8ep+Rffp8dV95o3Tbxseg3JZbijERDLeai4kQAhtuudiQD AAA= X-CMS-MailID: 20221111031711epcas5p45191dacb108498b920e5cf876f9d0c16 X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221111031711epcas5p45191dacb108498b920e5cf876f9d0c16 References: <20221111032337.79219-1-aakarsh.jain@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.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 Fri Nov 11 03:23:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aakarsh Jain X-Patchwork-Id: 624530 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 0B25CC43217 for ; Fri, 11 Nov 2022 04:34:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232730AbiKKEeS (ORCPT ); Thu, 10 Nov 2022 23:34:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232614AbiKKEeO (ORCPT ); Thu, 10 Nov 2022 23:34:14 -0500 Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27B6668C5B for ; Thu, 10 Nov 2022 20:34:12 -0800 (PST) Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20221111043410epoutp023c9fb40c786d5a583c2a30797b956950~mbaEQhYKP1352313523epoutp02U for ; Fri, 11 Nov 2022 04:34:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20221111043410epoutp023c9fb40c786d5a583c2a30797b956950~mbaEQhYKP1352313523epoutp02U DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1668141250; bh=FtNonu142mw8UcQV9QErqFMq965U9ZP4d9RK4tcsloo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AQtohO75lF/6HRimZnRh4g2MXJ6sxOwpdt3gxVb4Pb+8L63MR+KUKJTwAOYZNi8Ly +WAKTVjxiroPwgue/WapotzkKcwGZaTyH2JXIMQsOpS8YxSJX6G2E6/UhEAuD6+9Iu oWWXdiZLV3k7aPzmN9SdcY6UkL9by6lb8JzgCumY= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20221111043409epcas5p2511a062ba72e2ce5a774f930b2fca950~mbaDeKivZ1812118121epcas5p2N; Fri, 11 Nov 2022 04:34:09 +0000 (GMT) Received: from epsmges5p2new.samsung.com (unknown [182.195.38.176]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4N7m7M2q19z4x9Pt; Fri, 11 Nov 2022 04:34:07 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 44.CD.39477.FB0DD636; Fri, 11 Nov 2022 13:34:07 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p3.samsung.com (KnoxPortal) with ESMTPA id 20221111031714epcas5p3f29880e7aa8be5616132edb94a70d715~maW5PwqTx1781417814epcas5p3X; Fri, 11 Nov 2022 03:17:14 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20221111031714epsmtrp2d2de81dae8fc6d3a8ca37e36909bd50f~maW5OgLNL1701017010epsmtrp2Y; Fri, 11 Nov 2022 03:17:14 +0000 (GMT) X-AuditID: b6c32a4a-259fb70000019a35-13-636dd0bf7d0c Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 38.2C.18644.ABEBD636; Fri, 11 Nov 2022 12:17:14 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20221111031711epsmtip1298cb31b94eb39b1f4f1d9fd3075cf03~maW2MRJHI2869928699epsmtip1i; Fri, 11 Nov 2022 03:17:11 +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 v3 2/3] media: s5p-mfc: Add variant data for MFC v7 hardware for Exynos 3250 SoC Date: Fri, 11 Nov 2022 08:53:36 +0530 Message-Id: <20221111032337.79219-3-aakarsh.jain@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221111032337.79219-1-aakarsh.jain@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0VTa0xTZxjed0572uqKZxS2j06R1eG4yNW2fkXRLQN3mJfBjC5ZwthZOaFI b7Zl7pIpbjKVKKPJRhS5LFwkg3IrLVQugqWMDQPhJmjWOhhTYBPi6FjMcGaFwvbveZ/3efI+ ed/v4+K+TkLIzVQbGJ2aVoqIDayWntCQiK4hlTza3PUcum+7wkaTpS0Eqng8g6GfK9wsZG+2 cpBl7CqOqvu62ajMMchGrTd/YaGmWU93+IqLhWbK6gGaK7pHoPzZKRyZp8fZaLStmEAXG61s VOdwcVDVxDCGrpmfYKjc+icH5XY6OMjV0QLQ2S8d2KuQMpWaAGVzVQJqonIRp64XuThURccc RplrLhCUc7yDoJorT1O5vX+zqHxLDaDyHBME5TYHUv1Lbk4y/92sPQqGTmd0QYxarknPVGfE iw4cSXs9TSKNjomIkaFdoiA1rWLiRQkHkyP2Zyo9KxAFfUgrsz1UMq3Xi6L27tFpsg1MkEKj N8SLGG26UivWRupplT5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xrDptFz4atrBZrj9xlt1h6/SKTxbJNf5gsFm39wm7RuvcIu8Xd PdsYLVrajjA5SHismbeG0WPH3SWMHteXfGL22DnrLrvH4j0vmTw2repk87hzbQ+bx+Yl9R6t R3+xePRtWcXo0XXkOpvH501yHqe+fmYP4I3isklJzcksSy3St0vgyrh05yx7wV6+iq2LNjM1 ML7j7mLk5JAQMJF4eOgTaxcjF4eQwA5GifZnuxghEjIS/9uOsUPYwhIr/z1nhyhqZpKYe3c/ WxcjBwebgK7E2e05IHERgVZGiesrO5lAHGaBlSwStzf2MIF0CwskSPRfmMEGYrMIqEos23KV CaSZV8BW4tMaZYgF8hKrNxxgBrE5BewkHixfzwJSIgRU0v5XawIj3wJGhlWMkqkFxbnpucWG BUZ5qeV6xYm5xaV56XrJ+bmbGMHRpqW1g3HPqg96hxiZOBgPMUpwMCuJ8HJrZCcL8aYkVlal FuXHF5XmpBYfYpTmYFES573QdTJeSCA9sSQ1OzW1ILUIJsvEwSnVwDTlmVhkaqLL4zfF+m+K dG8J9/qfCzeZE66VZvNzjebTu8JzzrFNe5qnWLvCbJXU5zkSru5PA6f2fF5SPn/tFou7ktI+ lSteduuo/6jXm5dQm3juNdek1VeN1gQ4dAu/S7WYc2bJXqZ03jP/l1at3f7jfuKDx8cuyKmy CfyQCb4XumeF9bH19vnVGjqSFau2P5T7ubnUZ9Ju9QO5Js1/P9xKk9ljrjnFi/2UZaxeSUrd 36sOdRczXv9c66bs7exjtu6r/7Kqm19dPEsaavi0Dj5fOq0sV9cwffbvcBm9X4dfbDpq8E+z On3xvB+3rvtyTj1dYZq1rCK7ze2dRmfEG6+Py12XR/E9C4pdtVSp11uJpTgj0VCLuag4EQAk oY3kJQMAAA== X-CMS-MailID: 20221111031714epcas5p3f29880e7aa8be5616132edb94a70d715 X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221111031714epcas5p3f29880e7aa8be5616132edb94a70d715 References: <20221111032337.79219-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 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 Fri Nov 11 03:23:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aakarsh Jain X-Patchwork-Id: 624121 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 34B0CC433FE for ; Fri, 11 Nov 2022 04:34:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232831AbiKKEeb (ORCPT ); Thu, 10 Nov 2022 23:34:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232115AbiKKEeV (ORCPT ); Thu, 10 Nov 2022 23:34:21 -0500 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B686424BE6 for ; Thu, 10 Nov 2022 20:34:19 -0800 (PST) Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20221111043418epoutp01e59ec949846799b3c9e17e14806d2f6e~mbaLhCkSW3089630896epoutp01g for ; Fri, 11 Nov 2022 04:34:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20221111043418epoutp01e59ec949846799b3c9e17e14806d2f6e~mbaLhCkSW3089630896epoutp01g DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1668141258; bh=I1h3AraRZ5r0FizcGhsBmyj3WZa0LneUyzoFvuYazag=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bMctFOEmVIirdLB6pw6Ytxi7Si92ejCzXJ4OQsnmIt5b2Ds1vjZM3e3bjh6f3PHxV ZHYI3jwnSUBFSGWI5jN95LdB8D3vWwD07457bXFvbCjWQ+dOhY0t9wz5tC4W+7k1t2 ppf3qqBCa0R7vabhDHKf1Jd19PwchFMJeKdbOiHI= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20221111043417epcas5p3508ab32bacdab06dc2223b70480f3996~mbaK0CCOL1477014770epcas5p3E; Fri, 11 Nov 2022 04:34:17 +0000 (GMT) Received: from epsmges5p1new.samsung.com (unknown [182.195.38.176]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4N7m7W1L0gz4x9Px; Fri, 11 Nov 2022 04:34:15 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id F1.68.01710.4C0DD636; Fri, 11 Nov 2022 13:34:12 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p3.samsung.com (KnoxPortal) with ESMTPA id 20221111031718epcas5p3df130145b4bb99424fd5aa4addf77ba5~maW8sG4Fs1781417814epcas5p3j; Fri, 11 Nov 2022 03:17:18 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20221111031718epsmtrp11550ca1c28a9507a68d4a1c04c0cb522~maW8k_oTj2207322073epsmtrp1L; Fri, 11 Nov 2022 03:17:18 +0000 (GMT) X-AuditID: b6c32a49-a41ff700000006ae-a5-636dd0c48426 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 2B.92.14392.DBEBD636; Fri, 11 Nov 2022 12:17:17 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20221111031714epsmtip12d4106982a2f53c6403255619ba13135~maW5UK0Of2921529215epsmtip1D; Fri, 11 Nov 2022 03:17:14 +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 v3 3/3] ARM: dts: exynos: Rename compatible string property from version to SoC specific Date: Fri, 11 Nov 2022 08:53:37 +0530 Message-Id: <20221111032337.79219-4-aakarsh.jain@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221111032337.79219-1-aakarsh.jain@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0VTbUxTVxjeube9LUrnXVE5Q6d4jXMQC62W7kCgMj/mndMFQ/aHZetquSuM 9rZpi/MrGY6POFQYqQSoDDZBSPgeUKgIGWAbgkwygqNjs1A+ppSRqcDEIUvWUnT/nvM+z/M+ b95zDh8X/kaE8FNZE2NglRqKWMdpux0WJrL/rFWJf3y8Bf1hK+Eid1kbgSqePcTQeMUCB/W2 WHmo9d41HFX3dXNRuX2Qi9p7JjnohxkvO1Ti4qCH5Q0AeSxjBMqbmcBR89QIFw13lBLocpOV i+rtLh664RzCUFXzCoauWxd5KLvLzkOuzjaAsnLsWDyk68rqAG1zVQLaWTmP0zctLh5d0enB 6Oaarwn6/kgnQbdUfklnO5Y5dF5rDaBz7U6CXmjeRt/5e4GXIEhKi01hlMmMIZRhVbrkVFYd R72fqDioiJKJJSJJNHqbCmWVWiaOOnQsQfRuqsa7Air0lFKT7i0lKI1GKlIea9Clm5jQFJ3R FEcx+mS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+Fw+ZLTY9vsZqcXnXHDaLng1bWS3WHrnLbrH0+kUmi2Wb/jBZLNr6hd2ide8Rdou7 e7YxWrS0HWFykPBYM28No8eOu0sYPa4v+cTssXPWXXaPxXteMnlsWtXJ5nHn2h42j81L6j1a j/5i8ejbsorRo+vIdTaPz5vkPE59/cwewBvFZZOSmpNZllqkb5fAlbHjTHDBd46Ku5+OMjYw HmXvYuTkkBAwkfj76CZrFyMXh5DAbkaJk3u72SASMhL/245BFQlLrPz3nB2iqJlJ4lf7TaYu Rg4ONgFdibPbc0DiIgKtjBLXV3YygTjMAitZJG5v7GEC6RYWyJBoPnuXGcRmEVCV+Ln3CztI M6+ArcTRyfwQC+QlVm84AFbCKWAn8WD5ehaQEiGgkva/WhMY+RYwMqxilEwtKM5Nzy02LDDM Sy3XK07MLS7NS9dLzs/dxAiONS3NHYzbV33QO8TIxMF4iFGCg1lJhJdbIztZiDclsbIqtSg/ vqg0J7X4EKM0B4uSOO+FrpPxQgLpiSWp2ampBalFMFkmDk6pBiYd2Sqt7hz+vfbrL/x27Zrw tqfL5t/VU9erzD0Fnp98kB7uf7xX4ch2p5sN4VOWcZSae8QmOf7arLD2TX7g9s0lxhU+l+Wi Hxrsybu8Z3GcRZNz/LeauHedqxUdQneUnldR2x326t3P2w9Dj+s5Hyl362daYhzJm5l46vKh pkl62+zu2y6fI/1ftPXivROBf7U+FXyYa9YRZPuNqVigNUVHafPppQsXzDBjvjK7cddSvRcH z2q0bV6zy8LF+/MjoQm7VW5Mr7i194dw5M6l4Z6NfE8uH5rgVHj0Sqrr9AUFSU9kbK1mV/ZG bikR07pvKb1E7UBHkqpqf/vP1Xoufez6NXKHlmyJ13cUy9IoOa7EUpyRaKjFXFScCAAtVpTc JAMAAA== X-CMS-MailID: 20221111031718epcas5p3df130145b4bb99424fd5aa4addf77ba5 X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221111031718epcas5p3df130145b4bb99424fd5aa4addf77ba5 References: <20221111032337.79219-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. 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";