From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Nishanth Menon <nm@ti.com>, Wadim Egorov <W.Egorov@phytec.de>
Cc: "linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"vigneshr@ti.com" <vigneshr@ti.com>,
"kristo@kernel.org" <kristo@kernel.org>,
"robh+dt@kernel.org" <robh+dt@kernel.org>,
"krzysztof.kozlowski+dt@linaro.org"
<krzysztof.kozlowski+dt@linaro.org>
Subject: Re: [PATCH 2/2] arm64: dts: Add support for phyBOARD-Electra-AM642
Date: Wed, 2 Nov 2022 15:55:40 -0400 [thread overview]
Message-ID: <00dd8dc0-2f8c-753e-2109-1b30154c38c2@linaro.org> (raw)
In-Reply-To: <20221102194146.zyaw2yzl7q4b6r7u@ducky>
On 02/11/2022 15:41, Nishanth Menon wrote:
> On 16:56-20221102, Wadim Egorov wrote:
> [...]
>
>>>> +
>>>> +#include <dt-bindings/gpio/gpio.h>
>>>> +#include <dt-bindings/leds/common.h>
>>>> +#include <dt-bindings/net/ti-dp83867.h>
>>>> +
>>>> +/ {
>>>> + model = "PHYTEC phyCORE-AM64x";
>>>> + compatible = "phytec,am64-phycore-som";
>>> Does this match the binding?
>>
>> Not very sure about the compatible I should chose here. It is probably not very
>> important since the compatible gets overridden by the carrier which specifies
>> the am642 SoC.
>> Seems like the TI SoMs (k3-j7*som*.dtsi) do not add a compatible at all.
>>
>> Or do you think we should add the "ti,am642" compatible here?
>
> If the compatible of SoM makes much sense as a standalone OR usable
> elsewhere, then it could be an enum option to allow for som, soC as a
> valid combination.
>
> On the other hand, simplistically, it does look like SoM (like the j7es
> processor board) serves no specific purpose standalone, in which case
> skipping it is more appropriate.
The compatible from patch is clearly wrong - you cannot have such
compatible alone.
Whether having there compatible at all, is a different question...
Best regards,
Krzysztof
next prev parent reply other threads:[~2022-11-02 19:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-02 13:49 [PATCH 1/2] dt-bindings: arm: ti: Add bindings for PHYTEC AM64x based hardware Wadim Egorov
2022-11-02 13:49 ` [PATCH 2/2] arm64: dts: Add support for phyBOARD-Electra-AM642 Wadim Egorov
2022-11-02 15:06 ` Krzysztof Kozlowski
2022-11-02 15:10 ` Nishanth Menon
2022-11-02 16:56 ` Wadim Egorov
2022-11-02 19:41 ` Nishanth Menon
2022-11-02 19:55 ` Krzysztof Kozlowski [this message]
2022-11-02 14:50 ` [PATCH 1/2] dt-bindings: arm: ti: Add bindings for PHYTEC AM64x based hardware Nishanth Menon
2022-11-02 15:07 ` Krzysztof Kozlowski
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=00dd8dc0-2f8c-753e-2109-1b30154c38c2@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=W.Egorov@phytec.de \
--cc=devicetree@vger.kernel.org \
--cc=kristo@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=nm@ti.com \
--cc=robh+dt@kernel.org \
--cc=vigneshr@ti.com \
/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).