All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nikita Kiryanov <nikita-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
To: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>,
	Igor Grinberg <grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>,
	Dmitry Lifshitz
	<lifshitz-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>,
	Ian Campbell
	<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>
Subject: Re: [PATCH 12/14] ARM: sb-som: dts: introduce SB-SOM baseboard
Date: Mon, 30 Nov 2015 17:32:46 +0200	[thread overview]
Message-ID: <20151130153246.GA17574@skynet> (raw)
In-Reply-To: <20151125225734.GA17604@rob-hp-laptop>

On Wed, Nov 25, 2015 at 04:57:34PM -0600, Rob Herring wrote:
> On Tue, Nov 24, 2015 at 03:19:13PM +0200, Nikita Kiryanov wrote:
> > CompuLab SB-SOM baseboard is a carrier board for multiple arm-based SoMs.
> > It currently supports (with minor adjustments to assembly) CM-T43, CM-T54,
> > and CM-QS600 modules. It is a building block in the SBC-T43 single board
> > computer, which consists of cm-t43 on top of sb-som-t43.
> > 
> > Signed-off-by: Nikita Kiryanov <nikita-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
> > Cc: Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
> > Cc: Igor Grinberg <grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
> > Cc: Dmitry Lifshitz <lifshitz-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
> > Cc: Ian Campbell <ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>
> > ---
> >  .../devicetree/bindings/arm/compulab-boards.txt    |  5 +++
> >  .../bindings/display/panel/startek,startek-kd050c  |  4 +++
> 
> .txt please.

Right, will V2..

> 
> >  .../devicetree/bindings/vendor-prefixes.txt        |  1 +
> >  arch/arm/boot/dts/compulab-sb-som.dtsi             | 42 ++++++++++++++++++++++
> >  4 files changed, 52 insertions(+)
> >  create mode 100644 Documentation/devicetree/bindings/arm/compulab-boards.txt
> >  create mode 100644 Documentation/devicetree/bindings/display/panel/startek,startek-kd050c
> >  create mode 100644 arch/arm/boot/dts/compulab-sb-som.dtsi
> > 
> > diff --git a/Documentation/devicetree/bindings/arm/compulab-boards.txt b/Documentation/devicetree/bindings/arm/compulab-boards.txt
> > new file mode 100644
> > index 0000000..3e742a5
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/arm/compulab-boards.txt
> > @@ -0,0 +1,5 @@
> > +CompuLab SB-SOM is a multi-module baseboard capable of carrying CM-T43, CM-T54,
> > +and QS-600 modules with minor modifications to the SB-SOM assembly.
> 
> All these modules have compatible strings?

Yes, although they are currently undocumented. QS-600 should be CM-QS600
though.. Will fix in V2.

> 
> > +
> > +Required root node properties:
> > +    - compatible = should be "compulab,sb-som"
> > diff --git a/Documentation/devicetree/bindings/display/panel/startek,startek-kd050c b/Documentation/devicetree/bindings/display/panel/startek,startek-kd050c
> > new file mode 100644
> > index 0000000..70cd8d1
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/display/panel/startek,startek-kd050c
> > @@ -0,0 +1,4 @@
> > +Startek Electronic Technology Co. KD050C 5.0" WVGA TFT LCD panel
> > +
> > +Required properties:
> > +- compatible: should be "startek,startek-kd050c"
> > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
> > index 55df1d4..409b134 100644
> > --- a/Documentation/devicetree/bindings/vendor-prefixes.txt
> > +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
> > @@ -218,6 +218,7 @@ sony	Sony Corporation
> >  spansion	Spansion Inc.
> >  sprd	Spreadtrum Communications Inc.
> >  st	STMicroelectronics
> > +startek	Startek
> >  ste	ST-Ericsson
> >  stericsson	ST-Ericsson
> >  synology	Synology, Inc.
> > diff --git a/arch/arm/boot/dts/compulab-sb-som.dtsi b/arch/arm/boot/dts/compulab-sb-som.dtsi
> > new file mode 100644
> > index 0000000..402a143
> > --- /dev/null
> > +++ b/arch/arm/boot/dts/compulab-sb-som.dtsi
> > @@ -0,0 +1,42 @@
> > +/*
> > + * Copyright (C) 2015 CompuLab, Ltd. - http://www.compulab.co.il/
> > + *
> > + * This program is free software; you can redistribute it and/or modify
> > + * it under the terms of the GNU General Public License version 2 as
> > + * published by the Free Software Foundation.
> > + */
> > +
> > +/ {
> > +	model = "CompuLab SB-SOM";
> > +	compatible = "compulab,sb-som";
> 
> I would expect this to have a more specific.

SB-SOM supports multiple modules. This device tree aggregates what is
common to all possible module-baseboard combinations, which is why the
compatible string is generic.

> 
> > +	lcd0: display {
> > +		compatible = "startek,startek-kd050c", "panel-dpi";
> > +		label = "lcd";
> 
> This isn't documented, nor do I think it is needed.

It is documented in Documentation/devicetree/bindings/display/panel/panel-dpi.txt
You're correct about it being optional though.

> 
> Rob
> 
--
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

WARNING: multiple messages have this Message-ID (diff)
From: nikita@compulab.co.il (Nikita Kiryanov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 12/14] ARM: sb-som: dts: introduce SB-SOM baseboard
Date: Mon, 30 Nov 2015 17:32:46 +0200	[thread overview]
Message-ID: <20151130153246.GA17574@skynet> (raw)
In-Reply-To: <20151125225734.GA17604@rob-hp-laptop>

On Wed, Nov 25, 2015 at 04:57:34PM -0600, Rob Herring wrote:
> On Tue, Nov 24, 2015 at 03:19:13PM +0200, Nikita Kiryanov wrote:
> > CompuLab SB-SOM baseboard is a carrier board for multiple arm-based SoMs.
> > It currently supports (with minor adjustments to assembly) CM-T43, CM-T54,
> > and CM-QS600 modules. It is a building block in the SBC-T43 single board
> > computer, which consists of cm-t43 on top of sb-som-t43.
> > 
> > Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
> > Cc: Tony Lindgren <tony@atomide.com>
> > Cc: Igor Grinberg <grinberg@compulab.co.il>
> > Cc: Dmitry Lifshitz <lifshitz@compulab.co.il>
> > Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
> > ---
> >  .../devicetree/bindings/arm/compulab-boards.txt    |  5 +++
> >  .../bindings/display/panel/startek,startek-kd050c  |  4 +++
> 
> .txt please.

Right, will V2..

> 
> >  .../devicetree/bindings/vendor-prefixes.txt        |  1 +
> >  arch/arm/boot/dts/compulab-sb-som.dtsi             | 42 ++++++++++++++++++++++
> >  4 files changed, 52 insertions(+)
> >  create mode 100644 Documentation/devicetree/bindings/arm/compulab-boards.txt
> >  create mode 100644 Documentation/devicetree/bindings/display/panel/startek,startek-kd050c
> >  create mode 100644 arch/arm/boot/dts/compulab-sb-som.dtsi
> > 
> > diff --git a/Documentation/devicetree/bindings/arm/compulab-boards.txt b/Documentation/devicetree/bindings/arm/compulab-boards.txt
> > new file mode 100644
> > index 0000000..3e742a5
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/arm/compulab-boards.txt
> > @@ -0,0 +1,5 @@
> > +CompuLab SB-SOM is a multi-module baseboard capable of carrying CM-T43, CM-T54,
> > +and QS-600 modules with minor modifications to the SB-SOM assembly.
> 
> All these modules have compatible strings?

Yes, although they are currently undocumented. QS-600 should be CM-QS600
though.. Will fix in V2.

> 
> > +
> > +Required root node properties:
> > +    - compatible = should be "compulab,sb-som"
> > diff --git a/Documentation/devicetree/bindings/display/panel/startek,startek-kd050c b/Documentation/devicetree/bindings/display/panel/startek,startek-kd050c
> > new file mode 100644
> > index 0000000..70cd8d1
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/display/panel/startek,startek-kd050c
> > @@ -0,0 +1,4 @@
> > +Startek Electronic Technology Co. KD050C 5.0" WVGA TFT LCD panel
> > +
> > +Required properties:
> > +- compatible: should be "startek,startek-kd050c"
> > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
> > index 55df1d4..409b134 100644
> > --- a/Documentation/devicetree/bindings/vendor-prefixes.txt
> > +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
> > @@ -218,6 +218,7 @@ sony	Sony Corporation
> >  spansion	Spansion Inc.
> >  sprd	Spreadtrum Communications Inc.
> >  st	STMicroelectronics
> > +startek	Startek
> >  ste	ST-Ericsson
> >  stericsson	ST-Ericsson
> >  synology	Synology, Inc.
> > diff --git a/arch/arm/boot/dts/compulab-sb-som.dtsi b/arch/arm/boot/dts/compulab-sb-som.dtsi
> > new file mode 100644
> > index 0000000..402a143
> > --- /dev/null
> > +++ b/arch/arm/boot/dts/compulab-sb-som.dtsi
> > @@ -0,0 +1,42 @@
> > +/*
> > + * Copyright (C) 2015 CompuLab, Ltd. - http://www.compulab.co.il/
> > + *
> > + * This program is free software; you can redistribute it and/or modify
> > + * it under the terms of the GNU General Public License version 2 as
> > + * published by the Free Software Foundation.
> > + */
> > +
> > +/ {
> > +	model = "CompuLab SB-SOM";
> > +	compatible = "compulab,sb-som";
> 
> I would expect this to have a more specific.

SB-SOM supports multiple modules. This device tree aggregates what is
common to all possible module-baseboard combinations, which is why the
compatible string is generic.

> 
> > +	lcd0: display {
> > +		compatible = "startek,startek-kd050c", "panel-dpi";
> > +		label = "lcd";
> 
> This isn't documented, nor do I think it is needed.

It is documented in Documentation/devicetree/bindings/display/panel/panel-dpi.txt
You're correct about it being optional though.

> 
> Rob
> 

  reply	other threads:[~2015-11-30 15:32 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-24 13:19 [PATCH 00/14] Add support for sbc-t43 Nikita Kiryanov
2015-11-24 13:19 ` Nikita Kiryanov
     [not found] ` <1448371155-17307-1-git-send-email-nikita-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-11-24 13:19   ` [PATCH 01/14] ARM: am437x: cm-t43: dts: add basic " Nikita Kiryanov
2015-11-24 13:19     ` Nikita Kiryanov
     [not found]     ` <1448371155-17307-2-git-send-email-nikita-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-11-25 23:03       ` Rob Herring
2015-11-25 23:03         ` Rob Herring
2015-11-30 15:33         ` Nikita Kiryanov
2015-11-30 15:33           ` Nikita Kiryanov
2015-11-30 21:48       ` Tony Lindgren
2015-11-30 21:48         ` Tony Lindgren
2015-11-24 13:19   ` [PATCH 02/14] ARM: am437x: cm-t43: dts: add support for module eeprom Nikita Kiryanov
2015-11-24 13:19     ` Nikita Kiryanov
2015-11-24 13:19   ` [PATCH 03/14] ARM: am437x: cm-t43: dts: add PMIC support Nikita Kiryanov
2015-11-24 13:19     ` Nikita Kiryanov
2015-11-24 13:19   ` [PATCH 04/14] ARM: am437x: cm-t43: dts: add spi-flash support Nikita Kiryanov
2015-11-24 13:19     ` Nikita Kiryanov
2015-11-24 13:19   ` [PATCH 05/14] ARM: am437x: cm-t43: dts: add NAND support Nikita Kiryanov
2015-11-24 13:19     ` Nikita Kiryanov
2015-11-24 13:19   ` [PATCH 06/14] ARM: am437x: cm-t43: dts: add dual emac support Nikita Kiryanov
2015-11-24 13:19     ` Nikita Kiryanov
     [not found]     ` <1448371155-17307-7-git-send-email-nikita-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-11-26 10:34       ` Mugunthan V N
2015-11-26 10:34         ` Mugunthan V N
2015-11-24 13:19   ` [PATCH 07/14] ARM: am437x: cm-t43: dts: add USB support Nikita Kiryanov
2015-11-24 13:19     ` Nikita Kiryanov
2015-11-24 13:19   ` [PATCH 08/14] ARM: am437x: cm-t43: dts: add eMMC support Nikita Kiryanov
2015-11-24 13:19     ` Nikita Kiryanov
2015-11-24 13:19   ` [PATCH 09/14] ARM: am437x: cm-t43: dts: add touchscreen support Nikita Kiryanov
2015-11-24 13:19     ` Nikita Kiryanov
2015-11-24 13:19   ` [PATCH 10/14] ARM: am437x: cm-t43: dts: add pca9555 support Nikita Kiryanov
2015-11-24 13:19     ` Nikita Kiryanov
2015-11-24 13:19   ` [PATCH 11/14] ARM: am437x: cm-t43: dts: add support for baseboard eeprom Nikita Kiryanov
2015-11-24 13:19     ` Nikita Kiryanov
2015-11-24 13:19   ` [PATCH 12/14] ARM: sb-som: dts: introduce SB-SOM baseboard Nikita Kiryanov
2015-11-24 13:19     ` Nikita Kiryanov
     [not found]     ` <1448371155-17307-13-git-send-email-nikita-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-11-25 22:57       ` Rob Herring
2015-11-25 22:57         ` Rob Herring
2015-11-30 15:32         ` Nikita Kiryanov [this message]
2015-11-30 15:32           ` Nikita Kiryanov
2015-11-24 13:19   ` [PATCH 13/14] ARM: am437x: cm-t43: dts: add support for mmc1 Nikita Kiryanov
2015-11-24 13:19     ` Nikita Kiryanov
2015-11-24 13:19   ` [PATCH 14/14] ARM: am437x: cm-t43: dts: add lcd support Nikita Kiryanov
2015-11-24 13:19     ` Nikita Kiryanov

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=20151130153246.GA17574@skynet \
    --to=nikita-utxizqzc01rs1mouv/rt9w@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org \
    --cc=ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org \
    --cc=lifshitz-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.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.