Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp497041ybn; Wed, 25 Sep 2019 03:14:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqwoXCRHgiCzpI+tZoa9rSBL1sKtrra6lumWjG3K900KXb1c9hitpcjy1SPBnN79S3o5RJUy X-Received: by 2002:a5d:43d0:: with SMTP id v16mr8533862wrr.390.1569406478446; Wed, 25 Sep 2019 03:14:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569406478; cv=none; d=google.com; s=arc-20160816; b=lhyw0rPGhwaoT6eOHkv2m3diApa1APQshnkgywXgItxHrFkvfeXleeTxrcJX2Ze1D1 xNDQYiMhsfIjSOzX+5X8sSOII5Y2AvGMPHMv9pdQN+nprtszc40+/zKAQ6U+g7fHWARN 2N9m4EcRx2/p9kNVX1jqxhq6bHxBVhzv7/xpV4c0LEfAQyFIiAY6aeMiyaBeOLKcZsrE BesE8wL+VrB9uJqiw89xChcitYQ93LDg0GisWSqQgSOcpOSkODALlCoQQHqwPrRxWTY3 oESLzoY61VXu3q7Abu51+XAt1J691tKaXqbfrTAXGizdirnMdFfYpKpnuRytbCkLhoiW Qsmw== 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:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=efP++C+n842ztdoruWHDsU5t7UYA9AhqrH+sQr0d664=; b=oAuIfd7ZjpMwVKjUY2ZdhDJCmof68S+Ns2zLLT4IrLlSZH8F5iESSb78U0rpepspuK CfBV6uZqMRTTnTvclB4yteqW0GRKCqQpaltM3Tll2vM280T179Qnukm62i9nhDidXZUS +/XHEC/YSR1k8hPzdWlHvuTwqacNZ4A4OhO6YZM/SBqIZ8g0Dr6O3xDknZqZFU4jaufS O28m7P407JQIsC+sd8bkI0yjVqw7pyO3z0wFkh4FDCf2jMlWJNWk4XpP4Fgu7XjkG477 wJY9/KOtdsYRgn4/s3to4h7dCMHqJfTxZb2fCmnkCjUpgLEwVSptbnRo/3R13nNv8eWy tk8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="WC9lw/G4"; 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 s27si2910428edm.226.2019.09.25.03.14.15; Wed, 25 Sep 2019 03:14:38 -0700 (PDT) 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="WC9lw/G4"; 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 S2436825AbfIWKGZ (ORCPT + 99 others); Mon, 23 Sep 2019 06:06:25 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:40267 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436788AbfIWKGZ (ORCPT ); Mon, 23 Sep 2019 06:06:25 -0400 Received: by mail-wm1-f65.google.com with SMTP id b24so8588647wmj.5 for ; Mon, 23 Sep 2019 03:06:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=efP++C+n842ztdoruWHDsU5t7UYA9AhqrH+sQr0d664=; b=WC9lw/G4j9t7XfO7TyQQ+hQwJ2ffDW97T4DSfot/iXZ28CL777HiBBFAXG72dy3Xp/ qBCUZFBu3ifqNu7HsTfJAg1/QfIzikeAXdne7P0iP6wKqE7joi4zx56TH6xqHy51C5e+ 53pQbs3zcWxdoKDXbZcmIsdLLGblPgAN7jVTknzeleIIR6dGZxC0YVniDjjFnvt419YH YBvdsaqx4r0HU0oLhLTwO0NzXSZF5KA+nEn3DOxdEQbJZ+6hsPxnWj6z+1Y6JA++yGcH WpF9gYtNUAoOcabk2M3GM4Exu56zcPS5sOpzP4PmmGXJomuH4VHZuA14bTmGPxLv4TsE LXmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=efP++C+n842ztdoruWHDsU5t7UYA9AhqrH+sQr0d664=; b=h9VXg3h/K+V3VSNOnTd7YDTgXVzrIKzpfMi4FaVbGQjaKuOKxLrhcNGoP0Lxvulo0Z J9SXbd0cTo8KPBsrqZiZ6C/HcSnpMEzASJ79j0WFZ292lzuIaI7cMF3CfxxYJ6u3XTpZ 4FV/nStYLxLSDC8f5KLZEaUEuo0JHJE+pzjkOEY7cyGB4IAOijGLgdOcGyWHPyJdfg1H 9JUgyHwdqTXl98YgUKgN/XU7DTGC2efI+lEiNKP6zrQaRiuS8022ZJTOSA4nV+U+SqFI /l8wwykIoaxhJoKtRc/TeQ9GJZt99D7GBizzZKTQmL0zXv2nnoiKL6t4Ts4tViVdFQDx fjoA== X-Gm-Message-State: APjAAAWxJ+cVLXz09AZerHjdTLRfNtcX3zyX8HbXa8BzwdxCjsie/sE9 IBEbUMvWB0iBsFmNP2HBWo/OHg== X-Received: by 2002:a1c:6841:: with SMTP id d62mr13297447wmc.48.1569233182680; Mon, 23 Sep 2019 03:06:22 -0700 (PDT) Received: from localhost (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id t1sm9644294wrn.57.2019.09.23.03.06.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Sep 2019 03:06:22 -0700 (PDT) From: Jerome Brunet To: Martin Blumenstingl , narmstrong@baylibre.com, robh+dt@kernel.org, mark.rutland@arm.com, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, khilman@baylibre.com Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, Martin Blumenstingl Subject: Re: [PATCH 0/6] add the DDR clock controller on Meson8 and Meson8b In-Reply-To: <20190921151835.770263-1-martin.blumenstingl@googlemail.com> References: <20190921151835.770263-1-martin.blumenstingl@googlemail.com> Date: Mon, 23 Sep 2019 12:06:21 +0200 Message-ID: <1jsgons4wy.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 Sat 21 Sep 2019 at 17:18, 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) Have you been able to validate somehow that DDR rate calculated by CCF is the actual rate that gets to the audio clocks ? While I understand the interest for completeness, I suspect the having the DDR clock as an audio parent was just for debugging purpose. IOW, I'm not sure if adding this parent is useful to an actual audio use case. As far as audio would be concerned, I think we are better of without this parent. > - adds the DDR clock controller to meson8.dtsi and meson8b.dtsi > Could you please separate the driver and DT series in the future ? Those take different paths and are meant for different maintainers. > 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 my other series from [0]: > "provide the XTAL clock via OF on Meson8/8b/8m2" > > > [0] https://patchwork.kernel.org/cover/11155515/ > > > Martin Blumenstingl (6): > dt-bindings: clock: add the Amlogic Meson8 DDR clock controller > binding > clk: meson: add a driver for the Meson8/8b/8m2 DDR clock controller > clk: meson: meson8b: use of_clk_hw_register to register the clocks > clk: meson: meson8b: add the ddr_pll input for the audio clocks > ARM: dts: meson8: add the DDR clock controller > ARM: dts: meson8b: add the DDR clock controller > > .../clock/amlogic,meson8-ddr-clkc.yaml | 50 ++++++ > arch/arm/boot/dts/meson8.dtsi | 13 +- > arch/arm/boot/dts/meson8b.dtsi | 13 +- > drivers/clk/meson/Makefile | 2 +- > drivers/clk/meson/meson8-ddr.c | 153 ++++++++++++++++++ > drivers/clk/meson/meson8b.c | 36 ++--- > include/dt-bindings/clock/meson8-ddr-clkc.h | 4 + > 7 files changed, 245 insertions(+), 26 deletions(-) > 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 > > -- > 2.23.0