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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AD718C001B0 for ; Mon, 14 Aug 2023 10:02:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Bam1dzislF5XbLSiFYoxeKyY4WkoUERhuPJLBiwV44M=; b=IVgAdLyW7fNznv Ykxr/r7WerqmpUp1a+eUQJs/6vk8L3yyFwrQzHml1G1kBQBJrsmHlMhQ+tDD86a2bSRK6C51Hqs9E fIV6In1DBZr3MCWNjSJeUM66VW4GWtLa+Aoj7+cjJLBSBuahl3CZLC7mKezCSqDOxrdCaYagmphn4 Vvh7KF2dZLKkFm+J3yyWAzzMdoxGzvMhdII303+8R1UwEHEb0/khSdc8wc6a4EEMK+1JUUkupjQgs sFC37OevXJAvIAzHnAnTtfgmeDgyCYm/HhPwkRRNw9UCMVEGQDJlI7BZsB9n3EHIbfScerSk1zpGH 4PKt5sJ/kayLnh4XV8vQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qVUOm-00GfP8-1h; Mon, 14 Aug 2023 10:02:08 +0000 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qVUOj-00GfO3-26 for linux-arm-kernel@lists.infradead.org; Mon, 14 Aug 2023 10:02:07 +0000 Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-523100882f2so5432447a12.2 for ; Mon, 14 Aug 2023 03:02:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1692007323; x=1692612123; 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=+ik4gXzePMNDVXoA4qrXdz513andF8ufeDJrefrHPgs=; b=v9A7Fyc4fgYhcmsIrSU4+EMEYcBYHT4PV23+X6QAWju7xRKv6KCspzwy5IEi3/O+cA HZhWZsggviIEhYnj63kpo+FXGFxhRZ8jhrZPxfyOJUKgc0gFGg55h88OaZpSOoZRw+Jp /OT4KckbAvu/hkzbJ7kjPFAzfPDkITbuwAmqoUghYkWfUAoW4AnagH1MvQqBvrXCI1wr 5KrD67vVZY8gKMyxdlr8sAJpU50BMATcN0S6otYoh8Df6E/o9ROFYQiv7ZVcbYpboCL1 R3R9lGQpAE8PulpXqaMxFF4zopWX4ayQICU2IyehGoJnALxSU/MNjoaLOGeg9Hw4nvDN kBMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692007323; x=1692612123; 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=+ik4gXzePMNDVXoA4qrXdz513andF8ufeDJrefrHPgs=; b=SzVSJDFmJ1WoMIohU9LkM57XGXaIoK8613mNMtBnSboObRM1czxG50vdazNn3hM/lW YXKJ0nP38TsRZJ1piJmYR3yhzYP9r5+uj8fAms/tzYBDI2GPCYe+PhbiOYA5yiITmHuA iQxeV7Zl0dvxeSTU8OuPUREf8EtxFQpGUCDXcBaCcyc4caZdh8UtsCrUvEynRvzc9W0Y z6MYJiuQjUlsMJ1E8xO7ii2O5PKBtYUacHnkjc/Olmxo3oAJg9gD2Eu6yTiVHxnPNT7+ muOdBjVxKMXBWCWxS+uIOF31EO008B+TmDNHCnHL0GGl7lPVjgGytNFbhMHLIcgCs0Au 18Xg== X-Gm-Message-State: AOJu0Yysq/of8XKJXEI7ajhfAt8rFd4bjnT8VOG/GX7KffF+cas8upb0 WZvadC/RgdtkmCuZLu7qOpGuDw== X-Google-Smtp-Source: AGHT+IGLzRRf7XnAWVvQR/vfWi0vMp1OCBzNr5Xn0bY7guPVzQfzodJcNpciW9fx89Nxo1T/CwxBrA== X-Received: by 2002:aa7:c557:0:b0:522:cef7:83c3 with SMTP id s23-20020aa7c557000000b00522cef783c3mr7646463edr.8.1692007323433; Mon, 14 Aug 2023 03:02:03 -0700 (PDT) Received: from [192.168.1.20] ([178.197.214.188]) by smtp.gmail.com with ESMTPSA id y18-20020aa7ccd2000000b005227e53cec2sm5403411edt.50.2023.08.14.03.02.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 14 Aug 2023 03:02:03 -0700 (PDT) Message-ID: <7c05f889-acee-4ef7-7fce-c30baa760138@linaro.org> Date: Mon, 14 Aug 2023 12:01:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [PATCH v7 3/5] arm64: dts: qcom: ipq5332: Add USB related nodes Content-Language: en-US To: Varadarajan Narayanan , agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, vkoul@kernel.org, kishon@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, catalin.marinas@arm.com, will@kernel.org, p.zabel@pengutronix.de, arnd@arndb.de, geert+renesas@glider.be, nfraprado@collabora.com, rafal@milecki.pl, peng.fan@nxp.com, quic_srichara@quicinc.com, linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <066299506138ffcf1a3135b6f1a4609eee46ddf9.1691660905.git.quic_varada@quicinc.com> From: Krzysztof Kozlowski In-Reply-To: <066299506138ffcf1a3135b6f1a4609eee46ddf9.1691660905.git.quic_varada@quicinc.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230814_030205_695985_9D846CF0 X-CRM114-Status: GOOD ( 19.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 10/08/2023 11:56, Varadarajan Narayanan wrote: > Add USB phy and controller nodes. > > Signed-off-by: Varadarajan Narayanan > --- > v6: > Remove clock names > Move the nodes to address sorted location > v5: > Use generic phy instead of usb-phy > 'make CHECK_DTBS=y DT_SCHEMA_FILES=qcom dtbs_check' passed > 'DT_CHECKER_FLAGS='-v -m' DT_SCHEMA_FILES=qcom dt_binding_check' passed > v4: > Change node name > Remove blank line > 'make CHECK_DTBS=y DT_SCHEMA_FILES=qcom qcom/ipq5332-rdp441.dtb' passed > v1: > Rename phy node > Change compatible from m31,ipq5332-usb-hsphy -> qcom,ipq5332-usb-hsphy > Remove 'qscratch' from phy node > Fix alignment and upper-case hex no.s > Add clock definition for the phy > Remove snps,ref-clock-period-ns as it is not used. dwc3_ref_clk_period() > in dwc3/core.c takes the frequency from ref clock and calculates fladj > as appropriate. > --- > arch/arm64/boot/dts/qcom/ipq5332.dtsi | 55 +++++++++++++++++++++++++++++++++++ > 1 file changed, 55 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/ipq5332.dtsi b/arch/arm64/boot/dts/qcom/ipq5332.dtsi > index 8bfc2db..c45d9d4 100644 > --- a/arch/arm64/boot/dts/qcom/ipq5332.dtsi > +++ b/arch/arm64/boot/dts/qcom/ipq5332.dtsi > @@ -145,6 +145,19 @@ > #size-cells = <1>; > ranges = <0 0 0 0xffffffff>; > > + usbphy0: phy@7b000 { > + compatible = "qcom,ipq5332-usb-hsphy"; > + reg = <0x0007b000 0x12c>; > + > + clocks = <&gcc GCC_USB0_PHY_CFG_AHB_CLK>; > + > + resets = <&gcc GCC_QUSB2_0_PHY_BCR>; > + > + #phy-cells = <0>; > + > + status = "disabled"; > + }; > + > qfprom: efuse@a4000 { > compatible = "qcom,ipq5332-qfprom", "qcom,qfprom"; > reg = <0x000a4000 0x721>; > @@ -290,6 +303,48 @@ > status = "disabled"; > }; > > + usb: usb2@8a00000 { usb@ Node names must be generic. > + compatible = "qcom,ipq5332-dwc3", "qcom,dwc3"; > + reg = <0x08af8800 0x400>; OK, so this was not really checked for any warnings. It does not look like you tested the DTS against bindings. Please run `make dtbs_check W=1` (see Documentation/devicetree/bindings/writing-schema.rst or https://www.linaro.org/blog/tips-and-tricks-for-validating-devicetree-sources-with-the-devicetree-schema/ for instructions). Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel