From patchwork Tue Dec 11 15:15:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10723967 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 1A13813AF for ; Tue, 11 Dec 2018 15:16:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0755329A4B for ; Tue, 11 Dec 2018 15:16:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EF5D02B314; Tue, 11 Dec 2018 15:16:12 +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=ham 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 B7FAB29A4B for ; Tue, 11 Dec 2018 15:16:11 +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=H0RIqB+FpZmf+Zv+nPh99JnAbTycskTChPdiTF3eQ/I=; b=RQiY9CBVJLwmDC xU0iXQMtp9KbF/qCatOFKCnG718XaP88VC05c97u+7beqe4HTnePEUvkM6yrd5XnQDqCwuwJHCSio o00TiX4tzV2jPPQBnYUkIJO/Ev1IQoOKBX4HeKrOXpA6tNwsULgKA8ibogIJnzZeTePegkDLBHbx7 N3fRfEf+wl97dKR+aRfJlryeSjOevq0dtKvESTbqQDwvKY/DMu7RaxM49CTDCElEIlfcsUTFZyMS6 A2KBzGV7iurt0pN8AzjKdo2m3SNtmd6dqqWkkHJncyBROWt49669qsWUhpQLGMmyWPZ3FFgMjUblh 9cVURIMLe367kdZCC/gQ==; 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 1gWjlY-0002bz-5V; Tue, 11 Dec 2018 15:16:08 +0000 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gWjko-0000lv-OQ for linux-amlogic@lists.infradead.org; Tue, 11 Dec 2018 15:15:48 +0000 Received: by mail-wr1-x42b.google.com with SMTP id j2so14502379wrw.1 for ; Tue, 11 Dec 2018 07:15:11 -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=1f9Qni6RCEtfeJP8ujwxD26cwBVf4O//Ds43LhA2ZHw=; b=CMBh+GtBoz8pka53WwYk72oQaieVRVR7U5G/sVmvGpyCBUb09YPGrTDF+BqY92D2dU Wq2OTZXML6iYaCgwTT/LlZ/XFkBYSUR+LlKYMEn1Tbm/zyeqbbm/oXbMJ4QBhE3XCeU2 83QjvkJGqqdSiamBzP7T1ouSBPwTpA3MkFle3e8MEobr+ycwayAlX4rtVxvV+xL8UVSk YoRbRUZsUfx1VWFO4x0rEm4MVNLwQY9LGFe7Q5DhD3rPiopmdUksoSxk6EIJeIGSOFAd tgnFkJgX6nlon++bBMEG8upYnXcHhI5Mf6kLmfuXYWIA3kEHFf7BDUzEUf4nh0k8vp0s 6NgQ== 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=1f9Qni6RCEtfeJP8ujwxD26cwBVf4O//Ds43LhA2ZHw=; b=REDXoKUh5i67b7n/aVf+gP767D+evUNajOH2bAZ+Pkc417WrUB+Yr3/fVNGjCJdYEa nquMJTaK0I7an2v9e1mU9gTRh91KK8nxqU1muQA7LAE/1atHSD7Eof9OBBNL1nPLbBpn j6YGpR9hWmaFhPTH5Dla28RiGNmWluMW69jtX6AzYZU3ScqjnJ3T+jDjWXPbiL6LO9yj 8eK/2GGMY3zAbuCfq9kr1WNEEcnxP+VNspahF0HIAEvKMnnC8kp2LBX6sw+NePB3e+Mp eroDMbbvSOK/FD8Ie2yOOnqiQZNbEGpLwhvLMwPlhl4ARZWGO2MOttvD6Mrev+BTxbIS 2+4A== X-Gm-Message-State: AA+aEWbOyaZXEioZTz3FF7jQbZSFH2Ur1B9RSR3Qh0akgFzgRNBpmfE8 o6yDRt37aaJlFbjBQfrojeqG2L+JEqcZSw== X-Google-Smtp-Source: AFSGD/Ua2cc+1qr0/T52QY5w+UbZLOZc9cv8JNGSsGQwpYhtH6MRD74vuia5KcW2F7Q6EUXII0TPQQ== X-Received: by 2002:a5d:5351:: with SMTP id t17mr13592396wrv.288.1544541310033; Tue, 11 Dec 2018 07:15:10 -0800 (PST) Received: from [192.168.1.16] (lfbn-nic-1-206-198.w2-15.abo.wanadoo.fr. [2.15.53.198]) by smtp.gmail.com with ESMTPSA id h2sm9997768wrv.87.2018.12.11.07.15.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Dec 2018 07:15:09 -0800 (PST) To: sboyd@kernel.org, mturquette@baylibre.com From: Neil Armstrong Subject: [GIT PULL] clk: meson: updates for v4.21, round 2 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: <4506cbc6-4997-8332-3d34-fe753f480b69@baylibre.com> Date: Tue, 11 Dec 2018 16:15:09 +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-20181211_071523_269617_4406EF20 X-CRM114-Status: GOOD ( 13.08 ) 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, round 2. It covers essentially Meson8/Meson8b video clocks, a fix for previous round and helper addition to simplify clock driver input management. Thanks, Neil The following changes since commit a7d19b05ce817d60ae672c4c112e77892978dc3c: clk: meson: meson8b: add the CPU clock post divider clocks (2018-11-23 15:11:58 +0100) are available in the Git repository at: git://github.com/BayLibre/clk-meson.git tags/meson-clk-4.21-2 for you to fetch changes up to f03566d0aa79f9e09a288936980741c479a22fdb: clk: meson: axg-audio: use the clk input helper function (2018-12-11 16:07:03 +0100) ---------------------------------------------------------------- Update for meson clocks targeted at v4.21, round 2: - Fix GXL HDMI Pll fractional bits (from first round) - Add the Meson8/Meson8b video clocks - Add clk-input helper and use it for axg-audio clock driver ---------------------------------------------------------------- Jerome Brunet (2): clk: meson: add clk-input helper function clk: meson: axg-audio: use the clk input helper function Martin Blumenstingl (3): clk: meson: meson8b: fix the offset of vid_pll_dco's N value clk: meson: meson8b: add the fractional divider for vid_pll_dco clk: meson: meson8b: add the read-only video clock trees Neil Armstrong (1): clk: meson: Fix GXL HDMI PLL fractional bits width drivers/clk/meson/Makefile | 1 + drivers/clk/meson/axg-audio.c | 83 ++--- drivers/clk/meson/clk-input.c | 44 +++ drivers/clk/meson/clkc.h | 5 + drivers/clk/meson/gxbb.c | 8 +- drivers/clk/meson/meson8b.c | 746 +++++++++++++++++++++++++++++++++++++++++- drivers/clk/meson/meson8b.h | 54 ++- 7 files changed, 870 insertions(+), 71 deletions(-) create mode 100644 drivers/clk/meson/clk-input.c