From patchwork Thu Sep 27 14:45:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10618105 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8F8AE14BD for ; Thu, 27 Sep 2018 14:45:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 77E8428C10 for ; Thu, 27 Sep 2018 14:45:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6C45F2A4C1; Thu, 27 Sep 2018 14:45:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AB01828C10 for ; Thu, 27 Sep 2018 14:45:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727334AbeI0VDm (ORCPT ); Thu, 27 Sep 2018 17:03:42 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:34916 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727307AbeI0VDl (ORCPT ); Thu, 27 Sep 2018 17:03:41 -0400 Received: by mail-wr1-f66.google.com with SMTP id o16so2950922wrx.2 for ; Thu, 27 Sep 2018 07:45:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:mime-version :content-transfer-encoding; bh=yFrvAVplhmN2YFC9txo34qKmvTq4Ooz+md+iX7txy9Y=; b=WmwuxokEAk/bwJXFhUdiiE29gwrn3Ts/q5wx3kRAH4/4FThSdQQuc+Xi2w93bdcjmr hLaxSkVN3Hx4upS941RdHUbCrgF1lbLXWmIA1uuPp6cZVNuQqyy6irLd6l14aNK0czdK V0t+AjyW5JxqH28FqjpAlAKm4QgOYF4WhSCWyIDeRH3FHuOYrnsu4PBfhOv/2RrHaJz1 xgAp6TehIJ0tbJrJiQGF9v5NhAdLSEewBqtm913nXXV1iixsmQprdNspqSkojpCBz8pS Uesyr9t4maXSutyA1nlPi+iD5A88dK7LFkjm/MLpHHnAnovOailfaq9xnTb6FU0MtoUN bXIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:mime-version :content-transfer-encoding; bh=yFrvAVplhmN2YFC9txo34qKmvTq4Ooz+md+iX7txy9Y=; b=dNC7OBRyGnHxl4tDJetBCJAP3OOr26xI2wezFjOWZ8rw7NGku95aDDB0m9JkQNReSe 1z325FqNjiDUVj50u7eb5N+TGVj+5L9DY7jXiKGznHeaNJvJ1F+DqUoBLUwQ7VI1dkTy bgV/wrboKAeBbFAaHkJSVe+h3K5FFT0g7m9D2+oCRS2W9+LrEyGOu3Y9A6gSnSpgYmbh kJfDy5mL5mPw2f+uS8YHfTdKFx2W+xiKBWlb9+wPYnAgP6EEClBJg1Hu400dul3X4H2K 8Zts0JcQrwt4QlsEAk7XqHbfu/NzO11OKh/amhRLX+GyfebWnR+9cOyS8+1V5GbBvbs5 qgmA== X-Gm-Message-State: ABuFfoj7OfiP539ELSVxtsYraRczv7K6DIz9Yym+YOKvwkGpCI22GpRI S8H31jnwCpN6PKvOOX28gCw5UQ== X-Google-Smtp-Source: ACcGV63L9YVkdilrAPDa2fdCetNO1yNPE1zb+/TwmnQezMR6M/XPtc9u1o/AcYgfkufVbxR/uOadDQ== X-Received: by 2002:adf:9564:: with SMTP id 91-v6mr8917660wrs.60.1538059504236; Thu, 27 Sep 2018 07:45:04 -0700 (PDT) Received: from boomer ([2a00:8c40:243:232:9287:a644:860c:5a1b]) by smtp.gmail.com with ESMTPSA id w5-v6sm815487wmf.31.2018.09.27.07.45.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Sep 2018 07:45:03 -0700 (PDT) Message-ID: Subject: [GIT PULL] clk: meson: updates for v4.20 From: Jerome Brunet To: Stephen Boyd , Michael Turquette Cc: Neil Armstrong , linux-clk , "open list:ARM/Amlogic Meson..." Date: Thu, 27 Sep 2018 16:45:02 +0200 X-Mailer: Evolution 3.28.5 (3.28.5-1.fc28) Mime-Version: 1.0 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Dear clock maintainers, Below is a request to pull updates for Amlogic clocks. There is not much out of the ordinary there, except: - Even if we don't like it, the entire meson8b is now using CLK_OF_DECLARE_DRIVER(). Previously, only the reset controller part used this but it seems there is no way around it (yet) to handle certain things on this SoC, such as the TWD timer. - We are a bit late compared to the usual schedule, sorry about that. Thanks for pulling Cheers Jerome The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) are available in the Git repository at: git://github.com/BayLibre/clk-meson.git tags/meson-clk-4.20-1 for you to fetch changes up to 93c873d686461652921fe18b137ac28002dfe166: clk: meson: meson8b: use the regmap in the internal reset controller (2018-09-26 12:02:00 +0200) ---------------------------------------------------------------- Update for meson clocks targeted at v4.20 - clk-pll driver improvements and updates - add axg audio controller system clocks - drop mpll3 from the possible pcie clock parent of the axg - register meson8b clock controller early ---------------------------------------------------------------- Jerome Brunet (5): clk: meson: clk-pll: add enable bit clk: meson: clk-pll: drop CLK_GET_RATE_NOCACHE where unnecessary clk: meson: clk-pll: remove od parameters clk: meson: clk-pll: drop hard-coded rates from pll tables clk: meson: axg: round audio system master clocks down Martin Blumenstingl (2): clk: meson: meson8b: register the clock controller early clk: meson: meson8b: use the regmap in the internal reset controller Yixun Lan (1): clk: meson-axg: pcie: drop the mpll3 clock parent drivers/clk/meson/axg-audio.c | 34 ++- drivers/clk/meson/axg.c | 332 +++++++++++++++------------ drivers/clk/meson/axg.h | 8 +- drivers/clk/meson/clk-pll.c | 156 ++++++++----- drivers/clk/meson/clkc.h | 16 +- drivers/clk/meson/gxbb.c | 518 +++++++++++++++++++++--------------------- drivers/clk/meson/gxbb.h | 10 +- drivers/clk/meson/meson8b.c | 280 +++++++++++------------ drivers/clk/meson/meson8b.h | 5 +- 9 files changed, 732 insertions(+), 627 deletions(-)