devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC][DT] Guidance on device tree property prefix for TM16XX-class LED display controllers
@ 2025-06-16 20:06 Jean-Francois Lessard
  2025-06-16 20:26 ` Andy Shevchenko
  2025-06-17  9:43 ` Geert Uytterhoeven
  0 siblings, 2 replies; 9+ messages in thread
From: Jean-Francois Lessard @ 2025-06-16 20:06 UTC (permalink / raw)
  To: devicetree; +Cc: andy, geert

Hi all,

I’m working on preparing a new driver and device tree binding for
auxiliary LED display controllers of the TM16XX class, and I’d like to
request guidance on property naming conventions before submitting a
formal patch series.

The driver (tentatively named tm16xx) supports LED controller chips
that share a common hardware design and programming model, produced by
multiple vendors, including:
- Titan Micro Electronics: TM1618, TM1620, TM1628, TM1650
- FUDA HISI Microelectronics: FD620, FD628, FD650, FD655, FD6551
- Princeton Technology Corp: PT6964
- HBS: HBS658

These devices are functionally compatible and appear in various
consumer and embedded hardware (e.g., Android TV boxes) to control
both 7-segment displays and custom icons that may look like this:

          ---    ---       ---    ---
 [WIFI]  |   |  |   |  -  |   |  |   |  [USB]  [PLAY]
          ---    ---       ---    ---
 [LAN]   |   |  |   |  -  |   |  |   |  [BT]   [PAUSE]
          ---    ---       ---    ---

My current binding defines properties describing hardware layout, for example:

    tm16xx,digits = /bits/ 8 <0 1 2 3>;
    tm16xx,segment-mapping = /bits/ 8 <0 1 2 3 4 5 6>;
    tm16xx,transposed;

These describe hardware characteristics (grid/digit arrangement,
segment mapping, transposed display output) that apply to this class
of compatible hardware, regardless of vendor.

My question: Given that these properties describe a common hardware
class (rather than a specific vendor design or generic LED display
behavior), what is the preferred naming convention?

1. Should I retain a prefix like tm16xx, to represent this hardware
class (as it is the most recognized functional family name)?

2. Should I instead pick an original vendor’s prefix (e.g., titanmec,)
even though other vendors produce compatible chips?

3. Is there another convention recommended for hardware classes
produced by multiple vendors with compatible designs?

I want to ensure that the binding follows the preferred conventions
for upstream acceptance and clean DT design.

Any guidance or suggestions would be greatly appreciated!

Best regards,
Jean-François Lessard
jefflessard3@gmail.com

^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <CADsqogD=zfC--XHhSXZ=cDHZ3TMNpcU2WUS0stY2HhuRNdzPXg@mail.gmail.com>]

end of thread, other threads:[~2025-06-18 18:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-16 20:06 [RFC][DT] Guidance on device tree property prefix for TM16XX-class LED display controllers Jean-Francois Lessard
2025-06-16 20:26 ` Andy Shevchenko
2025-06-16 23:07   ` Jean-Francois Lessard
2025-06-17  9:43 ` Geert Uytterhoeven
2025-06-17 11:57   ` Andy Shevchenko
2025-06-17 13:39     ` Jean-Francois Lessard
2025-06-17 18:40       ` Andy Shevchenko
2025-06-18 18:30         ` Jean-Francois Lessard
     [not found] <CADsqogD=zfC--XHhSXZ=cDHZ3TMNpcU2WUS0stY2HhuRNdzPXg@mail.gmail.com>
2025-06-16 17:02 ` Andy Shevchenko

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).