From: Kamil Kasperski <ressetkk@gmail.com>
To: "Jernej Škrabec" <jernej.skrabec@gmail.com>,
"Andre Przywara" <andre.przywara@arm.com>
Cc: wens@csie.org, samuel@sholland.org,
linux-arm-kernel@lists.infradead.org,
linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/3] dts: arm64: sunxi: add initial support for t95 tv box
Date: Fri, 15 Mar 2024 01:57:21 +0100 [thread overview]
Message-ID: <bb9f1f58-67f1-49cb-aede-046ec6258ff1@gmail.com> (raw)
In-Reply-To: <4331305.ejJDZkT8p0@jernej-laptop>
W dniu 14.03.2024 o 17:50, Jernej Škrabec pisze:
> Dne četrtek, 14. marec 2024 ob 01:19:28 CET je Kamil Kasperski napisal(a):
>> Hi Jernej, Andre!
> Please no top posting as per rules.
Sure. I'm not used to this kind of work, so please bear the mistakes I make.
>
>> Thanks for the reply. My board has a name "H616-T95MAX-AXP313A-v3.0".
> Ok, we for sure need to integrate this somehow to compatible string, since
> there are at least two incompatible versions.
It's good idea to introduce dtsi with common configuration for both boxes and add 2 new dts files with compatible string
"t95,t95max-axp313" and "t95,t95max-axp305" with separate PMIC configuration. Similarly as OrangePI Zero got handled.
Not to mention, that it looks like arch/arm64/boot/dts/allwinner/sun50i-h618-transpeed-8k618-t.dts also has very similar configuration to my T95 box. Question is should we mix up the compatible strings for SoC?
I know that H616 and H618 are almost identical SoCs, but if it's not only a matter of documentation it's still better idea to push new dts.
Best Regards,
Kamil
>> I believe these boards are two different revisions and the one with
>> AXP313A is a newer one, besides incorrectly label as v3.0. Sharing
>> common configuration between boxes is also a good idea but for this
>> specific configuration I would be cautious. From my experience with this
>> board the default configuration for X96 Mate is not working at all. I
>> suspect because of the PMIC and DRAM differences.
>>
>> Memory installed in X96 Mate is DDR3L and in mine T95 it's DDR3, hynix
>> H5TQ2G43BFR, that requires 1.5V to operate.
> PMIC is important difference, yes, but not DRAM. DDR3L is completely compatible
> with DDR3. It just additionally supports lower voltages. Additionally, Linux
> doesn't care about DRAM type and all. It's firmware responsibility to properly
> initialize it.
>
> Best regards,
> Jernej
>
>> The rest of configuration for both boards, like HDMI, MMC, EPHY and
>> audio codec seems to be the same across almost all H616-based boxes that
>> I've researched.
>>
>>
>> Moreover please let me update the patches and send v2 that aligns with
>> mainline branch. I've incorrectly assumed to use sunxi fork instead of
>> master. Sorry!
>>
>> W dniu 13.03.2024 o 19:00, Jernej Škrabec pisze:
>>> Dne sreda, 13. marec 2024 ob 18:38:08 CET je Andre Przywara napisal(a):
>>>> On Wed, 13 Mar 2024 18:25:14 +0100
>>>> Jernej Škrabec <jernej.skrabec@gmail.com> wrote:
>>>>
>>>>> Hi Kamil!
>>>>>
>>>>> Dne ponedeljek, 11. marec 2024 ob 18:47:47 CET je Kamil Kasperski napisal(a):
>>>>>> T95 is a most commonly known for being a box with a pre-installed malware.
>>>>>> It uses Allwinner H616 and comes with eMMC and DDR3 memory.
>>>>>> This device comes with two versions - one with AXP305 PMIC and another with AXP313 PMIC.
>>>>> I have this board and it always felt like a clone of X96 Mate, which is
>>>>> already supported in kernel, except for broken sd card detection. Would it
>>>>> make sense to unify those two boards and just overwrite or update parts here
>>>>> that are not the same?
>>>> I think the box you have is an older one, with the AXP305? IIUC, this is
>>>> about a newer revision with the AXP313. There are quite some differences
>>>> between the two PMICs, though it might still make sense to share the DTs,
>>>> see the OrangePi Zero[23].
>>> Right, mine is with AXP305. It has "T95MAX v4.0" printed on PCB.
>>>
>>> Kamil, does your board also have "MAX" mentioned somewhere?
>>>
>>> Best regards,
>>> Jernej
>>>
>>>> Cheers,
>>>> Andre
>>>>
>>>>>> Kamil Kasperski (3):
>>>>>> dt-bindings: vendor-prefixes: sunxi: add T95 to vendor-prefixes
>>>>>> dt-bindings: arm: sunxi: add t95 compatible string to list of known
>>>>>> boards
>>>>>> dts: arm64: sunxi: add initial support for T95 AXP313 tv box
>>>>>>
>>>>>> .../devicetree/bindings/arm/sunxi.yaml | 5 +
>>>>>> .../devicetree/bindings/vendor-prefixes.yaml | 2 +
>>>>>> arch/arm64/boot/dts/allwinner/Makefile | 1 +
>>>>>> .../dts/allwinner/sun50i-h616-t95-axp313.dts | 138 ++++++++++++++++++
>>>>>> 4 files changed, 146 insertions(+)
>>>>>> create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h616-t95-axp313.dts
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>>
>
>
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2024-03-15 0:57 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-11 17:47 [PATCH 0/3] dts: arm64: sunxi: add initial support for t95 tv box Kamil Kasperski
2024-03-11 17:47 ` [PATCH 1/3] dt-bindings: vendor-prefixes: sunxi: add T95 string Kamil Kasperski
2024-03-12 11:25 ` Krzysztof Kozlowski
2024-03-11 17:47 ` [PATCH 2/3] dt-bindings: arm: sunxi: add t95 compatible string to list of known boards Kamil Kasperski
2024-03-12 11:26 ` Krzysztof Kozlowski
2024-03-11 17:47 ` [PATCH 3/3] dts: arm64: sunxi: add initial dts for T95 AXP313 tv box Kamil Kasperski
2024-03-12 11:27 ` Krzysztof Kozlowski
2024-03-13 17:25 ` [PATCH 0/3] dts: arm64: sunxi: add initial support for t95 " Jernej Škrabec
2024-03-13 17:38 ` Andre Przywara
2024-03-13 18:00 ` Jernej Škrabec
2024-03-14 0:19 ` Kamil Kasperski
2024-03-14 16:50 ` Jernej Škrabec
2024-03-15 0:57 ` Kamil Kasperski [this message]
2024-03-15 18:20 ` Jernej Škrabec
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=bb9f1f58-67f1-49cb-aede-046ec6258ff1@gmail.com \
--to=ressetkk@gmail.com \
--cc=andre.przywara@arm.com \
--cc=jernej.skrabec@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=samuel@sholland.org \
--cc=wens@csie.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).