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 6ADF0C61DA4 for ; Thu, 9 Mar 2023 07:34:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230181AbjCIHeT (ORCPT ); Thu, 9 Mar 2023 02:34:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230174AbjCIHdz (ORCPT ); Thu, 9 Mar 2023 02:33:55 -0500 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 769D0498AB for ; Wed, 8 Mar 2023 23:33:13 -0800 (PST) Received: from epcas5p2.samsung.com (unknown [182.195.41.40]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20230309073311epoutp04f4d5ea4bdf63a1c3f24df18196ffe982~Kr_Djh9zc1086510865epoutp04G for ; Thu, 9 Mar 2023 07:33:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20230309073311epoutp04f4d5ea4bdf63a1c3f24df18196ffe982~Kr_Djh9zc1086510865epoutp04G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1678347191; bh=CtX1yiOu3XJuX2wdFvQpBWpk8V9CFVnbZFtPd7hs3UI=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=aLWFdakzCrz+FBleJBbkM+lQVhEWW8grMNvg6FL1h/Y0OE2mcPQO9pXo/D1oTgYj7 bCLAYf1+2+XVNiC2Jh8om8whEUB/3QPuabXgoiyXPNIbDdSEY5AVwi0e2JB/sXj62T 9MYvERF3JrcOIeex1YAoDyRwDU5jK8GLFy/CEm5w= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20230309073310epcas5p3a8b1cedee1fe5ccabbea4db094c34d69~Kr_C6l90B2180721807epcas5p3X; Thu, 9 Mar 2023 07:33:10 +0000 (GMT) Received: from epsmges5p3new.samsung.com (unknown [182.195.38.177]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4PXLWT1d1qz4x9QF; Thu, 9 Mar 2023 07:33:09 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id 43.B8.06765.5BB89046; Thu, 9 Mar 2023 16:33:09 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPA id 20230309072232epcas5p4d2515cb78391464cfbb220e6ebb7d7e8~Kr0wHVZ5E0354903549epcas5p4K; Thu, 9 Mar 2023 07:22:32 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20230309072232epsmtrp19a4defce70625e908648e9d8ca9036ed~Kr0wFJj202691026910epsmtrp1g; Thu, 9 Mar 2023 07:22:32 +0000 (GMT) X-AuditID: b6c32a4b-46dfa70000011a6d-34-64098bb54476 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 8F.05.31821.73989046; Thu, 9 Mar 2023 16:22:32 +0900 (KST) Received: from FDSFTE308 (unknown [107.122.81.79]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20230309072228epsmtip26321a5768aaaf27db7e58ddcf427a105~Kr0tCN05L0207602076epsmtip2f; Thu, 9 Mar 2023 07:22:28 +0000 (GMT) From: "Aakarsh Jain" To: "'Krzysztof Kozlowski'" , , , , Cc: , , , , , , , , , , , , , , , , , In-Reply-To: <9b93849d-d4a4-67ba-e8a0-ee6c7209bd65@linaro.org> Subject: RE: [Patch v6] dt-bindings: media: s5p-mfc: convert bindings to json-schema Date: Thu, 9 Mar 2023 12:52:27 +0530 Message-ID: <000701d95257$e97ebd50$bc7c37f0$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQHxIgKtygHqPU4mHAhqu15r4A65nwLsA7LZAklDK9wB4osi/QJmoqxPrnZwD0A= Content-Language: en-in X-Brightmail-Tracker: H4sIAAAAAAAAA02TfUxTVxjGc+69vW1N6u4QwqHbWNctbOqAdpTusgAukZhr0FFHZsgWwY7e 0YbSdv1wSIZjQZABuknUjdIhA8QMQaVQYECjFIgDFjZEPtxAi+DKh0xT1iiIbC0XNv77vc95 nvPmfU8OB/UrYfM5Ko2R1mvkaiG+BWvu2v5GqK2IqxC1O9mks7wZJ6ueuBDybtUiRjoabWyy 6VYZSl68cZ1Fnu8eYJEtnfcwsmHGezpYOoGRrvOXATlrvoOTp2YmUdI+701Yp0ZY5FCbBSeL r9pYZH33BJu8MDqIkDXWFYSstP3NJvPs3WzyeH438m4gVVdeB6jWiWpAjVa7Ueon8wSbquqY RShr7Vc4NT7SgVON1V9QeT3LGHWqqRZQhd2jOLVoDab6PItsGe/D9GglLVfQegGtSdUqVJq0 GGF8YsrulEipSBwqjiLfFgo08gw6Rhi3Txa6R6X2Ti8UHJGrTV5JJjcYhOGx0XqtyUgLlFqD MUZI6xRqnUQXZpBnGEyatDANbXxHLBK9Fek1Hk5X3lkYwnVjMPPPvDI0B5QEFAIOBxIS6HEE FoItHD+iHcD7C8dZTOEGcLziMc4UiwDa5h3oRmLJGc/obQDa3cMIU7gAdA32YoWAy8GJcHi3 r3jtKn+iB0Bn0yTqK1DiBAZP38wBPheXiIV/NXoQH28jDsLJhgLcxxjxGqz4owT1MY+IgnO1 RSyGn4e9pdNrHVBiJ6z5YX7NAwkBXLpfs+bxJ96D89fqccYTCHuWitc9XVxY+lDJcBx82vOA zfA2OHejaZ35cPbr/H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JxklOg/0wLmMAvMZJG4OuEYE0TLAiaJ+y1LwOZyCthJvNv8FaxdWCBE4lfD VlYQm0VARWLB7UlgNbwClhKvVnWzQtiCEidnPmEBsZkFtCWe3nwKZy9b+BrqVgWJn0+XgdWL CPhJvN6/lg2iRlzi6M8e5gmMwrOQjJqFZNQsJKNmIWlZwMiyilEytaA4Nz232LDAKC+1XK84 Mbe4NC9dLzk/dxMjOIFoae1g3LPqg94hRiYOxkOMEhzMSiK836U4UoR4UxIrq1KL8uOLSnNS iw8xSnOwKInzXug6GS8kkJ5YkpqdmlqQWgSTZeLglGpg0pS+8/plZsZ+6+w/h+UK1v4/czZ5 jvP53/d0BLU31WXNPmNf/zqEacEVtVNmszza/XanHrTul6pVePhe0v7nLBuVLzz57lM8BCZe 4Vxqa/5TxLqpwkJ2+aUFJp5rnCyWSy5m+SVSlmJWfGfmtDz1qx0vw+wyewVstW9UzT26jVWR UWDGvQKt3PNnHhwODOA44dfbOXNV+5RM3u3vpt1m3/eqNOGCrbTntsbAjSxPz/T5ZGW26v81 6vrR37/wXeezu+sMIx42RWROKRfcsfn8vOeaST6bLr6Oz7rYMqnpR/Ay4+g5PpxCaSo2vw63 1nuKRwTtz2T6vUo/d6FeVFeZabfYuYPn/LX8Xj6UENqnxFKckWioxVxUnAgAvb7cBo8DAAA= X-CMS-MailID: 20230309072232epcas5p4d2515cb78391464cfbb220e6ebb7d7e8 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20230301035153epcas5p40f576188a9a69835c1050135219a3720 References: <20230301035144.8645-1-aakarsh.jain@samsung.com> <8b5bea40-6f7b-1d00-ac23-83a28c7dacbc@linaro.org> <046b01d94d1a$418146a0$c483d3e0$@samsung.com> <9b93849d-d4a4-67ba-e8a0-ee6c7209bd65@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Krzysztof Kozlowski =5Bmailto:krzysztof.kozlowski=40linaro.org=5D > Sent: 09 March 2023 12:15 > To: Aakarsh Jain ; linux-arm- > kernel=40lists.infradead.org; linux-media=40vger.kernel.org; linux- > kernel=40vger.kernel.org; devicetree=40vger.kernel.org > Cc: m.szyprowski=40samsung.com; andrzej.hajda=40intel.com; > mchehab=40kernel.org; hverkuil-cisco=40xs4all.nl; > ezequiel=40vanguardiasur.com.ar; jernej.skrabec=40gmail.com; > benjamin.gaignard=40collabora.com; krzysztof.kozlowski+dt=40linaro.org; > stanimir.varbanov=40linaro.org; dillon.minfei=40gmail.com; > david.plowman=40raspberrypi.com; mark.rutland=40arm.com; > robh+dt=40kernel.org; krzk+dt=40kernel.org; andi=40etezian.org; > alim.akhtar=40samsung.com; aswani.reddy=40samsung.com; > pankaj.dubey=40samsung.com > Subject: Re: =5BPatch v6=5D dt-bindings: media: s5p-mfc: convert bindings= to json- > schema >=20 > On 02/03/2023 16:18, Aakarsh Jain wrote: > >> > >> iommus: > >> maxItems: 1 > >> iommu-names: false > >> > > I am getting compilation errors with above property set and its breakin= g the > bindings. > > If we see these two nodes in dtsi files. > > mfc: codec=4013400000 =7B > > compatible =3D =22samsung,mfc-v5=22; .. > > iommus =3D <&sysmmu_mfc_l>, <&sysmmu_mfc_r>; > > iommu-names =3D =22left=22, =22right=22; =7D An= d > > mfc: codec=4013400000 =7B > > compatible =3D =22samsung,exynos3250-mfc=22, = =22samsung,mfc-v7=22; > > reg =3D <0x13400000 0x10000>; ... > > iommus =3D <&sysmmu_mfc>; > > =7D; > > There is no iommu-names property for compatible =22samsung,exynos3250- > mfc, samsung,mfc-v7=22, that=E2=80=99s=20why=20I=20kept=0D=0A>=20>=20=20= =20=20=20=20=20=20=20iommus:=0D=0A>=20>=20=20=20=20=20=20=20=20=20=20=20min= Items:=201=0D=0A>=20>=20=20=20=20=20=20=20=20=20=20=20maxItems:=202=0D=0A>= =20>=20I=20would=20even=20go=20with=20below=20if=20you=20agree?=0D=0A>=20>= =20=20=20=20=20=20=20=20=20iommus:=0D=0A>=20>=20=20=20=20=20=20=20=20=20=20= =20minItems:=201=0D=0A>=20>=20=20=20=20=20=20=20=20=20=20=20maxItems:=202= =0D=0A>=20>=20=20=20=20=20=20=20=20=20iommus-names:=20false=0D=0A>=20=0D=0A= >=20No,=20I=20don't=20agree.=20Why=20do=20you=20need=20two=20IOMMUs=20for= =20Exynos3250?=0D=0A>=20>=0D=0AHere=20IOMMUs=20minItems:1=20is=20meant=20fo= r=20Exynos3250=20while=20IOMMUs=20maxItems:2=20meant=20for=20samsung,mfc-v5= (Exynos=204).=0D=0AAs=20you=20suggested=20=0D=0Aiommus:=0D=0A=20=20maxItems= :=201=0D=0Aiommu-names:=20false=0D=0A=0D=0Awon't=20fit=20here.=0D=0ASince= =20IOMMUs=20maxItems=20is=202=20here=20for=20Exynos4.=20Giving=20maxItems:2= =20alone=20will=20also=20break=20the=20bindings.=20Thanks=20why=20suggested= =0D=0A=20=20=20=20=20=20=20=20=20iommus:=0D=0A=20=20=20=20=20=20=20=20=20= =20=20minItems:=201=0D=0A=20=20=20=20=20=20=20=20=20=20=20maxItems:=202=0D= =0A>=20=0D=0A>=20Best=20regards,=0D=0A>=20Krzysztof=0D=0A=0D=0A=0D=0A