Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2619599ybc; Mon, 18 Nov 2019 01:57:04 -0800 (PST) X-Google-Smtp-Source: APXvYqzN8ivwPup95BIxqvjpqGJ+d3AU8sLeH1M8LAU8Zmivu6L6iNu/d7Jfs6e0Gq2KAL+1mT5i X-Received: by 2002:a17:906:70e:: with SMTP id y14mr25430534ejb.70.1574071024466; Mon, 18 Nov 2019 01:57:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574071024; cv=none; d=google.com; s=arc-20160816; b=fUaZdI7kQ1V95RC6+dRhqVO0BvsiPzgPbbqhsApT/nNi6LchERTX0RzKlf94RwmWv/ T+trTsLNyaPU2267bHVR3yjqwVR7fL4zQePeIuaqEysJi+3Yz48wmy2wJ17kaHKRGBK6 qOxBtaKCLrK0+AHYJpxR3RSalLckP8mxgkRb+tTBfSlbCMXsDT2tqjslFJDhAyVS9ULH aG8ddBzFreuFEMU0LOxQWyxfcdBATxp3Z+O6xegQ8Z5bvF1AXPurivNysGztCvFYh07w XvySu1Ys1yy8wNN7CiOdJh3wNTZPjFCcdL0gNY0uq05zE7DJc8hST0jCsLst+Zu3HmXT vcAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:in-reply-to :subject:cc:to:from:user-agent:references:dkim-signature; bh=PgGBXNN0Jirm20pqBP2alAmny4JZsXPFHK67g56bQ0w=; b=tonjIzFYhn3AgWSStcmarYWQPlDhJf+DCP4+EuY6PtJcLqx+5tcMvH9TPb67dS8NJm zx1+OSMnGJY/DHRN1sDz/RifCycQuso/Kn3XlpJADxvNxDphT6HWx1ZdQ0JZG4IOL/Y5 0/wL7Qlq4ne4p+UC0E6IWpe+AF8KdYH4BFXc4HuNANw66shP3Fz9NXs+2SCtLR9L+Tnh onO/Fi9m1b5bsobMzeVS4+BQBnei3PzPXoD33oJN2CJaK3+KxNs8poz0z4zzeDgjw6WQ zRuFR+6bCNaer6tbdfuwFxVO6yJI1i67VxncUqErSDbDCVcCURIQrkg/AKWxLttv7dFj Xk3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=GUqxG6CL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y16si10983795ejw.142.2019.11.18.01.56.40; Mon, 18 Nov 2019 01:57:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=GUqxG6CL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726703AbfKRJzd (ORCPT + 99 others); Mon, 18 Nov 2019 04:55:33 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:51685 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726646AbfKRJzd (ORCPT ); Mon, 18 Nov 2019 04:55:33 -0500 Received: by mail-wm1-f65.google.com with SMTP id q70so16614416wme.1 for ; Mon, 18 Nov 2019 01:55:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=PgGBXNN0Jirm20pqBP2alAmny4JZsXPFHK67g56bQ0w=; b=GUqxG6CLejc6KGV040NaZ4pursegloLrR/ifPEW5TMnYTJN40jTwfTDcoPyHl++AYH 7hDIjGeJs7/35Jcr3FMbYzv8jczm/IjAVdmFufSTHr+KbQDxIlzz1fFOP9rEPt9H0fYi C/0COGPKR46Q/kAu9c2Db+OGR2LoRA5af1KdmcLpaA18ymFFLoneezHQbBk0iF3z6Z+2 V5qu0n5zE8uOBPZCrOuSW6lF3GziCSS0CJiebQ/UorvBuSDkTyaVQsSs9ob5+HFgGA8O YdLUl+AuVNp/TpadiKD69zNPJfoxDGwOW1K6v535KB67jnYfaN70laGOpM+pbhCWGWT3 Rp6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=PgGBXNN0Jirm20pqBP2alAmny4JZsXPFHK67g56bQ0w=; b=KCQ2a2D3PlNcy9mSL1MQnU2XF6T94yOZ4zYRpUhC4KleIK6I9pXCABIjxkDPP0wvEl ez8RluBUP0DthJCwPOpo14KU+AmzvGhUeZM+ekq0FjHbGc8OMQ5quJYhnZTd1mxmmaRn /t0P102USKsUcjPS1oTCtWvO06jJm6fDo27e7oQx5Rn52/IRG3i3T02VK+E2DekqZnfo TVwAk28q3UPlyfsRCstL2zXhoi/zwsiXVvJfllgu6toboqg2Q3VkISjyVUpUjLXO6A+s Bj/f1Na5p9OfRz0uz++WwEOzCWWR1EL57Pg6znxaMdIa9t9YFz9/xkJa6PZzY2dKFG0a PHdQ== X-Gm-Message-State: APjAAAWqh771mmB+xavyD2VNzGNO/vVm7TnCe/EBIKolKPUbB/4cuJVp 0mmmvzB3dFgfDZeLwKbtlOA3nw== X-Received: by 2002:a1c:39c2:: with SMTP id g185mr27162171wma.88.1574070928635; Mon, 18 Nov 2019 01:55:28 -0800 (PST) Received: from localhost ([2a01:e34:eeb6:4690:ecfa:1144:aa53:4a82]) by smtp.gmail.com with ESMTPSA id a11sm20052731wmh.40.2019.11.18.01.55.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Nov 2019 01:55:27 -0800 (PST) References: <20191117140731.137378-1-martin.blumenstingl@googlemail.com> User-agent: mu4e 1.3.3; emacs 26.2 From: Jerome Brunet To: Martin Blumenstingl , narmstrong@baylibre.com, linux-amlogic@lists.infradead.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, sboyd@kernel.org Subject: Re: [PATCH v3 0/2] add the DDR clock controller on Meson8 and Meson8b In-reply-to: <20191117140731.137378-1-martin.blumenstingl@googlemail.com> Date: Mon, 18 Nov 2019 10:55:26 +0100 Message-ID: <1j7e3xpkz5.fsf@starbuckisacylon.baylibre.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun 17 Nov 2019 at 15:07, Martin Blumenstingl wrote: > Meson8 and Meson8b SoCs embed a DDR clock controller in their MMCBUS > registers. This series: > - adds support for this DDR clock controller (patches 0 and 1) > - wires up the DDR PLL as input for two audio clocks (patches 2 and 3) > - adds the DDR clock controller to meson8.dtsi and meson8b.dtsi > > Special thanks go out to Alexandre Mergnat for switching the Amlogic > clock drivers over to parent_hws and parent_data. That made this series > a lot easier for me! > > This series depends on v3 my other series from [0]: > "provide the XTAL clock via OF on Meson8/8b/8m2" > > > Changes since v2 at [2]: > - add #include as suggested by Stephen Boyd > - drop unused includes > - use devm_platform_ioremap_resource instead of open-coding it as > suggested by Stephen Boyd > - drop trailing comma after sentinel element as suggested by Stephen > Boyd > - dropped patch #3 "clk: meson: meson8b: use of_clk_hw_register to > register the clocks" because it's now moved to my other series at > [0] > - dropped dts changes so this series exclusively targets clk-meson > > Changes since v1 at [1]: > - fixed the license of the .yaml binding and added Rob's Reviewed-by > - drop unused syscon.h include (spotted by Jerome - thanks) > - drop fast_io from regmap_config and add max_register as suggested > by Jerome > - dropped original patch #4 "clk: meson: meson8b: add the ddr_pll > input for the audio clocks" because I could not test that yet (that > patch was a forward-port from Amlogic's 3.10 BSP kernel) > > > [0] https://patchwork.kernel.org/cover/11248377/ > [1] https://patchwork.kernel.org/cover/11155553/ > [2] https://patchwork.kernel.org/cover/11214227/ > > > Martin Blumenstingl (2): > dt-bindings: clock: add the Amlogic Meson8 DDR clock controller > binding > clk: meson: add a driver for the Meson8/8b/8m2 DDR clock controller > > .../clock/amlogic,meson8-ddr-clkc.yaml | 50 ++++++ > drivers/clk/meson/Makefile | 2 +- > drivers/clk/meson/meson8-ddr.c | 149 ++++++++++++++++++ > include/dt-bindings/clock/meson8-ddr-clkc.h | 4 + > 4 files changed, 204 insertions(+), 1 deletion(-) > create mode 100644 Documentation/devicetree/bindings/clock/amlogic,meson8-ddr-clkc.yaml > create mode 100644 drivers/clk/meson/meson8-ddr.c > create mode 100644 include/dt-bindings/clock/meson8-ddr-clkc.h Applied for v5.6 Please note this will get rebased once v5.5-rc1 is out