Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp524400rwb; Tue, 29 Nov 2022 01:44:17 -0800 (PST) X-Google-Smtp-Source: AA0mqf7yvdfrNb2W88a1N9ydwOaZstmAfiwZ+myMdIXJWeK66Dtt0yP4M6yk9+K7cvjkz0m/l0QO X-Received: by 2002:a05:6402:f21:b0:46b:1397:414 with SMTP id i33-20020a0564020f2100b0046b13970414mr9881304eda.239.1669715057781; Tue, 29 Nov 2022 01:44:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669715057; cv=none; d=google.com; s=arc-20160816; b=FTEBNAONNJQWjTA6t5S937bIIMIriM1p2Ty/wTI7iVIuDCyDEoaiY+n0W0xWlgVtow 7S96U7nI4L2INcagDJCpRCdx3uAshiGU2sYbKQhzNzBDFB60uaBW4gHwi+qfz8cGfPtr sNSfOXy6Do3GYFvJDucYkS5ztadzajBseJHBtsoy4fLWLX0Vpbbwv9yJnAdRAlvoL5xF mVHOPzoEdLkTGngiB1SSTtCT7GMbL5Vh2xlId+kovu/XZEg6xiHLVWwfP/GVjNI4vrSo 4QxQ49+nOuDlKRfp8oiTHlUnISdTBza52j2pALO0hGrWNqE2KWFEvJ+DOAisfdrAFSKH 0O+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=qOArE8my8J/ipU9oMYClbJVsW3lHXFxVNxDO1jO7EJM=; b=Y3klrC0BqL15HTih/g73mJTuvGDNfzIMPLN7REVLmgFZYoM0MtXb4SGa1KLSFU8QCU rg+9mfnQ0K6yaQZo0P7DLnEQ+3rSaZsQ2zvt2tjJcaV1Per5DDb12sDWfQO0jkrfdfxc 4SNHX/8u7HW8r72VCr8ac5GjtaBxUCV7P2NvDKVjRR4xAyLK6I53f7mOjavwp8q06F+Q W6yBS4bVZ0L2TQydTnbAhG54TNqmgFqj8XzmiS9kaAj/KanJMg2KRmQ4PR3MzHYY5aeB 1UhhRpuf100ginuVnOWBudF5E18UdWMd8mKE0y94bYPhTgqiWbXYLoQGKEGuOrlEsWS6 AVpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zQScKMkc; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xh13-20020a170906da8d00b0078e2828052asi11445439ejb.638.2022.11.29.01.43.57; Tue, 29 Nov 2022 01:44:17 -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=@linaro.org header.s=google header.b=zQScKMkc; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231567AbiK2I64 (ORCPT + 83 others); Tue, 29 Nov 2022 03:58:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231560AbiK2I6v (ORCPT ); Tue, 29 Nov 2022 03:58:51 -0500 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10A4D1401C for ; Tue, 29 Nov 2022 00:58:51 -0800 (PST) Received: by mail-ej1-x62b.google.com with SMTP id ml11so7198713ejb.6 for ; Tue, 29 Nov 2022 00:58:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=qOArE8my8J/ipU9oMYClbJVsW3lHXFxVNxDO1jO7EJM=; b=zQScKMkcDPLb0VbjVjZbxuia8pV+1yNLJkwoOz5+7uEaU+6msIwDGKIXO6YPKZol+E M9XqTRkg0g9A2cXSGGy/jIz9rC5o8vGonCgrSvqpL4B9T6jWMrMRpMU6DqROQ9aQvN9j dJBuHZfMLbDTc8RSnsufVA52LDzaq9PVCwo8++dceJAbqtj9++MgCIlGUq1df3KRyfvg DkPklmj3A5QvgkGxK2hd9xinWidw30yeQHfNindqR+gPkyi/8W37sTa9TemdN2BtSDZu LhY72igp/L0YRGzG9vo23ai9ah5MOsiGcntbrPMT3QCw4pnG1uwlqyeGTYbfwJ8lV2DM 8Ktg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qOArE8my8J/ipU9oMYClbJVsW3lHXFxVNxDO1jO7EJM=; b=WOpCFJeeQSIl/qAOCRpKtgcpIn6j/JblHSHVC0nVg3O87zJIdAEhyfLjurQ4JnMYvq VwKa2MJbG6AQlycj1iDv3jVvQVwvzMuQpkJOiDhH/SrlLDQSlzhXmmzPHZUzxuwrIDe0 /OkpeTXDBYDxx26PTFXWEBFiFxqvvYVQQV7ddDTj1g2pe0vrWP0YLFFdjbk5zN3oenod ccbf1rByBm/pFZvQdsL2JGLxcjKj5enSDcxnEoGDwQgMs+6xvK1Lw+6VMXGC3pzfLaEp Sj7PLQL0MvHRQfGaqA1WtRHN3Yzx3m5l3ve304+69Xuq3oFvXX2LEX9I/p21ZKfk9SIU pz2g== X-Gm-Message-State: ANoB5pl3PURuAlpCXqISPI99u0/XIzf6srQlAbDNG72HNfoeCIg3PAXM soEwFONfQHpvpMqn062irOPydwjXNSS2o8WG X-Received: by 2002:a05:6512:3049:b0:4a2:3f4b:839 with SMTP id b9-20020a056512304900b004a23f4b0839mr16695594lfb.483.1669711895956; Tue, 29 Nov 2022 00:51:35 -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 l18-20020a194952000000b004aa427febe5sm2111342lfj.64.2022.11.29.00.51.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 29 Nov 2022 00:51:35 -0800 (PST) Message-ID: <979d220c-525c-ad57-89b8-b65bda55fe55@linaro.org> Date: Tue, 29 Nov 2022 09:51:34 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH 1/2] dt-bindings: net: rockchip-dwmac: add rk3568 xpcs compatible Content-Language: en-US From: Krzysztof Kozlowski To: Chukun Pan , "David S . Miller" Cc: Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Eric Dumazet , Jakub Kicinski , Paolo Abeni , David Wu , Rob Herring , Heiko Stuebner , Krzysztof Kozlowski , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20221129072714.22880-1-amadeus@jmu.edu.cn> <6f601615-deab-a1df-b951-dca8467039f8@linaro.org> In-Reply-To: <6f601615-deab-a1df-b951-dca8467039f8@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On 29/11/2022 09:49, Krzysztof Kozlowski wrote: > On 29/11/2022 08:27, Chukun Pan wrote: >> The gmac of RK3568 supports RGMII/SGMII/QSGMII interface. >> This patch adds a compatible string for the required clock. >> >> Signed-off-by: Chukun Pan >> --- >> Documentation/devicetree/bindings/net/rockchip-dwmac.yaml | 6 ++++++ >> 1 file changed, 6 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml >> index 42fb72b6909d..36b1e82212e7 100644 >> --- a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml >> +++ b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml >> @@ -68,6 +68,7 @@ properties: >> - mac_clk_rx >> - aclk_mac >> - pclk_mac >> + - pclk_xpcs >> - clk_mac_ref >> - clk_mac_refout >> - clk_mac_speed >> @@ -90,6 +91,11 @@ properties: >> The phandle of the syscon node for the peripheral general register file. >> $ref: /schemas/types.yaml#/definitions/phandle >> >> + rockchip,xpcs: >> + description: >> + The phandle of the syscon node for the peripheral general register file. > > You used the same description as above, so no, you cannot have two > properties which are the same. syscons for GRF are called > "rockchip,grf", aren't they? Also: 1. Your commit msg does not explain it at all. 2. Your driver code uses this as some phy? Don't use syscon as workaround for missing drivers. Best regards, Krzysztof