linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Phil Edworthy <phil.edworthy@renesas.com>
Cc: M P <buserror@gmail.com>,
	Michel Pollet <michel.pollet@bp.renesas.com>,
	Linux-Renesas <linux-renesas-soc@vger.kernel.org>,
	Simon Horman <horms@verge.net.au>,
	Michel Pollet <buserror+upstream@gmail.com>,
	Magnus Damm <magnus.damm@gmail.com>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
	<devicetree@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	linux-clk <linux-clk@vger.kernel.org>
Subject: Re: [PATCH v6 2/6] dt-bindings: Add the rzn1-clocks.h file
Date: Wed, 30 May 2018 15:36:44 +0200	[thread overview]
Message-ID: <CAMuHMdV8Hey=L6jv7HFyTUbeKdcC8ygn7PFjW2akETHe44MjeQ@mail.gmail.com> (raw)
In-Reply-To: <TY1PR01MB1769DFD4CD9803D10CE1CA4BF56C0@TY1PR01MB1769.jpnprd01.prod.outlook.com>

Hi Phil,

On Wed, May 30, 2018 at 3:30 PM, Phil Edworthy
<phil.edworthy@renesas.com> wrote:
> On 25 May 2018 10:13 Geert Uytterhoeven wrote:
>  [snip]
>
>> Now, given the clock definitions for RZ/N1[DSL] are the same (although some
>> don't exist on some variants), you could keep on using RZN1_CLK_FOO for
>> the names of the defines, and store them in a common file, included by the
>> soc-specific file. But please make clear the common file cannot be included
>> directly, so the filename does not become part of the DT ABI, and you are
>> shielded from future marketing silliness (e.g. next quarter's RZ/N1X being
>> totally different).
> How does an include filename become part of the DT ABI?
> I thought the dtb is the ABI, not the dts. Am I wrong?

You're right. In se the DT ABI applies to the DTB, not to the DTS.

The definitions inside the include file are part of the DT bindings,
and thus cannot
be changed.  Your DTS files get these definitions by including the header file,
so the header filename is also part of the bindings, and thus can't be changed
that easily.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

  reply	other threads:[~2018-05-30 13:36 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-22 10:01 [PATCH v6 0/6] arm: Base support for Renesas RZN1D-DB Board Michel Pollet
2018-05-22 10:01 ` [PATCH v6 1/6] dt-bindings: arm: Document the RZN1D-DB board Michel Pollet
2018-05-23  8:57   ` Simon Horman
2018-05-23  9:03   ` Geert Uytterhoeven
2018-05-23  9:20     ` Simon Horman
2018-05-22 10:01 ` [PATCH v6 2/6] dt-bindings: Add the rzn1-clocks.h file Michel Pollet
2018-05-22 16:00   ` Rob Herring
2018-05-22 18:44   ` Geert Uytterhoeven
2018-05-23  6:44     ` M P
2018-05-23  7:26       ` Geert Uytterhoeven
2018-05-23  8:17         ` M P
2018-05-25  9:12           ` Geert Uytterhoeven
2018-05-30 13:30             ` Phil Edworthy
2018-05-30 13:36               ` Geert Uytterhoeven [this message]
2018-05-30 13:49                 ` Phil Edworthy
2018-05-22 10:01 ` [PATCH v6 3/6] dt-bindings: clock: renesas,rzn1-clocks: document RZ/N1 clock driver Michel Pollet
2018-05-22 16:09   ` Rob Herring
2018-05-23  6:52     ` M P
2018-05-23 15:42       ` Rob Herring
2018-05-22 18:42   ` Geert Uytterhoeven
2018-05-22 10:01 ` [PATCH v6 4/6] ARM: dts: Renesas RZ/N1 SoC base device tree file Michel Pollet
2018-05-23  9:06   ` Simon Horman
2018-05-23  9:12   ` Geert Uytterhoeven
2018-05-23  9:20     ` M P
2018-05-23 11:18       ` Geert Uytterhoeven
2018-05-23 11:53         ` M P
2018-05-22 10:01 ` [PATCH v6 5/6] ARM: dts: Renesas RZN1D-DB Board base file Michel Pollet
2018-05-23  9:13   ` Geert Uytterhoeven
2018-05-24  0:03   ` kbuild test robot
2018-05-22 10:01 ` [PATCH v6 6/6] clk: renesas: Renesas RZ/N1 clock driver Michel Pollet
2018-05-24  0:17   ` kbuild test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMuHMdV8Hey=L6jv7HFyTUbeKdcC8ygn7PFjW2akETHe44MjeQ@mail.gmail.com' \
    --to=geert@linux-m68k.org \
    --cc=buserror+upstream@gmail.com \
    --cc=buserror@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=geert+renesas@glider.be \
    --cc=horms@verge.net.au \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=mark.rutland@arm.com \
    --cc=michel.pollet@bp.renesas.com \
    --cc=mturquette@baylibre.com \
    --cc=phil.edworthy@renesas.com \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).