Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2181008imm; Thu, 18 Oct 2018 10:15:41 -0700 (PDT) X-Google-Smtp-Source: ACcGV61ACMPl9fUX/pOEVb1vS2OizXo3lQA4F+3NhInkPyBj0IEhMCXovIUGEmhbdFV4NmD9KOLV X-Received: by 2002:a17:902:509:: with SMTP id 9-v6mr30929420plf.155.1539882941064; Thu, 18 Oct 2018 10:15:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539882941; cv=none; d=google.com; s=arc-20160816; b=jkkD06N1B7qRs9UzvIqgVCdS8ZdKCgKuVHMYlclQvE8j7TAkZWPz2KmtbX8xju4qhV hwVdzdZoevZ1Va0ollKfetiNTyFRBRgXexJGwOv+wy6ur/XAaE8v9hU6x3mw52Tbegct vw4Zgj23xVwWE7d/BhV3tWZsi3skN+8e6vUktmmck0hIsI6I7sZe4uBL3Lgjx3EsL/gz /LmVjGZPDoZOX6T+Z7ztAXGKXN7y/99tMhVqZAkIz+9PNJgmB6+i1axGmID3C9KIhrkS 7npCUBEZHAbSeoVgARz8kdjtf0Hjooa6cpp6QkaNnTJ/jMItp2SLRb80IxnpILw1dCnl iVPw== 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=miMWuvYo2bPVoMPV3LVODsQPmKZeOeZy2Sj7pfQyRvQ=; b=MxfOu/rixCkhahEvhcxhTB2qJk+bDxZRnvPyLSySH9G9myPvxcmPGr4jTm8t8lbzTz hzRWK7eNYKfiZcHcPKH72zDdcQ9gW4/GdBds6pTQPGB7ekZN0TKUsgtDKEW8BdUOXKKe wTAWLPJcKkDjRB1iryRme5D/aPvKVaWU5SVOTOJIgDOhwnkO0mrqd9VP2rMgFKmEK9s+ rPB2JtMzjMqWa1TiIG7qgayOJiG/WsKf2FkdHSRfoXGBeWvl4f2OnfyntcH4V6Xnx3Ng HS+syti5NbNipjWyX3W/vPpn1d44INOdEMXQ+ZnNHbAJNoOkthDRC/pXhC1usRzLzdEE Vyvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=wzx0cJqK; 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 z1-v6si20768447plo.59.2018.10.18.10.15.24; Thu, 18 Oct 2018 10:15:41 -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=wzx0cJqK; 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 S1728662AbeJSBQ1 (ORCPT + 99 others); Thu, 18 Oct 2018 21:16:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:39482 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727567AbeJSBQ1 (ORCPT ); Thu, 18 Oct 2018 21:16:27 -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 E736821486; Thu, 18 Oct 2018 17:14:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1539882872; bh=UO44vunfWoF1wxqZWH/4vmmpFOYVBvIePMgaXZXSka8=; h=To:From:In-Reply-To:Cc:References:Subject:Date:From; b=wzx0cJqKcVXaqbNLdQ1twAXJvyVtRRWO/yIvFUv0rC8sdvJRr3zEBJ3CQiubxHamp vfelu4zXdtdTy3sYtDrhgIPqh9qzfwDJMMvJ4oofTHQx6xnCVhXo/9s1bClw6uJUQd CXf4o58J+NJUYIgyuZVbp7RMsTCi49URF1++BGtg= 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: <1539839245-13793-2-git-send-email-jianxin.pan@amlogic.com> Cc: Yixun Lan , Jianxin Pan , 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, devicetree@vger.kernel.org References: <1539839245-13793-1-git-send-email-jianxin.pan@amlogic.com> <1539839245-13793-2-git-send-email-jianxin.pan@amlogic.com> Message-ID: <153988287137.5275.1146335138540290297@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH v5 1/3] clk: meson: add emmc sub clock phase delay driver Date: Thu, 18 Oct 2018 10:14:31 -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-17 22:07:23) > diff --git a/drivers/clk/meson/clkc.h b/drivers/clk/meson/clkc.h > index 6b96d55..3309d78 100644 > --- a/drivers/clk/meson/clkc.h > +++ b/drivers/clk/meson/clkc.h > @@ -105,6 +105,18 @@ struct clk_regmap _name =3D { = \ > }, \ > }; > = > +struct meson_clk_phase_delay_data { > + struct parm phase; > + struct parm delay; > + unsigned int delay_step_ps; > +}; > + > +static inline struct meson_clk_phase_delay_data * > +meson_clk_get_phase_delay_data(struct clk_regmap *clk) > +{ > + return (struct meson_clk_phase_delay_data *)clk->data; Is data a void *? If so, please drop the useless cast. > +} > + > /* clk_ops */ > extern const struct clk_ops meson_clk_pll_ro_ops; > extern const struct clk_ops meson_clk_pll_ops;