Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp1492441rwi; Thu, 3 Nov 2022 06:03:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6PrzHrEXKNPeyiC8l0SjJSiEPUmYFu63vqbRfooFQARHp2D6YdftkqH6Vf59CLOwccgkfV X-Received: by 2002:a17:907:6d1b:b0:7a1:11a9:1334 with SMTP id sa27-20020a1709076d1b00b007a111a91334mr487107ejc.131.1667480602375; Thu, 03 Nov 2022 06:03:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667480602; cv=none; d=google.com; s=arc-20160816; b=0/lf9fU27+jbavtbOTZAPy1t5XaugFaE6BGoRegNGEYtZWCM4nXgsnbskMaxOOrrFv DsvceA7gg2U4gK08nR9HDKTolLU4pdyybvqjxH2UHFw0r/zArwxhZxBa9bRM+AfalkJi /QDqMulyXUmCgilKSZ/KJOZinsJE4JIb6lDt+McIruUqJI3JBXMZUBQkJmtKT5IsGrHJ 3qXUV2pXwe7UysjrNdNGbtYTMKzkyPVkRXEU6qz8d1W3lVPEe/CvlgKvFP1cm4CycCWG mu4QO1w0S0d/5ZrET4XmsVCbyhD1LcI6w3hecs+xC+jI4IhHr/O6k/vqGYOZbl3Atb7i IuEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:cms-type:content-transfer-encoding :in-reply-to:from:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature:dkim-filter; bh=B8EIxwkHWzNB8cLxt3UbHYSl/fF2qLDPOKhcKQWxZSg=; b=xopK7f8H27p9ViDiz4hNetN+S7tPh9LPxeo8Jr168fZkbqrkFnF2budOdUUwNQzGB/ km3jTe2QXw1KWjluodfe2rwKxv552JKa5uYTyLMXzRsDTpsho77pjB0+Vrtaq4uuu02G l+C0tmgbgkYmWsFfuQHtzaZRS1TjfTqcPNdzt7W/1m1JvdknHuYXZHst17Tr+BXyQ6qD jcxlEqabdFHallI1tY8xRs8/ZijzTpFoU/RbObYlsFelM96+yu2KpfxJCHBx5BTnCqye J/otl+bElkd755LzCAAJB/6kmFzP1YgUqocBPozwPImuujLiAhdu6dF8fAGznF0l1hvb Tbdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="vc4Nq/xA"; 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 mp26-20020a1709071b1a00b007acc6769292si1266234ejc.365.2022.11.03.06.02.50; Thu, 03 Nov 2022 06:03:22 -0700 (PDT) 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="vc4Nq/xA"; 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 S231288AbiKCMoR (ORCPT + 97 others); Thu, 3 Nov 2022 08:44:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230094AbiKCMoP (ORCPT ); Thu, 3 Nov 2022 08:44:15 -0400 Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2C8310544 for ; Thu, 3 Nov 2022 05:44:11 -0700 (PDT) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20221103124407euoutp0266d0ad2b9aa6f85b3b5f21fe2e934ae2~kE7j6cURV0671906719euoutp02H for ; Thu, 3 Nov 2022 12:44:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20221103124407euoutp0266d0ad2b9aa6f85b3b5f21fe2e934ae2~kE7j6cURV0671906719euoutp02H DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1667479447; bh=B8EIxwkHWzNB8cLxt3UbHYSl/fF2qLDPOKhcKQWxZSg=; h=Date:Subject:To:Cc:From:In-Reply-To:References:From; b=vc4Nq/xAH4WSpwAnmwBKvQbVpyJsCjQELDvgNd+uc/euI1TzPFmJAEs6JgMI3Hi/K ggetFC4vyCM1Q/lsD5e7XW52HO0DGT3PapX2HeANx8QB+IyOy0aDnSELSnRgJYAbJO Y5FcgsZzFtp7riiQObMkyEWHAs94+mXVEygEwbV4= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20221103124406eucas1p1d076d20e0b1b94706c9baf30aa51cfad~kE7jZX9Rf2728927289eucas1p1Y; Thu, 3 Nov 2022 12:44:06 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 35.2C.07817.697B3636; Thu, 3 Nov 2022 12:44:06 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20221103124406eucas1p23727d05069d1c388d2a59bc5d865d3f4~kE7i7sM9v1951319513eucas1p2s; Thu, 3 Nov 2022 12:44:06 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20221103124406eusmtrp2538cb3ad859c157d8add95ce11e7a2c2~kE7i6lQ6m0302803028eusmtrp2f; Thu, 3 Nov 2022 12:44:06 +0000 (GMT) X-AuditID: cbfec7f4-8abff70000011e89-7c-6363b796e314 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id CA.7F.10862.697B3636; Thu, 3 Nov 2022 12:44:06 +0000 (GMT) Received: from [106.210.134.192] (unknown [106.210.134.192]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20221103124404eusmtip1182775ac9b999fe766f39bcd3c2f271c~kE7hxl4ra0287302873eusmtip11; Thu, 3 Nov 2022 12:44:04 +0000 (GMT) Message-ID: Date: Thu, 3 Nov 2022 13:44:04 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH 2/3] media: s5p-mfc:Add variant data for MFC v7 hardware for Exynos 3250 SOC Content-Language: en-US To: Krzysztof Kozlowski , Aakarsh Jain , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: 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 From: Marek Szyprowski In-Reply-To: Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA01Sf1CTZRzned93716mw5cJ8Sie6FTu4goELJ+rjrMifP3xB93lcdl1Nccb cDGkTYi8E5Fy4iKY1JhbxPgNTmQ2YIAB5iIHzAzNmCdMUukGepwNsGguaduLxX+fz+f7/Tyf z/PcQ+Gib8i1VFbOIV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NEalnMGzZOdwoWrblzbeX73Xy7m5edqDm1QX/4/ afXPS1wCFZWNnGW8lzZVfS7nkH7Ur+HyZS/PNLnFlw9Pyg0/utfE7nncnaiwyuvvis5Lz7CU 5qreEm6wNapgW+ipnQrSWRpcTh8vTT0crjB39ofHHzn/bz9nGDDl55drvhM9Jt40710wU8jp 0bVC8x8fYlv1p63cyat6jW3Hna3LzTclubeLTr41J/NY+ME5Oh6pSizFGYmGWsxFxYkAMVUw 7cADAAA= X-CMS-MailID: 20221103124406eucas1p23727d05069d1c388d2a59bc5d865d3f4 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20221102125813epcas5p40a38f17a267276ff8b2bc5861b5d450d X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20221102125813epcas5p40a38f17a267276ff8b2bc5861b5d450d References: <20221102130602.48969-1-aakarsh.jain@samsung.com> <20221102130602.48969-2-aakarsh.jain@samsung.com> X-Spam-Status: No, score=-8.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,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 On 03.11.2022 13:35, Krzysztof Kozlowski wrote: > On 02/11/2022 09:06, Aakarsh Jain wrote: >> commit "5441e9dafdfc6dc40fa" which adds mfc v7 support for > Please run scripts/checkpatch.pl and fix reported warnings. > >> 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 >> "samsung,exynos3250-mfc" 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. Best regards -- Marek Szyprowski, PhD Samsung R&D Institute Poland