From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2BF93C0650E for ; Wed, 3 Jul 2019 13:01:52 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EA1A6218A3 for ; Wed, 3 Jul 2019 13:01:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="QqwW4Wqx"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=googlemail.com header.i=@googlemail.com header.b="YKHtBzDU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EA1A6218A3 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=googlemail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=tZ5aVPQkcm9p6WgAMYHM1BsjqhEtc4VSfec1eEouqmE=; b=QqwW4WqxIu9wPh 3973DopebJTNvV22gbxTfu2IDBGKhwTSbNafNQ7bQi2N07HQwvcotA2dRZd4oxC6MYrdbG3XutZH+ 0vgd8vVyeueKkp7uHIKwpmIZIPqw+8fonTz+dX9WudObgoslk+D85Y5VQoGMk4LdtgbudmxGR7Eii EzC34S7shthxuahM6X8QaAwcAsbxwSYVILdqdDoqYDRNptjOLQ4YsLciTe+xgAm/dSL8n0Pip4dRd CMgR9PgwdZEvAuIBypEkj6deLmVvSm4qpppneEz9d8VhiJArQYXt4Vwdl6kYxt4vvRqlP1BUhHT4E 4GKidsshiGHBi3YvqTGA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hietN-000791-8c; Wed, 03 Jul 2019 13:01:45 +0000 Received: from mail-ot1-x344.google.com ([2607:f8b0:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hiepF-0003jt-AA; Wed, 03 Jul 2019 12:57:32 +0000 Received: by mail-ot1-x344.google.com with SMTP id l15so2207964otn.9; Wed, 03 Jul 2019 05:57:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+Almj/mPu2GGnzdAauKcQzrTaJcvUxIHQhCGQ8lryKk=; b=YKHtBzDUjhxaZ28aPgECznKWhEmMjsPYoA0rjIqlStH4xfxBMJSjkrVCLzE29wBoUh /3YCQocdYjHDiFtyb0w0cxPatipE8ciQqO1uaVhuS4DJzbDM5O587UYoL0MLqkZgymGe PRzf5+n0/5bVCBmQtEe2aaDVCej3UAoKuuar8f3MebbwiyOdjUwJFHWiE/B9hWPfY7B7 DTC7cbppK7jJTCYbCERDMBHTvJfgoV7/wHcTn8LP44lhNbwd4+kOgG2E+omW5B3hh0ic e/tGwhZYLB0qP9Z7ZROtzzv8SXriY+sbCoBiObrpeBU0bJXIB4dbA2IJk+rfSFwgNH8x wrlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+Almj/mPu2GGnzdAauKcQzrTaJcvUxIHQhCGQ8lryKk=; b=XjWSBEJ+HFMAO8l9z093n1S7j57Q4KzSk9Kj8rcjtnexpuks+jhq/10KKEBseRFGnF eKCsjxEJacKlpvHkGQ7C2FOCIzNmiWUVwdC0GxLT8cCEV6yvS2Jv3eIiHefhbakSEvBO kLMuqQsrHBSAKQvD93M3RfL511dlOhY+ngCFEbgADDMNg5JrOH3KRQ23fi7CTiF+bdVZ VkIFLTr03VuPmxGiC0LVBuZ0TvmEjAhOrnWNNiok/RzJkm97NresMn6+LX5HniH3mwXc a2ZVyqzM/44H5c5JUh8GXD7ltOcR7YTKIsW1ufwuuIwKvE75TraHP6BMOdyJOgLHWiAi LuDQ== X-Gm-Message-State: APjAAAUafCkHRCHANek3xHHZmNl23z3fqf6KEaXEFR8MU1KuvCW9C1tM cBApdpoPSxpJN7tQQJppePmh1dNEsIKujUyOncI= X-Google-Smtp-Source: APXvYqwx8FO+d2S1YP0ZeOa6b/jwOvDRoFFG8LiT5wh9lheOLPk0uLlsHBYrkyTFF84DqkcEiFFiIuupCEIeurWzIqw= X-Received: by 2002:a9d:226c:: with SMTP id o99mr27944279ota.42.1562158647652; Wed, 03 Jul 2019 05:57:27 -0700 (PDT) MIME-Version: 1.0 References: <20190701091258.3870-1-narmstrong@baylibre.com> <20190701091258.3870-5-narmstrong@baylibre.com> <301695b6-52ba-92b1-ca1a-d4d587b33eeb@baylibre.com> <1jo92b70ko.fsf@starbuckisacylon.baylibre.com> In-Reply-To: <1jo92b70ko.fsf@starbuckisacylon.baylibre.com> From: Martin Blumenstingl Date: Wed, 3 Jul 2019 14:57:16 +0200 Message-ID: Subject: Re: [RFC/RFT v3 04/14] clk: meson: eeclk: add setup callback To: Jerome Brunet X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190703_055731_074325_C62A985A X-CRM114-Status: GOOD ( 15.80 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Neil Armstrong , khilman@baylibre.com, amergnat@baylibre.com, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org On Wed, Jul 3, 2019 at 2:40 PM Jerome Brunet wrote: > > On Wed 03 Jul 2019 at 13:45, Neil Armstrong wrote: > > > On 03/07/2019 01:16, Martin Blumenstingl wrote: > >> +Cc Alexandre Mergnat > >> > >> On Mon, Jul 1, 2019 at 11:13 AM Neil Armstrong wrote: > >>> > >>> Add a setup() callback in the eeclk structure, to call an optional > >>> call() function at end of eeclk probe to setup clocks. > >>> > >>> It's used for the G12A clock controller to setup the CPU clock notifiers. > >>> > >>> Signed-off-by: Neil Armstrong > >> this will probably work fine, but I want do double check first > >> > >> are we planning to get rid of meson-eeclk (mid-term)? > > > > AFAIK no, but maybe I'm not aware of it ! > > > > Neil > > > >> Alex has some patches to get rid of all these IN_PREFIX logic. > > The prefix logic will go away with Alex's rework, so are the input clock > But meson-eeclk, which is just a common probe function do avoid > repeating the same things over and over, will stay OK, thank you for clarifying this > >> I'm asking because if we want to get rid of meson-eeclk it may be the > > May I ask why ? I only remember that Stephen asked us to get rid of something in our clock code I was under the impression that it was meson-eeclk, but I cannot find it anymore (that means I'm mixing it up with some other topic) _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic