Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp326690ima; Wed, 24 Oct 2018 01:48:39 -0700 (PDT) X-Google-Smtp-Source: AJdET5ckfXByGyaQa7J/YvmZfb2tCxEIo/4OpOVEoyXQvAP4WW2PoFGshYh+ZSK15t/NCvxdPhsq X-Received: by 2002:a63:a41:: with SMTP id z1mr728010pgk.117.1540370919772; Wed, 24 Oct 2018 01:48:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540370919; cv=none; d=google.com; s=arc-20160816; b=K1p+eg1rAIDakDBsE8nNmD//fltKHqS9wsawpQDylaWbFIrFc0FtLaJDKj+/sxw2Ck N3Iu01bW+IDUU6hb0oxx5La0A39GaQYFHro3ERVPTwAWi4Ds3DtSwNw8dbZm0vPtrsBs m5k4rRXVXDgL6jmz+zzNPDID9VdcjYLeHe789MRgPzfthI11kX0sTKkUOIzfvMAgPmIt 84Mh8MxEmpF3vMixY0FJHMo2Ib964GAMUR891RlVdM32pQa5yhEZ5FsJXebNBWDl4UG0 LZe+cSHe2pZgfhFX7as498UQGLw8khIa2hKgr256+LLA6Q9M4I9cRR+zzdVVdNIN6XjN vPIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:dkim-signature; bh=QVhTGzw5V0Wa+4cI2tp1Taqfs+xvEq+hJgmPBgiJkho=; b=i5xRwCA1KLz9wxmrhcN1X+JIg1OjWfuc+1RDYhasxxNzrJTVdDWGSRPwAnZEmGyOnv OeSkl+cpX6uW4vdXpSV/hn1ZhjITR4IJd5iCCFY1cL9DG+WOiXEf+2XRjHln/iwewg/J DQsFBUu5eAqZ1cJSe8W50ast7EQeLg1LynzugVDqMauKAfdNyy7/AxrPG/EKMCg6CylM vQsYTWoJa6ZNABzcu6Zj3cxjzKNbOqycDwiyjAkWmmwhguowSTITnBghglhDt5E4AMyn VFekuruejDiLYzYB5nL9O9mTlMTLc1DUleZ8yQd/7jNJ63IRHTe00c38XTsytoFxrgU8 gRXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=tbFcP9XS; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h187-v6si4318701pfc.62.2018.10.24.01.48.20; Wed, 24 Oct 2018 01:48:39 -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=@kernel.org header.s=default header.b=tbFcP9XS; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727407AbeJXRPK (ORCPT + 99 others); Wed, 24 Oct 2018 13:15:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:54392 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727219AbeJXRPJ (ORCPT ); Wed, 24 Oct 2018 13:15:09 -0400 Received: from localhost (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D73192081B; Wed, 24 Oct 2018 08:47:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1540370878; bh=QVhTGzw5V0Wa+4cI2tp1Taqfs+xvEq+hJgmPBgiJkho=; h=To:From:In-Reply-To:Cc:References:Subject:Date:From; b=tbFcP9XSggjZWhp1hnq7/25ntDOKn+6L1oHHpiK2kMKfvx0dJGWOs7XNOnOeyXrKv keoLBKfbAry3UHCeXM0hJWxKEIclwmQCMwrIQHM6QuuT45uvMuiWI1TNSO0hBBBATw AmjQ3WmH2uIVOOXTTktEYo3aNF/6IQhAeI5vaxH0= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: Jerome Brunet , Jianxin Pan , Neil Armstrong From: Stephen Boyd In-Reply-To: Cc: Yixun Lan , Kevin Hilman , Carlo Caione , Michael Turquette , Rob Herring , Miquel Raynal , Boris Brezillon , Martin Blumenstingl , Liang Yang , Jian Hu , Qiufang Dai , Hanjie Lin , Victor Wan , linux-clk@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <1539839245-13793-1-git-send-email-jianxin.pan@amlogic.com> <1539839245-13793-4-git-send-email-jianxin.pan@amlogic.com> <153988282130.5275.17528969137837015544@swboyd.mtv.corp.google.com> Message-ID: <154037087711.53599.12246779227164118041@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH v5 3/3] clk: meson: add sub MMC clock controller driver Date: Wed, 24 Oct 2018 01:47:57 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Jianxin Pan (2018-10-23 23:29:24) > On 2018/10/19 1:13, Stephen Boyd wrote: > > Quoting Jianxin Pan (2018-10-17 22:07:25) > [...] > >> diff --git a/drivers/clk/meson/mmc-clkc.c b/drivers/clk/meson/mmc-clkc= .c > >> new file mode 100644 > >> index 0000000..5555e3f > >> --- /dev/null > >> +++ b/drivers/clk/meson/mmc-clkc.c > >> @@ -0,0 +1,296 @@ > >> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > >> +/* > >> + * Amlogic Meson MMC Sub Clock Controller Driver > >> + * > >> + * Copyright (c) 2017 Baylibre SAS. > >> + * Author: Jerome Brunet > >> + * > >> + * Copyright (c) 2018 Amlogic, inc. > >> + * Author: Yixun Lan > >> + */ > >> + > >> +#include > > = > > clk-provider.h instead of clk.h?> > Maybe we need to keep clk.h > devm_clk_get() is called in mmc_clkc_register_mux() to get parent in from= DTS. > I'm sorry to miss this in previous reply. OK. But also include clk-provider.h if provider APIs are being used here.