Message ID | 20180710163658.6175-3-yixun.lan@amlogic.com (mailing list archive) |
---|---|
State | Changes Requested, archived |
Headers | show |
On Tue, Jul 10, 2018 at 04:36:57PM +0000, Yixun Lan wrote: > Add two clock bindings IDs which provided by the MMC clock controller, > These two clocks will be used by MMC or NAND driver. I count 3 ids. > > Signed-off-by: Yixun Lan <yixun.lan@amlogic.com> > --- > .../dt-bindings/clock/amlogic,meson-mmc-clkc.h | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > create mode 100644 include/dt-bindings/clock/amlogic,meson-mmc-clkc.h This can go with the binding patch. > > diff --git a/include/dt-bindings/clock/amlogic,meson-mmc-clkc.h b/include/dt-bindings/clock/amlogic,meson-mmc-clkc.h > new file mode 100644 > index 000000000000..2ae988ebc3ae > --- /dev/null > +++ b/include/dt-bindings/clock/amlogic,meson-mmc-clkc.h > @@ -0,0 +1,16 @@ > +/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ > +/* > + * Meson MMC sub clock tree IDs > + * > + * Copyright (c) 2018 Amlogic, Inc. All rights reserved. > + * Author: Yixun Lan <yixun.lan@amlogic.com> > + */ > + > +#ifndef __MMC_CLKC_H > +#define __MMC_CLKC_H > + > +#define CLKID_MMC_DIV 1 > +#define CLKID_MMC_PHASE_TX 3 > +#define CLKID_MMC_PHASE_RX 4 > + > +#endif > -- > 2.18.0 > -- To unsubscribe from this list: send the line "unsubscribe linux-clk" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Rob On 07/12/18 03:45, Rob Herring wrote: > On Tue, Jul 10, 2018 at 04:36:57PM +0000, Yixun Lan wrote: >> Add two clock bindings IDs which provided by the MMC clock controller, >> These two clocks will be used by MMC or NAND driver. > > I count 3 ids. I will update this > >> >> Signed-off-by: Yixun Lan <yixun.lan@amlogic.com> >> --- >> .../dt-bindings/clock/amlogic,meson-mmc-clkc.h | 16 ++++++++++++++++ >> 1 file changed, 16 insertions(+) >> create mode 100644 include/dt-bindings/clock/amlogic,meson-mmc-clkc.h > > This can go with the binding patch. > sure . -- To unsubscribe from this list: send the line "unsubscribe linux-clk" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/include/dt-bindings/clock/amlogic,meson-mmc-clkc.h b/include/dt-bindings/clock/amlogic,meson-mmc-clkc.h new file mode 100644 index 000000000000..2ae988ebc3ae --- /dev/null +++ b/include/dt-bindings/clock/amlogic,meson-mmc-clkc.h @@ -0,0 +1,16 @@ +/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ +/* + * Meson MMC sub clock tree IDs + * + * Copyright (c) 2018 Amlogic, Inc. All rights reserved. + * Author: Yixun Lan <yixun.lan@amlogic.com> + */ + +#ifndef __MMC_CLKC_H +#define __MMC_CLKC_H + +#define CLKID_MMC_DIV 1 +#define CLKID_MMC_PHASE_TX 3 +#define CLKID_MMC_PHASE_RX 4 + +#endif
Add two clock bindings IDs which provided by the MMC clock controller, These two clocks will be used by MMC or NAND driver. Signed-off-by: Yixun Lan <yixun.lan@amlogic.com> --- .../dt-bindings/clock/amlogic,meson-mmc-clkc.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 include/dt-bindings/clock/amlogic,meson-mmc-clkc.h