From patchwork Mon Nov 14 11:50:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aakarsh Jain X-Patchwork-Id: 1703882 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=samsung.com header.i=@samsung.com header.a=rsa-sha256 header.s=mail20170921 header.b=OdbrKYcF; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4NBCCw32gdz23mY for ; Tue, 15 Nov 2022 15:01:32 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232321AbiKOEB2 (ORCPT ); Mon, 14 Nov 2022 23:01:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232153AbiKOEB1 (ORCPT ); Mon, 14 Nov 2022 23:01:27 -0500 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 348D815A38 for ; Mon, 14 Nov 2022 20:01:25 -0800 (PST) Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20221115040123epoutp01d24aec24ee3f2c5e1cc760ba71479c78~npilqt-LZ2075020750epoutp01C for ; Tue, 15 Nov 2022 04:01:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20221115040123epoutp01d24aec24ee3f2c5e1cc760ba71479c78~npilqt-LZ2075020750epoutp01C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1668484883; bh=tWpN8q79jODLr9sW+7iEmUZwTF0pBHwISByz13Zn6hk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OdbrKYcFxn/GsFNwaOC8PrtpPGAxITftRsbO2dYL/K1sruraYJxQIte+gMozsd9nM uQux5Kpw++YQOAXVddqRrUec4VLq1TOpgw8UkiGHayhI0OOYsuYlO59xC/PmR53VGE zTHSn+ehyEJy9bc0Mxx4dv7EQpkE9tOliODJlx2o= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20221115040122epcas5p215df7c16d7eeca8acb37b5876e06d01e~npikmUmWT1038710387epcas5p2W; Tue, 15 Nov 2022 04:01:22 +0000 (GMT) Received: from epsmges5p3new.samsung.com (unknown [182.195.38.178]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4NBCCh6wxNz4x9Q0; Tue, 15 Nov 2022 04:01:20 +0000 (GMT) Received: from epcas5p4.samsung.com ( [182.195.41.42]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id CF.ED.56352.01F03736; Tue, 15 Nov 2022 13:01:20 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20221114114406epcas5p20e15f3c3aafba2410eee8697159b1fd6~ncNTGOdhz1599215992epcas5p2k; Mon, 14 Nov 2022 11:44:06 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20221114114406epsmtrp1abc3407b6ef4fc4cd601cee8aea7f813~ncNTFCmKd0315803158epsmtrp1K; Mon, 14 Nov 2022 11:44:06 +0000 (GMT) X-AuditID: b6c32a4b-5f7fe7000001dc20-34-63730f108fb3 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 54.71.18644.50A22736; Mon, 14 Nov 2022 20:44:05 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20221114114402epsmtip2a4d15400ea10cabc98a83de0c74d1445~ncNP_2TW11105611056epsmtip2V; Mon, 14 Nov 2022 11:44:02 +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 1/3] media: dt-bindings: s5p-mfc: Add new compatible string for Exynos3250 SoC Date: Mon, 14 Nov 2022 17:20:22 +0530 Message-Id: <20221114115024.69591-2-aakarsh.jain@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221114115024.69591-1-aakarsh.jain@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WTe0xTVxzHc3pv24usei2MHRp15DpZLAItFHZQcCwj5DKQkCnZIzPQlJtC KG3T2+o2Q9QpbBCBsbgMEIHRwsJD5NXKy4xHGdGNgULKEilTmeF2yRizw8hDt5bi9t/n9zvf 3yPfcw6BiX8RSIg8rZExaJUaSrADt40dlIaTu1iVrOP56+hRXzUf3a+zCZD56RIP/Wp242i0 xypEvbNXMPTdxDAf1dt/5qMbIw9x1MV5Tu9UO3G0VN8BkKtmQYDKuQcY6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OzCXxPmbRiDYF9wvdfQcmFYh7Bs28ffVwSdEF rxU9uu4ajdM8HcU5v8qsP+xcuvzzW6ljp5vsijbksNtJfund8UWJpTgj0VCLuag4EQAnbORy JgMAAA== X-CMS-MailID: 20221114114406epcas5p20e15f3c3aafba2410eee8697159b1fd6 X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221114114406epcas5p20e15f3c3aafba2410eee8697159b1fd6 References: <20221114115024.69591-1-aakarsh.jain@samsung.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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: Krzysztof Kozlowski Reviewed-by: Tommaso Merciai Suggested-by: Alim Akhtar Signed-off-by: Aakarsh Jain --- 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..8eb90c043d5d 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.