Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp319477pxb; Wed, 6 Oct 2021 05:47:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyLqZ6/HmjyZjqUQhKF2dCOqbPKh21MGpDG0CHIuKxLb7gGuZDNVVFr4zcRIOcd0vvNpiN X-Received: by 2002:a17:902:bd86:b0:13a:21a6:d989 with SMTP id q6-20020a170902bd8600b0013a21a6d989mr10605302pls.15.1633524469314; Wed, 06 Oct 2021 05:47:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633524469; cv=none; d=google.com; s=arc-20160816; b=sE/dlXIfoGqVdTPZQY5bJ0HLPwq+JcN2eJjr1ml2oCexadI+awyvtINNyqN7Ezmb9m Z1/hKv0TKl9NUXk3wJI00+mA+nbZOYzSCRRLtqfZHBN1tX0mbXouVwcITHaftT38P8Cy l3JXal/GMBijXQrtc8aiwd59UOniUjAhHNsecw3jdGIKcR2qrIwQ2Re+M3LigC5wnJ9q pwYyeHVbFHdhK4V6qDV5jpH65wUrYoAQy/9izYOCKLF8q3S53dG4JzwycCkjCTTd7YF1 JBGCB2h/XyKIjrAC0GhKHPGNRq/qqh0T47a9ZsjFLj4dJjeD+3G9WzLWmtEa9+KXpw6X jJrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=CFPfrwCOLmoOnhcB5cFkeSRW+ygeIs9z/XXXtSaFs3Q=; b=rGD+iiqKKc0kCErvkm8/2lUcXmotCTCaZ3AWtBwowGJB3IYmcDjOkvX84ITVaCkxf4 jgKEkxZ9RKx8ghXF0ZH974JMsYnrXP4gUqNlHGIEO4s+ZpKnZD2ejQj3GMunHRRC1x5X 45mQnc4YALBK6krxZ01OoUZbWwbwDDAcjH5XJW8+PQBNE7G5BznQvDJgeNPfnSnRmKkf J7WQgaf5VM4gqRofmuT0SmJrsxRWDruN7LSFTu0YM3lefPTxfIad0/9yyydnqbXs9sJQ LsrcKOI3on5/fWxw/AS5HOiAxtz4beV2ieKJ9Wd5RacrOVFsDBP9WEZXuySUL6+wSIOK qlDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=u6ZbrHRZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w124si9487306pfd.13.2021.10.06.05.47.33; Wed, 06 Oct 2021 05:47:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=u6ZbrHRZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238532AbhJFMse (ORCPT + 99 others); Wed, 6 Oct 2021 08:48:34 -0400 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:49590 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229894AbhJFMsd (ORCPT ); Wed, 6 Oct 2021 08:48:33 -0400 Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 64BCC3FFE1 for ; Wed, 6 Oct 2021 12:46:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1633524400; bh=CFPfrwCOLmoOnhcB5cFkeSRW+ygeIs9z/XXXtSaFs3Q=; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=u6ZbrHRZdBUbkO8f7SjbHORutJ3tOm+ChiBmhCRUGPq3PZf6FSqRxVxgxtV1Z8uJL gHhWQ0fJ6Tp1r2LOez9U0G1pSqCVNw8jrkswAHMi8KfmUykOSGChFZO+yabMg5xOgX hunSFdWZFgNc1t/f9HFJz2VD2kUNwmFULQUK9VWXjg4ikL7m7u3Wg/g/XU/vArJC0a ytizQthEIdjCpqXUQ9fKJxhmJBF51EoZvtIyZ71WMuLEIIaGRt2ZOla6+5ZH9ivjVQ BPxDwZCgV3I7h1DgyzVAnG8NNHLBLiaX/7pKl8KyPbZqWxZ6TrGaneWLiDU8YfSa1n rVjs8J/04dsYg== Received: by mail-lf1-f70.google.com with SMTP id bi16-20020a0565120e9000b003fd56ef5a94so819125lfb.3 for ; Wed, 06 Oct 2021 05:46:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=CFPfrwCOLmoOnhcB5cFkeSRW+ygeIs9z/XXXtSaFs3Q=; b=drq07i6ow2zxTsPF2xELHNt0U5nuZwOqr0AhpcHBfoHt9PYd2ZBiXcllWji3Egc9gz uUzwT8K71rKf0Yd0vL/fmlTnwzxYL4my6wQo+ykgsDDCDZa8WRi282pblwpa2sYt9TYE 5XC7/3WBrXUm8fwzhpmQlHwH7hlHhFOt/yLqqRT72juIHfyKFJ6mxdPu579hzXzVQU+n 87ZZWZBARqDBAS8ngFiW6AIRo2mWeccKSyjAy6C0abpraJxeoZJq5J2I4yVdTCZd6xwQ +bgenXGkH85CgrExmIiOpl6sPIfb0ZmVeOoa4Wn+Y5jjx9/unOC+D/ltSZOdL6TVa4+M /KDw== X-Gm-Message-State: AOAM5333sB4VUndZEAoN6LMBWNZAe1Y8fyEdiJBl5LI8n6snDqUn3wXQ RwPVJDKz3Q8y1Vp0hAtRccQ4//I7wk/gj9D2kjWpZsUz09wb3m40cSzf2uLtuh2YUPFiwCQJTt9 LL6LnRTKXLhkgxDdGSR6imqOyK5XhldP52QMA9X8TfQ== X-Received: by 2002:a2e:7f06:: with SMTP id a6mr28466854ljd.437.1633524399774; Wed, 06 Oct 2021 05:46:39 -0700 (PDT) X-Received: by 2002:a2e:7f06:: with SMTP id a6mr28466823ljd.437.1633524399584; Wed, 06 Oct 2021 05:46:39 -0700 (PDT) Received: from [192.168.0.20] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id g18sm2184560ljj.105.2021.10.06.05.46.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Oct 2021 05:46:39 -0700 (PDT) Subject: Re: [PATCH 6/6] clk: samsung: Introduce Exynos850 clock driver To: Sam Protsenko , Sylwester Nawrocki Cc: Ryu Euiyoul , Tom Gall , Sumit Semwal , John Stultz , Amit Pundir , devicetree , linux-arm Mailing List , linux-clk , Linux Kernel Mailing List , Linux Samsung SOC , Michael Turquette , Stephen Boyd , Rob Herring , Tomasz Figa , Chanwoo Choi , =?UTF-8?Q?Pawe=c5=82_Chmiel?= References: <20210914155607.14122-1-semen.protsenko@linaro.org> <20210914155607.14122-7-semen.protsenko@linaro.org> <1d884e38-ac8c-6f0c-ad27-243c5c4b9b9b@samsung.com> From: Krzysztof Kozlowski Message-ID: <98c7d970-d937-3441-20c1-7cec736a8a62@canonical.com> Date: Wed, 6 Oct 2021 14:46:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/10/2021 13:36, Sam Protsenko wrote: > On Wed, 15 Sept 2021 at 16:07, Sylwester Nawrocki > wrote: >> >> On 14.09.2021 17:56, Sam Protsenko wrote: >>> +static void __init exynos850_cmu_top_init(struct device_node *np) >>> +{ >>> + exynos850_init_clocks(np, top_clk_regs, ARRAY_SIZE(top_clk_regs)); >>> + samsung_cmu_register_one(np, &top_cmu_info); >>> +} >>> + >>> +CLK_OF_DECLARE(exynos850_cmu_top, "samsung,exynos850-cmu-top", >>> + exynos850_cmu_top_init); >> >> Was there anything preventing you from making it a platform driver instead? >> > > Can you please elaborate on benefits of adding platform driver? I > don't implement PM ops for now, and I can see that clk-exynos7.c does > not add platform driver as well... clk-exynos5433.c seems to use > platform_driver for PM ops only. I said it in response to patch 1, so just for the record: Exynos7 is not the example you are looking for. :) Exynos5433 is. Best regards, Krzysztof