From patchwork Fri Nov 23 15:23:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10696077 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 B148C13B5 for ; Fri, 23 Nov 2018 15:23:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9D1672B9B4 for ; Fri, 23 Nov 2018 15:23:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 907732C23E; Fri, 23 Nov 2018 15:23:51 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3B7232B9B4 for ; Fri, 23 Nov 2018 15:23:51 +0000 (UTC) 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:MIME-Version:Date:Message-ID:Subject: From:To:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=LbAJUkpR3+AboI2HcDBWbz0r/Jvf4IqYr8oH3VMSYAc=; b=rONXvY2HWosBn6 3Mk7HRNn8EHQRVTg6drlOIJ630JW1hM9iS3gDXXHBB+jHnfCgSgH8VeykoOeaYwvjn51heXHhvaAx Cr0r5yVQigHh/DCK2ph1+73BEYcm+7fejASalRNBxFCgwdugAqcpSEpWPgTxFkXwA6aj+46L8AZL0 IlwdcvJ35mrUcrn7SHOrXqPZFVoY4QjGaIq4xGVBeAjM7o+4yKJIixjI4pa6lLxTDyMbCD2Wblj13 hs3O2ZdTq+pgU7RW4RVxQ9ISPm1pglzxPJRt0eD33uCyNp8McV5gWigYqS5zd5glXcgXTSaNjSaQG TTIZ9seye0b9hnFEij5A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gQDJ8-0001iD-Qn; Fri, 23 Nov 2018 15:23:50 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gQDJ5-0001gQ-8M for linux-amlogic@lists.infradead.org; Fri, 23 Nov 2018 15:23:48 +0000 Received: by mail-wm1-x344.google.com with SMTP id k198so12370704wmd.3 for ; Fri, 23 Nov 2018 07:23:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=to:cc:from:subject:openpgp:autocrypt:organization:message-id:date :user-agent:mime-version:content-language:content-transfer-encoding; bh=0tl8WTa8pIQ1yTF1QMAwLSeuxIws0UCdbwmGKzvatz8=; b=f8I2pIZAovQbk252Z5k28XfFZiHB/Nu5U2Z3bAvQ+UPi5brxwYT2tr8CH1QfcE2wbZ N0HAEpNgRPJI6p5qBbQ5lAV3olDGCpejxKWlXXPF3CHAG1+iOWWwfvuQkqCQPlJhG2LF F9ijY1RTsZaBFpBU8KizVIb07mXiRhFIVxPuma3HHIYOu0b0OTtbECNsOJ+uQTC9mn6K MVhCipaoKfz+3N/1cNEzZHekyM/Z3pRo1+dWJEZ/hoBe5y7AQTfe8nYgScTx5DsxuQEt SvcZC0OjofMyZ1t+XMGcTc+D+PotIChPwQBhqVyLoIG+Iev7m+klHpbPSph/M2GFS51F gx1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:openpgp:autocrypt :organization:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=0tl8WTa8pIQ1yTF1QMAwLSeuxIws0UCdbwmGKzvatz8=; b=t+3LhD89wyX/nHTSRHHhrSoIfjUnL42c6fXEh6ZeIZUbk7WWmlczj62Hw88Mb/L0DV BC7gM4wRTqx3CrjTKWkjkedlaZIuB3e99eSM15jT29xwiwWWUiVpWaY8k2K9LramAa73 iv9gmTJ6758HJpN7xIclRym8kBR3+EJpqHGdbr1ozOm3+V3wwziAjHYiGQ15goPG2Ivz 8uHS9/ssSQzvfrJ+mgZ589JnI9hdZW2q0xlI35ML2U54kpc8iOwdouphkymSvQSMHUtt gi/zahoKi2rQlLddS7ZHa4jRmsPgQD4tMMtDR5VxFAb7qMHIceTzGBSPIAKXXDM55WAL RHMw== X-Gm-Message-State: AGRZ1gI/4JJjTfk5HVwMe4zQXrNyVORGe42U8Um3Aek2LOXpiWiQBNe+ ocP0la3r2yZVZNHINw+M+nH+W5wo3B5sFA== X-Google-Smtp-Source: AFSGD/V1AeT2R61KKgVnrIPdMpA6jboiP8n+xTpghPATxLioVg9VMSoIYjZn8gcOjHTEkN5W4uFjdA== X-Received: by 2002:a1c:9303:: with SMTP id v3-v6mr14775443wmd.82.1542986615145; Fri, 23 Nov 2018 07:23:35 -0800 (PST) Received: from [10.1.2.12] (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id s66sm8086222wmf.34.2018.11.23.07.23.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Nov 2018 07:23:34 -0800 (PST) To: sboyd@kernel.org, mturquette@baylibre.com From: Neil Armstrong Subject: [GIT PULL] clk: meson: updates for v4.21 Openpgp: preference=signencrypt Autocrypt: addr=narmstrong@baylibre.com; prefer-encrypt=mutual; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKE5laWwgQXJtc3Ryb25nIDxuYXJtc3Ryb25nQGJheWxpYnJlLmNvbT7CwHsEEwEKACUC GyMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheABQJXDO2CAhkBAAoJEBaat7Gkz/iubGIH/iyk RqvgB62oKOFlgOTYCMkYpm2aAOZZLf6VKHKc7DoVwuUkjHfIRXdslbrxi4pk5VKU6ZP9AKsN NtMZntB8WrBTtkAZfZbTF7850uwd3eU5cN/7N1Q6g0JQihE7w4GlIkEpQ8vwSg5W7hkx3yQ6 2YzrUZh/b7QThXbNZ7xOeSEms014QXazx8+txR7jrGF3dYxBsCkotO/8DNtZ1R+aUvRfpKg5 ZgABTC0LmAQnuUUf2PHcKFAHZo5KrdO+tyfL+LgTUXIXkK+tenkLsAJ0cagz1EZ5gntuheLD YJuzS4zN+1Asmb9kVKxhjSQOcIh6g2tw7vaYJgL/OzJtZi6JlIXOwE0ETVkGzwEIALyKDN/O GURaHBVzwjgYq+ZtifvekdrSNl8TIDH8g1xicBYpQTbPn6bbSZbdvfeQPNCcD4/EhXZuhQXM coJsQQQnO4vwVULmPGgtGf8PVc7dxKOeta+qUh6+SRh3vIcAUFHDT3f/Zdspz+e2E0hPV2hi SvICLk11qO6cyJE13zeNFoeY3ggrKY+IzbFomIZY4yG6xI99NIPEVE9lNBXBKIlewIyVlkOa YvJWSV+p5gdJXOvScNN1epm5YHmf9aE2ZjnqZGoMMtsyw18YoX9BqMFInxqYQQ3j/HpVgTSv mo5ea5qQDDUaCsaTf8UeDcwYOtgI8iL4oHcsGtUXoUk33HEAEQEAAcLAXwQYAQIACQUCTVkG zwIbDAAKCRAWmrexpM/4rrXiB/sGbkQ6itMrAIfnM7IbRuiSZS1unlySUVYu3SD6YBYnNi3G 5EpbwfBNuT3H8//rVvtOFK4OD8cRYkxXRQmTvqa33eDIHu/zr1HMKErm+2SD6PO9umRef8V8 2o2oaCLvf4WeIssFjwB0b6a12opuRP7yo3E3gTCSKmbUuLv1CtxKQF+fUV1cVaTPMyT25Od+ RC1K+iOR0F54oUJvJeq7fUzbn/KdlhA8XPGzwGRy4zcsPWvwnXgfe5tk680fEKZVwOZKIEuJ C3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTTQbM0WUIBIcGmq38+OgUsMYu4NzLu7uZF Acmp6h8g Organization: Baylibre Message-ID: <8b905b7b-d72a-010f-bb2c-3cadeca603ed@baylibre.com> Date: Fri, 23 Nov 2018 16:23:33 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181123_072347_301448_A4DD9628 X-CRM114-Status: GOOD ( 15.72 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "open list:ARM/Amlogic Meson..." , linux-clk@vger.kernel.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Dear clock maintainers, Below is a request to pull updates for Amlogic clocks. It covers essentially Meson GX Video clocks, Meson8b CPU clocks and 2 bindings changes. Thanks, Neil The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) are available in the Git repository at: git://github.com/BayLibre/clk-meson.git tags/meson-clk-4.21-1 for you to fetch changes up to a7d19b05ce817d60ae672c4c112e77892978dc3c: clk: meson: meson8b: add the CPU clock post divider clocks (2018-11-23 15:11:58 +0100) ---------------------------------------------------------------- Update for meson clocks targeted at v4.21 - Add GX video clocks - Switch to HHI syscon for meson8b - Fix meson8b cpu clock - Add support for meson8b CPU scaling - Add Meson8b CPU post-dividers clocks ---------------------------------------------------------------- Martin Blumenstingl (14): dt-bindings: clock: meson8b: export the CPU post dividers dt-bindings: clock: meson8b: use the registers from the HHI syscon clk: meson: meson8b: use the HHI syscon if available clk: meson: meson8b: fix incorrect divider mapping in cpu_scale_table clk: meson: meson8b: fix the width of the cpu_scale_div clock clk: meson: clk-pll: check if the clock is already enabled clk: meson: meson8b: do not use cpu_div3 for cpu_scale_out_sel clk: meson: meson8b: mark the CPU clock as CLK_IS_CRITICAL clk: meson: meson8b: add support for more M/N values in sys_pll clk: meson: meson8b: run from the XTAL when changing the CPU frequency clk: meson: meson8b: allow changing the CPU clock tree clk: meson: clk-regmap: add read-only gate ops clk: meson: meson8b: rename cpu_div2/cpu_div3 to cpu_in_div2/cpu_in_div3 clk: meson: meson8b: add the CPU clock post divider clocks Neil Armstrong (4): clk: meson: Add vid_pll divider driver clk: meson-gxbb: Fix HDMI PLL for GXL SoCs dt-bindings: clk: meson-gxbb: Add Video clock bindings clk: meson-gxbb: Add video clocks .../bindings/clock/amlogic,meson8b-clkc.txt | 13 +- drivers/clk/meson/Makefile | 2 +- drivers/clk/meson/clk-pll.c | 19 + drivers/clk/meson/clk-regmap.c | 5 + drivers/clk/meson/clk-regmap.h | 1 + drivers/clk/meson/clkc.h | 6 + drivers/clk/meson/gxbb.c | 773 ++++++++++++++++++++- drivers/clk/meson/gxbb.h | 26 +- drivers/clk/meson/meson8b.c | 393 ++++++++++- drivers/clk/meson/meson8b.h | 17 +- drivers/clk/meson/vid-pll-div.c | 91 +++ include/dt-bindings/clock/gxbb-clkc.h | 18 + include/dt-bindings/clock/meson8b-clkc.h | 4 + 13 files changed, 1319 insertions(+), 49 deletions(-) create mode 100644 drivers/clk/meson/vid-pll-div.c