[PATCH v4 4/4] driver: clk: imx: add clock driver for imx6sll

Jacky Bai ping.bai at nxp.com
Thu Mar 8 21:01:23 PST 2018


> Subject: Re: [PATCH v4 4/4] driver: clk: imx: add clock driver for imx6sll
> 
> On Thu, Mar 08, 2018 at 05:47:25PM +0800, Bai Ping wrote:
> > diff --git a/drivers/clk/imx/clk-imx6sll.c
> > b/drivers/clk/imx/clk-imx6sll.c new file mode 100644 index
> > 0000000..e938db5
> > --- /dev/null
> > +++ b/drivers/clk/imx/clk-imx6sll.c
> > @@ -0,0 +1,344 @@
> > +// SPDX-License-Identifier: GPL-2.0
> > +/*
> > + * Copyright (C) 2016 Freescale Semiconductor, Inc.
> > + * Copyright 2017-2018 NXP.
> > + */
> > +
> > +#include <dt-bindings/clock/imx6sll-clock.h>
> > +#include <linux/clk.h>
> > +#include <linux/clkdev.h>
> > +#include <linux/err.h>
> > +#include <linux/init.h>
> > +#include <linux/io.h>
> > +#include <linux/of.h>
> > +#include <linux/of_address.h>
> > +#include <linux/of_irq.h>
> > +#include <linux/types.h>
> > +
> > +#include "clk.h"
> > +
> > +#define CCM_ANALOG_PLL_BYPASS		(0x1 << 16)
> > +#define BM_CCM_CCDR_MMDC_CH0_MASK	(0x2 << 16)
> > +#define CCDR				0x4
> 
> We agreed to remove this define, right?

Sorry, this is missed, will correct it.
Jacky

> 
> Shawn
> 
> > +#define xPLL_CLR(offset)		(offset + 0x8)



More information about the linux-arm-kernel mailing list