Re: [PATCH v2 3/8] dt-bindings: mips: realtek: Add rtl930x-soc compatible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Krzysztof,

On 24/06/24 16:48, Krzysztof Kozlowski wrote:
> On 24/06/2024 03:22, Chris Packham wrote:
>> Add the rtl930x-soc and RTL9302C board to the list of Realtek compatible
> 930x or 9302?

Oops. Will fix.

>> strings.
>>
>> Signed-off-by: Chris Packham <chris.packham@xxxxxxxxxxxxxxxxxxx>
>> ---
>>
>> Notes:
>>      Changes in v2:
>>      - Use specific compatible for rtl9302-soc
>>      - Fix to allow correct board, soc compatible
>>
>>   Documentation/devicetree/bindings/mips/realtek-rtl.yaml | 4 ++++
>>   1 file changed, 4 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/mips/realtek-rtl.yaml b/Documentation/devicetree/bindings/mips/realtek-rtl.yaml
>> index f8ac309d2994..05daa53417e5 100644
>> --- a/Documentation/devicetree/bindings/mips/realtek-rtl.yaml
>> +++ b/Documentation/devicetree/bindings/mips/realtek-rtl.yaml
>> @@ -20,5 +20,9 @@ properties:
>>             - enum:
>>                 - cisco,sg220-26
>>             - const: realtek,rtl8382-soc
>> +      - items:
>> +          - enum:
>> +              - realtek,rtl9302c
> Why board has the name of SoC?

What I have is actually a reference board with the name 
RTL9302C_2xRTL8224_2XGE. If found that a bit incomprehensible so I 
(over) shortened it. Technically it would be something like 
cameo,rtl9302c-2x-rtl8224-2xge which I can include in the next round.

>> +          - const: realtek,rtl9302-soc
> Drop the -soc suffix. The rtl9302 is the soc.

On that. I hope to eventually add "realtek,rtl9302-switch" for the DSA 
switch block in the same chip. So keeping the -soc suffix was 
intentional to try to disambiguate things. I can drop the -soc if the 
consensus is that there is no need to disambiguate the two.

>>   
>>   additionalProperties: true
> Best regards,
> Krzysztof
>




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux