* A133 support @ 2024-10-20 9:36 Parthiban 2024-10-20 11:23 ` Andre Przywara 0 siblings, 1 reply; 3+ messages in thread From: Parthiban @ 2024-10-20 9:36 UTC (permalink / raw) To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, wens, jernej.skrabec, samuel Cc: parthiban, devicetree, linux-arm-kernel, linux-sunxi, linux-kernel Hi All, Am currently adding support for Allwinner A133 SoC based on A100. Based on the [1], A100 and A133 uses same IP across. But there is no public available datasheet or user manual for A100. Should A100 kept as base and A133 dtsi needs to added on top or A133 can be duplicated into a new devicetree? [1]: https://linux-sunxi.org/Linux_mainlining_effort#Status_Matrix -- Thanks, Parthiban N ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: A133 support 2024-10-20 9:36 A133 support Parthiban @ 2024-10-20 11:23 ` Andre Przywara 2024-10-20 11:46 ` Parthiban 0 siblings, 1 reply; 3+ messages in thread From: Andre Przywara @ 2024-10-20 11:23 UTC (permalink / raw) To: Parthiban Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, wens, jernej.skrabec, samuel, devicetree, linux-arm-kernel, linux-sunxi, linux-kernel, masterr3c0rd On Sun, 20 Oct 2024 15:06:46 +0530 Parthiban <parthiban@linumiz.com> wrote: Hi, > Am currently adding support for Allwinner A133 SoC based on A100. Many thanks for picking this up, but what do you mean exactly by "adding support"? As you probably have seen, there is already some basic support for the A100 in the tree, and since we assume that both SoCs are basically identical, there wouldn't be too much left to do, would there? For reference, there is some leftover patch series from the original A100 upstreaming attempt, which you could rebase and rework: https://lore.kernel.org/linux-arm-kernel/cover.1604988979.git.frank@allwinnertech.com/ I haven't checked in a while, but some patches in there have either been merged or are superseded by other patches, and I guess the others need at least a rebase, but it's certainly something worthwhile to work on. > Based on the [1], > A100 and A133 uses same IP across. But there is no public available datasheet or > user manual for A100. Indeed there has never been, and back then we relied on information provided by those Allwinner employees sending the patches. For now we assume that the A133 manual describes the A100 as well. > Should A100 kept as base and A133 dtsi needs to added on top or A133 can be duplicated > into a new devicetree? As far as we know, the A133 is the better bin of the A100, so they should be identical from the software perspective. This seems to be similar to the H616/H313 situation. At some point the A100 totally disappeared from Allwinner's documentation (in an almost "Orwellian 1984 fashion"), and they only mention the A133 ever since. So, since the A100 is already in, and was the first one, I'd say: - Keep using an allwinner,sun50i-a100 prefix for any compatible string. Rationale: it's the base model, and was the first one, and we have compatible strings with that in, so we should keep using that for consistency. - There is no need for any kind of a133.dtsi, since they are probably identical. - If you add a board with an A133, use that name in the root compatible string, but include the a100.dtsi. See the H616/H313/H618 situation, for instance as in sun50i-h618-transpeed-8k618-t.dts. Hope that helps, and thanks for your efforts on improving support for that chip! Please come back to the #linux-sunxi IRC channel on OFTC, there is someone (MasterR3C0RD) actively working on some A133 board as well, and he even has a working DRAM driver for U-Boot. So you should coordinate any upstreaming efforts. Cheers Andre > > [1]: https://linux-sunxi.org/Linux_mainlining_effort#Status_Matrix > ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: A133 support 2024-10-20 11:23 ` Andre Przywara @ 2024-10-20 11:46 ` Parthiban 0 siblings, 0 replies; 3+ messages in thread From: Parthiban @ 2024-10-20 11:46 UTC (permalink / raw) To: Andre Przywara Cc: parthiban, Rob Herring, Krzysztof Kozlowski, Conor Dooley, wens, jernej.skrabec, samuel, devicetree, linux-arm-kernel, linux-sunxi, linux-kernel, masterr3c0rd On 10/20/24 4:53 PM, Andre Przywara wrote: > On Sun, 20 Oct 2024 15:06:46 +0530 > Parthiban <parthiban@linumiz.com> wrote: > > Hi, > >> Am currently adding support for Allwinner A133 SoC based on A100. > > Many thanks for picking this up, but what do you mean exactly by > "adding support"? As you probably have seen, there is already some By meaning using the existing compatible and preparing devicetree for [1]. > basic support for the A100 in the tree, and since we assume that both > SoCs are basically identical, there wouldn't be too much left to do, > would there? > For reference, there is some leftover patch series from the original > A100 upstreaming attempt, which you could rebase and rework: > https://lore.kernel.org/linux-arm-kernel/cover.1604988979.git.frank@allwinnertech.com/ Yeah, I did pull few things which were dangling in the series. > > I haven't checked in a while, but some patches in there have either > been merged or are superseded by other patches, and I guess the others > need at least a rebase, but it's certainly something worthwhile to work > on. > >> Based on the [1], >> A100 and A133 uses same IP across. But there is no public available datasheet or >> user manual for A100. > > Indeed there has never been, and back then we relied on information > provided by those Allwinner employees sending the patches. > For now we assume that the A133 manual describes the A100 as well. > >> Should A100 kept as base and A133 dtsi needs to added on top or A133 can be duplicated >> into a new devicetree? > > As far as we know, the A133 is the better bin of the A100, so they > should be identical from the software perspective. This seems to be > similar to the H616/H313 situation. At some point the A100 totally > disappeared from Allwinner's documentation (in an almost "Orwellian > 1984 fashion"), and they only mention the A133 ever since. > > So, since the A100 is already in, and was the first one, I'd say: > - Keep using an allwinner,sun50i-a100 prefix for any compatible string. > Rationale: it's the base model, and was the first one, and we have > compatible strings with that in, so we should keep using that for > consistency. > - There is no need for any kind of a133.dtsi, since they are probably > identical. > - If you add a board with an A133, use that name in the root compatible > string, but include the a100.dtsi. See the H616/H313/H618 situation, > for instance as in sun50i-h618-transpeed-8k618-t.dts. Thanks for the details. That helps. > > Hope that helps, and thanks for your efforts on improving support for > that chip! Please come back to the #linux-sunxi IRC channel on OFTC, > there is someone (MasterR3C0RD) actively working on some A133 board as > well, and he even has a working DRAM driver for U-Boot. So you should > coordinate any upstreaming efforts. Great, am still stuck with 2018 tree from vendor, this will help. [1]: https://szbaijie.com/index/product/product_detail.html?product_id=23&language=en Thanks, Parthiban N > > Cheers > Andre > > > > >> >> [1]: https://linux-sunxi.org/Linux_mainlining_effort#Status_Matrix >> > > ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-10-20 11:46 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-10-20 9:36 A133 support Parthiban 2024-10-20 11:23 ` Andre Przywara 2024-10-20 11:46 ` Parthiban
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox