All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kumar Gala <kumar.gala@linaro.org>
To: Ian Lepore <ian@freebsd.org>
Cc: "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	devicetree-spec@vger.kernel.org,
	"ksummit-discuss@lists.linuxfoundation.org"
	<ksummit-discuss@lists.linuxfoundation.org>
Subject: Re: [Ksummit-discuss] Devicetree Workshop at Kernel Summit Prague (26 Oct 2017)
Date: Tue, 17 Oct 2017 12:02:10 -0500	[thread overview]
Message-ID: <2D4E6B6D-8F07-46D0-BB36-D97916802893@linaro.org> (raw)
In-Reply-To: <1508257276.74236.38.camel@freebsd.org>


> On Oct 17, 2017, at 11:21 AM, Ian Lepore <ian@freebsd.org> wrote:
> 
> On Tue, 2017-10-17 at 14:48 +0100, Grant Likely wrote:
>> On Tue, Oct 17, 2017 at 10:48 AM, Boris Brezillon
>> <boris.brezillon@free-electrons.com> wrote:
>>> 
>>> Hello Grant,
>>> 
>>> On Mon, 9 Oct 2017 21:39:51 +0100
>>> Grant Likely <grant.likely@secretlab.ca> wrote:
>>> 
>>>> 
>>>> Kernel Summit is now just over 2 weeks away and it is time to pull
>>>> together the schedule for the Devicetree workshop. Originally I
>>>> planned on just an afternoon, but I've got the room for the whole day,
>>>> so I've got a lot of flexibility on the schedule. Unscheduled time can
>>>> be used for hacking.
>>>> 
>>>> Date: 26 Oct 2017
>>>> Time: 9:00am-5:30pm (Lunch from 12:30-2:30)
>>>> Location: Athens room - Hilton Prague
>>>> 
>>>> If you plan to attend, make sure you update your OSSunmitE/ELCE
>>>> registration to include the DT Workshop (log in to access and modify
>>>> your registration):
>>>> 
>>>> https://www.regonline.com/register/login.aspx?eventID=1883377&MethodId=0&EventsessionId=&Email_Address=&membershipID=
>>>> 
>>>> Here is my current list of topics in no particular order, including
>>>> the topic moderator:
>>>> 
>>>> Runtime memory consumption (Rob Herring)
>>>> Overlay maintenance plan (TBC)
>>>> Stable ABI for devicetree (TBC)
>>>> DT YAML encoding (Pantelis Antoniou)
>>>> DT Schema format - option 1 (Pantelis Antoniou)
>>>> DT Schema format - option 2 (Grant Likely)
>>>> Sharing Generic bindings (TBC)
>>>> devicetree.org update (Grant)
>>>> 
>>>> Reply to this email if you want to propose another topic.
>>> Not sure yet if I'll attend the DT workshop or not, but I thought I
>>> could ask my question here because it might be of interest to someone
>>> else who is attending.
>>> 
>>> What happens when the DT bindings is not documented in Linux but in an
>>> another project because this project was the first to use it.
>>> 
>>> I had the case here http://patchwork.ozlabs.org/patch/810275/, and I'm
>>> not sure what's the policy when this happens. Should we add a file
>>> under Documentation/devicetree/bindings/... that points to the external
>>> doc file, should we duplicate the DT bindings doc in Linux, or should
>>> we just leave the bindings undocumented in the kernel tree?
>> I'm going to add this as a topic. I've got my own opinion, but it
>> would be better to discuss in the room because it affects maintainers.
>> 
>> g.
> 
> 
> I've run into the same thing in FreeBSD.  We use bindings and dts
> files, exacted periodically from the linux tree and imported into ours,
> for all modern arm boards/systems.  Several times I've created drivers
> for small things like i2c RTC chips that aren't supported currently by
> linux, and it's not clear to me that it's even possible to submit
> bindings and dts for them back upstream without also submitting a linux
> driver that uses them (which of course I'm not in a position to do).
> 
> -- Ian

I think this gets to separating bindings from .dts files.  If we had a common place for bindings that are usable by all the various projects that utilize device tree that would help.  Rob’s point about now having linux maintainers of subsystems doing binding reviews is a fair point, because we do need more eyes on bindings.  So I think we need some middle ground here.

I think this also gets to having bindings described in a structured way so they can be utilized for validation of dts files.  We are doing a little of this in Zephyr since we are using a structured binding spec to generate code from .dts (since we don’t utilize a runtime dtb).

- k

WARNING: multiple messages have this Message-ID (diff)
From: Kumar Gala <kumar.gala-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
To: Ian Lepore <ian-h+KGxgPPiopAfugRpC6u6w@public.gmane.org>
Cc: Grant Likely
	<grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>,
	"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	devicetree-spec-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	"ksummit-discuss-cunTk1MwBs98uUxBSJOaYoYkZiVZrdSR2LY78lusg7I@public.gmane.org"
	<ksummit-discuss-cunTk1MwBs98uUxBSJOaYoYkZiVZrdSR2LY78lusg7I@public.gmane.org>
Subject: Re: [Ksummit-discuss] Devicetree Workshop at Kernel Summit Prague (26 Oct 2017)
Date: Tue, 17 Oct 2017 12:02:10 -0500	[thread overview]
Message-ID: <2D4E6B6D-8F07-46D0-BB36-D97916802893@linaro.org> (raw)
In-Reply-To: <1508257276.74236.38.camel-h+KGxgPPiopAfugRpC6u6w@public.gmane.org>


> On Oct 17, 2017, at 11:21 AM, Ian Lepore <ian-h+KGxgPPiopAfugRpC6u6w@public.gmane.org> wrote:
> 
> On Tue, 2017-10-17 at 14:48 +0100, Grant Likely wrote:
>> On Tue, Oct 17, 2017 at 10:48 AM, Boris Brezillon
>> <boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> wrote:
>>> 
>>> Hello Grant,
>>> 
>>> On Mon, 9 Oct 2017 21:39:51 +0100
>>> Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org> wrote:
>>> 
>>>> 
>>>> Kernel Summit is now just over 2 weeks away and it is time to pull
>>>> together the schedule for the Devicetree workshop. Originally I
>>>> planned on just an afternoon, but I've got the room for the whole day,
>>>> so I've got a lot of flexibility on the schedule. Unscheduled time can
>>>> be used for hacking.
>>>> 
>>>> Date: 26 Oct 2017
>>>> Time: 9:00am-5:30pm (Lunch from 12:30-2:30)
>>>> Location: Athens room - Hilton Prague
>>>> 
>>>> If you plan to attend, make sure you update your OSSunmitE/ELCE
>>>> registration to include the DT Workshop (log in to access and modify
>>>> your registration):
>>>> 
>>>> https://www.regonline.com/register/login.aspx?eventID=1883377&MethodId=0&EventsessionId=&Email_Address=&membershipID=
>>>> 
>>>> Here is my current list of topics in no particular order, including
>>>> the topic moderator:
>>>> 
>>>> Runtime memory consumption (Rob Herring)
>>>> Overlay maintenance plan (TBC)
>>>> Stable ABI for devicetree (TBC)
>>>> DT YAML encoding (Pantelis Antoniou)
>>>> DT Schema format - option 1 (Pantelis Antoniou)
>>>> DT Schema format - option 2 (Grant Likely)
>>>> Sharing Generic bindings (TBC)
>>>> devicetree.org update (Grant)
>>>> 
>>>> Reply to this email if you want to propose another topic.
>>> Not sure yet if I'll attend the DT workshop or not, but I thought I
>>> could ask my question here because it might be of interest to someone
>>> else who is attending.
>>> 
>>> What happens when the DT bindings is not documented in Linux but in an
>>> another project because this project was the first to use it.
>>> 
>>> I had the case here http://patchwork.ozlabs.org/patch/810275/, and I'm
>>> not sure what's the policy when this happens. Should we add a file
>>> under Documentation/devicetree/bindings/... that points to the external
>>> doc file, should we duplicate the DT bindings doc in Linux, or should
>>> we just leave the bindings undocumented in the kernel tree?
>> I'm going to add this as a topic. I've got my own opinion, but it
>> would be better to discuss in the room because it affects maintainers.
>> 
>> g.
> 
> 
> I've run into the same thing in FreeBSD.  We use bindings and dts
> files, exacted periodically from the linux tree and imported into ours,
> for all modern arm boards/systems.  Several times I've created drivers
> for small things like i2c RTC chips that aren't supported currently by
> linux, and it's not clear to me that it's even possible to submit
> bindings and dts for them back upstream without also submitting a linux
> driver that uses them (which of course I'm not in a position to do).
> 
> -- Ian

I think this gets to separating bindings from .dts files.  If we had a common place for bindings that are usable by all the various projects that utilize device tree that would help.  Rob’s point about now having linux maintainers of subsystems doing binding reviews is a fair point, because we do need more eyes on bindings.  So I think we need some middle ground here.

I think this also gets to having bindings described in a structured way so they can be utilized for validation of dts files.  We are doing a little of this in Zephyr since we are using a structured binding spec to generate code from .dts (since we don’t utilize a runtime dtb).

- k--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2017-10-17 17:02 UTC|newest]

Thread overview: 126+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-09 20:39 [Ksummit-discuss] Devicetree Workshop at Kernel Summit Prague (26 Oct 2017) Grant Likely
2017-10-09 20:39 ` Grant Likely
2017-10-14 12:34 ` [Ksummit-discuss] " Thomas Petazzoni
2017-10-14 12:34   ` Thomas Petazzoni
2017-10-17 13:30   ` Grant Likely
2017-10-17 13:30     ` Grant Likely
2017-10-16  5:36 ` Michal Simek
2017-10-16  5:36   ` Michal Simek
2017-10-16 14:11   ` Rob Herring
2017-10-16 14:11     ` Rob Herring
2017-10-18 14:04     ` Michal Simek
2017-10-18 14:04       ` Michal Simek
2017-10-18 14:28       ` Andre Przywara
2017-10-18 14:28         ` Andre Przywara
2017-10-18 15:32         ` Rob Herring
2017-10-18 15:32           ` Rob Herring
2017-10-18 16:05           ` Andre Przywara
2017-10-18 16:05             ` Andre Przywara
2017-10-18 16:20             ` Pantelis Antoniou
2017-10-18 16:20               ` Pantelis Antoniou
2017-10-16 16:40   ` Ben Dooks
2017-10-16 16:40     ` Ben Dooks
2017-10-16 18:44     ` Heiko Stübner
2017-10-16 18:44       ` Heiko Stübner
2017-10-16 19:45     ` Rob Herring
2017-10-16 19:45       ` Rob Herring
2017-10-17 13:38       ` Grant Likely
2017-10-17 13:38         ` Grant Likely
2017-10-17 23:45         ` Frank Rowand
2017-10-17 23:45           ` Frank Rowand
2017-10-17 13:32   ` Grant Likely
2017-10-17 13:32     ` Grant Likely
2017-10-18 10:08     ` Thomas Petazzoni
2017-10-18 10:08       ` Thomas Petazzoni
2017-10-16 16:42 ` Ben Dooks
2017-10-16 16:42   ` Ben Dooks
2017-10-17 13:34   ` Grant Likely
2017-10-17 13:34     ` Grant Likely
2017-10-17  9:48 ` Boris Brezillon
2017-10-17  9:48   ` Boris Brezillon
2017-10-17 13:21   ` Tom Rini
2017-10-17 13:21     ` Tom Rini
2017-10-17 13:48   ` Grant Likely
2017-10-17 13:48     ` Grant Likely
2017-10-17 16:21     ` Ian Lepore
2017-10-17 16:21       ` Ian Lepore
2017-10-17 17:02       ` Kumar Gala [this message]
2017-10-17 17:02         ` Kumar Gala
2017-10-17 17:24         ` Geert Uytterhoeven
2017-10-17 17:24           ` Geert Uytterhoeven
2017-10-17 17:24           ` Geert Uytterhoeven
2017-10-17 19:03           ` Bird, Timothy
2017-10-17 19:03             ` Bird, Timothy
2017-10-18 12:14             ` Grant Likely
2017-10-18 12:14               ` Grant Likely
2017-10-18 12:14               ` Grant Likely
2017-10-18 12:59               ` Pantelis Antoniou
2017-10-18 12:59                 ` Pantelis Antoniou
2017-10-18 13:18                 ` Alexandre Belloni
2017-10-18 13:18                   ` Alexandre Belloni
2017-10-18 13:21                   ` Geert Uytterhoeven
2017-10-18 13:21                     ` Geert Uytterhoeven
2017-10-18 17:41                     ` Bird, Timothy
2017-10-18 17:41                       ` Bird, Timothy
2017-10-18 18:00                       ` Rob Herring
2017-10-18 18:00                         ` Rob Herring
2017-10-18 21:10                       ` Alexandre Belloni
2017-10-18 21:10                         ` Alexandre Belloni
2017-10-18 16:18                   ` David Woodhouse
2017-10-18 16:18                     ` David Woodhouse
2017-10-18 14:13                 ` Rob Herring
2017-10-18 14:13                   ` Rob Herring
2017-10-18 17:45                   ` Bird, Timothy
2017-10-18 17:45                     ` Bird, Timothy
2017-10-18 14:07           ` Kumar Gala
2017-10-18 14:07             ` Kumar Gala
2017-10-18 14:07             ` Kumar Gala
2017-10-17 17:25       ` Rob Herring
2017-10-17 17:25         ` Rob Herring
2017-10-18 10:11       ` Thomas Petazzoni
2017-10-18 10:11         ` Thomas Petazzoni
2017-10-18 10:35   ` Chen-Yu Tsai
2017-10-18 10:35     ` Chen-Yu Tsai
2017-10-18 11:09     ` Mark Brown
2017-10-18 11:09       ` Mark Brown
2017-10-18 17:59       ` Tom Rini
2017-10-18 17:59         ` Tom Rini
2017-10-18 23:28         ` Andrew Turner
2017-10-18 23:28           ` Andrew Turner
2017-10-18 23:28           ` Andrew Turner
2017-10-18 23:53           ` Rob Herring
2017-10-18 23:53             ` Rob Herring
2017-10-18 23:53             ` Rob Herring
2017-10-19 14:00             ` Alexandre Torgue
2017-10-19 14:00               ` Alexandre Torgue
2017-10-19 14:00               ` Alexandre Torgue
2017-10-19 14:59               ` Rob Herring
2017-10-19 14:59                 ` Rob Herring
2017-10-19 14:59                 ` Rob Herring
2017-10-19 18:46                 ` Frank Rowand
2017-10-19 18:46                   ` Frank Rowand
2017-10-19 18:46                   ` Frank Rowand
2017-10-20  9:55                   ` Alexandre Torgue
2017-10-20  9:55                     ` Alexandre Torgue
2017-10-20  9:55                     ` Alexandre Torgue
2017-10-20 10:01                     ` David Gibson
2017-10-20 10:01                       ` David Gibson
2017-10-20 13:37                     ` Rob Herring
2017-10-20 13:37                       ` Rob Herring
2017-10-22  8:25                       ` David Gibson
2017-10-22  8:25                         ` David Gibson
2017-10-20 13:47                 ` Alexandre Torgue
2017-10-20 13:47                   ` Alexandre Torgue
2017-10-20 13:47                   ` Alexandre Torgue
2017-10-19  0:04         ` Mark Brown
2017-10-19  0:04           ` Mark Brown
2017-10-19 11:10 ` Grant Likely
2017-10-19 11:10   ` Grant Likely
2017-10-24  7:37   ` [Ksummit-discuss] " Boris Brezillon
2017-10-24  7:37     ` Boris Brezillon
2017-10-25 14:40     ` Maxime Ripard
2017-10-25 14:40       ` Maxime Ripard
2017-10-26  5:47   ` Frank Rowand
2017-10-26  5:47     ` Frank Rowand
2017-10-26  7:17   ` [Ksummit-discuss] " Grant Likely
2017-10-26  7:17     ` Grant Likely

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=2D4E6B6D-8F07-46D0-BB36-D97916802893@linaro.org \
    --to=kumar.gala@linaro.org \
    --cc=devicetree-spec@vger.kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=ian@freebsd.org \
    --cc=ksummit-discuss@lists.linuxfoundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.