From: Macpaul Lin <macpaul.lin@mediatek.com>
To: "AngeloGioacchino Del Regno"
<angelogioacchino.delregno@collabora.com>,
"Krzysztof Kozlowski" <krzysztof.kozlowski@linaro.org>,
"Rob Herring" <robh+dt@kernel.org>,
"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Matthias Brugger" <matthias.bgg@gmail.com>,
"Frank Wunderlich" <frank-w@public-files.de>,
"Bernhard Rosenkränzer" <bero@baylibre.com>,
"Sean Wang" <sean.wang@mediatek.com>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org
Cc: Bear Wang <bear.wang@mediatek.com>,
Pablo Sun <pablo.sun@mediatek.com>,
Macpaul Lin <macpaul@gmail.com>,
Chunfeng Yun <chunfeng.yun@mediatek.com>
Subject: Re: [PATCH 1/2] dt-bindings: arm64: dts: mediatek: Add mt8395-evk board
Date: Wed, 6 Sep 2023 10:41:22 +0800 [thread overview]
Message-ID: <0acb43c3-3164-2a17-0105-84dbd533af8a@mediatek.com> (raw)
In-Reply-To: <bf8394c6-5460-8696-f46b-0c39927aaf84@collabora.com>
On 9/5/23 18:58, AngeloGioacchino Del Regno and Krzsztof Kozlowski wrote:
> Il 05/09/23 12:36, Krzysztof Kozlowski ha scritto:
>> On 05/09/2023 11:36, Macpaul Lin wrote:
>>>
>>>
>>> On 9/4/23 20:11, Krzysztof Kozlowski wrote:
>>>>
>>>>
>>>> External email : Please do not click links or open attachments until
>>>> you
>>>> have verified the sender or the content.
>>>>
>>>> On 04/09/2023 11:50, Macpaul Lin wrote:
>>>>>
>>>>>
>>>>> On 9/4/23 17:33, Krzysztof Kozlowski wrote:
>>>>>>
>>>>>>
>>>>>> External email : Please do not click links or open attachments
>>>>>> until you
>>>>>> have verified the sender or the content.
>>>>>>
>>>>>> On 04/09/2023 11:20, Macpaul Lin wrote:
>>>>>>> Add bindings for the MediaTek mt8395-evk board.
>>>>>>> The mt8359-evk board is also named as "Genio 1200-EVK".
>>>>>>> MT8195 and MT8395 are the same family series SoC could share
>>>>>>
>>>>>> How can be the same and have different numbers? You sill need
>>>>>> dedicated
>>>>>> compatible.
>>>>>>
>>>>>
>>>>> The SoCs mt8195 and mt8395 are designed for different market
>>>>> application
>>>>> and physical characteristics, using different efuse values for
>>>>> distinction. The booting flow and configurations are controllered
>>>>> by the
>>>>> boot loaders, firmware, and TF-A. Therefore, the part numbers and
>>>>> procurement channels are different. The detail information of these
>>>>> efuse values is proprietary, so I cant disclose it futher. Hence the
>>>>> most of peripheral drivers and base address are almost the same.
>>>>
>>>> 1. Drivers? So we talk about compatibility, not the same.
>>>> 2. "almost the same" is not the same. Follow the guidelines for writing
>>>> bindings.
>>>>
>>>
>>> Thanks for the review.
>>>
>>> After internal confirmation and discussion, it can be confirmed that the
>>> MT8195 and MT8395 are identical SoCs from to binding's perspective.
>>
>> I am sorry, but I really do not care what you internally discussed about
>> bindings. I do not think your internal review respect existing
>> guidelines. You talked about drivers, not "bindings perspective", so
>> your internal discussion is clearly discussing something else.
>>
>>> MediaTek hope the mt8395 boards could directly use mt8195.dtsi, without
>>> the need to create a separate mt8395.dtsi to include mt8195.dtsi.
>>> Therefore, we hope to fully adopt the bindings of mt8195. However, I
>>> will submit a revised patch for compatible since they are different
>>> boards.
>>
>> You can disagree but then I expect arguments from your side.
>>
>
> In short - they're the same chip, as in, they behave the same on a
> *hardware*
> perspective; what changes is the bootchain (plus stricter security from
> TF-A)
> and allowable temperature ranges for operation, that's practically it...
>
> ...so yes the compatible for the "new soc" must be documented, but that's
> practically just a revision, *not a new soc* at all.
>
> (though, I agree that seeing a different name as in 1 -> 3 can be totally
> confusing)
>
> The drivers difference that Macpaul hinted to are about drivers needing
> some
> SMC calls instead of direct MMIO manipulation, so, something like two
> bindings
> for something like two drivers will need to add a 8395 compatible;
> speaking of
> what we would have in a devicetree for this SoC, that'd be exactly 99%
> identical
> to mt8195.dtsi.
>
> Anyway, drivers are drivers, bindings describe hardware - and the hw is,
> again,
> the same...
>
> Hope that this makes things clearer! :-)
>
> Cheers,
> Angelo
Thanks for your patience and clarification.
I'll submit new SOC binding and revise the patches for mt8395 board.
Thanks
Macpaul Lin
next prev parent reply other threads:[~2023-09-06 2:42 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-04 9:20 [PATCH 1/2] dt-bindings: arm64: dts: mediatek: Add mt8395-evk board Macpaul Lin
2023-09-04 9:20 ` [PATCH 2/2] arm64: dts: mediatek: add device-tree for Genio 1200 EVK board Macpaul Lin
2023-09-04 9:37 ` Krzysztof Kozlowski
2023-09-04 9:33 ` [PATCH 1/2] dt-bindings: arm64: dts: mediatek: Add mt8395-evk board Krzysztof Kozlowski
2023-09-04 9:50 ` Macpaul Lin
2023-09-04 12:11 ` Krzysztof Kozlowski
2023-09-05 9:36 ` Macpaul Lin
2023-09-05 10:36 ` Krzysztof Kozlowski
2023-09-05 10:58 ` AngeloGioacchino Del Regno
2023-09-06 2:41 ` Macpaul Lin [this message]
2023-09-06 9:25 ` [PATCH v2 1/2] dt-bindings: arm64: dts: mediatek: add " Macpaul Lin
2023-09-06 9:25 ` [PATCH v2 2/2] arm64: dts: mediatek: add device-tree for Genio 1200 EVK board Macpaul Lin
2023-09-06 9:34 ` Krzysztof Kozlowski
2023-09-06 10:15 ` Macpaul Lin
2023-09-06 10:20 ` Krzysztof Kozlowski
2023-09-06 11:49 ` Macpaul Lin
2023-09-06 9:32 ` [PATCH v2 1/2] dt-bindings: arm64: dts: mediatek: add mt8395-evk board Krzysztof Kozlowski
2023-09-06 9:53 ` Macpaul Lin
2023-09-06 10:05 ` Krzysztof Kozlowski
2023-09-06 10:48 ` AngeloGioacchino Del Regno
2023-09-06 11:24 ` Krzysztof Kozlowski
2023-09-06 11:47 ` Macpaul Lin
2023-09-06 12:19 ` Frank Wunderlich
2023-09-07 4:07 ` Macpaul Lin
2023-09-07 5:58 ` 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=0acb43c3-3164-2a17-0105-84dbd533af8a@mediatek.com \
--to=macpaul.lin@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=bear.wang@mediatek.com \
--cc=bero@baylibre.com \
--cc=chunfeng.yun@mediatek.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=frank-w@public-files.de \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=macpaul@gmail.com \
--cc=matthias.bgg@gmail.com \
--cc=pablo.sun@mediatek.com \
--cc=robh+dt@kernel.org \
--cc=sean.wang@mediatek.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