From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C5B99C433FE for ; Tue, 10 May 2022 10:33:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239889AbiEJKhu (ORCPT ); Tue, 10 May 2022 06:37:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239787AbiEJKho (ORCPT ); Tue, 10 May 2022 06:37:44 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BB1C207931 for ; Tue, 10 May 2022 03:33:47 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id i27so32001701ejd.9 for ; Tue, 10 May 2022 03:33:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=uqfSWWso3ePPIxs5kUlqIUVR6u0WQr5mUIPDHk0rKyY=; b=lwF57YVYOdfouAUjyiC3oJLXQQRBz2XRn4Q4lItpEDKVFMCpUAA2IBvFZPlLuZJ88l DyE/uUgu1ufs376VS1TqZmCLvtQIF5xuRh+9OKaghWaoMNHJTevL7VgD2wY43zECuHai g493920Iq2idgbrhXzrShdhw36MJzW1BZ6RRcSeShIkTvIrTRPe7UYiMEs1x+khaFXRG jEttGrTVk1VIjQlwaoi7Hzectd/GhsWmnwFuF4Q6lthywCmN/T251LuS5AEhEyJautKN J2uakY75QPrmG4bAtZLxyeh4fPNAyGxK12OZb+UsikUwWy9Sj0i54zFWRcGnTNg1gI19 el/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=uqfSWWso3ePPIxs5kUlqIUVR6u0WQr5mUIPDHk0rKyY=; b=tcpVuBv5ZBf/nrxWJOHJncrZIyjKXU02swgxoeoDYewdwgyg3N0a7oWVKhwlm3hkAn iH9ZksCPQFgGJUxRk2k09wJpitxVvlqsnTm7QnyAqvClOgefKben8CrmGEpBR226NCjm koPjWEwm0LVsjLN3DjF9EVqxuXmgPSQBELkF/2FkrsUv0nPAMkEM+CPWo9RXgGggyDAo iaVWl9qamYETEmnukEG29ZFE22ZW/YlQgdDzGov9JSo8zgH7xegry+mL6TEw2OwtCts6 v3yW1KU2cV4b2uKF9dhDdhCSQh96s7XqCDr4tWSflq09TumhfS9l/T3G01ZZdF69Oe0d MeUQ== X-Gm-Message-State: AOAM531AYjVs/2boXwwgrCnY2cbROqQEGSE2c5vF2A/jysnGniGMB7ho CXYiMoHXQjRT7IWDdQnj1zWlVw== X-Google-Smtp-Source: ABdhPJwASNrI52m0BHrPQWu6QJ2yOhCOdP9buMehfDsa+IIPExnannmqd2Mo77B1dcT0GDU/oKVxbQ== X-Received: by 2002:a17:906:dc8d:b0:6f4:75da:2fc8 with SMTP id cs13-20020a170906dc8d00b006f475da2fc8mr18488945ejc.7.1652178826051; Tue, 10 May 2022 03:33:46 -0700 (PDT) Received: from [192.168.0.251] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id rn28-20020a170906d93c00b006fa9820b4a2sm765029ejb.165.2022.05.10.03.33.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 May 2022 03:33:45 -0700 (PDT) Message-ID: Date: Tue, 10 May 2022 12:33:44 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH v2 2/4] dt-bindings: mfd: atmel,flexcom: Add lan966 compatible string and mux properties Content-Language: en-US To: Kavyasree Kotagiri , krzysztof.kozlowski+dt@linaro.org, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, claudiu.beznea@microchip.com, peda@axentia.se Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, lee.jones@linaro.org, linux@armlinux.org.uk, Manohar.Puri@microchip.com, UNGLinuxDriver@microchip.com References: <20220509084920.14529-1-kavyasree.kotagiri@microchip.com> <20220509084920.14529-3-kavyasree.kotagiri@microchip.com> From: Krzysztof Kozlowski In-Reply-To: <20220509084920.14529-3-kavyasree.kotagiri@microchip.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/05/2022 10:49, Kavyasree Kotagiri wrote: > Add lan966 flexcom compatible string and flexcom mux > device tree properties. > > Signed-off-by: Kavyasree Kotagiri > --- > .../bindings/mfd/atmel,flexcom.yaml | 52 ++++++++++++++++++- > 1 file changed, 51 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/mfd/atmel,flexcom.yaml b/Documentation/devicetree/bindings/mfd/atmel,flexcom.yaml > index 79ec7ebc7055..228c095c84ca 100644 > --- a/Documentation/devicetree/bindings/mfd/atmel,flexcom.yaml > +++ b/Documentation/devicetree/bindings/mfd/atmel,flexcom.yaml > @@ -16,7 +16,9 @@ description: > > properties: > compatible: > - const: atmel,sama5d2-flexcom > + enum: > + - atmel,sama5d2-flexcom > + - microchip,lan966-flexcom > > reg: > maxItems: 1 > @@ -57,6 +59,27 @@ required: > > additionalProperties: false > > +allOf: > + - if: > + properties: > + compatible: > + contains: > + const: microchip,lan966-flexcom > + > + then: > + properties: > + mux-controls: > + minItems: 1 > + maxItems: 2 > + $ref: /schemas/types.yaml#/definitions/phandle-array > + > + mux-control-names: > + minItems: 1 > + $ref: ../mux/mux-consumer.yaml absolute path, so: /schemas/mux/mux-consumer.yaml Best regards, Krzysztof