From patchwork Mon Nov 14 19:47:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 13042760 X-Patchwork-Delegate: kuba@kernel.org 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 EBEADC43217 for ; Mon, 14 Nov 2022 19:47:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237303AbiKNTro (ORCPT ); Mon, 14 Nov 2022 14:47:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231757AbiKNTrm (ORCPT ); Mon, 14 Nov 2022 14:47:42 -0500 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AF74FCE7; Mon, 14 Nov 2022 11:47:39 -0800 (PST) Received: by mail-ej1-x62d.google.com with SMTP id bj12so30840502ejb.13; Mon, 14 Nov 2022 11:47:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=/LnaIV3U3L1Vcder467gHAKaNxirMboVJ91pDlJdic4=; b=lJvTjJLTtd/oxgIiHPXWEuWj7ci0WEvQ6mLmICO9su8tkvzS0a7c8sVXSo1+T1uHf/ myXfSh/rA7BZDLPpM5995JEfLMTHrhlX/5GoETS4T9uislF0quBtlmYAcWc78lmSbTM0 v1KmS/TbyQ7QGHbfOZv47EQhyAMUs2Vj7Lv25s60UBYW8mV8daY6v/DFCsSBDANBXlnV 4772kD6J6uGrmBxI/GA8GbyV4nN9cxJU1jFTsk5cOl8/fxb4SFvZ3b7nK1Y1ZwhEY/KH LaXc+aEX0SkhTpnRv9ie4CS7MoBcV1wLWoN/N8sLpNHM5HtdDE5uYv4T/5EN+neDtHif NsPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/LnaIV3U3L1Vcder467gHAKaNxirMboVJ91pDlJdic4=; b=WT8cC4FJfam7V4/Fbh42T/4Hds8Gi85xH324a9MK/jmyDQTVorRNWtEQUPUcwhzZYs LCp2VEPm2jdyDRcTZ1q4P0vhxqamPtUhfNcjMdVPLq0ggZTyNtZJhIqviVKtrAaqj2Lk V1eCfV78GvrfiquFZRWQXBX2qeaJZdJxaIn2oYCrJvyxO66pTzt947tRCric4zJTfshc hVB/F9GILt+8js/ZDwe3t7auAyQbbA0j3yNj6LcZpIODz5pi0Z9HtD8uqFIyYgWgCLKD pkSn4dHy8XqTC+F7A0Ve5UB0VsFJ5zvRh4O1bde+YzXCbO5tD+Jakbg7t13nQreNTPu5 VICw== X-Gm-Message-State: ANoB5plAMxcH8agdz5vtd3X33YWTVBbU0el7G7bZATFPopEdBuesjpJy GzVpg2gS1WuLae8hCjTjg4tHUcbkxjnkKA== X-Google-Smtp-Source: AA0mqf5FZjSrUDepXVEOx6V99CvpcdxgNMty0UVgjAd5Q+z2sHkdmvaAtt1eZ13LiiekiczGygmO7g== X-Received: by 2002:a17:906:3a12:b0:781:b7f2:bce9 with SMTP id z18-20020a1709063a1200b00781b7f2bce9mr11662177eje.269.1668455257826; Mon, 14 Nov 2022 11:47:37 -0800 (PST) Received: from fedora.. (dh207-97-48.xnet.hr. [88.207.97.48]) by smtp.googlemail.com with ESMTPSA id k8-20020a17090632c800b007a62215eb4esm4666405ejk.16.2022.11.14.11.47.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Nov 2022 11:47:36 -0800 (PST) From: Robert Marko To: 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 Cc: Robert Marko Subject: [PATCH v2 1/5] dt-bindings: net: ipq4019-mdio: document IPQ6018 compatible Date: Mon, 14 Nov 2022 20:47:30 +0100 Message-Id: <20221114194734.3287854-1-robimarko@gmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Document IPQ6018 compatible that is already being used in the DTS along with the fallback IPQ4019 compatible as driver itself only gets probed on IPQ4019 and IPQ5018 compatibles. This is also required in order to specify which platform require clock to be defined and validate it in schema. Signed-off-by: Robert Marko Reviewed-by: Krzysztof Kozlowski --- Changes in v2: * Drop items from IPQ4019 and IPQ5018 compatible enum --- .../devicetree/bindings/net/qcom,ipq4019-mdio.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml index ad8b2b41c140..1ba8de982bd1 100644 --- a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml +++ b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml @@ -14,9 +14,15 @@ allOf: properties: compatible: - enum: - - qcom,ipq4019-mdio - - qcom,ipq5018-mdio + oneOf: + - enum: + - qcom,ipq4019-mdio + - qcom,ipq5018-mdio + + - items: + - enum: + - qcom,ipq6018-mdio + - const: qcom,ipq4019-mdio "#address-cells": const: 1