Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4629211rwb; Tue, 8 Nov 2022 21:09:56 -0800 (PST) X-Google-Smtp-Source: AMsMyM74wyqrEUVCCmvEJAh4vMJ2g/H/iBcIrqe9qystLSO+i3qmMG9wG6y5o5fhltAam7Rx9HI6 X-Received: by 2002:a17:906:9bed:b0:7a6:a68b:9697 with SMTP id de45-20020a1709069bed00b007a6a68b9697mr54421033ejc.218.1667970596574; Tue, 08 Nov 2022 21:09:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667970596; cv=none; d=google.com; s=arc-20160816; b=KTMM8Vc/G5hXB2zBc8w/bEITlOy0igbGP1obNQ9+9kirb5T+WecD8aqB8N3YhgVcsm fec2VkAaA/fSQCtNwA/h1mV5SsnYcqvbQ5MYoGXLQSGkwlO6BKzsBF43iJfODn+o2zCI oXoukKx1n/3UX6w+m3fb6pnZsqthSkjoPoW1MjM2tLpjEVvOXRqRXJ1I9oLs8w1mrtNJ uOsOERouNGC4AJ2E+TEcwZ1DQW9+Re41NDyzP9Y0qAgW12JsXJk7TRPl0OM4L220H559 B15a5FG56EDyltihPP13U3SQuwGud5GSvUs+swKs78U5mKc+/WavIC9fT0tHZ4tXDPmj hljQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type:content-language :thread-index:content-transfer-encoding:mime-version:message-id:date :subject:in-reply-to:cc:to:from:dkim-signature:dkim-filter; bh=75q32kFTDh2aoj/8HQFaNz0fPSzCYF1eqAVoDbM2G84=; b=Dv54tCTEE2/J7rp6x0aRJLSH4tBWIUibs2kIvHkb1cWy1vnlcRDDbfPcmLlKtxUjXW JzGALBi7+X2RuTViFkZCC8FQIhz6fGXidysB44JA9bd2hce6Ezgcwq0BxuJkSxwLAVWD RO38aASQ3TMZJvJ6QU8J+TxCwmINREnySvX+XEX+dfadwZfoQ5clhCIhys6bfWnO/G5I 9LFBrpQcOewTKG06mEKGTZrgiZzEZ25GwFWg0a3I0QY8okNIyhJMCpreU+ngUghINX4t rWAaQ1mi7FYwNj3q1kpaYxi1WEk3ZysaOcDYtuaTsLXFthx0LsUfPvXsGBO/h+Et+t8Q oP0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=AVEG4PQn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hp40-20020a1709073e2800b007add6c865d8si13573512ejc.684.2022.11.08.21.08.46; Tue, 08 Nov 2022 21:09:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=AVEG4PQn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229934AbiKIEDM (ORCPT + 93 others); Tue, 8 Nov 2022 23:03:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230008AbiKIEDJ (ORCPT ); Tue, 8 Nov 2022 23:03:09 -0500 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 090301B1E3 for ; Tue, 8 Nov 2022 20:03:06 -0800 (PST) Received: from epcas5p2.samsung.com (unknown [182.195.41.40]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20221109040303epoutp04e9892150a4a378ad4a310f9152d8cba0~lzsVYVuN41521115211epoutp04e for ; Wed, 9 Nov 2022 04:03:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20221109040303epoutp04e9892150a4a378ad4a310f9152d8cba0~lzsVYVuN41521115211epoutp04e DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1667966584; bh=75q32kFTDh2aoj/8HQFaNz0fPSzCYF1eqAVoDbM2G84=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=AVEG4PQnT+CXcbXFbokINqX6THjzwCE7Wtb3BdLHohOMqq+8WcPgnwesie8kTVW1y ftyQxm+eBU0qh8ResqaLiy1geHu96x8mFoQvf+UeewyRkEXn0VLilUvaJe7fRI/kgj YdgqK+jz5CeHuY/UWpxP5aM6+1sIBdsFfyrgDKd8= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20221109040303epcas5p2f016ec83d9fd38c123b29249e20ef1bd~lzsUrlKfm1854418544epcas5p2t; Wed, 9 Nov 2022 04:03:03 +0000 (GMT) Received: from epsmges5p3new.samsung.com (unknown [182.195.38.177]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4N6WXN18bfz4x9Pp; Wed, 9 Nov 2022 04:03:00 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id 6A.9E.56352.2762B636; Wed, 9 Nov 2022 13:02:58 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p1.samsung.com (KnoxPortal) with ESMTPA id 20221109040230epcas5p16dc551db7e4bdfc5be2cd98f92495ce4~lzr2NDEHC0091200912epcas5p10; Wed, 9 Nov 2022 04:02:30 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20221109040230epsmtrp18b767ddd02fb2c2ccde9f85b34c29799~lzr2LG-Vw2044620446epsmtrp1u; Wed, 9 Nov 2022 04:02:30 +0000 (GMT) X-AuditID: b6c32a4b-5f7fe7000001dc20-ae-636b26729ccc Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id A1.E9.18644.6562B636; Wed, 9 Nov 2022 13:02:30 +0900 (KST) Received: from FDSFTE308 (unknown [107.122.81.79]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20221109040227epsmtip234d540bed7147343ec2d4e8107f589a3~lzrzAjXxq2646526465epsmtip2i; Wed, 9 Nov 2022 04:02:26 +0000 (GMT) From: "Aakarsh Jain" To: "'Krzysztof Kozlowski'" , "'Marek Szyprowski'" , , , , Cc: , , , , , , , , , , , , , , , , , In-Reply-To: Subject: RE: [PATCH 2/3] media: s5p-mfc:Add variant data for MFC v7 hardware for Exynos 3250 SOC Date: Wed, 9 Nov 2022 09:32:25 +0530 Message-ID: <000001d8f3f0$165e5090$431af1b0$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQIVsoyS1LfNYjvTRsU3iIkRJvur6ALOAibeAe9RDWYBPCmjzAG0npdKAqjgM0StacB8gA== Content-Language: en-in X-Brightmail-Tracker: H4sIAAAAAAAAA02TfUxbVRjGc3pvewtJ3V3B7dBNrTe4OJSPSmkvDtiMG96ICkqUuaisa68t UNqmLQoatxFlCQQZSzBulTG+p1BgK5/rKBmlOEAhMBrQuW4IQ9otQwYy+XBgaYvy3+99z/uc 5zzn5LARrgHjsdNUelqrkigJlj/a1rP3+VDtngxpxFKPmJwoa2ORVUszDPJO1QJKWptbMbLF /h1CXrx+jUlesA0xyfbuSZS87HSvjpxzoOTMhUZAugy3WWSR83eEtNx3K0xTY0xy1FzKIgsv tTLJBpsD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Z541fQ9v+kqtTSdrFESKq/Qz2YymBv9funiC4bL7d3rXrHPYfGWN /k31vytaLY+evNp5/Jjvtc7vH49cTTomEyJypXNtZ8Mf6/dCfxMzYoUfxxk96JGNjDZf8LpQ TWmCUHy+Tun8JTu3dyzfe9uj7MuD5D5zqe4pW392hf5TKLL/uF+JpTgj0VCLuag4EQBoGeFf kQMAAA== X-CMS-MailID: 20221109040230epcas5p16dc551db7e4bdfc5be2cd98f92495ce4 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: 20221102125813epcas5p40a38f17a267276ff8b2bc5861b5d450d References: <20221102130602.48969-1-aakarsh.jain@samsung.com> <20221102130602.48969-2-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=ham 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: linux-kernel@vger.kernel.org > -----Original Message----- > From: Krzysztof Kozlowski =5Bmailto:krzysztof.kozlowski=40linaro.org=5D > Sent: 03 November 2022 18:16 > To: Marek Szyprowski ; Aakarsh Jain > ; linux-arm-kernel=40lists.infradead.org; lin= ux- > media=40vger.kernel.org; linux-kernel=40vger.kernel.org; > devicetree=40vger.kernel.org > Cc: andrzej.hajda=40intel.com; mchehab=40kernel.org; hverkuil-cisco=40xs4= all.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; smitha.t=40samsung.com > Subject: Re: =5BPATCH 2/3=5D media: s5p-mfc:Add variant data for MFC v7 > hardware for Exynos 3250 SOC >=20 > On 03/11/2022 08:44, Marek Szyprowski wrote: > > On 03.11.2022 13:35, Krzysztof Kozlowski wrote: > >> On 02/11/2022 09:06, Aakarsh Jain wrote: > >>> commit =225441e9dafdfc6dc40fa=22 which adds mfc v7 support for > >> Please run scripts/checkpatch.pl and fix reported warnings. > >> As I didn't see any checkpatch warnings from the above commit message. Anyway I fixed all checkpatch warnings from drivers/media/platform/samsung/= s5p-mfc/s5p_mfc.c and posted 3 patches for the same. https://patchwork.kernel.org/project/linux-media/patch/20221109035348.69026= -1-aakarsh.jain=40samsung.com/ > >>> Exynos3250 and used the same compatible string as used by > >>> Exynos5240 but both the IPs are a bit different in terms of IP > >>> clock. > >>> Lets add variant driver data based on the new compatible string > >>> =22samsung,exynos3250-mfc=22 for Exynos3250 SoC. > >> Aren't you just missing the clock on Exynos3250? > > > > Nope, the Exynos3250 variant indeed has only one clock and the driver > > code simply ignored the -ENOENT error while getting the clocks, see > > the code in drivers/media/platform/samsung/s5p-mfc/s5p_mfc_pm.c, so it > > worked fine even without it. > > > > IMHO it is a good idea to clean this up. >=20 > OK, then please make the new compatible followed by old. >=20 > Best regards, > Krzysztof Thanks for the review.