From patchwork Mon Nov 14 05:46:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aakarsh Jain X-Patchwork-Id: 13041880 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 06001C43217 for ; Mon, 14 Nov 2022 05:44:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235642AbiKNFoi (ORCPT ); Mon, 14 Nov 2022 00:44:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230441AbiKNFog (ORCPT ); Mon, 14 Nov 2022 00:44:36 -0500 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5314B167EB for ; Sun, 13 Nov 2022 21:44:34 -0800 (PST) Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20221114054431epoutp040216aea5ac2cd6b167a1229ad35283e3~nXTWkvI7_1821018210epoutp04H for ; Mon, 14 Nov 2022 05:44:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20221114054431epoutp040216aea5ac2cd6b167a1229ad35283e3~nXTWkvI7_1821018210epoutp04H DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1668404671; bh=lAxATCQAulvIqfJHs/O2bkzkAPOq2wlzgtGdQecwgzM=; h=From:To:Cc:Subject:Date:References:From; b=WThHOmSjjOspdK8+aCvEyaZUvkL/OesWh/b9/4x62rKsZDpHOCR54FYBrCgFKjdgw K0xCkkMT0WgvjmpOFE6Q44B6thF1xWrUYFy6aDuCfTAn+BJtBPvWEA8jsVZ/yk22RS DK5+szeeSQIT1M0HrSuUVl8PRDAfd6Z/JYCpGVHs= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20221114054430epcas5p4f3ec88c44c29a94f8b04e8a920cc2ce6~nXTVnROHP2353323533epcas5p42; Mon, 14 Nov 2022 05:44:30 +0000 (GMT) Received: from epsmges5p2new.samsung.com (unknown [182.195.38.176]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4N9dY75bFqz4x9Ps; Mon, 14 Nov 2022 05:44:27 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 3B.00.39477.6B5D1736; Mon, 14 Nov 2022 14:44:22 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20221114054040epcas5p2fe1bca3fbef7f4addb5906a03f397e4e~nXP_31OsK2399723997epcas5p2J; Mon, 14 Nov 2022 05:40:40 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20221114054040epsmtrp1c6e5ff3f4119c7e18d7942c6dc6972a8~nXP_2SjRM1353813538epsmtrp1o; Mon, 14 Nov 2022 05:40:40 +0000 (GMT) X-AuditID: b6c32a4a-007ff70000019a35-bf-6371d5b6a148 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 7A.CA.14392.8D4D1736; Mon, 14 Nov 2022 14:40:40 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20221114054036epsmtip21034c2d63e5f20684a979dc6784b84f4~nXP7Zsn6V2101621016epsmtip2Z; Mon, 14 Nov 2022 05:40:36 +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 0/3] Add new compatible for Exynos3250 Date: Mon, 14 Nov 2022 11:16:52 +0530 Message-Id: <20221114054655.68090-1-aakarsh.jain@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA0WTfUxTVxjGPff2C7KaKx/xQFCwkU2IQOtaOBBwRlGu25KxYPbHNuxquSuE 0nb9wG2uAsYyYQq4uanA6GL5ElSwQAUtBLGsGQEZ0YGZLdgVU7pkQ4ExYLit5cL23+887/Pk ffOeczh40AgrnJOn0FJqhUTOYwUyLPdiYuIsP30k5RurUtHT7stM9KTOwkKmJQ+GpkzzDDTQ 0cVGnQ9rcNRk72cio+0+E926+wsD3ZzxVccuOxnIY7wBkLd6koUqZlw4MrvHmejB7VoWOtve xUTXbU42apgYw1CjeRVDV7oW2MjQa2Mjp9UC0OlSG7YPktfqrgGy21kPyIn6OZzsqXaySZPV i5HmljIW6Ri3ssiO+iLSMLjCICs6WwBZbptgkfPm7eTQH/PsTO67+am5lCSHUkdRCqkyJ08h S+O9kSU+IBYl8gVxgmSUxItSSAqoNF76m5lxh/LkvhXwogolcp1PypRoNLyEvalqpU5LReUq Ndo0HqXKkauEqniNpECjU8jiFZQ2RcDn7xH5jB/k59753o6pRrkf93V1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2ide8Rdou7 e7YxWrS0HWFykPBYM28No8eOu0sYPa4v+cTssXPWXXaPxXteMnlsWtXJ5nHn2h42j81L6j1a j/5i8ejbsorRo+vIdTaPz5vkPE59/cwewBvFZZOSmpNZllqkb5fAlbH72HGmgvO8Ffu27mBs YLzH1cXIySEhYCLx7fEM9i5GLg4hgd2MEtuWXGOESMhI/G87xg5hC0us/PccqqiZSaJ9aj+Q w8HBJqArcXZ7DkhcRKCVUeL6yk4mEIdZYCWLxO2NPUwg3cIClhJz3veB2SwCqhJbZs9nBrF5 BWwl7r//A7VBXmL1hgPMExh5FjAyrGKUTC0ozk3PLTYsMMxLLdcrTswtLs1L10vOz93ECI4g Lc0djNtXfdA7xMjEwXiIUYKDWUmEd55MfrIQb0piZVVqUX58UWlOavEhRmkOFiVx3gtdJ+OF BNITS1KzU1MLUotgskwcnFINTEfWrrtbxe8wK0HS+9Rn9/DSf1pXks5wp3U4uKQkb+RfyPNM /cq71291OW+y1HZ36NRMfW9zS8VOSV2jQEn7ZItQybmsJRr/BVsnrwp78MXt6YfzjF/Ofphu LbQzZOb0Zt1E/vqlSnIXtXR3aP1dHdI2Z3GT3XXrbwbeW6o6r2xsT6wx1goxDi14ZsAQ8z+6 5lWE+x8FeaGMg/fUnl11d2GarizanePAZ5lhL9fCeM3lHuvKrcoL9meuafq419+NW/Oh0O13 fzgZ5qqV/px0Ys6iqo64fdrqqnMYz6yqffsofZ+gvMOdVd8/fGLK+NDI8j1kIdfUWeGSL4NZ juVNzSrWK+hd8+HJuZ4iL2sxJZbijERDLeai4kQA2dDXag8DAAA= X-CMS-MailID: 20221114054040epcas5p2fe1bca3fbef7f4addb5906a03f397e4e X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221114054040epcas5p2fe1bca3fbef7f4addb5906a03f397e4e 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 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(-)