From patchwork Mon Nov 14 11:50:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aakarsh Jain X-Patchwork-Id: 13043223 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 BA0B0C43217 for ; Tue, 15 Nov 2022 04:01:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232297AbiKOEB1 (ORCPT ); Mon, 14 Nov 2022 23:01:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232038AbiKOEBY (ORCPT ); Mon, 14 Nov 2022 23:01:24 -0500 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FDA115A23 for ; Mon, 14 Nov 2022 20:01:19 -0800 (PST) Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20221115040115epoutp0390f9ba168ff6f2524549c6a2fa338cc1~npieDhqdJ3104431044epoutp03t for ; Tue, 15 Nov 2022 04:01:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20221115040115epoutp0390f9ba168ff6f2524549c6a2fa338cc1~npieDhqdJ3104431044epoutp03t DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1668484875; bh=d8Xl6EjuL+PS10RNXALSyi8Let8EDmXKT2SZQyPLmDA=; h=From:To:Cc:Subject:Date:References:From; b=OoeuTyiuAv9Bgzt2AePPLDJM6URkaXh0Z++uBWvDqtbgC46ZgBAdCm2ovSS0uXkhs XREz5VGYSpwGXYxpNKlWaA4XUkOBTFhZgQksDCyUxDRxseFMTSOpcOhVJnR23xxUhv V1qTves+g1E4khcF0efWvrk7jH5eKAycj9Zj3AUs= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20221115040114epcas5p24cc22620272232357f8d6202602e8d09~npiddgC1O1038710387epcas5p21; Tue, 15 Nov 2022 04:01:14 +0000 (GMT) Received: from epsmges5p3new.samsung.com (unknown [182.195.38.178]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4NBCCY1gX6z4x9Pt; Tue, 15 Nov 2022 04:01:13 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id 92.ED.56352.90F03736; Tue, 15 Nov 2022 13:01:13 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p3.samsung.com (KnoxPortal) with ESMTPA id 20221114114402epcas5p31aade118059c242bd77835da5470afdb~ncNP_sYL72215322153epcas5p38; Mon, 14 Nov 2022 11:44:02 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20221114114402epsmtrp1402c33dc60c117c3ec601360f4b52379~ncNP9Zmkc0315803158epsmtrp1I; Mon, 14 Nov 2022 11:44:02 +0000 (GMT) X-AuditID: b6c32a4b-5f7fe7000001dc20-10-63730f09ab4a Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 61.E4.14392.20A22736; Mon, 14 Nov 2022 20:44:02 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20221114114359epsmtip24f545f59093f0b032ad0b234b7628ba3~ncNM1cUKo1393413934epsmtip2E; Mon, 14 Nov 2022 11:43: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 v5 0/3] Add new compatible for Exynos3250 Date: Mon, 14 Nov 2022 17:20:21 +0530 Message-Id: <20221114115024.69591-1-aakarsh.jain@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA0VTfVSTVRzuvu8+XvBM31CPN5KkFRoEuMmYdyXaUfK8YhEn//AcqkNzvAxi X+4dYRwLOIXmlCmpmciXfGgBogwGS7ADYwYRSiQNAlHkayw5oQw4BpFtDOq/5/c8v9/9Pee5 9xK4TyfHl0hS6WitSqrgc7xZdS2BgSFeqxiZIEdPoFHzeTYaLKjjoJIndgzdL3GykKXGxEW1 3RdwdLm1iY0KrbfZqL55iIWqx11q1/kBFrIXVgHkyL3HQYbxBzgyDtvY6M71PA46cc3ERles A1xU1tOFoUvGvzFUbJrmoqwbVi4aaKwD6IsjVuwNSFUWVALKPFAKqJ7SKZz6PneAS5U0OjDK WH6MQ921NXKomtJ0KuvmHIsy1JYDSm/t4VBO4wtU+4yTG8OLTd6WSEvjaa0/rZKp45NU8gj+ 3n1xu+LCxQJhiFCCtvL9VVIlHcGPfCsmZHeSwhUB3/9jqSLFRcVIGYa/efs2rTpFR/snqhld BJ/WxCs0Ik0oI1UyKSp5qIrWvSYUCLaEuxo/TE402CeB5qtVh5onirkZYH6FHngR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i1tR5gcJDzWzFvD6LHj7hJGj+tLPjF77Jx1l91j8Z6XTB6bVnWyedy5tofNY/OSeo/W o79YPPq2rGL06Dpync3j8yY5j1NfP7MH8EZx2aSk5mSWpRbp2yVwZfQ9f89YMIm/4uCbRewN jL+5uxg5OSQETCR+951l62Lk4hAS2M0ocW/TB2aIhIzE/7Zj7BC2sMTKf8/ZIYqamSQ2n+5n 7WLk4GAT0JU4uz0HJC4i0MoocX1lJxOIwyywkkXi9sYeJpBuYQFLibkXvrGC2CwCqhLHDv9j A7F5BWwlGlqfQ22Tl1i94QDzBEaeBYwMqxglUwuKc9Nziw0LDPNSy/WKE3OLS/PS9ZLzczcx giNIS3MH4/ZVH/QOMTJxMB5ilOBgVhLhnSeTnyzEm5JYWZValB9fVJqTWnyIUZqDRUmc90LX yXghgfTEktTs1NSC1CKYLBMHp1QDk77vgv2aHyZ/kjtwz2brW8Zo5ii9Pt+iWxNOTpoRMcvD gZ013/vYDmPF3OCCcg+u5VoZzL0bN4feXLon+IT5sq1XIy4X5p9dkVz0PZDNcL65x/ZfV7V5 Fq78c0bbNSX4oa98u7Xxn5D5p/zThRUaz59/fXN54atNHJrHvzSq3SneYdHB8mmpreIhb3vx DQcOn9Oos/SumHKQ8cDvrapBsVt9rv6/qvP94SHr6aerHV9Nldm35FFA8Jd32xR3RNfclCwK fbhqtns4++uyzIl7RAOYBFb0yUbvnTv7yped+579Wf2j0Lhww7OtajpRMyb9VeaNWPFD6vb8 vYq3PU48z507jS9Bq76P0+PZrXMSE9cosRRnJBpqMRcVJwIA9YUXxA8DAAA= X-CMS-MailID: 20221114114402epcas5p31aade118059c242bd77835da5470afdb X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221114114402epcas5p31aade118059c242bd77835da5470afdb References: Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Since MFC v7 support was added for 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 a new compatible to differentiate the two SoC's MFC IP, at the same time to keep git bisect happy, add a fallback to mfc-v7 for Exynos3250. Changes since v4: - Addressed review comments from Krzysztof Kozlowski. - Fixed syntax in commit body,dropped quotes and corrected proper commit title as per submitting-patches.rst. Changes since v3: - Addressed review comments from Krzysztof Kozlowski. - Added new compatible string for Exynos3250 followed by mfc-v7 fallback. Changes since v2: - Addressed review comments from Krzysztof Kozlowski. - Changed subject prefixes matching the subsystem. Changes since v1: - Addressed review comments from Marek Szyprowski. - Changed subject prefix from arm64 to arm. - Addressed review comments from Krzysztof Kozlowski. - Changed subject prefixes matching the subsystem. - Added new compatible string for Exynos3250 followed by mfc-v7 fallback. - Removed checkpatch warnings from s5p_mfc.c.Sent separate patch series for the same. - Addressed review comments from Tommaso Merciai. - Change in commit message body from used to use in Patch-2. Aakarsh Jain (3): media: dt-bindings: s5p-mfc: Add new compatible string for Exynos3250 SoC media: s5p-mfc: Add variant data for MFC v7 hardware for Exynos 3250 SoC ARM: dts: exynos: Add new SoC specific compatible string for Exynos3250 SoC .../devicetree/bindings/media/s5p-mfc.txt | 10 ++++++---- arch/arm/boot/dts/exynos3250.dtsi | 2 +- .../media/platform/samsung/s5p-mfc/s5p_mfc.c | 17 +++++++++++++++-- 3 files changed, 22 insertions(+), 7 deletions(-)