[PATCH v1 3/7] dt-bindings: arm: sunxi: Add NetCube Systems Nagami Keypad Carrier Board

Lukas Schmid posted 7 patches 3 months ago
There is a newer version of this series
[PATCH v1 3/7] dt-bindings: arm: sunxi: Add NetCube Systems Nagami Keypad Carrier Board
Posted by Lukas Schmid 3 months ago
The NetCube Systems Nagami Keypad Carrier is a custom board intended to
fit a standard Ritto Intercom enclosure and provides a Keypad, NFC-Reader
and Status-LED all controllable over Ethernet with PoE support.

Signed-off-by: Lukas Schmid <lukas.schmid@netcube.li>
---
 Documentation/devicetree/bindings/arm/sunxi.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml b/Documentation/devicetree/bindings/arm/sunxi.yaml
index 7919b5bf5..a2f16d064 100644
--- a/Documentation/devicetree/bindings/arm/sunxi.yaml
+++ b/Documentation/devicetree/bindings/arm/sunxi.yaml
@@ -610,6 +610,12 @@ properties:
           - const: netcube,nagami
           - const: allwinner,sun8i-t113s
 
+      - description: NetCube Systems Nagami Keypad Carrier Board
+        items:
+          - const: netcube,nagami-keypad-carrier
+          - const: netcube,nagami
+          - const: allwinner,sun8i-t113s
+
       - description: NextThing Co. CHIP
         items:
           - const: nextthing,chip
-- 
2.39.5
Re: [PATCH v1 3/7] dt-bindings: arm: sunxi: Add NetCube Systems Nagami Keypad Carrier Board
Posted by Krzysztof Kozlowski 3 months ago
On 05/07/2025 23:38, Lukas Schmid wrote:
> The NetCube Systems Nagami Keypad Carrier is a custom board intended to
> fit a standard Ritto Intercom enclosure and provides a Keypad, NFC-Reader
> and Status-LED all controllable over Ethernet with PoE support.
> 
> Signed-off-by: Lukas Schmid <lukas.schmid@netcube.li>
> ---
>  Documentation/devicetree/bindings/arm/sunxi.yaml | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml b/Documentation/devicetree/bindings/arm/sunxi.yaml
> index 7919b5bf5..a2f16d064 100644
> --- a/Documentation/devicetree/bindings/arm/sunxi.yaml
> +++ b/Documentation/devicetree/bindings/arm/sunxi.yaml
> @@ -610,6 +610,12 @@ properties:
>            - const: netcube,nagami
>            - const: allwinner,sun8i-t113s
>  
> +      - description: NetCube Systems Nagami Keypad Carrier Board
> +        items:
> +          - const: netcube,nagami-keypad-carrier


That's just enum with previous entry. Don't make it over-complicated.

Best regards,
Krzysztof
Re: [PATCH v1 3/7] dt-bindings: arm: sunxi: Add NetCube Systems Nagami Keypad Carrier Board
Posted by Lukas Schmid 3 months ago
On Sonntag, 6. Juli 2025 09:49:58 CEST Krzysztof Kozlowski wrote:
> On 05/07/2025 23:38, Lukas Schmid wrote:
> > The NetCube Systems Nagami Keypad Carrier is a custom board intended to
> > fit a standard Ritto Intercom enclosure and provides a Keypad, NFC-Reader
> > and Status-LED all controllable over Ethernet with PoE support.
> > 
> > Signed-off-by: Lukas Schmid <lukas.schmid@netcube.li>
> > ---
> > 
> >  Documentation/devicetree/bindings/arm/sunxi.yaml | 6 ++++++
> >  1 file changed, 6 insertions(+)
> > 
> > diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml
> > b/Documentation/devicetree/bindings/arm/sunxi.yaml index
> > 7919b5bf5..a2f16d064 100644
> > --- a/Documentation/devicetree/bindings/arm/sunxi.yaml
> > +++ b/Documentation/devicetree/bindings/arm/sunxi.yaml
> > 
> > @@ -610,6 +610,12 @@ properties:
> >            - const: netcube,nagami
> >            - const: allwinner,sun8i-t113s
> > 
> > +      - description: NetCube Systems Nagami Keypad Carrier Board
> > +        items:
> > +          - const: netcube,nagami-keypad-carrier
> 
> That's just enum with previous entry. Don't make it over-complicated.
> 
> Best regards,
> Krzysztof

Just making sure here. The actual bindings are fine, but I should merge them 
into one patch, correct?

Best regards,
Lukas
Re: [PATCH v1 3/7] dt-bindings: arm: sunxi: Add NetCube Systems Nagami Keypad Carrier Board
Posted by Krzysztof Kozlowski 3 months ago
On 06/07/2025 11:07, Lukas Schmid wrote:
> On Sonntag, 6. Juli 2025 09:49:58 CEST Krzysztof Kozlowski wrote:
>> On 05/07/2025 23:38, Lukas Schmid wrote:
>>> The NetCube Systems Nagami Keypad Carrier is a custom board intended to
>>> fit a standard Ritto Intercom enclosure and provides a Keypad, NFC-Reader
>>> and Status-LED all controllable over Ethernet with PoE support.
>>>
>>> Signed-off-by: Lukas Schmid <lukas.schmid@netcube.li>
>>> ---
>>>
>>>  Documentation/devicetree/bindings/arm/sunxi.yaml | 6 ++++++
>>>  1 file changed, 6 insertions(+)
>>>
>>> diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml
>>> b/Documentation/devicetree/bindings/arm/sunxi.yaml index
>>> 7919b5bf5..a2f16d064 100644
>>> --- a/Documentation/devicetree/bindings/arm/sunxi.yaml
>>> +++ b/Documentation/devicetree/bindings/arm/sunxi.yaml
>>>
>>> @@ -610,6 +610,12 @@ properties:
>>>            - const: netcube,nagami
>>>            - const: allwinner,sun8i-t113s
>>>
>>> +      - description: NetCube Systems Nagami Keypad Carrier Board
>>> +        items:
>>> +          - const: netcube,nagami-keypad-carrier
>>
>> That's just enum with previous entry. Don't make it over-complicated.
>>
>> Best regards,
>> Krzysztof
> 
> Just making sure here. The actual bindings are fine, but I should merge them 
> into one patch, correct?
No, you got two comments what should be changed in the binding.

Best regards,
Krzysztof
Re: [PATCH v1 3/7] dt-bindings: arm: sunxi: Add NetCube Systems Nagami Keypad Carrier Board
Posted by Lukas Schmid 3 months ago
On Sonntag, 6. Juli 2025 11:36:34 CEST Krzysztof Kozlowski wrote:
> On 06/07/2025 11:07, Lukas Schmid wrote:
> > On Sonntag, 6. Juli 2025 09:49:58 CEST Krzysztof Kozlowski wrote:
> >> On 05/07/2025 23:38, Lukas Schmid wrote:
> >>> The NetCube Systems Nagami Keypad Carrier is a custom board intended to
> >>> fit a standard Ritto Intercom enclosure and provides a Keypad,
> >>> NFC-Reader
> >>> and Status-LED all controllable over Ethernet with PoE support.
> >>> 
> >>> Signed-off-by: Lukas Schmid <lukas.schmid@netcube.li>
> >>> ---
> >>> 
> >>>  Documentation/devicetree/bindings/arm/sunxi.yaml | 6 ++++++
> >>>  1 file changed, 6 insertions(+)
> >>> 
> >>> diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml
> >>> b/Documentation/devicetree/bindings/arm/sunxi.yaml index
> >>> 7919b5bf5..a2f16d064 100644
> >>> --- a/Documentation/devicetree/bindings/arm/sunxi.yaml
> >>> +++ b/Documentation/devicetree/bindings/arm/sunxi.yaml
> >>> 
> >>> @@ -610,6 +610,12 @@ properties:
> >>>            - const: netcube,nagami
> >>>            - const: allwinner,sun8i-t113s
> >>> 
> >>> +      - description: NetCube Systems Nagami Keypad Carrier Board
> >>> +        items:
> >>> +          - const: netcube,nagami-keypad-carrier
> >> 
> >> That's just enum with previous entry. Don't make it over-complicated.
> >> 
> >> Best regards,
> >> Krzysztof
> > 
> > Just making sure here. The actual bindings are fine, but I should merge
> > them into one patch, correct?
> 
> No, you got two comments what should be changed in the binding.
> 
> Best regards,
> Krzysztof

So if I understand correctly you want me to remove the "allwinner,sun8i-t113s" 
from the carrier boards and keep it for the SoM?

Best regards,
Lukas
Re: [PATCH v1 3/7] dt-bindings: arm: sunxi: Add NetCube Systems Nagami Keypad Carrier Board
Posted by Krzysztof Kozlowski 3 months ago
On 06/07/2025 11:41, Lukas Schmid wrote:
> On Sonntag, 6. Juli 2025 11:36:34 CEST Krzysztof Kozlowski wrote:
>> On 06/07/2025 11:07, Lukas Schmid wrote:
>>> On Sonntag, 6. Juli 2025 09:49:58 CEST Krzysztof Kozlowski wrote:
>>>> On 05/07/2025 23:38, Lukas Schmid wrote:
>>>>> The NetCube Systems Nagami Keypad Carrier is a custom board intended to
>>>>> fit a standard Ritto Intercom enclosure and provides a Keypad,
>>>>> NFC-Reader
>>>>> and Status-LED all controllable over Ethernet with PoE support.
>>>>>
>>>>> Signed-off-by: Lukas Schmid <lukas.schmid@netcube.li>
>>>>> ---
>>>>>
>>>>>  Documentation/devicetree/bindings/arm/sunxi.yaml | 6 ++++++
>>>>>  1 file changed, 6 insertions(+)
>>>>>
>>>>> diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml
>>>>> b/Documentation/devicetree/bindings/arm/sunxi.yaml index
>>>>> 7919b5bf5..a2f16d064 100644
>>>>> --- a/Documentation/devicetree/bindings/arm/sunxi.yaml
>>>>> +++ b/Documentation/devicetree/bindings/arm/sunxi.yaml
>>>>>
>>>>> @@ -610,6 +610,12 @@ properties:
>>>>>            - const: netcube,nagami
>>>>>            - const: allwinner,sun8i-t113s
>>>>>
>>>>> +      - description: NetCube Systems Nagami Keypad Carrier Board
>>>>> +        items:
>>>>> +          - const: netcube,nagami-keypad-carrier
>>>>
>>>> That's just enum with previous entry. Don't make it over-complicated.
>>>>
>>>> Best regards,
>>>> Krzysztof
>>>
>>> Just making sure here. The actual bindings are fine, but I should merge
>>> them into one patch, correct?
>>
>> No, you got two comments what should be changed in the binding.
>>
>> Best regards,
>> Krzysztof
> 
> So if I understand correctly you want me to remove the "allwinner,sun8i-t113s" 
> from the carrier boards and keep it for the SoM?
No, I spoke nothing about that compatible. My comment is EXACTLY under
the line being incorrect. That entry should have been made enum with
previous board compatible. Look at other vendors, because this file
repeats that pattern for some reason, eh...

Best regards,
Krzysztof
Re: [PATCH v1 3/7] dt-bindings: arm: sunxi: Add NetCube Systems Nagami Keypad Carrier Board
Posted by Lukas Schmid 3 months ago
On Sonntag, 6. Juli 2025 11:46:46 CEST Krzysztof Kozlowski wrote:
> On 06/07/2025 11:41, Lukas Schmid wrote:
> > On Sonntag, 6. Juli 2025 11:36:34 CEST Krzysztof Kozlowski wrote:
> >> On 06/07/2025 11:07, Lukas Schmid wrote:
> >>> On Sonntag, 6. Juli 2025 09:49:58 CEST Krzysztof Kozlowski wrote:
> >>>> On 05/07/2025 23:38, Lukas Schmid wrote:
> >>>>> The NetCube Systems Nagami Keypad Carrier is a custom board intended
> >>>>> to
> >>>>> fit a standard Ritto Intercom enclosure and provides a Keypad,
> >>>>> NFC-Reader
> >>>>> and Status-LED all controllable over Ethernet with PoE support.
> >>>>> 
> >>>>> Signed-off-by: Lukas Schmid <lukas.schmid@netcube.li>
> >>>>> ---
> >>>>> 
> >>>>>  Documentation/devicetree/bindings/arm/sunxi.yaml | 6 ++++++
> >>>>>  1 file changed, 6 insertions(+)
> >>>>> 
> >>>>> diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml
> >>>>> b/Documentation/devicetree/bindings/arm/sunxi.yaml index
> >>>>> 7919b5bf5..a2f16d064 100644
> >>>>> --- a/Documentation/devicetree/bindings/arm/sunxi.yaml
> >>>>> +++ b/Documentation/devicetree/bindings/arm/sunxi.yaml
> >>>>> 
> >>>>> @@ -610,6 +610,12 @@ properties:
> >>>>>            - const: netcube,nagami
> >>>>>            - const: allwinner,sun8i-t113s
> >>>>> 
> >>>>> +      - description: NetCube Systems Nagami Keypad Carrier Board
> >>>>> +        items:
> >>>>> +          - const: netcube,nagami-keypad-carrier
> >>>> 
> >>>> That's just enum with previous entry. Don't make it over-complicated.
> >>>> 
> >>>> Best regards,
> >>>> Krzysztof
> >>> 
> >>> Just making sure here. The actual bindings are fine, but I should merge
> >>> them into one patch, correct?
> >> 
> >> No, you got two comments what should be changed in the binding.
> >> 
> >> Best regards,
> >> Krzysztof
> > 
> > So if I understand correctly you want me to remove the
> > "allwinner,sun8i-t113s" from the carrier boards and keep it for the SoM?
> 
> No, I spoke nothing about that compatible. My comment is EXACTLY under
> the line being incorrect. That entry should have been made enum with
> previous board compatible. Look at other vendors, because this file
> repeats that pattern for some reason, eh...
> 
> Best regards,
> Krzysztof

Ah sorry. I think i understand now. You want the carrier boards in a single 
entry with the different compatibles as the enum like:

      - description: NetCube Systems Nagami SoM
        items:
          - const: netcube,nagami
          - const: allwinner,sun8i-t113s

      - description: NetCube Systems Nagami SoM based boards
        items:
          - enum:
              - netcube,nagami-basic-carrier
              - netcube,nagami-keypad-carrier
          - const: netcube,nagami
          - const: allwinner,sun8i-t113s

Best regards,
Lukas

Re: [PATCH v1 3/7] dt-bindings: arm: sunxi: Add NetCube Systems Nagami Keypad Carrier Board
Posted by Lukas Schmid 3 months ago
On Sonntag, 6. Juli 2025 11:58:16 CEST Lukas Schmid wrote:
> On Sonntag, 6. Juli 2025 11:46:46 CEST Krzysztof Kozlowski wrote:
> > On 06/07/2025 11:41, Lukas Schmid wrote:
> > > On Sonntag, 6. Juli 2025 11:36:34 CEST Krzysztof Kozlowski wrote:
> > >> On 06/07/2025 11:07, Lukas Schmid wrote:
> > >>> On Sonntag, 6. Juli 2025 09:49:58 CEST Krzysztof Kozlowski wrote:
> > >>>> On 05/07/2025 23:38, Lukas Schmid wrote:
> > >>>>> The NetCube Systems Nagami Keypad Carrier is a custom board intended
> > >>>>> to
> > >>>>> fit a standard Ritto Intercom enclosure and provides a Keypad,
> > >>>>> NFC-Reader
> > >>>>> and Status-LED all controllable over Ethernet with PoE support.
> > >>>>> 
> > >>>>> Signed-off-by: Lukas Schmid <lukas.schmid@netcube.li>
> > >>>>> ---
> > >>>>> 
> > >>>>>  Documentation/devicetree/bindings/arm/sunxi.yaml | 6 ++++++
> > >>>>>  1 file changed, 6 insertions(+)
> > >>>>> 
> > >>>>> diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml
> > >>>>> b/Documentation/devicetree/bindings/arm/sunxi.yaml index
> > >>>>> 7919b5bf5..a2f16d064 100644
> > >>>>> --- a/Documentation/devicetree/bindings/arm/sunxi.yaml
> > >>>>> +++ b/Documentation/devicetree/bindings/arm/sunxi.yaml
> > >>>>> 
> > >>>>> @@ -610,6 +610,12 @@ properties:
> > >>>>>            - const: netcube,nagami
> > >>>>>            - const: allwinner,sun8i-t113s
> > >>>>> 
> > >>>>> +      - description: NetCube Systems Nagami Keypad Carrier Board
> > >>>>> +        items:
> > >>>>> +          - const: netcube,nagami-keypad-carrier
> > >>>> 
> > >>>> That's just enum with previous entry. Don't make it over-complicated.
> > >>>> 
> > >>>> Best regards,
> > >>>> Krzysztof
> > >>> 
> > >>> Just making sure here. The actual bindings are fine, but I should
> > >>> merge
> > >>> them into one patch, correct?
> > >> 
> > >> No, you got two comments what should be changed in the binding.
> > >> 
> > >> Best regards,
> > >> Krzysztof
> > > 
> > > So if I understand correctly you want me to remove the
> > > "allwinner,sun8i-t113s" from the carrier boards and keep it for the SoM?
> > 
> > No, I spoke nothing about that compatible. My comment is EXACTLY under
> > the line being incorrect. That entry should have been made enum with
> > previous board compatible. Look at other vendors, because this file
> > repeats that pattern for some reason, eh...
> > 
> > Best regards,
> > Krzysztof
> 
> Ah sorry. I think i understand now. You want the carrier boards in a single
> entry with the different compatibles as the enum like:
> 
>       - description: NetCube Systems Nagami SoM
>         items:
>           - const: netcube,nagami
>           - const: allwinner,sun8i-t113s
> 
>       - description: NetCube Systems Nagami SoM based boards
>         items:
>           - enum:
>               - netcube,nagami-basic-carrier
>               - netcube,nagami-keypad-carrier
>           - const: netcube,nagami
>           - const: allwinner,sun8i-t113s
> 
> Best regards,
> Lukas

Oh, I will then drop the SoM's entry as well since the SoM is already defined 
in the carrier boards then. So only

      - description: NetCube Systems Nagami SoM based boards
        items:
          - enum:
              - netcube,nagami-basic-carrier
              - netcube,nagami-keypad-carrier
          - const: netcube,nagami
          - const: allwinner,sun8i-t113s

correct?

Sorry for the back-and-forth, and thanks for your patience.

Best regards,
Lukas