From patchwork Mon Nov 14 05:46:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aakarsh Jain X-Patchwork-Id: 13041885 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 5C60AC4332F for ; Mon, 14 Nov 2022 05:46:21 +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=Xw4wj8EC/zCliMD5rMzPTvI+NZIOcKSD8oBVr+kbZIM=; b=kCjjn1sRFg0tew HswwheRuQgYwLCNx0oQjGVMKVpbGpvNL/qp7pNYgCjF8ofid1SdYpMvVxMfG7McjX4gkkKecYOIA0 edlN+Oi0r8wyMuu5Fw2BSFjkb+TOBDSSNDtCL2T9ftdp9C41aGxZm3HchS/LKIoQ0VYj4iqcAxPwJ ia+GA152wf3LCuB7GHuK3dsuPiowZ6Gi0kumG8cfAF1TrxWmjTqg59UGBTX23vL1TDb8I7vLOz9Ep 4rbD9dW87by0cglEj2Br5HC3GvO0yXymxVOEj4kf8SmSFr2acpnGcYtmTIOzinGU/IHCHfgVHrjm5 c2guI4H0lqZtgO7IEFeA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ouSHF-00G6wR-V8; Mon, 14 Nov 2022 05:45:02 +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 1ouSH1-00G6nk-UP for linux-arm-kernel@lists.infradead.org; Mon, 14 Nov 2022 05:44:51 +0000 Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20221114054432epoutp01153bbb518e3ebca67bdcae7c94559a02~nXTXROvvx2305823058epoutp01G for ; Mon, 14 Nov 2022 05:44:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20221114054432epoutp01153bbb518e3ebca67bdcae7c94559a02~nXTXROvvx2305823058epoutp01G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1668404672; bh=TQP3DaRpHbzXzrsqLoW6MWHJLueLhqW4E9H+nL21wWM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sMfqL4DM9yosPFY7uGXxKPjN8niNyO+KQ8EAqqHgQiPLsoAYSPo6Eyn3zbcK1AyeH Ffc5QAQaLLB/ZOG3FAP4QNo9tvmbtFstrzn8YsrgcpYzXs1pV5kYOgrNHfuBiH/WRm bIikbk6sGao2hc2aK1aIk5zya66qukwGoAIEQn8I= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20221114054432epcas5p4411f90e102372e5c1aa6213a98db1ad5~nXTWtduQZ2382523825epcas5p4C; Mon, 14 Nov 2022 05:44:32 +0000 (GMT) Received: from epsmges5p3new.samsung.com (unknown [182.195.38.180]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4N9dY94ZRpz4x9Q2; Mon, 14 Nov 2022 05:44:29 +0000 (GMT) Received: from epcas5p4.samsung.com ( [182.195.41.42]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id 88.8D.56352.DB5D1736; Mon, 14 Nov 2022 14:44:29 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p3.samsung.com (KnoxPortal) with ESMTPA id 20221114054044epcas5p31658120e6d653d4f56177b70f5583b2a~nXQDKzf-r2669226692epcas5p3K; Mon, 14 Nov 2022 05:40:44 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20221114054044epsmtrp1cc9efd9319fe8348665d6e7a3ce78636~nXQDJZ7Rp1353813538epsmtrp1u; Mon, 14 Nov 2022 05:40:44 +0000 (GMT) X-AuditID: b6c32a4b-383ff7000001dc20-20-6371d5bd5052 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 98.A6.18644.CD4D1736; Mon, 14 Nov 2022 14:40:44 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20221114054040epsmtip279ae3364db1e9da4e4ab4351ba9927f9~nXP_-IsR32101621016epsmtip2b; Mon, 14 Nov 2022 05:40:40 +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 v4 1/3] media: dt-bindings: s5p-mfc: Add new compatible string for Exynos3250 SoC Date: Mon, 14 Nov 2022 11:16:53 +0530 Message-Id: <20221114054655.68090-2-aakarsh.jain@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221114054655.68090-1-aakarsh.jain@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WTe0xbdRTH/d17+2BSvCmv3wjDehNIIIG1W1t/KGWIYG7EJTiSbZlxWMsV kNJ2bVGn0wHK7MioNHMqXQdkMDC86Xh0PByPElYEFAclBjoRVF7RkOE2Hlu0paD/fc453+85 yTm/Hxfnz7BDuNkqPaNVyZUUex/RMRgZFd07dUYhnJ6i0O+2MhaaK+9go6qNRQz9UrVOoIGb 7RzUNnkVR7XDfSxUYR9noc7+eQK1LrmrE2UuAi1WNAG0bL7HRsalX3FkXXCy0N0uCxtdamln oUa7i4NuTE9gqMb6GEPX2//moKJeOwe5ejoA+uyCHUuAdEN5A6BtrmpAT1ffx+lbZheHrupZ xmhr3UU2PevsYdM3q8/TRUNbBG1sqwN0sX2aTa9bw+iRB+ucVN6pnLgsRp7BaAWMSqHOyFZl yqiUtPSX0yVSoShaFIuepwQqeS4jo5JeS41+JVvpXgEleE+uzHOnUuU6HXUwPk6rztMzgiy1 Ti+jGE2GUiPWxOjkubo8VWaMitG/IBIKD0ncwrdysgZmCjDNHPmBM99K5IOv/IqBDxeSYtj0 dQO7GOzj8sluAAv+qSO8wX0ALd39mDdYB7B+fpW9Z7ldZtwtdAG4dufhrqUIg4W3HXgx4HLZ ZDQc61R6DAFkAYALBr1Hg5MmAs4Yl3BPwZ9UwKnqyztdCTIcVreWcjxeHimD89Y3vcOehfUt fTtyHzIezl6dxz19IPmpD7S3zBAePSSTYL3hlFfvD1eG2zheDoHLX1zYZQVcuL6Me1kJm3u+ JLx8BPZNWnba4GQkbO466E0fgFdGmjAP46QfLNn+DfPmedBWvscR0DK7wfJyKBysvwG8TEPz Rt/ufkwAVo7+hZWCMPP/IyoBqAP7GY0uN5PRSTSHVcz7/x1Noc61gp1XH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YoTc4tL89L1kvNzNzGC401LawfjnlUf9A4xMnEwHmKU4GBWEuGdJ5OfLMSbklhZlVqU H19UmpNafIhRmoNFSZz3QtfJeCGB9MSS1OzU1ILUIpgsEwenVAMT18wJqd6uj7+2u3868WqK vljY7lk32dxuiNQ1F8ye539+dtzNiScX5/XLPN4aeFzt8NxyD9b3MrczXdfFeRdwPnonM690 /iVR77nbxZdryphwJ+xOD9/VJ1DxyHp9uEvEtC8Ze+QX/TBQOuVnnbuxRKdtw1PvqLnWMo37 nskZGtULXirve8upvvrR9Z8zebns3yycxzv928F6jv36wpJLjI3v5FS7rNj5ZUHsA6a4o538 Np2p1X22XxznX7jAkCeoPSm+xMf37bOH00uPf7FfuvuMdtlG25UC83VnJ1Q7GE3g49fYbCzk WnqC7U5olAlzWEmxelEZW+2PQzwJXCdf2yss+yfccvS5zJyYk/uUWIozEg21mIuKEwHChY53 JgMAAA== X-CMS-MailID: 20221114054044epcas5p31658120e6d653d4f56177b70f5583b2a X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221114054044epcas5p31658120e6d653d4f56177b70f5583b2a References: <20221114054655.68090-1-aakarsh.jain@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221113_214448_312535_6C96C5C2 X-CRM114-Status: GOOD ( 17.27 ) 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 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: Tommaso Merciai Suggested-by: Alim Akhtar Signed-off-by: Aakarsh Jain Reviewed-by: Krzysztof Kozlowski --- 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..9b13e8c9d040 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.