[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190501194341.tdmv5cg2ajoebwyx@archlinux.localdomain>
Date: Wed, 1 May 2019 15:43:41 -0400
From: Gaël PORTAY <gael.portay@...labora.com>
To: Rob Herring <robh@...nel.org>
Cc: Mark Rutland <mark.rutland@....com>, devicetree@...r.kernel.org,
Derek Basehore <dbasehore@...omium.org>,
Heiko Stuebner <heiko@...ech.de>, linux-pm@...r.kernel.org,
Brian Norris <briannorris@...omium.org>,
Douglas Anderson <dianders@...omium.org>,
linux-kernel@...r.kernel.org, Chanwoo Choi <cw00.choi@...sung.com>,
Kyungmin Park <kyungmin.park@...sung.com>,
MyungJoo Ham <myungjoo.ham@...sung.com>,
Klaus Goger <klaus.goger@...obroma-systems.com>,
Enric Balletbo i Serra <enric.balletbo@...labora.com>,
linux-rockchip@...ts.infradead.org, Randy Li <ayaka@...lik.info>,
linux-arm-kernel@...ts.infradead.org, Lin Huang <hl@...k-chips.com>
Subject: Re: [PATCH v4 5/5] arm64: dts: rockchip: Enable dmc and dfi nodes on
gru.
Rob,
On Fri, Apr 26, 2019 at 01:45:59PM -0500, Rob Herring wrote:
> On Mon, Apr 15, 2019 at 05:29:48PM -0400, Gaël PORTAY wrote:
> > diff --git a/include/dt-bindings/power/rk3399-dram.h b/include/dt-bindings/power/rk3399-dram.h
> > new file mode 100644
> > index 000000000000..4b3d4a79923b
> > --- /dev/null
> > +++ b/include/dt-bindings/power/rk3399-dram.h
> > @@ -0,0 +1,73 @@
> > +/* SPDX-License-Identifier: (GPL-2.0+ OR X11) */
> > +/*
> > + * Copyright (c) 2016-2018, Fuzhou Rockchip Electronics Co., Ltd
> > + *
> > + * Author: Lin Huang <hl@...k-chips.com>
> > + */
> > +
> > +#ifndef _DTS_DRAM_ROCKCHIP_RK3399_H
> > +#define _DTS_DRAM_ROCKCHIP_RK3399_H
> > +
> > +#define DDR3_DS_34ohm 34
> > +#define DDR3_DS_40ohm 40
> > +
> > +#define DDR3_ODT_DIS 0
> > +#define DDR3_ODT_40ohm 40
> > +#define DDR3_ODT_60ohm 60
> > +#define DDR3_ODT_120ohm 120
>
> I don't think these defines add much value given the value is in the
> define itself.
>
> Do these get used by the driver? If not, then the header can go with the
> dts file. But I'd just get rid of the header.
>
> Rob
>
Indeed, I will remove that header and update the documentation file.
Regards,
Gaël
Powered by blists - more mailing lists