devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Mathew McBride <matt@traverse.com.au>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Shawn Guo <shawnguo@kernel.org>, Li Yang <leoyang.li@nxp.com>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 1/4] dt-bindings: trivial-devices: add traverse,ten64-controller
Date: Fri, 5 May 2023 15:47:20 -0500	[thread overview]
Message-ID: <20230505204720.GA3506915-robh@kernel.org> (raw)
In-Reply-To: <c44a73f0-5b34-c740-40c9-afb04bf1c6ab@linaro.org>

On Tue, May 02, 2023 at 10:02:27AM +0200, Krzysztof Kozlowski wrote:
> On 01/05/2023 08:47, Mathew McBride wrote:
> > Add the Ten64 family board controller[1] to the trivial devices list.
> > 
> > Signed-off-by: Mathew McBride <matt@traverse.com.au>
> > 
> > [1] - https://ten64doc.traverse.com.au/hardware/microcontroller/

Nothing at that link...

> > ---
> >  Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
> > index 246863a9bc7e..638e16fc9f71 100644
> > --- a/Documentation/devicetree/bindings/trivial-devices.yaml
> > +++ b/Documentation/devicetree/bindings/trivial-devices.yaml
> > @@ -397,6 +397,8 @@ properties:
> >            - ti,tps544b25
> >            - ti,tps544c20
> >            - ti,tps544c25
> > +            # Board controller for Ten64 family mainboards
> > +          - traverse,ten64-controller
> 
> This is not a ten64 device, but just component of the SoC, right?
> Regular NXP LPC804 Cortex-M0 which you just program with different firmware.
> 
> Basically this means you describe the firmware in Devicetree...
> 
> Rob,
> 
> What are the guidelines for generic co-processors (some Cortex-M)
> exposing just I2C line and nothing more? Do we want to describe the
> actual firmware running there?

It really depends if the firmware implements a fixed function or varies 
frequently. If there's resources exposed in DT dependent on the 
firmware, then the binding kind of has to be a binding for the firmware.

DT is the view of hardware as presented to the OS whether the h/w is 
implemented in gates or firmware.

Rob

  reply	other threads:[~2023-05-05 20:47 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-01  6:47 [PATCH 0/4] Ten64 (NXP LS1088A) device tree updates Mathew McBride
2023-05-01  6:47 ` [PATCH 1/4] dt-bindings: trivial-devices: add traverse,ten64-controller Mathew McBride
2023-05-02  8:02   ` Krzysztof Kozlowski
2023-05-05 20:47     ` Rob Herring [this message]
2023-05-08  2:14       ` Mathew McBride
2023-07-24  6:23         ` Mathew McBride
2023-05-05 20:48     ` Rob Herring
2023-05-01  6:47 ` [PATCH 2/4] arm64: dts: freescale: ten64: add board microcontroller binding Mathew McBride
2023-05-01  6:47 ` [PATCH 3/4] arm64: dts: freescale: ten64: reduce maximum SD card frequency Mathew McBride
2023-05-01  6:47 ` [PATCH 4/4] arm64: dts: freescale: ten64: fix header typo and update copyright Mathew McBride
2025-08-13  2:34 ` [PATCH v2 0/2] dt-bindings: mfd: add Ten64 board controller Mathew McBride
2025-08-13  2:34 ` [PATCH v2 1/2] dt-bindings: mfd: add Traverse " Mathew McBride
2025-08-13  7:40   ` Krzysztof Kozlowski
2025-08-21  6:11   ` [PATCH v3 0/2] dt-bindings: mfd: add " Mathew McBride
2025-08-21  6:11     ` [PATCH v3 1/2] dt-bindings: mfd: add Traverse " Mathew McBride
2025-08-21  6:19       ` Krzysztof Kozlowski
2025-08-21  6:21         ` Krzysztof Kozlowski
2025-08-21  6:35         ` Mathew McBride
2025-08-21  6:41           ` Krzysztof Kozlowski
2025-08-21  6:11     ` [PATCH v3 2/2] arm: dts: freescale: ten64: add board controller binding Mathew McBride
2025-08-13  2:34 ` [PATCH v2 " Mathew McBride

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=20230505204720.GA3506915-robh@kernel.org \
    --to=robh@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=leoyang.li@nxp.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=matt@traverse.com.au \
    --cc=shawnguo@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).