[PATCH 2/3] dt-bindings: pinctrl: add S32G3 compatible for the SIUL2 driver

Andrei Stefanescu andrei.stefanescu at oss.nxp.com
Mon Sep 30 07:46:09 PDT 2024


Hi Krzysztof,

Thank you for the quick review!

On 30/09/2024 16:40, Krzysztof Kozlowski wrote:
> On 30/09/2024 15:23, Andrei Stefanescu wrote:
>> The SIUL2 hardware module is also integrated into the S32G3 SoC. Add
>> another compatible for it.
>>
>> Signed-off-by: Andrei Stefanescu <andrei.stefanescu at oss.nxp.com>
>> ---
>>  .../bindings/pinctrl/nxp,s32g2-siul2-pinctrl.yaml      | 10 ++++++++--
>>  1 file changed, 8 insertions(+), 2 deletions(-)
>>
>> diff --git a/Documentation/devicetree/bindings/pinctrl/nxp,s32g2-siul2-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/nxp,s32g2-siul2-pinctrl.yaml
>> index a24286e4def6..454773e7aa07 100644
>> --- a/Documentation/devicetree/bindings/pinctrl/nxp,s32g2-siul2-pinctrl.yaml
>> +++ b/Documentation/devicetree/bindings/pinctrl/nxp,s32g2-siul2-pinctrl.yaml
>> @@ -25,8 +25,14 @@ description: |
>>  
>>  properties:
>>    compatible:
>> -    enum:
>> -      - nxp,s32g2-siul2-pinctrl
>> +    oneOf:
>> +      - description: for S32G2 SoCs
> 
> Drop
> 
>> +        items:
> 
> That's jus tenum
> 
>> +          - const: nxp,s32g2-siul2-pinctrl
> 
> Drop
> 
>> +      - description: for S32G3 SoCs
>> +        items:

Just to make sure I understood correctly, it should
look something like this, right?

    oneOf:
      - enum:
          - const: nxp,s32g2-siul2-pinctrl
      - items:
          - const: nxp,s32g3-siul2-pinctrl
          - const: nxp,s32g2-siul2-pinctrl


> Best regards,
> Krzysztof
> 

Best regards,
Andrei




More information about the linux-arm-kernel mailing list