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 BAAA8C4332F for ; Mon, 14 Nov 2022 08:30:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236465AbiKNIaO (ORCPT ); Mon, 14 Nov 2022 03:30:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236452AbiKNIaN (ORCPT ); Mon, 14 Nov 2022 03:30:13 -0500 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE59A193F8 for ; Mon, 14 Nov 2022 00:30:11 -0800 (PST) Received: by mail-lj1-x235.google.com with SMTP id l8so12157996ljh.13 for ; Mon, 14 Nov 2022 00:30:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=6XSzuz/caDzlGdP1JjrgMd0/WGznr0dDZqjNVCNB+/c=; b=ndprzE0y2vB4yrX2xSHIt3q999Wbvv14dKKyS/eivQZ5cPpGDBtpiyyPbJKg03z8sw MAz6F6u/Y2kMhxwqqJLLOXGX7uI8Y4h9uWtpKZ5ftdHGOMUsO+uHd+mU4g+LoRzSPgWV eqf6+skMbanAmr04fIkRXhw01dVgt5vgivhV2qc8ETZfc5RSNWElGKOBrU71PUKc4zb6 aD5vkU7lN7BDY0nGxzudV6kKUBASKj+9uWDQB3eVQAoYi6omJnP7/f/WesTxmTOjznMX grMmhPdgYfkqfCKbI+sFLSKDdwAwnp3W4xAf/JvB9XQEDi5niW8KzQ1XuM/t1QoEZ8HC mjgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6XSzuz/caDzlGdP1JjrgMd0/WGznr0dDZqjNVCNB+/c=; b=vLxPcgZjDKGyalZJbOMEJbbIzxcBZ5xaeFxIhmZjHFVnFeWxEq51LVgPJty5BZ7+Yw 4hDady+JKF2f2QwORDVIA63u+jN5606UlrweecvVUAKY0amv1Jy9jodaK85nii+MSGoP xWRiJNQ9q3Yq6D5/fVcWg8+23tIsJz6e8q0e+uHZ+qEONVxmnLlKciy6U34MZ3u5saw0 xThtHKRQc9eb4yJEmEj2oiUxJikF/crPmFmLoU/+Xkc7lFEKMJYk3faQj5dmboa3dWR/ +/AOn31aQzV3Fv5/gCM0AOovCLD7dPASwlsz++ekQaYG/5mb8Kbk4Ka7C8SJqznMzbGZ jYpg== X-Gm-Message-State: ANoB5pkPeLPV4yAPwM3AdR9TzWSC+EyzLcqAh239HDB6ZAfzn929CW0U f3Sdx4S7/pnJ/h0JBzoW5d3Q4A== X-Google-Smtp-Source: AA0mqf6pJJTrohnqE9pyE4pr0wWJ7/cvGGbEUre+MLmNV+ECkh/KlOmRNLdC9kB7sClsGC4o+MPUSQ== X-Received: by 2002:a2e:7310:0:b0:277:d86:a36d with SMTP id o16-20020a2e7310000000b002770d86a36dmr3653941ljc.288.1668414610128; Mon, 14 Nov 2022 00:30:10 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id o21-20020ac24e95000000b004b07cdef19csm1736291lfr.138.2022.11.14.00.30.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 14 Nov 2022 00:30:09 -0800 (PST) Message-ID: <131db9ff-35cb-f5bb-4365-dd1e37a3f4ce@linaro.org> Date: Mon, 14 Nov 2022 09:30:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH 4/5] dt-bindings: net: ipq4019-mdio: document required clock-names Content-Language: en-US To: Robert Marko , agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-msm@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221113184727.44923-1-robimarko@gmail.com> <20221113184727.44923-4-robimarko@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20221113184727.44923-4-robimarko@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 13/11/2022 19:47, Robert Marko wrote: > IPQ5018, IPQ6018 and IPQ8074 require clock-names to be set as driver is > requesting the clock based on it and not index, so document that and make > it required for the listed SoC-s. > > Signed-off-by: Robert Marko > --- > Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml > index b34955b0b827..d233009b0d49 100644 > --- a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml > +++ b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml > @@ -59,8 +59,12 @@ allOf: > clocks: > items: > - description: MDIO clock source frequency fixed to 100MHZ Similarly to clocks, define clock-names in top-level and disallow them for other variants. Do not define properties in allOf:if:then - it makes schema difficult to maintain and read. > + clock-names: > + items: > + - const: gcc_mdio_ahb_clk > required: > - clocks > + - clock-names > > unevaluatedProperties: false > Best regards, Krzysztof