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,URIBL_BLOCKED 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 02521C5B57D for ; Tue, 2 Jul 2019 23:06:04 +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 CAFA72199C for ; Tue, 2 Jul 2019 23:06:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="smUQgh5+"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=googlemail.com header.i=@googlemail.com header.b="YWDFyFRe" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CAFA72199C 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=M8eqmRK03r3e/4wCr1zvTrYgjhXQjlzqFuidhqm8DN0=; b=smUQgh5+c2OhBf DrZZl8o9qer3Ayq0hYyZ2eF+4zWjlydWulvadj3JeoaIXFD2wogOWUrJfHxm4+vtVYUJR9E3ddeBz YEB1+no+bcZVq0ctwjLqI+63ARWKZEWp5LQwQ8qZXxcGzOUjeukf7Q6bvDgGBcSNJlpdfcUv0rSJw dRv5j/PoJp7hWs/LutfyqZvz9TtM9X+vXFqCvFx3yX//C9SUix4y3xR5hREdewXcbIqfihqTEe+1F d6I/L4OsHJaZUeljWgzJeSjjIqeGJLmzA40eZymJaT78DzjtBjdoTEiSt6PlSRXIgK1eJhFOAuqmE nXdC/j44v6pp+PFGXX6Q==; 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 1hiRqY-0006CO-Qv; Tue, 02 Jul 2019 23:05:58 +0000 Received: from mail-oi1-x244.google.com ([2607:f8b0:4864:20::244]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hiRqJ-00061w-OY; Tue, 02 Jul 2019 23:05:44 +0000 Received: by mail-oi1-x244.google.com with SMTP id w196so410259oie.7; Tue, 02 Jul 2019 16:05:43 -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=WW5toOARIQ7duYOFcBhdjxTG2zu+PE3OJ8IsJFKcDaY=; b=YWDFyFReOw5A20APKlPQm/STRGBj1lG8LHOh65917g5mJ3CVlnwLCbF3t8dJye81lq oBJDlbCvbynivEGV4PL+f6H1f+PwDRR2RC/aizii/HSO9X3qXEQC6DPoDrUfkBwl7Fop KmwDaeMAHWqt98M95ZV8rrFrjSD+TKIEmZefdO31XSn3yR15GT7keP1JvWMCx22492B6 FYUCfHIAxRzKnEFDA3X37E4vpLk2rp4sNL3+/JIE41uTisDieiRtHKV3CGYtQrRlDNEc Y3WJl3IN0GHOQ2mesZlcHEbpaiy3jLjvP+baLuRY0ouxYEb0aUDLd/4e/1DBL/UVmzci swfQ== 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=WW5toOARIQ7duYOFcBhdjxTG2zu+PE3OJ8IsJFKcDaY=; b=fRQ+gpnkogLGJFisrCsEaC4DvjnxwNnuHDXnU5svDUL4y//Hw4EynPr1EzIo2aJ2R9 2Fc58W8BBhZ/TrGhrYVTJGooGh0wddnBPiLpY62LmWZURYtEBd2ABU5tA5En7GjQdznP Sr+W4+duAsb6fIubVPnAgp+9PM/Nh45rojg9TKnzbouHNfSz02Rsz1Z3PvsylACQy+gW 2FNHvNdP1DqKbBmNAH14IdHePXyPI3U4YZ5L5hgFNfnZBtfia2JWkclZg777trSuZx/9 AL6fq/VW2Jxuvjx+q8OoQI8WeR2R6vVjTA2ZRnC4FQLAHDBJho7OSk2TrahajV6ZBjYx UJUw== X-Gm-Message-State: APjAAAWMJGn0j1mDQLxLVYo8CkwQ0Gid4g2VceCs1s258cPV1Yk9/0Qg CP+2lSfBg8UTJ1K7Ijndypx/sB9B1JofihlGi2jZIEc8 X-Google-Smtp-Source: APXvYqxlJf85RIzJ3+TzKp9rzx1O65T6vzrzCJARARCucN2vc1cY/g5Vzo1gF94okc60g5IoCN8PVau32fspA3+GGy0= X-Received: by 2002:aca:5c55:: with SMTP id q82mr1435225oib.15.1562108742686; Tue, 02 Jul 2019 16:05:42 -0700 (PDT) MIME-Version: 1.0 References: <20190701091258.3870-1-narmstrong@baylibre.com> <20190701091258.3870-3-narmstrong@baylibre.com> In-Reply-To: <20190701091258.3870-3-narmstrong@baylibre.com> From: Martin Blumenstingl Date: Wed, 3 Jul 2019 01:05:31 +0200 Message-ID: Subject: Re: [RFC/RFT v3 02/14] clk: core: introduce clk_hw_set_parent() To: Neil Armstrong X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190702_160543_828499_D86E0863 X-CRM114-Status: UNSURE ( 7.17 ) X-CRM114-Notice: Please train this message. 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: khilman@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, jbrunet@baylibre.com 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 Mon, Jul 1, 2019 at 11:13 AM Neil Armstrong wrote: > > Introduce the clk_hw_set_parent() provider call to change parent of > a clock by using the clk_hw pointers. > > This eases the clock reparenting from clock rate notifiers and > implementing DVFS with simpler code avoiding the boilerplates > functions as __clk_lookup(clk_hw_get_name()) then clk_set_parent(). > > Signed-off-by: Neil Armstrong for the same reason this is handy for the meson8b clock driver as well, so: Acked-by: Martin Blumenstingl _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic