Devicetree
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Sean Anderson <seanga2@gmail.com>,
	devicetree@vger.kernel.org, Rob Herring <robh@kernel.org>
Cc: "U Boot" <u-boot@lists.denx.de>, "Simon Glass" <sjg@chromium.org>,
	"François Ozog" <francois.ozog@linaro.org>,
	"Mark Kettenis" <mark.kettenis@xs4all.nl>,
	"Oleksandr Andrushchenko" <Oleksandr_Andrushchenko@epam.com>,
	"Weijie Gao" <weijie.gao@mediatek.com>,
	"Ilias Apalodimas" <ilias.apalodimas@linaro.org>,
	"Heinrich Schuchardt" <xypron.glpk@gmx.de>
Subject: Re: Are dt-bindings headers part of the device tree spec?
Date: Wed, 15 Dec 2021 11:11:12 -0500	[thread overview]
Message-ID: <20211215161112.GC2773246@bill-the-cat> (raw)
In-Reply-To: <c670a4cc-b234-03d4-adfb-e6a8560c2d86@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1060 bytes --]

On Wed, Dec 15, 2021 at 10:53:26AM -0500, Sean Anderson wrote:
> 
> Hi all,
> 
> I'm reviewing a clock driver [1], and the submitter has deviated from
> the defines used by Linux. For example, where Linux might have
> 
> 	#define CLOCK_FOOBAR 5
> 
> his driver might have
> 
> 	#define CLK_FUBAR 6
> 
> Which means that both the device tree source and the resulting device
> tree binary will be different.
> 
> As I understand it, we try to be compatible with Linux on these things.
> However, it is unclear to me if include/dt-bindings is also part of
> this, or just the things in Documentation/devicetree/bindings. And if it
> is, do we need to have compatible sources, compatible binaries, or both?
> In general, I think we should try to have the same headers as well, but
> is it permitted to allow deviations with reasonable justification?
> 
> --Sean
> 
> [1] https://lore.kernel.org/u-boot/de6e75a083647dfeec3058dd4dcc0419b08e155c.1637285375.git.weijie.gao@mediatek.com/

Adding a few more people to the thread.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

           reply	other threads:[~2021-12-15 16:11 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <c670a4cc-b234-03d4-adfb-e6a8560c2d86@gmail.com>]

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=20211215161112.GC2773246@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=Oleksandr_Andrushchenko@epam.com \
    --cc=devicetree@vger.kernel.org \
    --cc=francois.ozog@linaro.org \
    --cc=ilias.apalodimas@linaro.org \
    --cc=mark.kettenis@xs4all.nl \
    --cc=robh@kernel.org \
    --cc=seanga2@gmail.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    --cc=weijie.gao@mediatek.com \
    --cc=xypron.glpk@gmx.de \
    /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