From patchwork Sun Feb 27 08:18:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 12761551 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 0C662C433F5 for ; Sun, 27 Feb 2022 08:19:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230138AbiB0ITp (ORCPT ); Sun, 27 Feb 2022 03:19:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230134AbiB0ITo (ORCPT ); Sun, 27 Feb 2022 03:19:44 -0500 Received: from mx.tkos.co.il (guitar.tcltek.co.il [84.110.109.230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E350B3B3E3; Sun, 27 Feb 2022 00:19:07 -0800 (PST) Received: from tarshish.tkos.co.il (unknown [10.0.8.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPS id E655E440932; Sun, 27 Feb 2022 10:18:25 +0200 (IST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tkos.co.il; s=default; t=1645949906; bh=3IxnfjF7BB1CodfrPmPLlp9lzQkWUXQyUXY6ck9jdeM=; h=From:To:Cc:Subject:Date:From; b=oC7SU1D9eGfZBIlL6chy6ecPnCZoBq3SFFBJ7wuOahkEtuh/OWT2uHHBO2KMV4DPu +GiKytinOuiHM48N7Ek8A6kJyinHI1v6UQxwcQsXBT0ytGqenPDuuSl28pfE+Jz4v4 rM5C2ciIJqlR01uN9FUoNuD++W2EC8NOD2JBYIkO3/1ZAY2/G0KGJlORw1S7DdV8To TLcvDEjLmwRB2ldIP1TGSNodT65kgAU33ZdD/c4EgK77dUM0J5pvPcqOxHeD25yCid gJ7vJr4mILkLdFE7C5mSaKg71Mfk4VkKtFtG+93bSm+5DJGm/5CY26YJA7bDEJNeh8 QFdPPXxGnPj8A== From: Baruch Siach To: Andy Gross , Bjorn Andersson , Robert Marko Cc: Baruch Siach , Bryan O'Donoghue , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: net: ipq4019-mdio: Add ipq6018 compatible Date: Sun, 27 Feb 2022 10:18:33 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Baruch Siach The IPQ60xx MDIO bus is the same as IPQ4019. Change 'enum' to 'items' list to allow fallback to older compatible strings. Signed-off-by: Baruch Siach --- v2: Update the schema to allow fallback compatible (Rob Herring) --- Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml index 2af304341772..01fa8406fa33 100644 --- a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml +++ b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml @@ -14,9 +14,10 @@ allOf: properties: compatible: - enum: + items: - qcom,ipq4019-mdio - qcom,ipq5018-mdio + - qcom,ipq6018-mdio "#address-cells": const: 1 From patchwork Sun Feb 27 08:18:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 12761552 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 96578C4332F for ; Sun, 27 Feb 2022 08:19:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230134AbiB0ITq (ORCPT ); Sun, 27 Feb 2022 03:19:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229769AbiB0ITo (ORCPT ); Sun, 27 Feb 2022 03:19:44 -0500 Received: from mx.tkos.co.il (guitar.tcltek.co.il [84.110.109.230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F7ED3B3DE; Sun, 27 Feb 2022 00:19:07 -0800 (PST) Received: from tarshish.tkos.co.il (unknown [10.0.8.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPS id 4CF1E440EB0; Sun, 27 Feb 2022 10:18:26 +0200 (IST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tkos.co.il; s=default; t=1645949906; bh=Rvsj67ju5R/3APhA2dEbgrJBQsct718LIa5iTVH/eGA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Cl4VKk2Z83u2jnSgkyF9tsSrC9k+ltPOGl1mcROamAh+xI/7WoxMsZY+q6runn+rB +rwy2GI4KebnmvLXHoD710z/gAhLsiOUqA80pfzpv79HDxd6b1nxuP3cb1oe/FemIL yMzDX9vPo3fbzyWhY2j9oOKjAqdCS0E9ixaGpQ/Ps6kw4ayYL1k/scz/PVpIcfcM/l FHFTjBGwIn0sBUXk8h5YyEvZI7ujkHvv0B05saZZ1mQhK/EuMJP4S20j+AgmkqeWpe yEBs04tOU8UBk697n+343na4BwQg04FZhdZNs7X5/kLLkFxrVuJ2mX/KuobzGHUnW8 ZMxFlb/QPCgEg== From: Baruch Siach To: Andy Gross , Bjorn Andersson , Robert Marko Cc: Baruch Siach , Bryan O'Donoghue , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v2 2/2] arm64: dts: qcom: ipq6018: Add mdio bus description Date: Sun, 27 Feb 2022 10:18:34 +0200 Message-Id: <4c4f1540f8f99c07a63a484b11e9880bbf3acdc4.1645949914.git.baruch@tkos.co.il> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Baruch Siach The IPQ60xx has the same MDIO bug block as IPQ4019. Add IO range and clock resources description. Reviewed-by: Bryan O'Donoghue Signed-off-by: Baruch Siach --- v2: Add review tag from Bryan O'Donoghue --- arch/arm64/boot/dts/qcom/ipq6018.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi index 5eb7dc9cc231..093011d18ca6 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi @@ -635,6 +635,16 @@ qrtr_requests { }; }; + mdio: mdio@90000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "qcom,ipq6018-mdio", "qcom,ipq4019-mdio"; + reg = <0x0 0x90000 0x0 0x64>; + clocks = <&gcc GCC_MDIO_AHB_CLK>; + clock-names = "gcc_mdio_ahb_clk"; + status = "disabled"; + }; + qusb_phy_1: qusb@59000 { compatible = "qcom,ipq6018-qusb2-phy"; reg = <0x0 0x059000 0x0 0x180>;