Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp97125imu; Thu, 8 Nov 2018 05:36:41 -0800 (PST) X-Google-Smtp-Source: AJdET5fwfDjJg6kXX/kFeB+09CO13PGoGVmhok6CpaF4Hm3wFZSaWa9h1JOV8kYWHSHG7+u77Tli X-Received: by 2002:a63:151f:: with SMTP id v31mr3770379pgl.34.1541684201669; Thu, 08 Nov 2018 05:36:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541684201; cv=none; d=google.com; s=arc-20160816; b=nl2mWb8Rw6V5I7FBecOnoyjlsUNODJMluJ9qwL0Lhj/e+B5BMdHyF4vTLXYDA1A7Sd WdlVERE+KIKuvwDruBwiSskj4F0aou4bAab++5j7D0LxvLy503G2Nt0Vfoaf7C4C3jqT Q+lULPcS2zJxY5pxfjg/3wpcmMQqRJgzQTBbF/SvQTAlPELjzzmGM/JgyhpkFacQeYgH bNvGNrBnB9jO64BFLdfKRfDFm3D7hlc5+xHIOZ8uYG1iAPMoDOZz9qCTrpK5eFzvdnqe 7rWyF5OdHwErQuKoIdf4yh5yNhww1xE1xVf70foMKkP9ITHXaO6+/IJZOBmdawa+SGYb hxcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=YTyI5WSAfJxff7r7dg4IeAfXpnFBXRO9/6Rn6HJHcJ0=; b=zJdLpXp19EhaozSUZi7Ufe4yyQMxIsXucpkp+iPciLErEmTFEB97kN3X/m6pySj3D1 AhGHKr/jS3hTpZcytCsFcN3oUXLym+lKL+V7prrBwm54QgmXQjLV4/Lm7MnWValkNNV4 YFfgv6JZTk0IFGAXh6Bs8hgePSICqrbGZRsB/Qof90epjjRHBwTMEmzaC7Qi6DgvKjqV s/t8IC46UC4D6ng7sLI9R/akk6eV9eq5ykilScq8Sn4XcYgyZA/vNrLpYT4Jxgj0DkzA rogUFX5WTZKPMAL01tNhTtAMd8CbZTKCwA7FsdZ4nxle8ylLwk331Ima8+TmyzUx11D+ 5CzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=ltY5e1ol; 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 76-v6si5006689pfa.194.2018.11.08.05.36.26; Thu, 08 Nov 2018 05:36:41 -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=ltY5e1ol; 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 S1726827AbeKHXKM (ORCPT + 99 others); Thu, 8 Nov 2018 18:10:12 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:39621 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726359AbeKHXKL (ORCPT ); Thu, 8 Nov 2018 18:10:11 -0500 Received: by mail-wr1-f65.google.com with SMTP id r10-v6so21266589wrv.6 for ; Thu, 08 Nov 2018 05:34:40 -0800 (PST) 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:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=YTyI5WSAfJxff7r7dg4IeAfXpnFBXRO9/6Rn6HJHcJ0=; b=ltY5e1olAlPYi1++Gs6S9/X1dwdCA3nfY8ivSqBO7VZ+U2pUpQ/YOH2Mle1HbFyd0m qUhxovP1+DDirvQOLOqCbqIEncLmjhQh4x2O+qtoPGbPmB6LjEuPwnC654EZW5r+Etb0 FeurEFI/O47KT2E1ICwiwJ4GyQGgLEWWONmR7DA3/g7IFpd6OyZmB8MWpd2CYjfSYveF +hZZZg4+GVwhqj4bTLu7PxJvbgU2eYla9z0Ur+fvfOJOrGIWsA3B2A8rksBGftfg9Dad 5bUTBo3fN1lLWiQSGjipunY4HAee6wBUCKzle6pwxqgq+EG5RcolVbqtpnZ5jBf7rtu4 yzPA== 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:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=YTyI5WSAfJxff7r7dg4IeAfXpnFBXRO9/6Rn6HJHcJ0=; b=ppmhu+b5pGYIy47kvdSz9eLqAPkoaFlFu3Jo4qe7TKHCZtjBCyn8KhIrsKfk8lDgBK p75vBWMfyxo/rng8IPG6mMRhPx/4ADuGIII+UNePeps+vVDCATI8JD6PD/SQ2bU3j6xJ QzzyckgQ71YIbR0D8oK4Pr+ti9k1vFWjqiS1sxZcoC+ycRdERcqYC8cGBw/PxLY5oAJw N4o8LTp7cJ0sZwfTiXLj8byapxMdehT4Vx4aENLRkJ5uDxTO9HQGbpf0KBQq76N1P6k1 XrbSQeSwRAD3lUN94Mr/QWzjWzcmIbQGaxzrcQR/STQ2o+ZkZ/zu069FLJsKkFKU9SaE j5Tw== X-Gm-Message-State: AGRZ1gJUtP+O1fHMHcLuyqFMerrU8hbCgbsdSQDppBe0jNEvnpE1YxU9 qT28OMUHsY4yFW9Oam5luHzZ5g== X-Received: by 2002:adf:9b84:: with SMTP id d4-v6mr3980710wrc.240.1541684079598; Thu, 08 Nov 2018 05:34:39 -0800 (PST) Received: from boomer.baylibre.com ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id e7-v6sm3373635wra.10.2018.11.08.05.34.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Nov 2018 05:34:38 -0800 (PST) Message-ID: <1157f0a9419eea01c099d8dc08d7757593720286.camel@baylibre.com> Subject: Re: [PATCH v4 0/2] clk: meson-g12a: Add EE clock controller driver From: jbrunet@baylibre.com To: Jian Hu , Neil Armstrong Cc: Kevin Hilman , Carlo Caione , Rob Herring , Martin Blumenstingl , Michael Turquette , Stephen Boyd , Yixun Lan , Qiufang Dai , Jianxin Pan , linux-clk@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Date: Thu, 08 Nov 2018 14:34:37 +0100 In-Reply-To: <1541682912-120480-1-git-send-email-jian.hu@amlogic.com> References: <1541682912-120480-1-git-send-email-jian.hu@amlogic.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.2 (3.30.2-2.fc29) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2018-11-08 at 21:15 +0800, Jian Hu wrote: > Changes since v3 at[4] > -add fixed clocks clk_regmap definition Jian, When replying to the v1 of your clk_ao patchset : https://patchwork.kernel.org/patch/10562563/#22177627 I have explained that I would like to stop taking clock (such as xtal) from nowhere. Clocks (even the xtal) should be properly claimed through DT. I have specifically asked this to be taken into account for the EE controller. If you need an exemple on how to get the input clock from DT to your controller, please have look at the axg audio clock controller. This comment does not appear to be addressed in this version. Please make sure you have addressed all the comments of past reviews before reposting Thx > > Changes since v2 at[2] > -fix fixed clocks's descriptions > -fix aligment > -add enable bit for plls base on [3] patches > -add fixed clock gate bit > > Changes since v1 at[1] > -fix typo of 'Everything'. > -change the word 'AmLogic' to 'Amlogic' > -squash patch 1 and 2. > -delete usless message of "Trying obsolete regs". > -delete the empty line in include/dt-bindings/clock/g12a-clkc.h. > -rebase on top of the "next/drivers" branch, and add g12a clock patch. > -add CLK_MUX_ROUND_CLOSEST for g12a_sd_emmc_b_clk0_sel and > g12a_sd_emmc_c_clk0_sel. > > [1] > https://lkml.kernel.org/r/1531133549-25806-2-git-send-email-jian.hu@amlogic.com > [2] > https://lkml.kernel.org/r/1531728707-192230-2-git-send-email-jian.hu@amlogic.com > [3]https://lkml.kernel.org/r/20180717095617.12240-1-jbrunet@baylibre.com > [4] > https://lkml.kernel.org/r/1533890858-113020-1-git-send-email-jian.hu@amlogic.com > > Jian Hu (2): > dt-bindings: clk: meson-g12a: Add G12A EE Clock Bindings > clk: meson-g12a: Add EE Clock controller driver > > .../bindings/clock/amlogic,gxbb-clkc.txt | 1 + > drivers/clk/meson/Kconfig | 10 + > drivers/clk/meson/Makefile | 1 + > drivers/clk/meson/g12a.c | 1134 > ++++++++++++++++++++ > drivers/clk/meson/g12a.h | 128 +++ > include/dt-bindings/clock/g12a-clkc.h | 93 ++ > 6 files changed, 1367 insertions(+) > create mode 100644 drivers/clk/meson/g12a.c > create mode 100644 drivers/clk/meson/g12a.h > create mode 100644 include/dt-bindings/clock/g12a-clkc.h >