Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp919697rdd; Wed, 10 Jan 2024 03:41:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IHdmzIZq9zIirnSWA3tjvasBgVTBQLbwoLeTnTZpQDatov2dWWbdkdKenET7j9W//ymK2Fy X-Received: by 2002:a50:9fe3:0:b0:557:c9ab:6ff9 with SMTP id c90-20020a509fe3000000b00557c9ab6ff9mr435316edf.39.1704886876942; Wed, 10 Jan 2024 03:41:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704886876; cv=none; d=google.com; s=arc-20160816; b=tI3E0K2tJYQ9RDZmwcXzrGUSC/qjmLH2aTGGAVZLC2KHKOhM+u/7plT6q80V4/ow/v igkBQnDdgU2AjaLVrUAGxKZ3yp+hqWoZ8g0n34TZbCg6DXz+23Pt2GW2AJ6agV+WhRnL iUu3ptsY315OkZnNmJIe7fXCXhQaurGoQZ4vzAcQj10D6qnaBr6n6BwgnxbffJkeM/Bs RJz6xTG11yWOyVphXXc/iIloNBSWh+Kld6VShcchXZ1YRz3vuN6xw4FTvSicRpnNGLX2 KA5hvwF6c1XaoAGoXpg1e++hkRrMfTTE9+g2QVg0IBi7bfvHkQiC6ux4AMF7x1JyJdDj 1AJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=vCsB5QvkhBd8DXp6y9aUB4ktFWnjCacK4xzgw3mwVrA=; fh=rfkWUemWSnlrqHYrBaZHwdPuupunsczPN9xeLs+GPAQ=; b=H3hsyDH0rPuFe+ISfseXFlY8YS2GgjRwuDElIFK+9SDnW1AG98JQtDljqMXNlGFOC/ 20r9Ydc8n7WUBejTB+qq4+e90Wd4sSbMil0giIczsFlb3VZAZvRoxQvM7kHnLedT4sUj pYrkpL0ffUvrrvQchDp/uuGbpFKkfvuxia6O7uvl8B6RLYMza/4cf48MO9V29R/7eWmk ObPw3Vqzk81GELdblwYyj7/mUv46sgkm5J2IGcB7AupznH6i0XqOMvPWxli0RoIZVgvN UMANQpOJibs99yHYTbPcV1PyOSJzZkPsM5p9yeA3cZcTEUnE0btJYVEh2ajh6O4PsLCD 8Anw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="b/HwPXUn"; spf=pass (google.com: domain of linux-kernel+bounces-22106-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22106-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id dj25-20020a05640231b900b0055754114587si1657740edb.173.2024.01.10.03.41.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 03:41:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22106-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="b/HwPXUn"; spf=pass (google.com: domain of linux-kernel+bounces-22106-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22106-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7C5B11F21768 for ; Wed, 10 Jan 2024 11:41:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C222547F74; Wed, 10 Jan 2024 11:40:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="b/HwPXUn" Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 131E947F4B for ; Wed, 10 Jan 2024 11:40:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f50.google.com with SMTP id a640c23a62f3a-a2821884a09so322987266b.2 for ; Wed, 10 Jan 2024 03:40:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704886854; x=1705491654; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=vCsB5QvkhBd8DXp6y9aUB4ktFWnjCacK4xzgw3mwVrA=; b=b/HwPXUnvQU8o/XAg4lj3sC00BHj5JGnXwSPJsUQsMfXU/Ot82Vf6S/phPejiQp+dV zdjx4X52hZuuXDm0aTwPQfiyp+0IEQjyuMZjciA0DPh1+WYpyrvk9y+Sbr3QCdvuOeDi 5czTxHLM/wPNZnJC08vYbqC8QvbW87le5hwqmG98YjvZoha49dPm+6pQmkYWF2+UI3IP KzHmOMBUIdlNQj8+1w9j8xf+9UMrn65EYxKfS97YgVL1o16JHQ2LUbdJiQHpOw0gZK2p o1C/LIrJVF+2ymvi983j4RJiJE1KQsnjOYgI5wOx27PNd99olYNmlS11ufg9sdjWAkGv yixw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704886854; x=1705491654; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=vCsB5QvkhBd8DXp6y9aUB4ktFWnjCacK4xzgw3mwVrA=; b=IPcKbYFb2WUCXfZfAdTZMfCAL8ri5aQaWhmQHzCHsjpBZPBDtb6RT6JlYim69pHpHZ uLBdaNSe6bMCdVlZ8Sk3jMHX2B3KnUUS0aGFTGBwVGM5mcL+aPawOVkzKNb4GbIs6ARy M+R8xGWFL0l5e9Vlgm4yQwPfnAG7wU5wBtqDGFCfJzztauKRtEbiBwDY/oSca3wUEKtk DqyHKTadBnvkYoDv0CppOcYKICynbdvpqzN/o1Ad59gHP1CTVRT5zuhFkomX1RNZv48g HCkiSPjWRxAcGsxdVp1HlphD0tYQIDo31Emhnoqp4T7ObUbbGOgYDGBoXcPE3MKWZ9wF RsvQ== X-Gm-Message-State: AOJu0Yyepd8XGvWeu6pMIGRmimxEPhjbVxUeQIkbqlqd2RD6lGQGPZcm 1zFRHKrjUILKaYWyRuvC8ERTxNzEdH7kag== X-Received: by 2002:a17:906:fcda:b0:a28:5745:91b2 with SMTP id qx26-20020a170906fcda00b00a28574591b2mr481516ejb.20.1704886854290; Wed, 10 Jan 2024 03:40:54 -0800 (PST) Received: from [192.168.1.20] ([178.197.223.112]) by smtp.gmail.com with ESMTPSA id am11-20020a170906568b00b00a2b9e2c971fsm889895ejc.191.2024.01.10.03.40.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Jan 2024 03:40:53 -0800 (PST) Message-ID: Date: Wed, 10 Jan 2024 12:40:48 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/6] arm64: dts: qcom: ipq9574: Add PPE device tree node To: Luo Jie , andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, quic_kkumarcs@quicinc.com, quic_suruchia@quicinc.com, quic_soni@quicinc.com, quic_pavir@quicinc.com, quic_souravp@quicinc.com, quic_linchen@quicinc.com, quic_leiwei@quicinc.com References: <20240110112059.2498-1-quic_luoj@quicinc.com> <20240110112059.2498-2-quic_luoj@quicinc.com> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8K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5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240110112059.2498-2-quic_luoj@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 10/01/2024 12:20, Luo Jie wrote: > The PPE device tree node includes the PPE initialization configurations > and UNIPHY instance configuration. > > Ther are 3 UNIPHYs(PCS) on the platform ipq9574, which register the > clock provider to output the clock for PPE port to work on the different > link speed. > > Signed-off-by: Luo Jie > --- > arch/arm64/boot/dts/qcom/ipq9574.dtsi | 730 +++++++++++++++++++++++++- > 1 file changed, 724 insertions(+), 6 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi > index 810cda4a850f..5fa241e27c8b 100644 > --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi > +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi > @@ -775,16 +775,734 @@ nsscc: nsscc@39b00000 { > <&bias_pll_nss_noc_clk>, > <&bias_pll_ubi_nc_clk>, > <&gcc_gpll0_out_aux>, > - <0>, > - <0>, > - <0>, > - <0>, > - <0>, > - <0>, > + <&uniphys 0>, > + <&uniphys 1>, > + <&uniphys 2>, > + <&uniphys 3>, > + <&uniphys 4>, > + <&uniphys 5>, > <&xo_board_clk>; > #clock-cells = <1>; > #reset-cells = <1>; > }; > + > + qcom_ppe: qcom-ppe@3a000000 { qcom is definitely not a generic name. Node names should be generic. See also an explanation and list of examples (not exhaustive) in DT specification: https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation > + compatible = "qcom,ipq9574-ppe"; I don't see this documented. I don't see reference to posted bindings. Please run scripts/checkpatch.pl and fix reported warnings. Some warnings can be ignored, but the code here looks like it needs a fix. Feel free to get in touch if the warning is not clear. Ignoring this warning is a sign you don't really check your patches before sending. > + reg = <0x3a000000 0xb00000>; > + #address-cells = <1>; > + #size-cells = <1>; > + ranges; Put after reg. > + status = "okay"; Drop All of above comments apply to your entire patchset and all places. Looking at code further, it does not look like suitable for mainline, but copy of downstream code. That's not what we expect upstream. Please go back to your bindings first. Also, I really insist you reaching out to other folks to help you in this process. Best regards, Krzysztof