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: 20011 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2333198wru; Mon, 14 Nov 2022 11:51:13 -0800 (PST) X-Google-Smtp-Source: AA0mqf7kI2DoFUKAJT8A9I4EygY9hlG8/t8MfzSraHogR/sADb3xS1RGNl6/XRfYN/1FypzhGVtY X-Received: by 2002:a05:6a00:1893:b0:563:4e9:5342 with SMTP id x19-20020a056a00189300b0056304e95342mr15001430pfh.56.1668455472842; Mon, 14 Nov 2022 11:51:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668455472; cv=none; d=google.com; s=arc-20160816; b=B9x4b8Ts+MGUBh+plahZzyka85J70LSLSDc7FYMayFmATxwPcEBLk+cwox0/LO8pF3 49Qep8WoDIHpno5JftdVoGZMB40FoiBpi8XLOElIg5KhPldDhvBlkyqQHQ27brPg+w6J HjFEtYLlSQrbtF9Kx2XKyuiBmrwrSqJb2duwFlGmKy7SLZyIYBGbraaLRJapSsBbjxkh OFw/kSmWNgiJoDFLHLQhagCMdgjlOeiXVxT+3w86luAzH82k9skh57Se1CubLG4zcJYq U1EUZ7X/NdXgai+oRRE+q9Tyl2nNkGqH4IrSfMVOK16L1P8lly5RoXx45gL4RxtwcfqL MnRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=/LnaIV3U3L1Vcder467gHAKaNxirMboVJ91pDlJdic4=; b=pjHwr4SBPAJBUfUHZWudJItwaJfWcWALfJD7CfjiZ6il5+bSMnviwhgFBSqfzQ+ciI ziC01jntWYthwCCFYX8HjAm0PTUY41HSs7SzkQ1SXDhZKo4MUDh/vkMhsFetfGFiXZfy dFdv1GX8rDwpR88aSjFabeB200qbyZUUnmWtftUatvIQjxSWY2V2maoeKIBFMhTUmHbK zEaY1msARjCF+ZpdWKdDQERuqN1b368gf2S2/FBYOy3M38yeKbJRZWTuUxh1GDaRfvnY 1li+qQFI8YRImlJSCkqgvOf8mDHEjr06zCXF2dULfiz+4dsbcaMVsvLOubZk5BiZpjQc xSaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lJvTjJLT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o4-20020a056a001bc400b0056ec686183fsi9121268pfw.366.2022.11.14.11.50.58; Mon, 14 Nov 2022 11:51:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lJvTjJLT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237321AbiKNTrp (ORCPT + 99 others); Mon, 14 Nov 2022 14:47:45 -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-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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749502366086452075?= X-GMAIL-MSGID: =?utf-8?q?1749502366086452075?= 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 From patchwork Mon Nov 14 19:47:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 20013 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2333337wru; Mon, 14 Nov 2022 11:51:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf7rMnyv16tYGhzQMpygqoFeUWcD2ksjUuS5UfMiHeQhA8zaH2hA5F3FFgjzVwLhICrMuU66 X-Received: by 2002:a05:6a00:1ad2:b0:56c:235:83a9 with SMTP id f18-20020a056a001ad200b0056c023583a9mr15151585pfv.6.1668455494508; Mon, 14 Nov 2022 11:51:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668455494; cv=none; d=google.com; s=arc-20160816; b=Ksj8MFU0m1xVlFstdTFQOk8myAfzB92ilzEjQ+DR5fszlAwW7Vt0Tvpp+At6T9yLO3 hQVhNW4+pP6rNdMxhD23OkeFwZ/2JSDMuzBlilqhwkT5yrzk0XZaHtycJE2fzmY9Aq7l yftWF8POi/95bGHEHwpN5O3J2f78Z9O5W0TYTLhOTUkxVJW8rpTVW/5FSkIJro/3B8XE hmEQChNIx9sEcQofQwcrmE98rFqEOUysVTvPuPbdMqCnDuT7qBIE6YyCqzwcPoL8PHvn V/kvge0tYKaZLKFRt8hE0bBIJork5SSKjL8tkZ5V3fKUoRiA2zUDQGMeh5byIJszoXGZ K04Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bYmcpnW+ePTt4zEzu+teiWByE3/vsa59R3Lc76Pvt6g=; b=TylEuDwJes21PoWx9ulDUu7l47pHPUJtscb4esZk3B0LyEg99mGnDsnW1BwBHWqMDx J+q9qhZJrwECp+aFFjW3EiTD+XIWGihYTeOkx57CIJ8xigQNjo+1+soP5osEC2mHsqRb C2kD+HHDQJAvGIWFlqfxHjuYIAFuStmeSNfdvYOHn+WjE/TK0u1g/lpEZPzMCYsJe1f7 jIwX1KDPL7LLxGd5l1udwjU29fUlHQVwDCekbPfQYlmg8xfGXfcS/Op9Zmy0AJ/nZ+t6 eaZRVcq42YXK+iQ5XUsv87FN+hs79NEv1AbpWnpVkWHuaAMD1AoohulGittrQCIfAtm3 Kngw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=bcDLb4T5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rm2-20020a17090b3ec200b0020d887ded6esi10063524pjb.120.2022.11.14.11.51.21; Mon, 14 Nov 2022 11:51:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=bcDLb4T5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237352AbiKNTrs (ORCPT + 99 others); Mon, 14 Nov 2022 14:47:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236809AbiKNTrn (ORCPT ); Mon, 14 Nov 2022 14:47:43 -0500 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCEC71D323; Mon, 14 Nov 2022 11:47:40 -0800 (PST) Received: by mail-ej1-x634.google.com with SMTP id i10so22275357ejg.6; Mon, 14 Nov 2022 11:47:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bYmcpnW+ePTt4zEzu+teiWByE3/vsa59R3Lc76Pvt6g=; b=bcDLb4T5i3fAW751pVys7VAd/J/u49NNcKnx1M30PsveLWVzxshJTGR/Tb/JzaD2oY Dj3vRfsmCVg54cI5AP7ddzgxbB8NS1o3kXs4bIwmYaYkqNsAULNmM2O6IJAdVp2D6lKz DoczCZArkxR8Wn9oOvkt0WWu7BYahKmKEoZQ3vJ08DurZ2vUACxso++hTRyTrgieYjed wuJS3jGvlAbixIookRK6cRy0bYDEq7z9MI/6C1u7DbvU+cjIy6wX4A8YXfHuxRTqhPl/ S7+A4wMJzhUZCZi1BE+DptqTc2wvrTgjyOiqjN3Ob8e94td7gjFrqW3Kg4DePMfvoeML jdog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bYmcpnW+ePTt4zEzu+teiWByE3/vsa59R3Lc76Pvt6g=; b=ZsdBeO4K2F3Q7Q2W4dXGPyV7G1YjDKZgU8GaNEAI/6iD5ovPH6mIGLwI3VHAN7C6nv 9Rg8RjLZb4Upt6AE4tJTLFEMpVUh2yFY2c+Xoz9f/07mKx4MjIeRAQoEuYILhlcyNRG6 n5MzjcL7r84VBQgPAccwWPIY+D3HuiVoXXMQoDzmE2RgJ9wtvjp0F0I/hXjlOQKa+Yi7 2CKnKBoOhzODToca5neWWb/QYrGQsvPI3ztPyUdfAS9v7Jc3o4VwGR37uQQZSC40F4fE Pr6uzsmQWr9mTp30IoLxTYPfRCU7Nem5Spzxhb6U1Wsz0aePq5UGWEv+64K6l0x99zhv 3Y6w== X-Gm-Message-State: ANoB5plQGzqmFgdSXci7UL+MCf5cMfUIj+JZfIYEU1VR3e7qrTrmitMw 62deJ9/UKVTEV6AuS68X39eSMjKAPVK3WA== X-Received: by 2002:a17:906:ae52:b0:7ad:4a55:5e19 with SMTP id lf18-20020a170906ae5200b007ad4a555e19mr11573740ejb.65.1668455259275; Mon, 14 Nov 2022 11:47:39 -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.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Nov 2022 11:47:38 -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 , Krzysztof Kozlowski Subject: [PATCH v2 2/5] dt-bindings: net: ipq4019-mdio: add IPQ8074 compatible Date: Mon, 14 Nov 2022 20:47:31 +0100 Message-Id: <20221114194734.3287854-2-robimarko@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221114194734.3287854-1-robimarko@gmail.com> References: <20221114194734.3287854-1-robimarko@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749502388703284888?= X-GMAIL-MSGID: =?utf-8?q?1749502388703284888?= Allow using IPQ8074 specific compatible along with the fallback IPQ4019 one in order to be able to specify which compatibles require clocks to be able to validate them via schema. Signed-off-by: Robert Marko Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml index 1ba8de982bd1..f4918c9e6fd2 100644 --- a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml +++ b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml @@ -22,6 +22,7 @@ properties: - items: - enum: - qcom,ipq6018-mdio + - qcom,ipq8074-mdio - const: qcom,ipq4019-mdio "#address-cells": From patchwork Mon Nov 14 19:47:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 20012 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2333332wru; Mon, 14 Nov 2022 11:51:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf4D1i/dQnSlWxh81UQX04OyyM1K74z7FUQxt6EtYztHnltHAIUbrSU1l1c/AnKihmxRMimE X-Received: by 2002:a17:902:d64a:b0:186:df61:4693 with SMTP id y10-20020a170902d64a00b00186df614693mr597399plh.173.1668455494236; Mon, 14 Nov 2022 11:51:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668455494; cv=none; d=google.com; s=arc-20160816; b=ubOBmqWYBi1sbKKoL3KCT71NuSx2bDItSR1t6981TfnT6JvrWjW/u8FBel8hhfNIoW D0QEZ6TF58WU4nZDZIGx/RSXshPt+16lTDJwZpL3YZQJB5MYq3aTTlcN1MbSxtFb5sAO z38Eo6qBEeFs6qZyYkPUUgbl7HNQaGyso6Bss0yTlz0erlybHFjPlFJ53nTK9ozKooMT 4njrQT5tBHCRVs20G37qAGiQIrhPB0c/76ZX4vt1jpPp3A6dJOMyikiw93zjYfyGHHKY fET6Yx5ReG9ErLsGcs7QVc5dj9h70C3zmG7vvcrAOUww+hPHP7u2KpK4x0UdySOv6qJx 6vew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=tsR5K/bfZiGAjhy1k2auvOyy8yyn/K6mNHQVJ8yfpDI=; b=j1O/4MGU5sKD/zOlYaLkUx3KmoUcAuX2vL9RiNM55eku/DqpgKIrqlgoYS/9U2Powh yT//s6q9z+swIfkEErRz9DYdUHPyfylniqbyTpCHxGYwhsJ0u5pZClCPyeySpDOLJM61 MtNQFuGbTpXhXbDMPUr3bnMB41dcuauUfdywCAA00K9YYEoq2Xpx8eQkefOKyujm8Dd8 m3YEjylHIsaDInbqfOe9IcFXkTJ50elHPJrbcW3LhDqn2dtcHNlMG8MiTlltgBO0GdpZ oKtn4E6cqHIccIuk+vW5cgmpdfHPGkosiydhAJk8pa2+kh4TEc73ABKBi/YKW2F22Wd2 oKKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZeQHAWrv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ik9-20020a170902ab0900b00176be2315dcsi9337903plb.260.2022.11.14.11.51.19; Mon, 14 Nov 2022 11:51:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZeQHAWrv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237113AbiKNTrv (ORCPT + 99 others); Mon, 14 Nov 2022 14:47:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237315AbiKNTro (ORCPT ); Mon, 14 Nov 2022 14:47:44 -0500 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D3671D66C; Mon, 14 Nov 2022 11:47:42 -0800 (PST) Received: by mail-ej1-x630.google.com with SMTP id y14so30929888ejd.9; Mon, 14 Nov 2022 11:47:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tsR5K/bfZiGAjhy1k2auvOyy8yyn/K6mNHQVJ8yfpDI=; b=ZeQHAWrvk3y4OclcphYl2giFJsoB9YAD4mjThrT8JkPhz4G8goD5/Dy1B+Ds5OgasX ySY+ojVK7gYHpTWr8zCYt4q7tTt88m/dELqESRbHDj3i1EvkndQOd7C2F4QbVl9ygQDl q6M2Gd9LNSmRiOb/shmmL6BvEXhcolVPcOQZQv/ox/ORc/JsObNQrXQT6iWGSbzbP5vW QtQhJp8eIJQgjdmFnlCRbPvzJM1iynUMP36EhTOWQxobZD27iMwUhlZ17XGv5zhgztzJ 3axxxNGXT4o947lYaWRiBoYDnVOlWqER4Oak+hIE4OL42uMLGbyBBoPjZPd8AG/F8+uj i2pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tsR5K/bfZiGAjhy1k2auvOyy8yyn/K6mNHQVJ8yfpDI=; b=Rfweu0tpeQ5jkxXobaRT/3QkX7ASk0zwetBrGO+ggyWaQ1VoKTfBvHgdZGRxKoJ5lb iHrjqBOyGeEpqG0xJZsMqcDKzCawGawfhIsNtkhPpKScajVMeyzDPPnkhPENLWdEq3Ke BkgoUZ+ZzkW8gF5Kti+H9nLxiCZiL7TD0+YypKlo1mLBNXVGK+QO/vYiMNtVB801zRuU 8ybp6LdhYX003J+BVljHTtkf69QyHgab98duJXMpuIx3/Yq9PkEdNX5+KR1+9kjHYHUq MF05eVHGNbmaS1O5Ivarq0o1GdxZ5vVGeCFnyw9zipSimfDav24DKhngqzXYfvzTDZsL 53rg== X-Gm-Message-State: ANoB5pmLTvmDGcbTZuZuPfUxol43TBxETihctCFHBM1hZF1dXXWqy2VQ 9aWuP298CSjzdSG7zaLpbWs= X-Received: by 2002:a17:906:970e:b0:7ad:ccae:a30d with SMTP id k14-20020a170906970e00b007adccaea30dmr11946651ejx.704.1668455260640; Mon, 14 Nov 2022 11:47:40 -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.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Nov 2022 11:47:40 -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 3/5] dt-bindings: net: ipq4019-mdio: require and validate clocks Date: Mon, 14 Nov 2022 20:47:32 +0100 Message-Id: <20221114194734.3287854-3-robimarko@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221114194734.3287854-1-robimarko@gmail.com> References: <20221114194734.3287854-1-robimarko@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749502388368358803?= X-GMAIL-MSGID: =?utf-8?q?1749502388368358803?= Now that we can match the platforms requiring clocks by compatible start using those to allow clocks per compatible and make them required. Signed-off-by: Robert Marko Reviewed-by: Krzysztof Kozlowski --- Changes in v2: * Keep clocks under properties and disallow per compatible --- .../bindings/net/qcom,ipq4019-mdio.yaml | 27 ++++++++++++++----- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml index f4918c9e6fd2..72561e3aeee3 100644 --- a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml +++ b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml @@ -9,9 +9,6 @@ title: Qualcomm IPQ40xx MDIO Controller maintainers: - Robert Marko -allOf: - - $ref: "mdio.yaml#" - properties: compatible: oneOf: @@ -40,10 +37,8 @@ properties: address range is only required by the platform IPQ50xx. clocks: - maxItems: 1 - description: | - MDIO clock source frequency fixed to 100MHZ, this clock should be specified - by the platform IPQ807x, IPQ60xx and IPQ50xx. + items: + - description: MDIO clock source frequency fixed to 100MHZ required: - compatible @@ -51,6 +46,24 @@ required: - "#address-cells" - "#size-cells" +allOf: + - $ref: "mdio.yaml#" + + - if: + properties: + compatible: + contains: + enum: + - qcom,ipq5018-mdio + - qcom,ipq6018-mdio + - qcom,ipq8074-mdio + then: + required: + - clocks + else: + properties: + clocks: false + unevaluatedProperties: false examples: From patchwork Mon Nov 14 19:47:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 20014 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2333376wru; Mon, 14 Nov 2022 11:51:40 -0800 (PST) X-Google-Smtp-Source: AA0mqf4FQ8TcIJ5tYa1LCFfL9FDHWBb3IYjQyjXDGdIXP+h4rYDyUyn6rxgTJfur8akB4pRu5H9v X-Received: by 2002:a17:90a:ac11:b0:213:f398:ed51 with SMTP id o17-20020a17090aac1100b00213f398ed51mr14985639pjq.216.1668455500158; Mon, 14 Nov 2022 11:51:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668455500; cv=none; d=google.com; s=arc-20160816; b=SKfPiTtMePqflekCua4l9xUwAyhT/eWB50FBaZPNlv8mhDlVped0IMZJ+3uQhoHWjN RUPOZis1F5MbRTk7mlyciuV0ujaPCFWiHMhPIzAEMJBZ+EO7c70JzOLShiWXjXsPuvQG aLCvnHV5EtUZ2HDSrBwt7UO6Fb/VeWVK//eloBokJK7XFx7GbGvlK5Wa+5AH91sh3ICf s8uU0A5snBO62nrrja9fMfu1a4IpkNnFexdMPjSQbfSeO+CJVKWw+d7FXyDvtryB9mb0 4YNnU9MAehUCD2QOO2hjKMZxuy20eyk2Rbbcv7zhCm88sx1lZs6CWRJAbb/kJa/QdcQN ks1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=glNDNFAfAsfXidR8J1WHl6noXHXVVdrjbyk1bVQ214c=; b=Ceh7TdQS5WfM8E2FFl0Uj3mTEaiDzyl5Zqza9vgbDclleEddfFhhFRF76T/JitUyQ+ pl6vwassalQo0MPv/mVfTDi0zf3JUuG+31Kr5AZGrXQst0ryQpqoQ8ZtKehpHLmH8kro Ud91seBYvp/y/24SARM78ix+v7k+uXxDKp4kVsGxn7pB1hECliG8ab9EZGuczhGUlCBV 0NseGj524iKUtJ85h9XvzExNgKocgLlTbE/m6GiL7mZduujd2cI+cy4kHmqx1MbCfCPj T2AzN7absbp7D7b8OhOEYi2JVJ6z6l+WiyPnKY+PTrnMYj/qn8+rUcgNXhnzz6V00yrc DB+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CqkzHSGT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n6-20020a170902e54600b00186ff4b98a1si11051924plf.208.2022.11.14.11.51.26; Mon, 14 Nov 2022 11:51:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CqkzHSGT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237369AbiKNTry (ORCPT + 99 others); Mon, 14 Nov 2022 14:47:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237317AbiKNTrp (ORCPT ); Mon, 14 Nov 2022 14:47:45 -0500 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6799FCE7; Mon, 14 Nov 2022 11:47:43 -0800 (PST) Received: by mail-ej1-x62f.google.com with SMTP id kt23so30939200ejc.7; Mon, 14 Nov 2022 11:47:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=glNDNFAfAsfXidR8J1WHl6noXHXVVdrjbyk1bVQ214c=; b=CqkzHSGTH6uK2lOWBNvwyNbDC4h+ic5Ll+AESO6gP6iTJpbNd6dZXC/6zrDf47U+id vVVCVszg9LBYlv1xLJ027liR+VjwwAm8S8rJa5qRsPONBsphs12vSJFIfr60J65Rg8f7 6ngfHGfwzmqT/zPd7/Fv9Z2QNr+ydulRB0qDq6kVPt36BpFVY5fWt+LM5VS5Atlq6yTs Ykv5lcBYTFVlQ7FQfaUUkd3cS7BcEusrnxgqYFR2Fi6fOQg12wEyxXkdta3Kfak5recc 4XsvUzA8b5csu1RGe+DFwuGtPQbEPb2dTbpV3cQKM+eYsiOY7fWZbOe6CvgaquXARtZ0 mWNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=glNDNFAfAsfXidR8J1WHl6noXHXVVdrjbyk1bVQ214c=; b=zONTxmouTOrcLqH3ndNliB7/LHY9gYSbL5Ik0YmivbwIc5cyIa4RmGbFiyXw/5L2DB zkpcj5rr97V6D8dMdrDJeH88hP0O4ucEfAQfP9TXkzm5yvuL3weQnormqV5y9vvgDPqM aCQdPgqhGB2aT35PPbxgC/9bNI3IIvJv/ShZNk7PHPgtUQg89AEcKEUbZTb0bVP7lJnY VwtnoDogcWu5hoVW41Ka+9HPxKh4ezTyX+VleAQABxh0AzoB3Bsm9Qv6AmH6B4QulJmd 0CMUXyhzSzIef524b0xQtAtabsefufN99nfahICGNmGDqfmMx74/NqtCgNHIEAN95tBY PI+w== X-Gm-Message-State: ANoB5pkZEF8p4ZnpavkwGvYb+NccyUrMKmF6sh7JQv5mkAQ0Ui5/upbF 2KxyGLuULv7FRm0IDPQrOEA= X-Received: by 2002:a17:907:9a85:b0:7ad:b45c:dbca with SMTP id km5-20020a1709079a8500b007adb45cdbcamr11637004ejc.388.1668455262224; Mon, 14 Nov 2022 11:47:42 -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.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Nov 2022 11:47:41 -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 4/5] dt-bindings: net: ipq4019-mdio: document required clock-names Date: Mon, 14 Nov 2022 20:47:33 +0100 Message-Id: <20221114194734.3287854-4-robimarko@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221114194734.3287854-1-robimarko@gmail.com> References: <20221114194734.3287854-1-robimarko@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749502394268714276?= X-GMAIL-MSGID: =?utf-8?q?1749502394268714276?= 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 Reviewed-by: Krzysztof Kozlowski --- Changes in v2: * Define clock-names under properties and disallow it per compatible like clocks --- .../devicetree/bindings/net/qcom,ipq4019-mdio.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml index 72561e3aeee3..7631ecc8fd01 100644 --- a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml +++ b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml @@ -40,6 +40,10 @@ properties: items: - description: MDIO clock source frequency fixed to 100MHZ + clock-names: + items: + - const: gcc_mdio_ahb_clk + required: - compatible - reg @@ -60,9 +64,11 @@ allOf: then: required: - clocks + - clock-names else: properties: clocks: false + clock-names: false unevaluatedProperties: false From patchwork Mon Nov 14 19:47:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 20015 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2333437wru; Mon, 14 Nov 2022 11:51:48 -0800 (PST) X-Google-Smtp-Source: AA0mqf43wNrk3npWrFF86hAXKrswus8RBjvqm9ZTXLfzO3rTbuJWf8QKYHb07XlJfEl+CneeBeR/ X-Received: by 2002:a17:90b:3d83:b0:200:7cf7:3d79 with SMTP id pq3-20020a17090b3d8300b002007cf73d79mr14575301pjb.206.1668455508102; Mon, 14 Nov 2022 11:51:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668455508; cv=none; d=google.com; s=arc-20160816; b=VFHw4+bdfNMuFuXz/Jg5qdHEAWl6/YQxWI8x2lI+gxQIxiLk0XJYxFE6SBHEGV6agh rhEg5DsqKg2B9FbN3fdEbwsPuk0V1Rk6MFoKYrmOiBwJBlpeieLapfVYJBSaCubdaiNP umWrU+O4LgxndXJNb0kaQ+j/b+BuMJ3uey2pBkDcJsW78bUY0aqS7XJDSwdY67TmOZ0z /hDfTo4gcqUCz2BICmrm4Zztvv8W+H6940JWtOSbRAT9y6WXsfVO3eYt4oVmnQuhV3kH Y2oQX+TOhsCTbvmhye8cDsguflzEuSfpAowufY9KM1Uu1sCFPAufxxj8J0d/6p+PPjkn ycQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=n0D7hYmWxMOtktKnG+ggFebq/O5+c5dEuQKnJ0LxuN4=; b=XG4YNf1n8gJfXpfkN67brvXNGCX5cpVHo0jpf4vO/lLOsjxE51W8g4VrjsShV8JfDx waNyIirQkR3dr9cUwI1puHeKZqC6VOV8uVYwsGyTLFY782o8sZck0tI95n+KEtReRTmy +Fw3FbFKNWdUU0/aCGhQ9GfmDAZMVNk60BsfZQfYCbMKtPyrI2pWdVY1AhB+49Dpz1WT oVtBHEkT4Vom1HdotqK30Po6JDSlTRwelcDE2VfooIUoKqhUx951SQDGRnxzU2JnvhCt sAtQznReT5L8alA1CzcTEtQ7AcssRIwhJGfkm/kSI0wIdi62V6J6PDgx//u/yV9iLk3O m04g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=gR45i7+K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jj3-20020a170903048300b00186f1c070fesi9285044plb.181.2022.11.14.11.51.35; Mon, 14 Nov 2022 11:51:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=gR45i7+K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236963AbiKNTsB (ORCPT + 99 others); Mon, 14 Nov 2022 14:48:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237334AbiKNTrq (ORCPT ); Mon, 14 Nov 2022 14:47:46 -0500 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 307E81DA5A; Mon, 14 Nov 2022 11:47:45 -0800 (PST) Received: by mail-ed1-x52d.google.com with SMTP id s5so2638595edc.12; Mon, 14 Nov 2022 11:47:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=n0D7hYmWxMOtktKnG+ggFebq/O5+c5dEuQKnJ0LxuN4=; b=gR45i7+KvzT5jP0/lIxPmNVCWai+tRNTod1sjTUZx8BVPkjlyChFdBbK6PUQOzl3fw r47MKvc6KJ/Kmjr85S+merePtXs+s+yKUaqytkK36KgK2swnJcVCgVBPBdz0AGTRDZhj eRet/paI0d5z0ozlj1c6gSsHmSXgTa75o3RK01FMzR+yV6WW+Q4c7QHvZvnfgrQ4c+Yk x1/Yp8IYhJ1UJEguLYw7M0xXf2QTt0s3LpTfeVnE87GiJeQRIQpyye1vFQOmdqCGz+Ml WASIXGx2IdAk59Uc9RNLFNCZwxGrKQghxtvm83BJV8ElPfT3vCNJ+PWz70h+42O8FqBX 57Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=n0D7hYmWxMOtktKnG+ggFebq/O5+c5dEuQKnJ0LxuN4=; b=f6UhLD0cuEzchv/Q9kwzeyrbkFng+wmE+Iu61giowC0jZfLxpSnLXRvHxAs8mX3o7x XJYda3+i6xgvHfFQWx3/hwpSIfHvj5eBPGRMx5hLcK9ONjWpWgEdaxh9oRwEoOVslI9t FnQKMXqDD9b/OcfIyawmy/ZI4QqwXxGrrtPaklFNRNsOMRQNNTKjicYUDLCd5jm8maQg 1aqn34to6jbd+YJ598roygYlmsEpOeUZldiNZTXKGogaY/kCGEtiwzVaCsaU03U6mtuN 7rkZv7X+cJYocYPkmAKrc/hyULSLoGs4Qi97jkvJFvhzsPWUHehGn0YlLUGqNYwDyS3P U8sw== X-Gm-Message-State: ANoB5pl32H9cV2UFBHj8uehZOcknnVryESWkeoLjUqx5Bgcfx4MZh92Q q8Xy5ghOq2X02iySB8o3sAg= X-Received: by 2002:a05:6402:70e:b0:459:7673:6f33 with SMTP id w14-20020a056402070e00b0045976736f33mr12461215edx.30.1668455263652; Mon, 14 Nov 2022 11:47:43 -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.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Nov 2022 11:47:43 -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 , Krzysztof Kozlowski Subject: [PATCH v2 5/5] arm64: dts: qcom: ipq8074: add SoC specific compatible to MDIO Date: Mon, 14 Nov 2022 20:47:34 +0100 Message-Id: <20221114194734.3287854-5-robimarko@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221114194734.3287854-1-robimarko@gmail.com> References: <20221114194734.3287854-1-robimarko@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749502402743695391?= X-GMAIL-MSGID: =?utf-8?q?1749502402743695391?= Add the newly documented SoC compatible to MDIO in order to be able to validate clocks for it. Signed-off-by: Robert Marko Acked-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi index a0481c671faf..583871c29586 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi @@ -331,7 +331,7 @@ pcie_phy1: phy@8e200 { }; mdio: mdio@90000 { - compatible = "qcom,ipq4019-mdio"; + compatible = "qcom,ipq8074-mdio", "qcom,ipq4019-mdio"; reg = <0x00090000 0x64>; #address-cells = <1>; #size-cells = <0>;