[v3,0/4] Add BigTreeTech CB1 SoM & Boards

Message ID 5EB3DB1D7F80A40F+20230805083636.788048-1-martin@biqu3d.com
Headers
Series Add BigTreeTech CB1 SoM & Boards |

Message

Martin Botka Aug. 5, 2023, 8:36 a.m. UTC
  Hello,
This series adds a vendor prefix for BigTreeTech and adds BigTreeTech CB1,
Manta board and BigTreeTech Pi.

CB1 is just an SoM thats based on AllWinner H616.
BigTreeTech Manta boards are expander boards for CB1 and BigTreeTech Pi
is an CB1 in Rpi style with few additional things like IR receiver and fan port
on GPIO.

This work started before I was hired by BigTreeTech and thus majority of the
patches are from SoMainline email and few are from my work email.

This series depends on commit https://lkml.org/lkml/2023/8/2/801
"dt-bindings: mfd: x-powers,axp152: make interrupt optional for more chips".

Cheers,
Martin

Martin Botka (4):
  dt-bindings: vendor-prefixes: Add BigTreeTech
  dt-bindings: arm: sunxi: Add BigTreeTech boards
  arm64: dts: allwinner: h616: Add BigTreeTech CB1 SoM & boards support
  arm64: dts: allwinner: h616: Add BigTreeTech Pi support

 .../devicetree/bindings/arm/sunxi.yaml        |  11 ++
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 arch/arm64/boot/dts/allwinner/Makefile        |   2 +
 .../sun50i-h616-bigtreetech-cb1-manta.dts     |  35 +++++
 .../sun50i-h616-bigtreetech-cb1.dtsi          | 140 ++++++++++++++++++
 .../allwinner/sun50i-h616-bigtreetech-pi.dts  |  70 +++++++++
 6 files changed, 260 insertions(+)
 create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1-manta.dts
 create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1.dtsi
 create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-pi.dts
  

Comments

Conor Dooley Aug. 5, 2023, 9:01 a.m. UTC | #1
On Sat, Aug 05, 2023 at 10:36:03AM +0200, Martin Botka wrote:
> Hello,
> This series adds a vendor prefix for BigTreeTech and adds BigTreeTech CB1,
> Manta board and BigTreeTech Pi.
> 
> CB1 is just an SoM thats based on AllWinner H616.
> BigTreeTech Manta boards are expander boards for CB1 and BigTreeTech Pi
> is an CB1 in Rpi style with few additional things like IR receiver and fan port
> on GPIO.
> 
> This work started before I was hired by BigTreeTech and thus majority of the
> patches are from SoMainline email and few are from my work email.
> 
> This series depends on commit https://lkml.org/lkml/2023/8/2/801
> "dt-bindings: mfd: x-powers,axp152: make interrupt optional for more chips".

I dunno what you are doing, but FYI the threading on your emails is not
quite right, with the cover letter disconnected from the rest of the
series. git send-email can send the covers alongside the patches and
correctly set the threading. Your 1/4 has a in-reply-to header with a
message-id that doesn't exist.

   1 ND  Aug 05 Martin Botka    (8.2K) ┌─>[PATCH v3 4/4] arm64: dts: allwinner: h616: Add BigTreeTech Pi support
   2 ND  Aug 05 Martin Botka    ( 12K) ├─>[PATCH v3 3/4] arm64: dts: allwinner: h616: Add BigTreeTech CB1 SoM & boards support
   3  D  Aug 05 Martin Botka    (  41) ├─>[PATCH v3 2/4] dt-bindings: arm: sunxi: Add BigTreeTech boards
   4  D  Aug 05 Martin Botka    (  34) ┴─>[PATCH v3 1/4] dt-bindings: vendor-prefixes: Add BigTreeTech
   5     Aug 05 Martin Botka    (  38) [PATCH v3 0/4] Add BigTreeTech CB1 SoM & Boards
  
Martin Botka Aug. 5, 2023, 9:10 a.m. UTC | #2
On 8/5/23 11:01 AM, Conor Dooley wrote:
> On Sat, Aug 05, 2023 at 10:36:03AM +0200, Martin Botka wrote:
>> Hello,
>> This series adds a vendor prefix for BigTreeTech and adds BigTreeTech CB1,
>> Manta board and BigTreeTech Pi.
>>
>> CB1 is just an SoM thats based on AllWinner H616.
>> BigTreeTech Manta boards are expander boards for CB1 and BigTreeTech Pi
>> is an CB1 in Rpi style with few additional things like IR receiver and fan port
>> on GPIO.
>>
>> This work started before I was hired by BigTreeTech and thus majority of the
>> patches are from SoMainline email and few are from my work email.
>>
>> This series depends on commit https://lkml.org/lkml/2023/8/2/801
>> "dt-bindings: mfd: x-powers,axp152: make interrupt optional for more chips".
> 
> I dunno what you are doing, but FYI the threading on your emails is not
> quite right, with the cover letter disconnected from the rest of the
> series. git send-email can send the covers alongside the patches and
> correctly set the threading. Your 1/4 has a in-reply-to header with a
> message-id that doesn't exist.

Heya. Yea we are currently trying to figure it out.

Before sending everything looks OK and when testing with somainline.org 
mail it does send it all properly so we are kinda betting on the SMTP
provider doing some funky stuff. Sadly not much i can do with that.

We will try to see if we cant force it via client to send it properly.
> 
>     1 ND  Aug 05 Martin Botka    (8.2K) ┌─>[PATCH v3 4/4] arm64: dts: allwinner: h616: Add BigTreeTech Pi support
>     2 ND  Aug 05 Martin Botka    ( 12K) ├─>[PATCH v3 3/4] arm64: dts: allwinner: h616: Add BigTreeTech CB1 SoM & boards support
>     3  D  Aug 05 Martin Botka    (  41) ├─>[PATCH v3 2/4] dt-bindings: arm: sunxi: Add BigTreeTech boards
>     4  D  Aug 05 Martin Botka    (  34) ┴─>[PATCH v3 1/4] dt-bindings: vendor-prefixes: Add BigTreeTech
>     5     Aug 05 Martin Botka    (  38) [PATCH v3 0/4] Add BigTreeTech CB1 SoM & Boards
> 
>
  
Jernej Škrabec Aug. 6, 2023, 11:54 a.m. UTC | #3
Dne sobota, 05. avgust 2023 ob 10:36:03 CEST je Martin Botka napisal(a):
> Hello,
> This series adds a vendor prefix for BigTreeTech and adds BigTreeTech CB1,
> Manta board and BigTreeTech Pi.
> 
> CB1 is just an SoM thats based on AllWinner H616.
> BigTreeTech Manta boards are expander boards for CB1 and BigTreeTech Pi
> is an CB1 in Rpi style with few additional things like IR receiver and fan
> port on GPIO.
> 
> This work started before I was hired by BigTreeTech and thus majority of the
> patches are from SoMainline email and few are from my work email.
> 
> This series depends on commit https://lkml.org/lkml/2023/8/2/801
> "dt-bindings: mfd: x-powers,axp152: make interrupt optional for more chips".

What's the status of above patch?

I won't merge this series until it's accepted and merged.

Best regards,
Jernej

> 
> Cheers,
> Martin
> 
> Martin Botka (4):
>   dt-bindings: vendor-prefixes: Add BigTreeTech
>   dt-bindings: arm: sunxi: Add BigTreeTech boards
>   arm64: dts: allwinner: h616: Add BigTreeTech CB1 SoM & boards support
>   arm64: dts: allwinner: h616: Add BigTreeTech Pi support
> 
>  .../devicetree/bindings/arm/sunxi.yaml        |  11 ++
>  .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
>  arch/arm64/boot/dts/allwinner/Makefile        |   2 +
>  .../sun50i-h616-bigtreetech-cb1-manta.dts     |  35 +++++
>  .../sun50i-h616-bigtreetech-cb1.dtsi          | 140 ++++++++++++++++++
>  .../allwinner/sun50i-h616-bigtreetech-pi.dts  |  70 +++++++++
>  6 files changed, 260 insertions(+)
>  create mode 100644
> arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1-manta.dts create
> mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1.dtsi
> create mode 100644
> arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-pi.dts
  
Martin Botka Aug. 6, 2023, 12:04 p.m. UTC | #4
On 8/6/23 1:54 PM, Jernej Škrabec wrote:
> Dne sobota, 05. avgust 2023 ob 10:36:03 CEST je Martin Botka napisal(a):
>> Hello,
>> This series adds a vendor prefix for BigTreeTech and adds BigTreeTech CB1,
>> Manta board and BigTreeTech Pi.
>>
>> CB1 is just an SoM thats based on AllWinner H616.
>> BigTreeTech Manta boards are expander boards for CB1 and BigTreeTech Pi
>> is an CB1 in Rpi style with few additional things like IR receiver and fan
>> port on GPIO.
>>
>> This work started before I was hired by BigTreeTech and thus majority of the
>> patches are from SoMainline email and few are from my work email.
>>
>> This series depends on commit https://lkml.org/lkml/2023/8/2/801
>> "dt-bindings: mfd: x-powers,axp152: make interrupt optional for more chips".
> 
> What's the status of above patch?
Hello,

AXP313a and AXP305 are missing an IRQ check and thus V2 with the chips 
added to the check will be needed and should be sent out by Andre soon :)

Cheers,
Martin
> 
> I won't merge this series until it's accepted and merged.
> 
> Best regards,
> Jernej
> 
>>
>> Cheers,
>> Martin
>>
>> Martin Botka (4):
>>    dt-bindings: vendor-prefixes: Add BigTreeTech
>>    dt-bindings: arm: sunxi: Add BigTreeTech boards
>>    arm64: dts: allwinner: h616: Add BigTreeTech CB1 SoM & boards support
>>    arm64: dts: allwinner: h616: Add BigTreeTech Pi support
>>
>>   .../devicetree/bindings/arm/sunxi.yaml        |  11 ++
>>   .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
>>   arch/arm64/boot/dts/allwinner/Makefile        |   2 +
>>   .../sun50i-h616-bigtreetech-cb1-manta.dts     |  35 +++++
>>   .../sun50i-h616-bigtreetech-cb1.dtsi          | 140 ++++++++++++++++++
>>   .../allwinner/sun50i-h616-bigtreetech-pi.dts  |  70 +++++++++
>>   6 files changed, 260 insertions(+)
>>   create mode 100644
>> arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1-manta.dts create
>> mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1.dtsi
>> create mode 100644
>> arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-pi.dts
> 
> 
> 
> 
>
  
Andre Przywara Aug. 7, 2023, 1:57 p.m. UTC | #5
On Sun, 06 Aug 2023 13:54:21 +0200
Jernej Škrabec <jernej.skrabec@gmail.com> wrote:

Hi,

> Dne sobota, 05. avgust 2023 ob 10:36:03 CEST je Martin Botka napisal(a):
> > Hello,
> > This series adds a vendor prefix for BigTreeTech and adds BigTreeTech CB1,
> > Manta board and BigTreeTech Pi.
> > 
> > CB1 is just an SoM thats based on AllWinner H616.
> > BigTreeTech Manta boards are expander boards for CB1 and BigTreeTech Pi
> > is an CB1 in Rpi style with few additional things like IR receiver and fan
> > port on GPIO.
> > 
> > This work started before I was hired by BigTreeTech and thus majority of the
> > patches are from SoMainline email and few are from my work email.
> > 
> > This series depends on commit https://lkml.org/lkml/2023/8/2/801
> > "dt-bindings: mfd: x-powers,axp152: make interrupt optional for more chips".  
> 
> What's the status of above patch?
> 
> I won't merge this series until it's accepted and merged.

So Conor ACKed it, and I think the only questions left were whether this
should be extended to all PMICs (not now, as I argued[1]), and that the
actual AXP MFD driver "implementing" the binding is not fit for that, with
a fix now here [2].

So is there any chance that there would be a second PR with the CB1 and
MangoPi DTs, still?

Cheers,
Andre

[1]
https://lore.kernel.org/lkml/20230807144229.5710738d@donnerap.manchester.arm.com/
[2]
https://lore.kernel.org/lkml/20230807133930.94309-1-andre.przywara@arm.com/

> Best regards,
> Jernej
> 
> > 
> > Cheers,
> > Martin
> > 
> > Martin Botka (4):
> >   dt-bindings: vendor-prefixes: Add BigTreeTech
> >   dt-bindings: arm: sunxi: Add BigTreeTech boards
> >   arm64: dts: allwinner: h616: Add BigTreeTech CB1 SoM & boards support
> >   arm64: dts: allwinner: h616: Add BigTreeTech Pi support
> > 
> >  .../devicetree/bindings/arm/sunxi.yaml        |  11 ++
> >  .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
> >  arch/arm64/boot/dts/allwinner/Makefile        |   2 +
> >  .../sun50i-h616-bigtreetech-cb1-manta.dts     |  35 +++++
> >  .../sun50i-h616-bigtreetech-cb1.dtsi          | 140 ++++++++++++++++++
> >  .../allwinner/sun50i-h616-bigtreetech-pi.dts  |  70 +++++++++
> >  6 files changed, 260 insertions(+)
> >  create mode 100644
> > arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1-manta.dts create
> > mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1.dtsi
> > create mode 100644
> > arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-pi.dts  
> 
> 
> 
> 
>