From patchwork Tue May 2 13:35:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13228928 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 34674C77B7E for ; Tue, 2 May 2023 13:37:05 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3YyBDOkFHR3d80DtFOdwY9S8nVY0alQtH1P17r945uQ=; b=cCyRMTk7rETcFT wIPocDJq2kXcQtPopNFeUIC6d359FO0Chnd26JMA61vBSsU8EPQ6Smjepq7v+ydZxmONaAOZnNiWt eriNuru6+3TOAJF1izt9Q5T20ghbg/LtN+esnFrVD0zFlcf/kRYvAwgJmmAYs3dZUobH8UYZ3/1yn NQtxiRFM8CaATYzWQFv+UW7tGORZmlfIt9HssXYWG5QxaZdliiwL0eP3OB7gcyDYFGoy5L13mEcp5 Rm45Vw5a/J540XCM+8BoqHQrxwtG4Hkf3YCcTI54FUOFMbvBlLzcJnbw5hSKm/4uWX+ZbKRn8JV0H SUSfS4TJl9qoS9x0LBkw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptqAq-001d34-1x; Tue, 02 May 2023 13:36:08 +0000 Received: from mail-mw2nam10on20622.outbound.protection.outlook.com ([2a01:111:f400:7e89::622] helo=NAM10-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptqAn-001d1m-13 for linux-arm-kernel@lists.infradead.org; Tue, 02 May 2023 13:36:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D3Yg99UvQcvYvNPbGtwYwNXRZz3vtiOyfPlb7P0LOmqj6RktX7rNoUhkYVtYGSE0m4l+nxJI8lerGODVLzcSbmXopPSG7SK8TRwphXV1cB5HTlhGzWtEqrcKDZ3ZKqqMuzYH10VQxf6lkEN3Yi+oPeZYIQiyEc1wOR8ELhj6mRZM/K1M33oUpjluYeX76N0fk5Wosz+4XL01wIYDCy5NtrM7PJ6XVz0Ixf61ikVVyrbNsVTd3fhc22XuouBilYFVgwtGEIaB01vylyIoro/KfyjZA+M1Lh2EdwGDsI+VSwxthM3hLL1/hR24n9I1hsnMX/nL9Qa7x2XSSntSMQnxag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lLin278g9u67R1wd6WpzWcVg/T/Fu3xxijD1Z6Dui0s=; b=DAOgnhwK0mCHecTSPQRk3OQP4lKYm4egLf43aGl9dfNVBEk0Zgc6d5a34RkNWhDXDPQ90YNFMhKnUkC5N2ZrWq/j4uxtWUKtnmfTF2wlbLDJR0Vt4YoLr1wR0N0ld9VGY1VXVo46NHD3iFYocVl8uO4kPX3iwgX3lKuHlrb0V1nKiNncK3BfPay/kbXmGGJGEuKcRIgmuRPN7+iZQyYDHGYrxE3cRbuzZObEJU/NAHg4iwxLLGOXsWgTEjap01ZJpVxxbrPPPcrm5U1rtaR9PF7fVEoH24c2vyC3D+Lz3KpK3jrHkunr8NrvWB95axk2+eSpElfq4B9r98548RnOhA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lLin278g9u67R1wd6WpzWcVg/T/Fu3xxijD1Z6Dui0s=; b=c0IXmBpFd7LyeIrBGTvDYbg7V5whA5qlb2Qgs6sL0rkrwjJ4LAbyViFR+vY0CAWbkLXbcmND7np91+lCipU/ibf4uHHIQ0w58FpVNmuSZ0ohEFDCNFMvXAb+Rh7xwnOoHKoKBb7mogZ/WJjhJ2n0vuVldn34ogA4Qc4s3ckFkSM= Received: from DM6PR02CA0168.namprd02.prod.outlook.com (2603:10b6:5:332::35) by SJ0PR12MB8167.namprd12.prod.outlook.com (2603:10b6:a03:4e6::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.28; Tue, 2 May 2023 13:36:00 +0000 Received: from DS1PEPF0000E638.namprd02.prod.outlook.com (2603:10b6:5:332:cafe::70) by DM6PR02CA0168.outlook.office365.com (2603:10b6:5:332::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.20 via Frontend Transport; Tue, 2 May 2023 13:35:59 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DS1PEPF0000E638.mail.protection.outlook.com (10.167.17.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.21 via Frontend Transport; Tue, 2 May 2023 13:35:59 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 2 May 2023 08:35:58 -0500 From: Michal Simek To: , , , CC: Amit Kumar Mahapatra , Ashok Reddy Soma , Krzysztof Kozlowski , Laurent Pinchart , Parth Gajjar , "Rob Herring" , Vishal Sagar , , Subject: [PATCH 01/23] arm64: zynqmp: Describe TI phy as ethernet-phy-id Date: Tue, 2 May 2023 15:35:29 +0200 Message-ID: <9eefc40c727928e0c7b794a3a2e061ecf6ea230c.1683034376.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0000E638:EE_|SJ0PR12MB8167:EE_ X-MS-Office365-Filtering-Correlation-Id: 5009ebc9-6b32-40b8-3277-08db4b122a82 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rKmO0Mb44MBVcvBlDvYFwqfJ6PCtR7OwQ/IIT2A1lQb2bOkICjnFeKgc2wA2B1J99ivBcUt3kZ7gOb6awXQalTNERTnwyxgZS8E9HRfBzYr2gzX1cNGgt1jOA9DoPmcPYUg19XlxXqw/ZW1sl6Wk/3XRhNaHBQOqrxaBGEBY49D8W1k/MfGPxEkI6l2cYN2mGWXOq8uaEv5JgueW9RdmeJPlMA/BQrNtcHW5jszDbgnxWolw806a2uxV3aBcTW5MIXoiGfIHusxLKOP7M3ci0WYjm9almyBBXaE4jMbJ6ndb51raIaL/SH1cwJNLuXi4Nz/xBa4+GGgBzArokkhrHwA/dOaA59XTZobRzy1NmdvQqKsJ7t+E7yguHxbRI0v7NZmePnmeLtP6qCzSg7JUgudoFokVKOJGGmazx7wGJJ9rAXrwr9FiGy/QYThr0R9tn6TedFS/VR5aEpKwl7b+CKKE43TNn2C1q5KiwXQ1CLygvlNCvt90n64/4i8mxsIhJCK1G/pJbGCahvtcatjXogqaKaaMm/YxCvzPFkPqs2up5CrDW3KCp3LflivV758JUiUMMrClLnZd1KeRVCk7R54Wmf/ki1oOaJr0rTK+V2o7hx5s9mFfZw91JQ4Bsx/OEAq50Tjqh5eDvCBeFEmmyQFTX/WquQfy/xYun1Z2dCbyQR7lZo779qPSVAgMrIH5aa/6jJDWaB0i2lyVq+wPld+pIRvIbRroefnpQT9QztvMoRb+CaIOU1IGpP/Q2Xkd X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(376002)(136003)(346002)(39860400002)(396003)(451199021)(46966006)(36840700001)(40470700004)(2616005)(83380400001)(478600001)(36860700001)(186003)(16526019)(4326008)(54906003)(70586007)(70206006)(110136005)(26005)(47076005)(426003)(6666004)(336012)(44832011)(316002)(8676002)(40460700003)(82740400003)(8936002)(7416002)(5660300002)(356005)(41300700001)(2906002)(40480700001)(81166007)(82310400005)(86362001)(36756003)(36900700001)(2101003);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 13:35:59.6946 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5009ebc9-6b32-40b8-3277-08db4b122a82 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0000E638.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB8167 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230502_063605_393049_46100F9B X-CRM114-Status: GOOD ( 13.31 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org TI DP83867 is using strapping based on MIO pins. Tristate setup can influce PHY address. That's why switch description with ethernet-phy-id compatible string which enable calling reset. PHY itself setups phy address after power up or reset. Phy reset is done via gpio. Signed-off-by: Michal Simek --- Checkpatch is reporting issue warning: DT compatible string "ethernet-phy-id2000.a231" appears un-documented but it should be fully aligned with Documentation/devicetree/bindings/net/ethernet-phy.yaml --- .../boot/dts/xilinx/zynqmp-zcu102-revA.dts | 23 +++++++++++------ .../boot/dts/xilinx/zynqmp-zcu102-revB.dts | 25 +++++++++++-------- .../boot/dts/xilinx/zynqmp-zcu104-revA.dts | 22 ++++++++++------ .../boot/dts/xilinx/zynqmp-zcu104-revC.dts | 22 ++++++++++------ .../boot/dts/xilinx/zynqmp-zcu106-revA.dts | 22 ++++++++++------ .../boot/dts/xilinx/zynqmp-zcu111-revA.dts | 22 ++++++++++------ 6 files changed, 90 insertions(+), 46 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts index 13c43324f1d2..c193579400cf 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts @@ -2,7 +2,8 @@ /* * dts file for Xilinx ZynqMP ZCU102 RevA * - * (C) Copyright 2015 - 2021, Xilinx, Inc. + * (C) Copyright 2015 - 2022, Xilinx, Inc. + * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc. * * Michal Simek */ @@ -200,13 +201,19 @@ &gem3 { phy-mode = "rgmii-id"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gem3_default>; - phy0: ethernet-phy@21 { - reg = <21>; - ti,rx-internal-delay = <0x8>; - ti,tx-internal-delay = <0xa>; - ti,fifo-depth = <0x1>; - ti,dp83867-rxctrl-strap-quirk; - /* reset-gpios = <&tca6416_u97 6 GPIO_ACTIVE_LOW>; */ + mdio: mdio { + #address-cells = <1>; + #size-cells = <0>; + phy0: ethernet-phy@21 { + #phy-cells = <1>; + compatible = "ethernet-phy-id2000.a231"; + reg = <21>; + ti,rx-internal-delay = <0x8>; + ti,tx-internal-delay = <0xa>; + ti,fifo-depth = <0x1>; + ti,dp83867-rxctrl-strap-quirk; + reset-gpios = <&tca6416_u97 6 GPIO_ACTIVE_LOW>; + }; }; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revB.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revB.dts index f7d718ff116b..00b930f20718 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revB.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revB.dts @@ -2,7 +2,8 @@ /* * dts file for Xilinx ZynqMP ZCU102 RevB * - * (C) Copyright 2016 - 2021, Xilinx, Inc. + * (C) Copyright 2016 - 2022, Xilinx, Inc. + * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc. * * Michal Simek */ @@ -16,16 +17,20 @@ / { &gem3 { phy-handle = <&phyc>; - phyc: ethernet-phy@c { - reg = <0xc>; - ti,rx-internal-delay = <0x8>; - ti,tx-internal-delay = <0xa>; - ti,fifo-depth = <0x1>; - ti,dp83867-rxctrl-strap-quirk; - /* reset-gpios = <&tca6416_u97 6 GPIO_ACTIVE_LOW>; */ + mdio: mdio { + phyc: ethernet-phy@c { + #phy-cells = <0x1>; + compatible = "ethernet-phy-id2000.a231"; + reg = <0xc>; + ti,rx-internal-delay = <0x8>; + ti,tx-internal-delay = <0xa>; + ti,fifo-depth = <0x1>; + ti,dp83867-rxctrl-strap-quirk; + reset-gpios = <&tca6416_u97 6 GPIO_ACTIVE_LOW>; + }; + /* Cleanup from RevA */ + /delete-node/ ethernet-phy@21; }; - /* Cleanup from RevA */ - /delete-node/ ethernet-phy@21; }; /* Fix collision with u61 */ diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts index 485585c491f4..11c1eaef9f53 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts @@ -2,7 +2,8 @@ /* * dts file for Xilinx ZynqMP ZCU104 * - * (C) Copyright 2017 - 2021, Xilinx, Inc. + * (C) Copyright 2017 - 2022, Xilinx, Inc. + * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc. * * Michal Simek */ @@ -109,12 +110,19 @@ &gem3 { phy-mode = "rgmii-id"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gem3_default>; - phy0: ethernet-phy@c { - reg = <0xc>; - ti,rx-internal-delay = <0x8>; - ti,tx-internal-delay = <0xa>; - ti,fifo-depth = <0x1>; - ti,dp83867-rxctrl-strap-quirk; + mdio: mdio { + #address-cells = <1>; + #size-cells = <0>; + phy0: ethernet-phy@c { + #phy-cells = <1>; + compatible = "ethernet-phy-id2000.a231"; + reg = <0xc>; + ti,rx-internal-delay = <0x8>; + ti,tx-internal-delay = <0xa>; + ti,fifo-depth = <0x1>; + ti,dp83867-rxctrl-strap-quirk; + reset-gpios = <&tca6416_u97 6 GPIO_ACTIVE_LOW>; + }; }; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts index 44ec9edd2452..c06c138fa3e5 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts @@ -2,7 +2,8 @@ /* * dts file for Xilinx ZynqMP ZCU104 * - * (C) Copyright 2017 - 2021, Xilinx, Inc. + * (C) Copyright 2017 - 2022, Xilinx, Inc. + * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc. * * Michal Simek */ @@ -114,12 +115,19 @@ &gem3 { phy-mode = "rgmii-id"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gem3_default>; - phy0: ethernet-phy@c { - reg = <0xc>; - ti,rx-internal-delay = <0x8>; - ti,tx-internal-delay = <0xa>; - ti,fifo-depth = <0x1>; - ti,dp83867-rxctrl-strap-quirk; + mdio: mdio { + #address-cells = <1>; + #size-cells = <0>; + phy0: ethernet-phy@c { + #phy-cells = <1>; + compatible = "ethernet-phy-id2000.a231"; + reg = <0xc>; + ti,rx-internal-delay = <0x8>; + ti,tx-internal-delay = <0xa>; + ti,fifo-depth = <0x1>; + ti,dp83867-rxctrl-strap-quirk; + reset-gpios = <&tca6416_u97 6 GPIO_ACTIVE_LOW>; + }; }; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts index 09773b7200f8..52cdec33f190 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts @@ -2,7 +2,8 @@ /* * dts file for Xilinx ZynqMP ZCU106 * - * (C) Copyright 2016 - 2021, Xilinx, Inc. + * (C) Copyright 2016 - 2022, Xilinx, Inc. + * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc. * * Michal Simek */ @@ -212,12 +213,19 @@ &gem3 { phy-mode = "rgmii-id"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gem3_default>; - phy0: ethernet-phy@c { - reg = <0xc>; - ti,rx-internal-delay = <0x8>; - ti,tx-internal-delay = <0xa>; - ti,fifo-depth = <0x1>; - ti,dp83867-rxctrl-strap-quirk; + mdio: mdio { + #address-cells = <1>; + #size-cells = <0>; + phy0: ethernet-phy@c { + #phy-cells = <1>; + reg = <0xc>; + compatible = "ethernet-phy-id2000.a231"; + ti,rx-internal-delay = <0x8>; + ti,tx-internal-delay = <0xa>; + ti,fifo-depth = <0x1>; + ti,dp83867-rxctrl-strap-quirk; + reset-gpios = <&tca6416_u97 6 GPIO_ACTIVE_LOW>; + }; }; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts index e0305dcbb010..699cc9ce7898 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts @@ -2,7 +2,8 @@ /* * dts file for Xilinx ZynqMP ZCU111 * - * (C) Copyright 2017 - 2021, Xilinx, Inc. + * (C) Copyright 2017 - 2022, Xilinx, Inc. + * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc. * * Michal Simek */ @@ -172,12 +173,19 @@ &gem3 { phy-mode = "rgmii-id"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gem3_default>; - phy0: ethernet-phy@c { - reg = <0xc>; - ti,rx-internal-delay = <0x8>; - ti,tx-internal-delay = <0xa>; - ti,fifo-depth = <0x1>; - ti,dp83867-rxctrl-strap-quirk; + mdio: mdio { + #address-cells = <1>; + #size-cells = <0>; + phy0: ethernet-phy@c { + #phy-cells = <1>; + compatible = "ethernet-phy-id2000.a231"; + reg = <0xc>; + ti,rx-internal-delay = <0x8>; + ti,tx-internal-delay = <0xa>; + ti,fifo-depth = <0x1>; + ti,dp83867-rxctrl-strap-quirk; + reset-gpios = <&tca6416_u22 6 GPIO_ACTIVE_LOW>; + }; }; }; From patchwork Tue May 2 13:35:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13228930 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 BB249C7EE24 for ; Tue, 2 May 2023 13:37:12 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Pu2EfyVOERd7jwGMDB0ZZv2y3C4RH2yynOog6PQ3WFs=; b=oYJJYL2YbCiIVy llODa2CY2ojxAN5/aUKe34mKQ2FUEyljE9lH17igebeAlMkPMRaT4zx6Ol6QMg2bKm9zMph5KssxA w7eBBsmSyg9JtWL7UzhfK4tFUYCOoqyeoDXbRi5UxOlPy11MMt8TFFceL177fuLEm1/GXys6x+x8W CVMSOuvluhdCMft22kwTo4L8vt4cqwpvoizHTfdkYPwsy/NKWc6z+7nmIlvCbisjZtMylmRSQPUKp 8VIJL00KDyPurwjWbyDDD4BNVuQE/zCvGWbMdXPnArH/bfvQdBCq8x4Llu9707/SmjYJS79RUfCvI v5KxQMCe5m+3KJDHHZ2g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptqAv-001d51-2M; Tue, 02 May 2023 13:36:13 +0000 Received: from mail-sn1nam02on2062a.outbound.protection.outlook.com ([2a01:111:f400:7ea9::62a] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptqAs-001d3B-0T for linux-arm-kernel@lists.infradead.org; Tue, 02 May 2023 13:36:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XP7Hcqk5KvYHluj+QHrXJEoHgq+7c1zOQURbsv5lQyTFmbi99ZWC+oLS18i1dCPyHJdyiCiL2GfL9oArGFu/C3M+7yBXba6P/WVRWe1i2DlbPbIFOj2FZlek+CcDLYBtAAyVfCJpbfolAozQhk57PLKMSUuXG9jNzvzR0X+DEwWcoBLannjTQz1yw8rV+twsjLxXuSdu3KU8dgvyFfcOCBvcHAIdPPpUt//g4Xb36LCVNOqmqhaMMUFFp8uuaZcOmCZphbOfNy2OMehtj041bNojtkoJDZrs9uZHbZJtqPe1qkS4Gh6QWjKs4BezAAp9qDTyBtYkBM+315U8OZk7eQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zCKgly+2Mj9c7q+hcfKNsAD6vcPGA+l76NM3TleD0xE=; b=IH61vMXVWBNKR0d1CmT5ke5yOXt07vZ4p0M8VUctt8fuCSdL2kPar7RZHlZovWOX+bJe2N2tC7tmhk/txayrzhaRQOdFGERDaUQwP0nXBpMBDWl3XyvswgFUor+eLV7Otf0sPWzG/ETGa86gYKv1ppM/5l2LrxIVQ9DcqfaCGXbM2t9oHseTLaFRFBdqI2Ug2/+RSIdaGZWQ1B2ILQFzJltT4knu5sw41yJIRkyil0Xfy1rkA6tiWqlvIdcXVLyBPSFT7jO/Dapjr42bidQnBDMwEiqavSbRYhxly/i4HaDOcKJ3aMD7DjOmA4JX8BYKHBTZbI880/rt7gpAMPU0VA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zCKgly+2Mj9c7q+hcfKNsAD6vcPGA+l76NM3TleD0xE=; b=QY9W/dxSUEzPPWkbhLkWxD0jG2CjsNLBbwBtv3mENFvY2V0ZavkR/F2Vb7Qexn6jqFkwGi+Arof3qO421BFNpp4i7zY6xeX7GtjTOX0Hb5G4NJEtJR6X21awbcSRDuScata7OTSfnTjSthYw/JFTNgvlAZHXcLqDsKgCFRy1lEw= Received: from DS7PR03CA0041.namprd03.prod.outlook.com (2603:10b6:5:3b5::16) by DM4PR12MB5120.namprd12.prod.outlook.com (2603:10b6:5:393::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.20; Tue, 2 May 2023 13:36:03 +0000 Received: from DS1PEPF0000E63D.namprd02.prod.outlook.com (2603:10b6:5:3b5:cafe::f1) by DS7PR03CA0041.outlook.office365.com (2603:10b6:5:3b5::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31 via Frontend Transport; Tue, 2 May 2023 13:36:03 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DS1PEPF0000E63D.mail.protection.outlook.com (10.167.17.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.21 via Frontend Transport; Tue, 2 May 2023 13:36:03 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 2 May 2023 08:36:02 -0500 From: Michal Simek To: , , , CC: Ashok Reddy Soma , Amit Kumar Mahapatra , Andrew Davis , "Geert Uytterhoeven" , Krzysztof Kozlowski , Laurent Pinchart , Parth Gajjar , Piyush Mehta , Rob Herring , Vishal Sagar , , Subject: [PATCH 02/23] arm64: zynqmp: Fix usb node drive strength and slew rate Date: Tue, 2 May 2023 15:35:30 +0200 Message-ID: <1b2914e5e6010b174c14603f92626ac3b11a2263.1683034376.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0000E63D:EE_|DM4PR12MB5120:EE_ X-MS-Office365-Filtering-Correlation-Id: f7fdb5ff-be59-4feb-e753-08db4b122ccd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: spABzgjiyC3vU2DXClSDJgrq2zgU1J/GqccKEVztNsZh5wHIw7Fp388Y/1rXka3CZQPuFn/Ifaw+bd9WpM2deIBcltwz7d5W5JsajUAtuYeilEvx6D24oQTegW7kBRZlbceV+sUL7SUk5LRMeQcGqkzkiP+BvhZIU7UuenAp2L0HZSY20YYTrWDj/5H+MQdJR5Nbpi7a3K/MotLZma+nnfqAakCLQaLAub2/rO5ZrAbgDgjiDSTrT+6D0vDqLukLis6Xfx8e4p3swfBKc1moZDHaTYK+DxnxnBzzr1MdQLX1ubJdh6adsEI5PVOzqIRxWc4qx3N+BTIoIJgInIQYBrVrjM/rd76IoD+L7bm+sq+Ca8yFWTYzkounT5Jv8v8tLOVyr2HWz108X/SX4Y1C2siw404LuOQqM+ikDidgerumYTCfzXoht9KVsVCM2Y3DaqPluCQVdLQVr0KB8zSYZqOX+jdeJEg7lpbVuUhc8XE3dfEF0GjHygoWcXLI5wOLJuvJ6dbPhXKyWgSzE80Sr6tIaSknappzWV75m7SuRia0CgfbiaqRNTZPlIFHGFYpBu8gKHGLjJxDYZEqIc6DNsiuZFdoCeMxohOG0pAKR8bhkk23SQDNkFlZQ3M6LdZXqXQ+o1Ds4rNILQi+tOztkV5d1wS0C5KL9Q24GV6NbcOmgw2IkP1bJzKqZOqw8j/shdlJXiSUkS2rMTn5WJRGxYzSkTUatGCXz/SAKRGTirXGUCT9IfxePLiDwgWbmWOQ X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(39860400002)(376002)(346002)(136003)(396003)(451199021)(46966006)(40470700004)(36840700001)(54906003)(110136005)(426003)(336012)(26005)(36860700001)(2616005)(6666004)(478600001)(4326008)(316002)(41300700001)(186003)(83380400001)(47076005)(16526019)(70206006)(70586007)(5660300002)(8936002)(7416002)(30864003)(81166007)(82740400003)(40460700003)(2906002)(356005)(44832011)(40480700001)(86362001)(8676002)(36756003)(82310400005)(2101003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 13:36:03.5461 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f7fdb5ff-be59-4feb-e753-08db4b122ccd X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0000E63D.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5120 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230502_063610_229250_BA218EC6 X-CRM114-Status: GOOD ( 11.43 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Ashok Reddy Soma As per design, all input/rx pins should have fast slew rate and 12mA drive strength. Rest all pins should be slow slew rate and 4mA drive strength. Fix usb nodes as per this and remove setting of slow slew rate for all the usb group pins. Signed-off-by: Ashok Reddy Soma Signed-off-by: Michal Simek --- .../arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso | 8 ++++++-- .../arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso | 8 ++++++-- .../boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts | 8 ++++++-- .../boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts | 8 ++++++-- arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts | 13 ++++++++++--- arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts | 5 ++++- arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts | 6 ++++-- arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts | 6 ++++-- arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts | 5 ++++- arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts | 5 ++++- 10 files changed, 54 insertions(+), 18 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso index b610e65e0cdf..2f7a17ec58b4 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso @@ -2,7 +2,8 @@ /* * dts file for KV260 revA Carrier Card * - * (C) Copyright 2020 - 2021, Xilinx, Inc. + * (C) Copyright 2020 - 2022, Xilinx, Inc. + * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc. * * SD level shifter: * "A" – A01 board un-modified (NXP) @@ -259,19 +260,22 @@ mux { pinctrl_usb0_default: usb0-default { conf { groups = "usb0_0_grp"; - slew-rate = ; power-source = ; }; conf-rx { pins = "MIO52", "MIO53", "MIO55"; bias-high-impedance; + drive-strength = <12>; + slew-rate = ; }; conf-tx { pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59", "MIO60", "MIO61", "MIO62", "MIO63"; bias-disable; + drive-strength = <4>; + slew-rate = ; }; mux { diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso index a52dafbfd59e..4695e0e3714f 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso @@ -2,7 +2,8 @@ /* * dts file for KV260 revA Carrier Card * - * (C) Copyright 2020 - 2021, Xilinx, Inc. + * (C) Copyright 2020 - 2022, Xilinx, Inc. + * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc. * * Michal Simek */ @@ -242,19 +243,22 @@ mux { pinctrl_usb0_default: usb0-default { conf { groups = "usb0_0_grp"; - slew-rate = ; power-source = ; }; conf-rx { pins = "MIO52", "MIO53", "MIO55"; bias-high-impedance; + drive-strength = <12>; + slew-rate = ; }; conf-tx { pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59", "MIO60", "MIO61", "MIO62", "MIO63"; bias-disable; + drive-strength = <4>; + slew-rate = ; }; mux { diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts index f89ef2afcd9e..5fa9604f05d1 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts @@ -2,7 +2,8 @@ /* * dts file for Xilinx ZynqMP zc1751-xm015-dc1 * - * (C) Copyright 2015 - 2021, Xilinx, Inc. + * (C) Copyright 2015 - 2022, Xilinx, Inc. + * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc. * * Michal Simek */ @@ -187,19 +188,22 @@ mux { conf { groups = "usb0_0_grp"; - slew-rate = ; power-source = ; }; conf-rx { pins = "MIO52", "MIO53", "MIO55"; bias-high-impedance; + drive-strength = <12>; + slew-rate = ; }; conf-tx { pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59", "MIO60", "MIO61", "MIO62", "MIO63"; bias-disable; + drive-strength = <4>; + slew-rate = ; }; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts index 938b76bd0527..a2031187d9b3 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts @@ -2,7 +2,8 @@ /* * dts file for Xilinx ZynqMP zc1751-xm016-dc2 * - * (C) Copyright 2015 - 2021, Xilinx, Inc. + * (C) Copyright 2015 - 2022, Xilinx, Inc. + * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc. * * Michal Simek */ @@ -281,19 +282,22 @@ mux { conf { groups = "usb1_0_grp"; - slew-rate = ; power-source = ; }; conf-rx { pins = "MIO64", "MIO65", "MIO67"; bias-high-impedance; + drive-strength = <12>; + slew-rate = ; }; conf-tx { pins = "MIO66", "MIO68", "MIO69", "MIO70", "MIO71", "MIO72", "MIO73", "MIO74", "MIO75"; bias-disable; + drive-strength = <4>; + slew-rate = ; }; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts index c74bc3ff703b..2dd552cf51fb 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts @@ -2,7 +2,8 @@ /* * dts file for Xilinx ZynqMP ZCU100 revC * - * (C) Copyright 2016 - 2021, Xilinx, Inc. + * (C) Copyright 2016 - 2022, Xilinx, Inc. + * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc. * * Michal Simek * Nathalie Chan King Choy @@ -423,19 +424,22 @@ mux { conf { groups = "usb0_0_grp"; - slew-rate = ; power-source = ; }; conf-rx { pins = "MIO52", "MIO53", "MIO55"; bias-high-impedance; + drive-strength = <12>; + slew-rate = ; }; conf-tx { pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59", "MIO60", "MIO61", "MIO62", "MIO63"; bias-disable; + drive-strength = <4>; + slew-rate = ; }; }; @@ -447,19 +451,22 @@ mux { conf { groups = "usb1_0_grp"; - slew-rate = ; power-source = ; }; conf-rx { pins = "MIO64", "MIO65", "MIO67"; bias-high-impedance; + drive-strength = <12>; + slew-rate = ; }; conf-tx { pins = "MIO66", "MIO68", "MIO69", "MIO70", "MIO71", "MIO72", "MIO73", "MIO74", "MIO75"; bias-disable; + drive-strength = <4>; + slew-rate = ; }; }; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts index c193579400cf..78043d9de7cc 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts @@ -783,19 +783,22 @@ mux { conf { groups = "usb0_0_grp"; - slew-rate = ; power-source = ; }; conf-rx { pins = "MIO52", "MIO53", "MIO55"; bias-high-impedance; + drive-strength = <12>; + slew-rate = ; }; conf-tx { pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59", "MIO60", "MIO61", "MIO62", "MIO63"; bias-disable; + drive-strength = <4>; + slew-rate = ; }; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts index 11c1eaef9f53..c1779c88ec34 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts @@ -410,20 +410,22 @@ mux { conf { groups = "usb0_0_grp"; - slew-rate = ; power-source = ; - drive-strength = <12>; }; conf-rx { pins = "MIO52", "MIO53", "MIO55"; bias-high-impedance; + drive-strength = <12>; + slew-rate = ; }; conf-tx { pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59", "MIO60", "MIO61", "MIO62", "MIO63"; bias-disable; + drive-strength = <4>; + slew-rate = ; }; }; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts index c06c138fa3e5..b857c1950496 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts @@ -422,20 +422,22 @@ mux { conf { groups = "usb0_0_grp"; - slew-rate = ; power-source = ; - drive-strength = <12>; }; conf-rx { pins = "MIO52", "MIO53", "MIO55"; bias-high-impedance; + drive-strength = <12>; + slew-rate = ; }; conf-tx { pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59", "MIO60", "MIO61", "MIO62", "MIO63"; bias-disable; + drive-strength = <4>; + slew-rate = ; }; }; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts index 52cdec33f190..e4e09afbdc1a 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts @@ -794,19 +794,22 @@ mux { conf { groups = "usb0_0_grp"; - slew-rate = ; power-source = ; }; conf-rx { pins = "MIO52", "MIO53", "MIO55"; bias-high-impedance; + drive-strength = <12>; + slew-rate = ; }; conf-tx { pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59", "MIO60", "MIO61", "MIO62", "MIO63"; bias-disable; + drive-strength = <4>; + slew-rate = ; }; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts index 699cc9ce7898..791b2ac9fbdb 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts @@ -660,19 +660,22 @@ mux { conf { groups = "usb0_0_grp"; - slew-rate = ; power-source = ; }; conf-rx { pins = "MIO52", "MIO53", "MIO55"; bias-high-impedance; + drive-strength = <12>; + slew-rate = ; }; conf-tx { pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59", "MIO60", "MIO61", "MIO62", "MIO63"; bias-disable; + drive-strength = <4>; + slew-rate = ; }; }; From patchwork Tue May 2 13:35:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13228929 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 79D23C77B73 for ; Tue, 2 May 2023 13:37:10 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9YbfAKxGlRPLRtLbKOholetNT0HrkTdRFM9/MHN7j+g=; b=MRmWr/jFxPvDlg uIcORSjMM1EwiB7kufwBoIakiIP0NVcE2GsaoOyxGKRTMu4Fknx+fW2veBrMcCeCbu/mhkQFxkPet R/T3+QR1s+sQx7GaUyGSPDOUueYXEvKqoyYnN7ep9Tri4ngyCTvBjdeYgUr9Oonl18sAV6tXbAR/K LkLxWrWSD4p4h6U9EeXncWqEqlHqMjoAgmKAPytX8PSuh86K2RrQQvD4C4eWy4kaVz50RonrNMJK3 Pzfvm2myp4f31V5XQEYg1rw6gXoHqSzVE8ruBhwGS1Np/remzEJjI8VY4njf9EwJK6UhwkOyH1Tqq PKPjFALFTBaYtuntAPDg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptqAx-001d6Q-1j; Tue, 02 May 2023 13:36:15 +0000 Received: from mail-dm6nam12on20624.outbound.protection.outlook.com ([2a01:111:f400:fe59::624] helo=NAM12-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptqAu-001d3g-26 for linux-arm-kernel@lists.infradead.org; Tue, 02 May 2023 13:36:14 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=keXFBIvuB+Jgrlo+01BVAqEjtayT83RnCOkt83b8nvfU+VbqkWq2pM6NQyfoLdTlEAZWwPs7cEdzXZT7a8BFrEkTDuFj+MzqdU5Qg6z5YHZuPA81OOqjIOMLLCH+/E7aPzCRUpOzAtVxY8F30C+ddhDW6xU6ZRs0OU1kwJOdNjjOyD6Bb3RejbgFALwOAOJwAFauaSTajVedu1HElqeHP8x7c/SCY2vBuEigCNCXtY72DwpoyXRlXuvJ/KPUYUDYF7csh/HfhnfLY0nJvDU8C80pRk5qpQNgtfsx2Tbs46AGSg+0pR+QTLGQg9DfN5DU5qGROztTbgEqMWQuUyX1uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=885VZJghLNW2oFSVPTM9Yo+R8XtYlSoG0xKntIh+45Y=; b=Ajqp7T62tiJ53jgEqYK1Zk6rJ1kZSs7VX6gko6RQj46CCmQvUbIIJKaI4CFTfVMLYURENX36VK0cdlyWoyAaKllMAkPqPpNAbA5nqvG0tyJBIy+ZNZSK2TN5sypfb0ZkjGlHqqJhjTkxhyJ1BF+qGWmfu38J96BLwheQKisBibAVwMC87NG8AFZRXj/d1uw50mJYvwus7roEn6Qv8DFiX/2R4jBqFcAB9C/sxi2mQNFfe7GB/PO4BBLMNtYXGTm1mLYGzmSpf8XDNkDoUWSJVSdxEnq5wrqzOH0QDoZBCtBqM7Nm2uzI0GHSao7a4AfkibNbZgRrtqHR8EskXBb/tw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=885VZJghLNW2oFSVPTM9Yo+R8XtYlSoG0xKntIh+45Y=; b=t5yTHy6jULd76FQn8OwvuKdMynrYCfcwuTayQW2gSsTTICefT+uiWcfrAK7jTc5mKgkyaj78uQMJ2ND/Tcfb0Gr61JLpeJHiv+XNbkzJMQ9KpcMVTExhkbx+xb59Tt5tirTYvbGDcaVbooE22P9KBiwuFfJadgr+pjmR1Id/GAY= Received: from DM6PR03CA0007.namprd03.prod.outlook.com (2603:10b6:5:40::20) by CY8PR12MB7241.namprd12.prod.outlook.com (2603:10b6:930:5a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31; Tue, 2 May 2023 13:36:07 +0000 Received: from DS1PEPF0000E63B.namprd02.prod.outlook.com (2603:10b6:5:40:cafe::f) by DM6PR03CA0007.outlook.office365.com (2603:10b6:5:40::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31 via Frontend Transport; Tue, 2 May 2023 13:36:07 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DS1PEPF0000E63B.mail.protection.outlook.com (10.167.17.73) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.21 via Frontend Transport; Tue, 2 May 2023 13:36:07 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 2 May 2023 08:36:05 -0500 From: Michal Simek To: , , , CC: Amit Kumar Mahapatra , Ashok Reddy Soma , Krzysztof Kozlowski , Laurent Pinchart , Parth Gajjar , "Rob Herring" , Srinivas Neeli , Vishal Sagar , , Subject: [PATCH 03/23] arm64: zynqmp: Set qspi tx-buswidth to 4 Date: Tue, 2 May 2023 15:35:31 +0200 Message-ID: <0cc9dce0330abf3df46252ab63a3930bded23e4b.1683034376.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0000E63B:EE_|CY8PR12MB7241:EE_ X-MS-Office365-Filtering-Correlation-Id: 3e61c285-21aa-4de4-9e13-08db4b122f41 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZL45kF3MHOfrYF6k03e8RsZtBq19QPfeHIxdISxCW3eEalCpNDvmY99qYHeik0YmQKqbDCxFYz1XlvltBE/4ObU/WPP5l6KL4D9e7/iNDB/Gm/t1KIIoronTnguf2pyI92WamjAv0Sm8mEcRYdF8jrg0FW8+CRhYNUH9Z5bsOxNhx2Fl4Ol/6DRwShT/gvO4TNXKAo5ethPSWJYpgWZSyo+x41uh3dQiABClyc1OxRevSUfj18ZUBDBz7y5hGWti2BycK8de7WhTPx1Bi2/HEoLixWwXL6EVz2j47RvqqLBv02vamW36kR5EXAQnA16S/JdUFOvIVp+c0BbN9RZ+1gpOA854GbZnA3Lci+5IinIRRCPSt0/CiAydTclEj5EsJDebQhh7k688LR6cs6qX2OP/o5UkNEXjb/gnwpmRtRLdsV2ozU/2wvYtNB7qdCWMtKnTw3G0I6BtYQHyv286IM3UlIfIOIYp6PtshXgaAgQ+g2Yd7G0RHp7NyBTknT5hAdSLh1hDtpRnPEVmAROw5yy1Wz8EoeySDMp8DWFulnrSog5+feCk027ZAoE1W4XOUgBwlyTmcag+VmFoC112mMHUaxoHDYvUP5VTfn+xTMCIGy4uA/gncdFa9f2dAYOpSSn5k4DQfww9YCD6TrxVK0GFiuF+kiulqWBURFOKrCyZLzKiElnu4nwxxIKSQ9MWVznY6uzVrMlODzlewjz4MOpj2u+28/FMhMUvW0OAJYCm7C7ujVRPKF1/130VhREd X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(376002)(396003)(346002)(136003)(39860400002)(451199021)(46966006)(40470700004)(36840700001)(7416002)(44832011)(36756003)(40480700001)(16526019)(186003)(40460700003)(5660300002)(26005)(2906002)(356005)(86362001)(478600001)(110136005)(54906003)(41300700001)(336012)(426003)(81166007)(70206006)(70586007)(47076005)(82740400003)(316002)(4326008)(83380400001)(82310400005)(8676002)(8936002)(2616005)(36860700001)(6666004)(36900700001)(2101003);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 13:36:07.4412 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3e61c285-21aa-4de4-9e13-08db4b122f41 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0000E63B.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB7241 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230502_063612_691161_8A948285 X-CRM114-Status: GOOD ( 15.20 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Amit Kumar Mahapatra All ZynqMP boards are setting up tx-buswidth to 1. Due to this the framework only issues 1-1-1 write commands to the GQSPI driver. But the GQSPI controller is capable of handling 1-4-4 write commands, so updated the tx-buswidth to 4. This would enable the spi-nor framework to issue 1-4-4 write commands instead of 1-1-1. This will increase the tx data transfer rate, as now the tx data will be transferred on four lines instead on single line. Signed-off-by: Amit Kumar Mahapatra Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts | 2 +- arch/arm64/boot/dts/xilinx/zynqmp-zc1232-revA.dts | 2 +- arch/arm64/boot/dts/xilinx/zynqmp-zc1254-revA.dts | 2 +- arch/arm64/boot/dts/xilinx/zynqmp-zc1275-revA.dts | 2 +- arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts | 2 +- arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm018-dc4.dts | 2 +- arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts | 2 +- arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts | 2 +- arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts | 2 +- arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts | 2 +- arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts index 34412304d09f..dcc17e3ea961 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts @@ -85,7 +85,7 @@ flash@0 { /* MT25QU512A */ #address-cells = <1>; #size-cells = <1>; reg = <0>; - spi-tx-bus-width = <1>; + spi-tx-bus-width = <4>; spi-rx-bus-width = <4>; spi-max-frequency = <40000000>; /* 40MHz */ partition@0 { diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1232-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1232-revA.dts index f1598527e5ec..4d301ea0bdcb 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1232-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1232-revA.dts @@ -44,7 +44,7 @@ flash@0 { #address-cells = <1>; #size-cells = <1>; reg = <0x0>; - spi-tx-bus-width = <1>; + spi-tx-bus-width = <4>; spi-rx-bus-width = <4>; spi-max-frequency = <108000000>; /* Based on DC1 spec */ }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1254-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1254-revA.dts index 04efa1683eaa..485a7b21157a 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1254-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1254-revA.dts @@ -45,7 +45,7 @@ flash@0 { #address-cells = <1>; #size-cells = <1>; reg = <0x0>; - spi-tx-bus-width = <1>; + spi-tx-bus-width = <4>; spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */ spi-max-frequency = <108000000>; /* Based on DC1 spec */ }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1275-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1275-revA.dts index e971ba8c1418..676b8550a625 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1275-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1275-revA.dts @@ -47,7 +47,7 @@ &qspi { flash@0 { compatible = "m25p80", "jedec,spi-nor"; reg = <0x0>; - spi-tx-bus-width = <1>; + spi-tx-bus-width = <4>; spi-rx-bus-width = <4>; spi-max-frequency = <108000000>; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts index 5fa9604f05d1..35fe7857459a 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts @@ -355,7 +355,7 @@ flash@0 { #address-cells = <1>; #size-cells = <1>; reg = <0x0>; - spi-tx-bus-width = <1>; + spi-tx-bus-width = <4>; spi-rx-bus-width = <4>; spi-max-frequency = <108000000>; /* Based on DC1 spec */ }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm018-dc4.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm018-dc4.dts index 6e0106bf1294..311cb2f81c7b 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm018-dc4.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm018-dc4.dts @@ -173,7 +173,7 @@ flash@0 { #address-cells = <1>; #size-cells = <1>; reg = <0x0>; - spi-tx-bus-width = <1>; + spi-tx-bus-width = <4>; spi-rx-bus-width = <4>; /* also DUAL configuration possible */ spi-max-frequency = <108000000>; /* Based on DC1 spec */ }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts index 78043d9de7cc..5b6403865541 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts @@ -957,7 +957,7 @@ flash@0 { #address-cells = <1>; #size-cells = <1>; reg = <0x0>; - spi-tx-bus-width = <1>; + spi-tx-bus-width = <4>; spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */ spi-max-frequency = <108000000>; /* Based on DC1 spec */ }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts index c1779c88ec34..a74a2061431a 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts @@ -444,7 +444,7 @@ flash@0 { #address-cells = <1>; #size-cells = <1>; reg = <0x0>; - spi-tx-bus-width = <1>; + spi-tx-bus-width = <4>; spi-rx-bus-width = <4>; spi-max-frequency = <108000000>; /* Based on DC1 spec */ }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts index b857c1950496..73972d83ed4d 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts @@ -456,7 +456,7 @@ flash@0 { #address-cells = <1>; #size-cells = <1>; reg = <0x0>; - spi-tx-bus-width = <1>; + spi-tx-bus-width = <4>; spi-rx-bus-width = <4>; spi-max-frequency = <108000000>; /* Based on DC1 spec */ }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts index e4e09afbdc1a..5a54d066db86 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts @@ -964,7 +964,7 @@ flash@0 { #address-cells = <1>; #size-cells = <1>; reg = <0x0>; - spi-tx-bus-width = <1>; + spi-tx-bus-width = <4>; spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */ spi-max-frequency = <108000000>; /* Based on DC1 spec */ }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts index 791b2ac9fbdb..3b37df98700c 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts @@ -794,7 +794,7 @@ flash@0 { #address-cells = <1>; #size-cells = <1>; reg = <0x0>; - spi-tx-bus-width = <1>; + spi-tx-bus-width = <4>; spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */ spi-max-frequency = <108000000>; /* Based on DC1 spec */ }; From patchwork Tue May 2 13:35:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13228931 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 02E46C77B7E for ; Tue, 2 May 2023 13:37:14 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2ZYJIph4nSm9G8MGA/IcGgV+1nseZC3Rd3CQB4bLPtE=; b=Y4pPwAzgHSpuNB 8Q8NX3I8u5Ef48Yh6BnZkvl8THYkPJM8/r+CIwzmYb9R587GvvHJ56AmhtSVDB2y9Vs9S1agu29jC w1ZQK1brW9Yo5YNRI97P+o1uAEoK1yacEJQ5hzO1PIQTUfNfTuoeI06MVPoBv/1b6omy1xez9eQBr hA7lp6Upi4AMLvv+P0/bnEGV0HljfM6K9BV9o+06LGFW9V9o8VxPSqGVZDBIrlJnH6/6ekYv2NGvc 4/lG029x4/WDqyOZ6W4GhlRY0oLyHZuIF8T0L41F8nPqUDs623WWbMW/NTvtkFYGQ6yhmtdtzwzs9 OEwQ9ZJDw1waPh7kLSrg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptqB3-001d9X-2m; Tue, 02 May 2023 13:36:21 +0000 Received: from mail-mw2nam12on20616.outbound.protection.outlook.com ([2a01:111:f400:fe5a::616] helo=NAM12-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptqB0-001d7S-2v for linux-arm-kernel@lists.infradead.org; Tue, 02 May 2023 13:36:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ExmTwj7FN3soTDYIc3oYsjXFAodAShFltKiWU4UdJfINbMgGtUBL7jRRHx/Lc8+r3L8n18qiDnzYcNOWnMdz/77tGXYhGf8rcvcT04AgEhDM6bI1tYTMVmYg/m7r5ovkoX0eUXXQ8qDC8xTf7OkxF5lynU0WLkNvi2ZNpRxFUFbju3tKU3X6BLyil1XRrjp7DoMzsqYAg/+L2bN05TtAOlXynMo1p1Ph0y+93gqbknDus5t7yAAZpIuUlcQxTiyr84WuZ2jvvaLv/8owj032oRh72fr9UqUB8E0SYKEhALWQbKk1DYYTQ9ozzih54nJy8MTpIsLxlUVmSDm+OWtz9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=dSLM1ZYwm3Jf8rpjN6ZjicpZV63LXH3UPixwcm/Y6Ng=; b=Luhvj3oM4tggijBV5YrbuuSn2vy5vlhwFFkHUBqKhKug3wLo3boIbP9lMbXlo6/I8n0VRM+98dbrCERQorakJ0Lx6tC9surBbMnSTz6b5y9CijEHHpHwhGX+81a2xKpoVNlwFgyWNyLk6oa9HXlKMJvFzbw0RlXW56VwI3mkf4NyiHCo7R2QMrNmsn2Ypz0W1PhVWSX7qzNVogNW3uZlPN161f5tvBLGQQb4444E3rfa+3Tj7LklG1SubmEh0L98hcYYHXCCwJs2mCtx4QWQd0W4TXOEKyanQYzj23KXGBp4neVA9F1DycoinRVkHXqpstG2cAEAzVtiajpaZ7WWmw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dSLM1ZYwm3Jf8rpjN6ZjicpZV63LXH3UPixwcm/Y6Ng=; b=kbo7KAmdGfwRtxAJTo5IC2ZCiqhJzamkaw/BvuG5h2jadfUSGrQ7KHE+FSBaJD7gyD/F/klox4SocTcO8/O5Q3egcD0vFZCa0KNL9LgJi7jYMuJzcOEAx7EZFY0gWNOAkspIcxdnbJNDFzmwFy07oG7yYxtN0WCM7LFo6X2m01I= Received: from DM6PR10CA0022.namprd10.prod.outlook.com (2603:10b6:5:60::35) by PH7PR12MB6659.namprd12.prod.outlook.com (2603:10b6:510:210::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.30; Tue, 2 May 2023 13:36:14 +0000 Received: from DS1PEPF0000E636.namprd02.prod.outlook.com (2603:10b6:5:60:cafe::df) by DM6PR10CA0022.outlook.office365.com (2603:10b6:5:60::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31 via Frontend Transport; Tue, 2 May 2023 13:36:14 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DS1PEPF0000E636.mail.protection.outlook.com (10.167.17.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.21 via Frontend Transport; Tue, 2 May 2023 13:36:14 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 2 May 2023 08:36:09 -0500 From: Michal Simek To: , , , CC: Ashok Reddy Soma , Krzysztof Kozlowski , Parth Gajjar , "Rob Herring" , Vishal Sagar , , Subject: [PATCH 04/23] arm64: zynqmp: Fix usb reset over bootmode pins on zcu100 Date: Tue, 2 May 2023 15:35:32 +0200 Message-ID: X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0000E636:EE_|PH7PR12MB6659:EE_ X-MS-Office365-Filtering-Correlation-Id: 7d753b7a-52ae-4b0b-96e4-08db4b12330b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YVXXy8lXskiyM38uWva57ZEY/EHZ3zOMl3ETWPYQMskYuI/AOdVJmkCP8jJp3oQBX8p3/aBIfndbqR4hLtO2d0kYnccA6+yoFcLa3rm0KEyR2Hpk2sehoEzfQB5iQupbisnpkcsEfhn/oNOZ+0NiGeeuzWTnpYFO3U/7lgcd3ClZsMhN6mw8+cMnNWvrtZfxMqoYZPGFEQ5w0v3BSejepH1RVYO0s1p5VwIPbLSXNHyc8EbY3HL+3VZjf55pYUt6HdBCYG0otnREk9l3/6m+w1TULl+cA8YT3fWlZyteomhP5TpuxNWQWRWalenYSZpeHK5QUcleZLLKNc3QWVGuON0pbCj45yIfrKY4OKZyu2SK8rxl6PbxR/nnsNgqa+XsOEWFIxmDpH9TMNNdfaunbw21PMW/TpZ/0fXGkJSZaMqPpFPvLv+xLEjNQVjQDMuwg8j6A11zqrRDIvDAQ1veLS6Oeb6pAIPFhvtr8gQfNOC3Xoj4wwhdT4T7vOhydFP5T498LiiM7N3AUWUuEwoGHXlS+lT/0JnisYZgMs+T/gLb6sUKfs0slhn2Dfg0ovQiluK3XuTM+dcvGsjx0CVqWfwIpICE+JAF6udkLWiAR2i8P85qprNai7WlGaMonEk0EI/0051fVygwR5jF6ptUjxzLc3YuEF8PPxGFoW/Iz3wLEya2Z9GcE9cm697s1wO3MlqIw0j+XnqEcVbBDQAezJcRy3/kwLH2zJIHPnNi9B8wVcJDRQi+12IrPGqv7h4e X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(346002)(376002)(136003)(396003)(39860400002)(451199021)(46966006)(40470700004)(36840700001)(16526019)(70206006)(70586007)(4326008)(186003)(356005)(316002)(82740400003)(40460700003)(478600001)(82310400005)(110136005)(54906003)(86362001)(36756003)(40480700001)(6666004)(2906002)(36860700001)(26005)(426003)(2616005)(336012)(83380400001)(5660300002)(8676002)(47076005)(44832011)(8936002)(81166007)(41300700001)(2101003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 13:36:14.0167 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7d753b7a-52ae-4b0b-96e4-08db4b12330b X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0000E636.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB6659 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230502_063618_945628_AFAFCCEB X-CRM114-Status: GOOD ( 12.82 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The commit 53ba1b2bdaf7 ("arm64: dts: zynqmp: Add mode-pin GPIO controller DT node") added usb phy reset over bootmode pins by default on usb0 only. zcu100 is using usb0 as peripheral and usb1 as host. Unfortunately reset line is shared for both usb ulpi phys but usb_rst_b is connected to usb5744 hub which is used only in host mode. Especially this chip requires reset to operate properly that's why better assign gpio reset to usb1 instead of usb0. Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts index 2dd552cf51fb..c99abb99efcb 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts @@ -552,6 +552,7 @@ &usb0 { pinctrl-0 = <&pinctrl_usb0_default>; phy-names = "usb3-phy"; phys = <&psgtr 2 PHY_TYPE_USB3 0 0>; + /delete-property/ reset-gpios; }; &dwc3_0 { @@ -567,6 +568,7 @@ &usb1 { pinctrl-0 = <&pinctrl_usb1_default>; phy-names = "usb3-phy"; phys = <&psgtr 3 PHY_TYPE_USB3 1 0>; + reset-gpios = <&modepin_gpio 1 GPIO_ACTIVE_LOW>; }; &dwc3_1 { From patchwork Tue May 2 13:35:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13228932 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 39CC4C77B7E for ; Tue, 2 May 2023 13:37:20 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RFwTCa5dnuxfVMIuztJQMa8CuHN3YeCZeptWua3ndwM=; b=i7Cx6HpJY8K11R 5R9xV54thaYxSz02jmwIV4QULPTqr/wpE1jJESq0OhlOhlkiMGTxhdrx3omdWLNU3RcFFiA1J+H7E jk0jbg09/XnpqdaKKOfN+NvwvDp17zM8WWdwSjINmAykX6JgO70+v/SVbbB4WOWX06RiOzDSAOuyT U25ERWHJfoEMP6D2nDM7ku26g2db3WUGpfW7hQ3OVmOtIPN2yEQAXPXovQpuzZUz2GftqiaMN98E9 DeKmvXLuDVCkpy5VRpuA9ueHkxPSWRX9vAO434LZUOVzmu20k7CCO1GcR++t5d4niB1+Z17VnzhC+ 2A1+KVKwKYHGKzso4tZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptqB9-001dCm-24; Tue, 02 May 2023 13:36:27 +0000 Received: from mail-co1nam11on20630.outbound.protection.outlook.com ([2a01:111:f400:7eab::630] helo=NAM11-CO1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptqB7-001dAE-1R for linux-arm-kernel@lists.infradead.org; Tue, 02 May 2023 13:36:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BI4qFiV5M+/AbmOTb2ProtTUSIGC3J71+mu/tSRBom9iXCJHCAfuP4URS2ki5BCplWo9oQ1XVksvX7eVUDfQlbHyQtRV79ihkGOo29Vnjd9y6U4thGgOq7QaziqObc6LOxrAMbiV/EcBts8CLd0YOqB1TFDEUkBKB7Opupl/OAqPLhwIDqgjytUa4bNU9VOvuoS/tlVv3FA+lxxYcR4N/KSvs31EcpIebuKrZJw960MRka1Iy1Gg2r5DTwZ36W9keO5TOIE36pI+iy4K9AIkvb7hN42glofJQstznvw0YGNqoNmSOZ/wyNuhcl/R+pRr+88nhretdv+FxwOYI+MKMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vuLkITE3e3K/3zPWJ4BQyWtIhiqtVvKTzsxOR9XEff8=; b=mKLyX4wwovKmOSOOz95Qy3scGo/GAECNaYEPrH4ApYct2qu5vPw1nNWIEDYg+ox1II4wJWWkqLq3WP7t9Chj5AFhasaHA1oG6U2VZhGidw+0HRkDftsrv9IJgM29MDkycP0uCq1sd/xC0d8KUVcVQzLHzFIuRKmY9Er4Imyit2EL/mk0BjzwZO86f+ZdxQM51nTflxQCI7z0lr7U6AsE1VTlhrs0xFggCewyvZVglGBl8yI4Yn3L3kh6Q3u17U78Vba974ACzGRKsEaGU98cfcDq4HUERQTfjEemps7W9296HIWsKf+iaANdySOglxp1hu8S/wNT//i7IZUy4vVw5w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vuLkITE3e3K/3zPWJ4BQyWtIhiqtVvKTzsxOR9XEff8=; b=LiIv8WNOK+lV0BV/W1OIfAafmxrg24EbjOnATUm334YCz/GTNqChrSqYt7vHCz0rv2yGdJRKR+GJndoK0UM/PpwNfviNC9uuB/CEETaYIaF56W8veHssES72qh/2T1ehPbigBK5mliWCX984cBAxRFx71BO3wGz/zjLSB6BeI50= Received: from DM6PR10CA0013.namprd10.prod.outlook.com (2603:10b6:5:60::26) by SA0PR12MB7075.namprd12.prod.outlook.com (2603:10b6:806:2d5::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.30; Tue, 2 May 2023 13:36:16 +0000 Received: from DS1PEPF0000E636.namprd02.prod.outlook.com (2603:10b6:5:60:cafe::6) by DM6PR10CA0013.outlook.office365.com (2603:10b6:5:60::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31 via Frontend Transport; Tue, 2 May 2023 13:36:16 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DS1PEPF0000E636.mail.protection.outlook.com (10.167.17.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.21 via Frontend Transport; Tue, 2 May 2023 13:36:15 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 2 May 2023 08:36:13 -0500 From: Michal Simek To: , , , CC: Radhey Shyam Pandey , Harini Katakam , Krzysztof Kozlowski , Laurent Pinchart , Mathieu Poirier , Michael Grzeschik , Rob Herring , Robert Hancock , Tanmay Shah , , Subject: [PATCH 05/23] arm64: zynqmp: Add L2 cache nodes Date: Tue, 2 May 2023 15:35:33 +0200 Message-ID: X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0000E636:EE_|SA0PR12MB7075:EE_ X-MS-Office365-Filtering-Correlation-Id: 29505f44-0d7d-4a3e-3a2a-08db4b123433 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: o5FpvT1PT6gk38hELV2/cson+ItdbHeUMuLVvxMxOq+PBxlmqb7CV7LcylP5DIYU74gwNCL46/Pq1xA6+B9VJ5nAwsgpDvOSqHlEAETIavZJ3AYROSFUZ9HQ/jXJBR+KRhfThF4p37QLarP9QqyvefstqS/Qv8HeVwFhBcwoevN5jKl2eJYgdBstpwG47Op1L+5+ef0WBpXNU/UItvJ23o275YQMsFXrBijzZ9I8TV2nLSF4PF1KzqIhn6+4Im5H0UqhQBHsWYde5iT8qMkGgOZhNCJfGpebNfQ3fwIjjQLZByXT53si9a5eTEaP/ZDU04pzAiuBw+D275cw6Ma5wh5s7pCv/nPcIH4FzpHqscR+9yryLt09GcGAwT1Yfs+8svFttn93xb4qyXcUrAKlG6PSE/Fbv+/vrQa9/gEGNHvzURXVziEXOfl4aWdcMtfUfntd+5akejZiWpsYU+VxeaOUXGECaMAa0AO1oGvPICaNgMrVo4/+oKuek54szZCtUZ76wOa0vT8XgiO1mdU0za6caAUNJvJ32MRvFRGwxQA/CpGXLehyqSBz22RRih4fmDhruOYGMyY81/5VYbhyw6Cw2L9MD5RCA9aGMVlq/ww68awECJyStkMq8pKRxPUBAhN1FriV4ycRDklNMcIIn+DRk56SZu5D9QWREWwGG9o5sbDtCZ43JNiMuydA0FbsRz83hL5w3qjn+zMROhd15Q6A1V4NXr32q4wvOaxUnq6ZcreLzq8vGfQ+RXSsauW2 X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(376002)(136003)(346002)(39860400002)(396003)(451199021)(46966006)(36840700001)(40470700004)(2616005)(16526019)(86362001)(356005)(4326008)(41300700001)(82740400003)(81166007)(40480700001)(316002)(83380400001)(6666004)(82310400005)(426003)(336012)(47076005)(26005)(186003)(36756003)(54906003)(40460700003)(36860700001)(110136005)(5660300002)(2906002)(70206006)(70586007)(8676002)(478600001)(44832011)(8936002)(7416002)(36900700001)(2101003);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 13:36:15.9542 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 29505f44-0d7d-4a3e-3a2a-08db4b123433 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0000E636.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR12MB7075 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230502_063625_487339_7E2EBD3F X-CRM114-Status: GOOD ( 11.74 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Radhey Shyam Pandey Linux kernel throws "cacheinfo: Unable to detect cache hierarchy for CPU 0" warning when booting on zu+ Soc. To fix it add the L2 cache node and let each CPU point to it. Signed-off-by: Radhey Shyam Pandey Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index bb0d0be30aa0..c2d80c7967e9 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -33,6 +33,7 @@ cpu0: cpu@0 { operating-points-v2 = <&cpu_opp_table>; reg = <0x0>; cpu-idle-states = <&CPU_SLEEP_0>; + next-level-cache = <&L2>; }; cpu1: cpu@1 { @@ -42,6 +43,7 @@ cpu1: cpu@1 { reg = <0x1>; operating-points-v2 = <&cpu_opp_table>; cpu-idle-states = <&CPU_SLEEP_0>; + next-level-cache = <&L2>; }; cpu2: cpu@2 { @@ -51,6 +53,7 @@ cpu2: cpu@2 { reg = <0x2>; operating-points-v2 = <&cpu_opp_table>; cpu-idle-states = <&CPU_SLEEP_0>; + next-level-cache = <&L2>; }; cpu3: cpu@3 { @@ -60,6 +63,12 @@ cpu3: cpu@3 { reg = <0x3>; operating-points-v2 = <&cpu_opp_table>; cpu-idle-states = <&CPU_SLEEP_0>; + next-level-cache = <&L2>; + }; + + L2: l2-cache { + compatible = "cache"; + cache-level = <2>; }; idle-states { From patchwork Tue May 2 13:35:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13228933 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 614DDC77B7E for ; Tue, 2 May 2023 13:37:34 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4RF8x/IPyXtgEX3LATatO/YddvupemIeE0uR96OvRBw=; b=M+tSX7zQWFF2Ms /7kdAY3SbPIIxRsGGdjC7cfHt5maLMatuP+2v02bKz+DsV9owY/fyjaa/mpARnsorPCKLLzyca3qF zBgaBn+x9uogPuKTOKQESlpw3WVx57aXpBk6igr2U+7kvhHN96iusU3K+SmxkxYl93gLDm0UnGtpo 6AkT9KFK3ewfF+iCEPO86KecbfQuVbaJ3QxFKH17kHyuLlx25LUtPgf/UZty4+vwOtbmamPl1w8ft fR7wVbSJ+hLRi2BWsDgLR74mK2STiOYaMNbTak+X3B1Wikf68ZjmH5Y2/JTY2CH+rGQOXNifzJL9v cexrDRCmixZnnDuoDCog==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptqBS-001dN9-1U; Tue, 02 May 2023 13:36:46 +0000 Received: from mail-bn7nam10on20625.outbound.protection.outlook.com ([2a01:111:f400:7e8a::625] helo=NAM10-BN7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptqBO-001dJP-0f for linux-arm-kernel@lists.infradead.org; Tue, 02 May 2023 13:36:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cVBNAbNe3oBughD6XQxRZW2T+EUO5DSuEhWVl7JYqfj4Y7ixRpqKiXwErcOqizdvDo2QEbPOWudmeReSlevbxtJ/sc8K1/myhDLS4Idkacj3tpWEGvDyNS0NZrmFZ+qkBPcTPnT3ZxyFAKootrwmyaM/VIQTviey+FL+QuUdiibwrELovJQaW4N8YeRHC4zcZMUYKw0opuPppipIt4R879pvOueeXlHm3lQqsXwDL6TTMWC1J0YbMMFUG3OrAOMgw33cg0/S+MGH3+SurL+07uEqTkXVs/lu+8+FicJJuBqF3soPf3+XJ6GuVUR6J5lyNHzhlrGpSN9GvrZxVWKX9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=0XYWvYBsJgFC/Uolu8upj50xk2GLhvkzlH+sSaDQO4c=; b=LudX1TPMToVLWWU2ydVTB7c8XrtxQY3pBiEURnRs1TUbxqje+MU8Gk2HTEYjb4C1G7XYFes9M28a6VopexkJqztOUZZd8BABIryGkwRyh5/T17dlO+QKUJ8bZg0zVJ0A4cOOelu0Y3kgb9mrWUH7Zg96FwXKowM+n4tiMGeZnJdWnSxE8WZFvZOimYFRiNgL9YrNuo9q2H4frPcJIGxyvDEc1a0HVm9rT4Jn1KQSqBPYJOUYEsdaI+HhG8NXi6ggii6e/XtjpWgXDF5nV2xM9kxs7Fey9TTLKPYOP17kzAM3KUQmzNFfSiIJr7oTyKsHtBtNRZCiwrCcy9eJmsnzlQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0XYWvYBsJgFC/Uolu8upj50xk2GLhvkzlH+sSaDQO4c=; b=rMa9MyG2yibMALmoPpmUHZT0ny3cWpQx7oi6lQ650E4xes0WU6XhoI9GHQ57jmrkSEf/K7FZL3nSXIkECX4asfdToOEGV0j2rHfTeNqwHu1AUCQNqYVt4egySyQA487qM71ZxrYsiqINyMeNrtyaMp6QhXgoKWlpaw3iEwU53Yk= Received: from DM6PR10CA0018.namprd10.prod.outlook.com (2603:10b6:5:60::31) by DM4PR12MB6062.namprd12.prod.outlook.com (2603:10b6:8:b2::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.20; Tue, 2 May 2023 13:36:37 +0000 Received: from DS1PEPF0000E636.namprd02.prod.outlook.com (2603:10b6:5:60:cafe::3d) by DM6PR10CA0018.outlook.office365.com (2603:10b6:5:60::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31 via Frontend Transport; Tue, 2 May 2023 13:36:37 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DS1PEPF0000E636.mail.protection.outlook.com (10.167.17.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.21 via Frontend Transport; Tue, 2 May 2023 13:36:37 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 2 May 2023 08:36:17 -0500 From: Michal Simek To: , , , CC: Harini Katakam , Krzysztof Kozlowski , Laurent Pinchart , Michael Grzeschik , Parth Gajjar , "Piyush Mehta" , Radhey Shyam Pandey , Rob Herring , "Robert Hancock" , Tanmay Shah , , Subject: [PATCH 06/23] arm64: zynqmp: Sync node name address with reg (mailbox) Date: Tue, 2 May 2023 15:35:34 +0200 Message-ID: <5d8e80383912b8ff75409764efb75f3b85917087.1683034376.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0000E636:EE_|DM4PR12MB6062:EE_ X-MS-Office365-Filtering-Correlation-Id: 5772367f-7501-470b-2d74-08db4b1240d4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EOCsGALA3aguuT8nmpLXZjRXJKOV911nw20sEwPZUUFjdSd87hACofo1zulO0ePqhIwQnvqZpPU9qHjAQryfqsxAchVEvJ+c8GOuWDhc7bz/pfsHV8ZZxBeAH/dwVQHiSIL2xkuKq2DOkSovY1OBcFCsW1wOdZr+Qg9GpAx3QMMWT62+KvFBcCTBZCttaCTHuOzoXxH1JF75MQF4/Z7I59HaJgYSeniY0ctaWxwf3Frt2QurKsLB7QQobc4+IF7F30zhxWTIo1RxpeTP8KpkUIiRxFq02cc9mrevo6vFSYT9kCsNiIu9SOp01+V2N8x40zmPLwDWtM1wG16ZHiug1RXprQcEH6svLFFJTY0ZsNB4CdVkUHPjO9xzzAUzuguUITRxiT/GqeJ5PDgJfqvCy8M4U+eqpMGKUgmPKKleo0HX0gKW3E/i2yF1P5Um3tIcpC2/hA3suJBvASr3fSCDAmyGb8S5W6QNrWGoDQoPIr+e3uBOCI9dG1Ol9QJ0tDxwP+ovktWtxH4npCAuHWMWyt8uH8mPW1ry/eH0HaEEsJSqnnYAYbkto+11iyFxueDc9e0rSuakQaxsY48DrsNsSW+9TGu/02SOoq/H1UaxJ8XRWG179LaDpeQZ5/7SNtvbA+T9T0L2F1iQs9baXZ94HdKaeWBTtMnIDxNSsEGqNGcU8PAK75PDsVqoXE5mUXFZ+PdyWc0e8bkMEF83U0WcSAae5AaHgp2P4mTGOPY5eRfqLMYdOQ3bsuR3wDVpMYWR X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(396003)(136003)(39860400002)(346002)(376002)(451199021)(40470700004)(36840700001)(46966006)(4744005)(2906002)(40460700003)(186003)(16526019)(86362001)(26005)(82310400005)(15650500001)(36860700001)(83380400001)(40480700001)(336012)(426003)(47076005)(82740400003)(81166007)(356005)(36756003)(2616005)(6666004)(41300700001)(316002)(8676002)(8936002)(110136005)(54906003)(70586007)(70206006)(4326008)(478600001)(7416002)(44832011)(5660300002)(36900700001)(2101003);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 13:36:37.1417 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5772367f-7501-470b-2d74-08db4b1240d4 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0000E636.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6062 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230502_063642_245418_4BEA85B3 X-CRM114-Status: GOOD ( 12.14 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Address in node name should match with the first reg property in DT. Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index c2d80c7967e9..61c7045eb992 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -135,7 +135,7 @@ zynqmp_ipi: zynqmp_ipi { #size-cells = <2>; ranges; - ipi_mailbox_pmu1: mailbox@ff990400 { + ipi_mailbox_pmu1: mailbox@ff9905c0 { reg = <0x0 0xff9905c0 0x0 0x20>, <0x0 0xff9905e0 0x0 0x20>, <0x0 0xff990e80 0x0 0x20>, From patchwork Tue May 2 13:35:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13228934 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 DF442C77B73 for ; Tue, 2 May 2023 13:37:40 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ZHAUbdPV9L6juIrrbkNiflMIbdGTrmqRJ8Fg9JiIRKU=; b=GslRqiyya4ESYJ EAFQHEOu6LPdgVj4LKhJ3r57Szq8lEEpLnXv+hLVvWlrKwfB7PRy9oubKa93rvZr1T6lYeKLNHAuz tno1nv9BTL4ABYgepK/ftTfmZxEQFN+tPTnEWicliZl6528xjyep41TnCmbVz/Kzu9weoNgbfGBle DSczt3lusTQNubMmRn4AT8HGqBvADLFsEVcSpFnnlEQGpg5KsbPIR4TsQCe91JsYudl4TGg4wmNkv WpQRKUNb2/2VPMsr5Td6HouzFPDtktmuCj4rvtRJw2aKca3O27AqdYElmy7T7MiVbE9htnsB+Hhrh JNrZ/IEUuPX80yq0Vh1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptqBW-001dPg-2M; Tue, 02 May 2023 13:36:50 +0000 Received: from mail-bn7nam10on2060a.outbound.protection.outlook.com ([2a01:111:f400:7e8a::60a] helo=NAM10-BN7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptqBR-001dLS-17 for linux-arm-kernel@lists.infradead.org; Tue, 02 May 2023 13:36:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gdYboHoTD6n+RkY4RS7l0JoyAVPtwaYrwggUbENvJM74Xvxy2jtzngBFQTAyq5yWBKZ2/bZs7Tyxqz+Yx+vfSegL6THqKErvnP4NPjBgxP+HaU7O+FIlZtJmzjhM7rFu0CE9xHJ+HYZ4LaZecJxuNdMgLJuhWv6EQxLPpJX1zdEbzWnkXI1itXJilmMiLevz5p8cVPTpdcv7njUfnHJixwHb/2eeVCGLOYbDj6JIIXkA4vtKmkUJLv9747K8PYFszQg8xyHr6sq2c6EmB4gsJ7hJQpuIexta+xBucYGNZcymko2FwE/LW62DUkvnsAawkRMdqOFEtOfbluu384/6+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=FYAxaiUQ3mc3pC3rp6MjVQciGbkJU6x5vjV8dTq/3yU=; b=d6AmEEYy+WrOTULCLBtm+GvowBLhIekvS947E55CC+GMjMlFLFGCkQQycTqM085BRm+C6JsZliDfYKl+BUgRjF4M8drAJ0Gr0RlpbS987VSmPtrWgnC6alCv0aQMsP2Cr2e6pNO7fWMALUklAkB5m5CdAcP3yly7CFjyBq+8vXX/1b+s23xPAvjv5QNxlEX3Wzo88ydJlWJPtQWj25ogGwtPljU2c0QnYqvbo1xkebmvdqXKcNpuUpeRD6NqmOH+qmu3K1ZWLgMbadsW0pvl+OhD5ljlTvqfiWTnzWukH/BtVtoEYHGYdN+iY5v+IxezyVuGYUgvE8qWArqfpHJ0BA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FYAxaiUQ3mc3pC3rp6MjVQciGbkJU6x5vjV8dTq/3yU=; b=bmqsKSGcO3QfhKn4MevW1HrF+qQHpll027oLrrnCdbSZTByQXX91IVbUjAWDm6RhenOGeUv7txBuxc6C2LUtK0XH3ec/HUKatBW7mQNGT4EgKGzDk80SZj4IwbmTBr341mqgdKKwWo/Du5xmJRqoDebIZHALVF9QIJvpNqkF7GE= Received: from DM6PR10CA0009.namprd10.prod.outlook.com (2603:10b6:5:60::22) by LV3PR12MB9186.namprd12.prod.outlook.com (2603:10b6:408:197::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31; Tue, 2 May 2023 13:36:41 +0000 Received: from DS1PEPF0000E636.namprd02.prod.outlook.com (2603:10b6:5:60:cafe::bb) by DM6PR10CA0009.outlook.office365.com (2603:10b6:5:60::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31 via Frontend Transport; Tue, 2 May 2023 13:36:41 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DS1PEPF0000E636.mail.protection.outlook.com (10.167.17.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.21 via Frontend Transport; Tue, 2 May 2023 13:36:41 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 2 May 2023 08:36:39 -0500 From: Michal Simek To: , , , CC: Radhey Shyam Pandey , Harini Katakam , Krzysztof Kozlowski , Laurent Pinchart , Parth Gajjar , Piyush Mehta , Rob Herring , Robert Hancock , Tanmay Shah , Vishal Sagar , , Subject: [PATCH 07/23] arm64: zynqmp: Add pmu interrupt-affinity Date: Tue, 2 May 2023 15:35:35 +0200 Message-ID: <4c6674bf7e048e7370248e50ed3d011d604d020e.1683034376.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0000E636:EE_|LV3PR12MB9186:EE_ X-MS-Office365-Filtering-Correlation-Id: 97c3760f-735f-4a98-c258-08db4b124331 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jvqZ13gEJ2a4Q88synvCjLMz9XjRr2INvai0quMAWEX1bf+14rGeprEf6ZDb3BlTUhsoWw4BiGHsQSBXe/BqXGDpDo7k4N/KEjppU+18nNt2juzmBAHMdzzafqrWzWBnKgELDRDMaoP/e9Uam9GUuEkhnjhPpCV3dwItdAdA6cdvr2fo9xOGX+5VyVKJRo19Qtxm3lFyPPBUrXm4bNG9eZ2rRIJGvuf4N5RXuL5MgERfTf9eY6RLgHSpDZ5nTGRAn3DFf8rtybGEIQiWfbQZvdU2VdNRln8wnf/wvw8uasB+nXGZuXj2hqgb5/Kf11PPl3F/W9A77+m62+LGffCYBw2w2KOHHRakIrciJ3ctpLHx2j9dzjCOpMLO1OTw88dH6xoa8IJkCHn+CgIUwb9NVX+uGl/5G5ZQdIADQQfBoBKN0DY2YZyi4n3xGCG13hvDCc4a3lhxE+YHvm36YfhcrOmnZXZ4ZSVOEFsXuz5jzf1+CsGSGPf9yTPNsxobMRG4KQqWXt8tJb0D2fz167is6Aic9oTGjQyWU9BGRbdqqVFXh4wr12/tA58ZN1Y7yh02MLYEcJ+U1+8GcA0Hvn2ZPO2dJxoO1t64Enn+GdLkwwAotSwlPYsXx8epRSCd1pz5tFuY7N1T3l616WpTX7/ee5K0N4g26TH8aVHDOIgL1VF68RZ6aIp62Y1B3VW7SN1HWygRh7BBm5gwG0Zf4daOGFzKhZbyrIh5QfB4ItTW3Lalj9SMP3NxltJf3Wu9sw8J X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(376002)(136003)(396003)(39860400002)(346002)(451199021)(40470700004)(36840700001)(46966006)(26005)(86362001)(6666004)(8676002)(8936002)(40460700003)(5660300002)(4744005)(2906002)(70206006)(70586007)(4326008)(36860700001)(82740400003)(7416002)(81166007)(356005)(41300700001)(44832011)(316002)(16526019)(478600001)(186003)(40480700001)(110136005)(426003)(36756003)(47076005)(336012)(82310400005)(54906003)(2616005)(2101003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 13:36:41.1104 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 97c3760f-735f-4a98-c258-08db4b124331 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0000E636.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV3PR12MB9186 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230502_063645_417487_8C373DE7 X-CRM114-Status: GOOD ( 10.74 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Radhey Shyam Pandey Explicitly specify interrupt affinity to avoid HW perfevents need to guess. This avoids the following error upon linux boot: armv8-pmu pmu: hw perfevents: no interrupt-affinity property, guessing. Signed-off-by: Radhey Shyam Pandey Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index 61c7045eb992..a117294dc890 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -161,6 +161,10 @@ pmu { <0 144 4>, <0 145 4>, <0 146 4>; + interrupt-affinity = <&cpu0>, + <&cpu1>, + <&cpu2>, + <&cpu3>; }; psci { From patchwork Tue May 2 13:35:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13228936 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 1424FC77B7E for ; Tue, 2 May 2023 13:37:53 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Gk6XsqV8MYVjmViuy71ozC5pnKgQ+HZb3dt7BQXPSVU=; b=FzXhWhpKtvRzyG wGZz8aEkFl0trMlc4N3OZ8mwWYkJX9Pk6cQV3jrdiEdC/ZovtQ3ifZJ/O2h78LUbRPONap9J/CMza 9lkRCSKUSSAyVGrUY9P03ZFSYK4qoJtZWdGTviAdCXiGM//XkpomhQ8nQuOP9kFNr8dX4btYPX/ug VgD8zqbP0EZSRhuvQbAHtp/jo7as/bgC0g3PeIOXi24Xf/gt9Cb/fjbFbcEGHovmdSCHSkDq8DfRN 9JE7QCsXYAGY2eQmPeldp1dF7/4g0hGRwWYtUWvo+IK7JWKqOGppt9VBozf+XYKEhfTSf/Qo7crAn xotod/IXowoxXx4UJrpw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptqBh-001dXp-0w; Tue, 02 May 2023 13:37:01 +0000 Received: from mail-bn7nam10on20619.outbound.protection.outlook.com ([2a01:111:f400:7e8a::619] helo=NAM10-BN7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptqBb-001dSO-37 for linux-arm-kernel@lists.infradead.org; Tue, 02 May 2023 13:36:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lHcgv7ydSzT91DXSn7/dwc81Qu31tO6p3hRUF8LT+ftv5Ax6QiPHNwEUDMhOr4HOpEB11h2zKAilj5t34sVPKhkSAJ5z2yRHBbvKR/NGv1OuzLWtCRWspI+MRqNseHX1UQTbHxoQfPmpwsQkRlbbcJBPMqcS976VHxZ2Bha1aA2QcZDxx/1NWB3rT6Vh6yddW+QW1AMcmCXanPouUf38DgpDz+VTCCvPh284D0Xdx5GECGtwjyE+fCfmsDNspYSJNdEGeQeG23Z7TPl6GVtSZW1e3CxX2dcWv1LFNYXiO2nZpCUplZmQM7ALdKcp8/ugM45vD8FCvo53O2PWKE7h8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=eHZE6w/ntG770sHjG88RMPMVbPRfBcd+whTzcpKQI94=; b=FSyrDK50Q3JEfKCGHSu+fJXLBd7l2k4yalIWygM3UU91NMp5jxpJedeS5+NfgeauwZZ7Zgaix5E0dEyokE8j2pW0jP0zkwtFGl2l22vgpyeLoUN+2xif+hRHVjdK9fsX4yFE7b/qHyf1mButJ1+EZTaZtx5+n2vIs4vk8Z8R6T4VX62dOaiH1Ae2PDsRDyx+Xvcj7yz8C8KqEkNsQNtfu9b5LXz5fV7rAt6sONFtiSbGhYy93b4NkJOxXD9powlYNsRf88LFn4/enWy3jMsl28EsdHyLpb9FaU+oI5DaX7znG4UJtCH1Sut0A+45L7TwurMHzKU36L5a4tBdzsERkA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eHZE6w/ntG770sHjG88RMPMVbPRfBcd+whTzcpKQI94=; b=cPGaDB5fTZ8rWpf98r2isn2RYv2ORSm66TJ4WDyYWQxIsJx/ZusoFvbCADtURxb/brbUJRLI46L8H/PyDuiqJcGubn/8jiQ273k1l6CXMFnw2bDwv61ZmoXB2N+N2ZWfN22PEEhWQB3ihosRWnyOuOb/x3nIQZgjnffVfFf72fU= Received: from DM6PR04CA0027.namprd04.prod.outlook.com (2603:10b6:5:334::32) by DM6PR12MB4481.namprd12.prod.outlook.com (2603:10b6:5:2af::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31; Tue, 2 May 2023 13:36:45 +0000 Received: from DM6NAM11FT044.eop-nam11.prod.protection.outlook.com (2603:10b6:5:334:cafe::eb) by DM6PR04CA0027.outlook.office365.com (2603:10b6:5:334::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31 via Frontend Transport; Tue, 2 May 2023 13:36:44 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DM6NAM11FT044.mail.protection.outlook.com (10.13.173.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.20 via Frontend Transport; Tue, 2 May 2023 13:36:44 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 2 May 2023 08:36:42 -0500 From: Michal Simek To: , , , CC: Sai Krishna Potthuri , "Harini Katakam" , Krzysztof Kozlowski , Laurent Pinchart , Michael Grzeschik , Piyush Mehta , "Radhey Shyam Pandey" , Rob Herring , Robert Hancock , Tanmay Shah , , Subject: [PATCH 08/23] arm64: zynqmp: Add resets property to sdhci nodes Date: Tue, 2 May 2023 15:35:36 +0200 Message-ID: <8f8592d6454c024c8f8b92e56c9009c65ad1d54a.1683034376.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT044:EE_|DM6PR12MB4481:EE_ X-MS-Office365-Filtering-Correlation-Id: 24256c72-cbb6-4926-3cf8-08db4b124511 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Qizz4p2zP4jR0kn+N3dxcumM6GLRPoAlvtZSR3iAPp8h85BxEytuEJo5U20si59502XbjwcOjyTaw/s+yqfWbJFgUh+kmKwiaiyKv0hHzQqGFQ/DcRFuiD729Wt4kAoyIpERA2jYM5efVmMlr7zjZvfx21tsI7I56wwoOCkmEtg1xqH80FhHIO8a2yQmQ8Dk2QAnliJFXpqq1fbWsIAFE5nqDy+o6bvEHf3cjZiQaCr39k3GWpMcPh8y4w/8zsZvThr9BOAcGOCWfXYmI8enCozp4H605Oh212rNXFfVrEJTrRsTKjwJCdcS+TKUlExlcjujWujcoaqW1CNj/mIZV7bY7yKqw4csdcXHIV/wPT/+YjPsRgndOOMffhOfSqHkRMQIgSXl1Td72e/9WBmHUl6lk8cHWmya3qUbNlTn3Hnsdnfeh7Io9Lmc9G3PucU5cOLJbynbx7HUbLy3lZ42HlC5G8LpqWQj1Rpm3G+FGjz844a8DMu/MzqHq+ntcJ+ChIAeMHpxrlLmDVGWdp/TezGr2/wOgz35szN9Oar0vA/s4nWUgQxZmH3i68SgQAqsO5ZcwKmVLsBYBJ4q0XUqKnWdTBqFGhFr2ku5r13Uh2/85BeKb8t6BPmVaadVMkXG/PkC3O5i+2ILdbscvV+z7oHXcwH5t1D+dh7QAwR9D2EmsRt3ienYExzUYPbaj0l6Y7PvlpmeViRxIYqqtCwEmqWxRugObD9t4re8CJN9f54Fb9w8vQyC5QLgh15FsIrr X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(39860400002)(346002)(376002)(136003)(396003)(451199021)(40470700004)(36840700001)(46966006)(2616005)(41300700001)(8676002)(81166007)(8936002)(356005)(36860700001)(478600001)(26005)(7416002)(83380400001)(44832011)(5660300002)(4326008)(2906002)(70206006)(70586007)(426003)(316002)(82740400003)(336012)(47076005)(110136005)(16526019)(40460700003)(54906003)(40480700001)(6666004)(86362001)(186003)(36756003)(82310400005)(2101003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 13:36:44.2528 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 24256c72-cbb6-4926-3cf8-08db4b124511 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT044.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4481 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230502_063656_020683_80EA82EB X-CRM114-Status: GOOD ( 11.50 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Sai Krishna Potthuri Add "resets" property to sdhci nodes. Resets property is used to reset the SD host controller when dynamic configuration support is enabled. Signed-off-by: Sai Krishna Potthuri Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index a117294dc890..7bd3e816226a 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -755,6 +755,7 @@ sdhci0: mmc@ff160000 { #clock-cells = <1>; clock-output-names = "clk_out_sd0", "clk_in_sd0"; power-domains = <&zynqmp_firmware PD_SD_0>; + resets = <&zynqmp_reset ZYNQMP_RESET_SDIO0>; }; sdhci1: mmc@ff170000 { @@ -768,6 +769,7 @@ sdhci1: mmc@ff170000 { #clock-cells = <1>; clock-output-names = "clk_out_sd1", "clk_in_sd1"; power-domains = <&zynqmp_firmware PD_SD_1>; + resets = <&zynqmp_reset ZYNQMP_RESET_SDIO1>; }; smmu: iommu@fd800000 { From patchwork Tue May 2 13:35:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13228935 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 33E82C7EE21 for ; Tue, 2 May 2023 13:37:49 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ieyYdx0XcUHcJ33nG3EWCQfiwa4uJbODIvxRyZxQ4k0=; b=W3SWLfKKYwgdf9 q9JzijebQZJ2joXxZUhhVV/jpa/0UwhVpKvB64PDUyPlnpnqeS9ICXNVRb0CC9j3hcoHBtsJYbEon 6NLwiuAhJ/NyZSp50eUmd5KXX0AUS4OfZPf61o0uDGWedUV49ZblPTnq5VlthAh6MJL/3BEvlSWu1 aT8cxgSG1HezyrfM+EYM4pZdahSH2uRokkoxJHFSLjVTbdI3Kno2Qni9+ZW8wc6N0R+tZUavXoOje LnosoaxE5EJxGGJmhLGSXjmw/QcDKbZGwmxnIePChd1AdRm0G21JF4mGrvIzEsKjCRkre0vRVdLeR Bpx87esvIpUrxKo295iw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptqBd-001dVa-2u; Tue, 02 May 2023 13:36:57 +0000 Received: from mail-mw2nam12on20627.outbound.protection.outlook.com ([2a01:111:f400:fe5a::627] helo=NAM12-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptqBa-001dR1-1S for linux-arm-kernel@lists.infradead.org; Tue, 02 May 2023 13:36:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SXwIf53hLzedu2Wk2wghQlMUKKhgkI+6q+4C5tmYH4kvY9OeGpWxL/mWOMkSdEE0hYT/Vd+RQaAsVVbqoY4DPGAJAAHpHYk2BW5+dyK0cKR5Tv5hhXwrRVbeYxpDlW/ehqnGwIS3TRooWmpZvQhYEWNnzmxd1doluuUQcLJRQpx3KtqGlhUTKZDK+0idO1iAV/HKkSW3GJQwDiz0BesawlvOfOdNxe3k0zldiwCbg6DRqAVSM/HGYUopVp1kIXqrh7d5TQgfI+aQ64aeL9L8yVhXlSR9RbhHBt93pqRB+zkZyJZfrBwDRD454Ohp7lnim+w8SM6J/YXcybn9WSE9WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=eRtMoRxiGch82YUC2TqCrzUaN6TEm8h/IxLWNZUXE8g=; b=nZS+8G7jCF/mnr+++n+4qjUx2uJSJpXIkYnBL4OgJPuvSLOVsEmDtgw4CVekAVDlmZpsmEaTNhuo/mirN8ivn6UawBTn3rYGLFvWT1EsBxjkuNFRGN3UFHZ+NtAWlb3M8kUqLbklgSuZWsfD3HOHwWUaE+ga8TsjP7Hx/m5KBKVTZMlcdOp6jvpQLPTCB2jU2zUH39l/qdXUzk9gMNGVmqDa3/C7B1Tt2FItlU193CkP1e0FZkprhnUOebeNJHpzE1j9evZYeDaQE50j0t4xytJk84zSeXhLBh1UXaPPY49kpPREZ0PDMWVTunTi72J3VkdOPtL98APNpABZbaTKFA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eRtMoRxiGch82YUC2TqCrzUaN6TEm8h/IxLWNZUXE8g=; b=m4MHHJNqVtNVaMWz+n5qIBRdiV/hmqdZnKQRxCRCU2VgJWYtftIW84jHKZT1ZIHcYzH+E7EauGZU2huJzroFQJKp1oDyR0FrQ2nNyMU9KcNZHdv+60T9N4VwLXbF0J7bQTF77EhiSwutjtjbRAzxbGo+fwRt82fsOUJmFIk/rgk= Received: from DM6PR03CA0021.namprd03.prod.outlook.com (2603:10b6:5:40::34) by MN6PR12MB8516.namprd12.prod.outlook.com (2603:10b6:208:46f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.30; Tue, 2 May 2023 13:36:48 +0000 Received: from DM6NAM11FT109.eop-nam11.prod.protection.outlook.com (2603:10b6:5:40:cafe::38) by DM6PR03CA0021.outlook.office365.com (2603:10b6:5:40::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.20 via Frontend Transport; Tue, 2 May 2023 13:36:48 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DM6NAM11FT109.mail.protection.outlook.com (10.13.173.178) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.20 via Frontend Transport; Tue, 2 May 2023 13:36:48 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 2 May 2023 08:36:46 -0500 From: Michal Simek To: , , , CC: Amit Kumar Mahapatra , "Krzysztof Kozlowski" , Parth Gajjar , Rob Herring , Srinivas Neeli , , Subject: [PATCH 09/23] arm64: zynqmp: Add dmas, dp, rtc, watchdogs and opp nodes for SOM Date: Tue, 2 May 2023 15:35:37 +0200 Message-ID: <5d3777fdf91d114effe1921255a7ad71ef30d277.1683034376.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT109:EE_|MN6PR12MB8516:EE_ X-MS-Office365-Filtering-Correlation-Id: 78f82ebf-6ab9-4f26-ac2e-08db4b1247ac X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZBqqUg1gdr0hTsm+fj6IhkqJw/mHt6LEFHtRhEuxAcxm9DR1mPXQN4JTuKzkqvj6y9n8DNwpeF0SyI+JjrqqcSqC5kPzwy9q6RJjXKrgk1djKGLfSb71wZd+UpqFc6Bd9CiczIWMJBZastswC3hGWR22JNCbo8lWONCyR70x7lPFfxnldjU4G2yrPVYGKUYOhQDuZoTsv0PTUi+NrFShNgcoS5WzM2DHMj4/IFzA9qPgu/bxlDYnbLS0sEDtb0FX7uuo9Htj/FloObFIe16Qzr/rgpcrB9rPTBFEyGvfsHmT3w4SaUeSgRWSq+RYtqrDXZ6hZ2BazWs4RfH6ixBERbAlsAlQrK6uGFQGxKOz20bSPgVmaMvFzz9PBP7XoelyKW4XR0ywcMbbiw8s8XUzXVR6sT8MmBJfG+tZYWOxb2QrhKGrUcHdh++q02H/6UdvSsAgxJa6K02hfqitvxYThzyJ1nvt0ITSMIBCQb6hDTgByBfuCnBqldsBHQk5eDt6CKxWme5ZZbJ3MrRzdxQ1GQYicP79Lpg7QDzq/TAuy2aa+oS1RV6vyyiZyYQ0HAfTCWT016IfvS1xmEdZDlm/SYbwYvIMYy6kFKUv5p2gd9QktN6iS0rOOixXov5yVCZUvZNhxr/xMWDXRlxJWWdUgFSFZizaGhSb6a8eRea3Mp9iufJ8lc9A4ZftlqI6kV7MGVisL3b+8hHR3gV0bdiyDOCYxs6qYsKscdYG17M5XVCZxju/fnA8LRZGiBOz5D4B X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(136003)(376002)(39860400002)(396003)(346002)(451199021)(40470700004)(46966006)(36840700001)(316002)(2616005)(4326008)(82310400005)(40460700003)(40480700001)(8936002)(44832011)(8676002)(86362001)(16526019)(5660300002)(478600001)(54906003)(70206006)(110136005)(426003)(336012)(36860700001)(26005)(70586007)(47076005)(41300700001)(356005)(36756003)(81166007)(2906002)(82740400003)(186003)(6666004)(36900700001)(2101003);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 13:36:48.6269 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 78f82ebf-6ab9-4f26-ac2e-08db4b1247ac X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT109.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN6PR12MB8516 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230502_063654_516840_C8C0CFFF X-CRM114-Status: GOOD ( 10.86 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org There are couple of IPs which are enabled in origin HW design which are missing in SOM dt. Add them to match default setup. Signed-off-by: Michal Simek --- .../boot/dts/xilinx/zynqmp-sm-k26-revA.dts | 95 +++++++++++++++++++ 1 file changed, 95 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts index dcc17e3ea961..3862168fa026 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts @@ -288,6 +288,101 @@ &gpio { "", "", "", ""; /* 170 - 173 */ }; +&zynqmp_dpsub { + status = "okay"; +}; + +&rtc { + status = "okay"; +}; + +&lpd_dma_chan1 { + status = "okay"; +}; + +&lpd_dma_chan2 { + status = "okay"; +}; + +&lpd_dma_chan3 { + status = "okay"; +}; + +&lpd_dma_chan4 { + status = "okay"; +}; + +&lpd_dma_chan5 { + status = "okay"; +}; + +&lpd_dma_chan6 { + status = "okay"; +}; + +&lpd_dma_chan7 { + status = "okay"; +}; + +&lpd_dma_chan8 { + status = "okay"; +}; + +&fpd_dma_chan1 { + status = "okay"; +}; + +&fpd_dma_chan2 { + status = "okay"; +}; + +&fpd_dma_chan3 { + status = "okay"; +}; + +&fpd_dma_chan4 { + status = "okay"; +}; + +&fpd_dma_chan5 { + status = "okay"; +}; + +&fpd_dma_chan6 { + status = "okay"; +}; + +&fpd_dma_chan7 { + status = "okay"; +}; + +&fpd_dma_chan8 { + status = "okay"; +}; + &gpu { status = "okay"; }; + +&lpd_watchdog { + status = "okay"; +}; + +&watchdog0 { + status = "okay"; +}; + +&cpu_opp_table { + opp00 { + opp-hz = /bits/ 64 <1333333333>; + }; + opp01 { + opp-hz = /bits/ 64 <666666666>; + }; + opp02 { + opp-hz = /bits/ 64 <444444444>; + }; + opp03 { + opp-hz = /bits/ 64 <333333333>; + }; +}; From patchwork Tue May 2 13:35:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13228937 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 69469C77B7E for ; Tue, 2 May 2023 13:37:56 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GBb7m6Dxwn+5e6Ed7t17eLLJBhDOuGt6vewZ68o1jHg=; b=PuwWfLNBufxqqE OTWDLgSmcWvOxm7U70jW+GAMIp4EyVCxd4jsGPtJklMRG3pTgySbys0rorzU0BjzIXA5BBZJtSwdn Mcq/4gv2UgjJEb//2Kzz7vMqpqQomceWA5SodiaYQrWgzOvHxf5iThi2R7kzZiCz7Mx04AcBSbiZC fyKOaDNvT5V3SBNpEbulgOUNuypNpfJU8mn6nsDQxEwAIMvAGEtEuovZ0TJhh/6iCy5A3d9L/8FA3 pIfGqVNHVqCCXsu2QJY8aIUuT/+8QR2Q2zwtGwkDInb4HcmVmwaGbO5pGoXJYfhZ5KOn3012EqP/+ H5qwENl4tiiZ2tn1ytvw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptqBj-001dZG-1T; Tue, 02 May 2023 13:37:03 +0000 Received: from mail-bn8nam12on20611.outbound.protection.outlook.com ([2a01:111:f400:fe5b::611] helo=NAM12-BN8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptqBd-001dUd-2u for linux-arm-kernel@lists.infradead.org; Tue, 02 May 2023 13:36:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I701QP3ZZMojhq5r5HRKy11QFBp91hJKv+DZ2QGAK3GYY1aGFQtq5TETauseORy/GaHPn/+CGdkzjrHQGVWrng2uRRyPOyg86sn+K/zgpA9FohVs/50tvLMeNwslNjArz8qlo40eQeaGZmIMl6zCJfMNxoDaUpWzCm/5KKRSveDNXqkxbd5zfEoe2tNlgSn3qgO+t+Z5qI3V22lhAWTWZm2ZR88kVjLYITqOsKgIHhpbzA0Wpg8aKwde/FnbWjiozPfU7pdINX0oSdPZRbpvbQzsmcjI+65LBqyovUILbkuycJ4u5Y1awoX5ehvwAU+vjhPT++WW+jNW0SuAJFCO5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Ylh8b5a2BN3/fjePm88uxNb9v1sqH+RyB+kr+738JDM=; b=YwStkNeASawPKgr3ma7Ho5Nz4lzOPkkeia0tbuWShvY0+rIdorbB3t521d1KsV+CtVGekTuM7mAHBjOt5XJUs4hJidDznuS1/JettP/XIf2QsI0SIceaNogu/Ay4ax+bOe1kxRCe5L0EZU3lxic+uVQToZPjItD7aaibZOgvDFYGUrpRedl/Yw/dgU6n8/ww681EhHkiOntPP3ZYpTlkevwvV993b3xhYuObRDIfmb2RC27Fx6gVFxW+QaRFZA8SpWKFdEVQpOgpEjAyC2XMqg5JFCfyksierTSs6dCnwz3eKT2JV3wwhKF4W9FNB2AnmbqxP+MNGndR2OxmPXFfiA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ylh8b5a2BN3/fjePm88uxNb9v1sqH+RyB+kr+738JDM=; b=hjkhRyaKstfFg1JzfI+TFl1Y1MGLQgo+P3SIqcKZPkRhqmVpEPdhwX3wlUggyEhW9EBEFSEpnJHGSzcqV3Qr8JIVzWkYU9XEd3AEXH6SKa0x0Ww2pXrFrr/Qhq7Z5F7lMZ1XREMHvon0utGroyHd6gWaKfkxDcyTMW6fU0tgTzs= Received: from DS7PR03CA0243.namprd03.prod.outlook.com (2603:10b6:5:3b3::8) by MN2PR12MB4440.namprd12.prod.outlook.com (2603:10b6:208:26e::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31; Tue, 2 May 2023 13:36:52 +0000 Received: from DM6NAM11FT107.eop-nam11.prod.protection.outlook.com (2603:10b6:5:3b3:cafe::f8) by DS7PR03CA0243.outlook.office365.com (2603:10b6:5:3b3::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31 via Frontend Transport; Tue, 2 May 2023 13:36:52 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DM6NAM11FT107.mail.protection.outlook.com (10.13.172.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.20 via Frontend Transport; Tue, 2 May 2023 13:36:52 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 2 May 2023 08:36:50 -0500 From: Michal Simek To: , , , CC: Srinivas Neeli , Amit Kumar Mahapatra , Krzysztof Kozlowski , Parth Gajjar , "Rob Herring" , Vishal Sagar , , Subject: [PATCH 10/23] arm64: zynqmp: Add linux,code for gpio button Date: Tue, 2 May 2023 15:35:38 +0200 Message-ID: <4e20661f43b1fb8432fa5fcda5c1cb50d0a27475.1683034376.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT107:EE_|MN2PR12MB4440:EE_ X-MS-Office365-Filtering-Correlation-Id: 3d654db8-68ae-454a-c0fd-08db4b1249ce X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PMThYcRWdnSpgIhIXhOGcT8sdoRr/8PwnBK5AgJ3/3f/zpb8kwxJKSZPzGIPY1UV6ZlP13kgh6s+JJXR9cN3YWIxcM46t77HtLsHtDPcL9BJZ07ctgGlZmvuFQX5wwtypkIoU3LML/t7opXI1G15dOftxebs7IXW1R/ie5OiIwoLcgkxLj15Ae/abkaUG0UvkoofXQrgsUSSLy/FZosBomIhehM4cw9aXNQbkhIbDvBumPbLFm22DgCxdUNocu7bJSGFc1pC9X2vdcDTh3TSq3ojmpD4fpXno8+tgkP6p54ibYKSvTFmiYTerQ7Plb5csy8MmvstSZ6/xbtuKy1J1H991o6plbJ+XMWs+qiRnli98Z+oQUeavrujh7/oMam2slJkK0gRlwoquvhBVBME4QPFsONjND9eBpIeEs0Ev1grA2yrS8XURdEDlKb+8MbEH+PzqDpGKttwsXJXBsNJ6zqpvbOxjHQppVCLvcRDROB7jeuOZDzSJZwS27QHDgFtp96B62O+QE+nZDVOWss47dEYmV1CXlRacQ+7mjbKj/VYiC+cytOoWelATxOayTdtMKxZy37cl+d0hNj9tJ9Afn6wPJIxhexiX4zSbdr3aqux2X2lhw75kSRhMgvbsGa5Ym/lUZdzJEczntHVpkBkRkqB1Jsj+F7VO2S56kz1Xx9qDEenB61L80yr/bDYvoMz+2gvw/FgpspktbKL88OW+uncwrLb/scl/XQKFjkWTC4BfUsi3rBXPg6n5CIoF/pb X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(396003)(376002)(346002)(39860400002)(136003)(451199021)(46966006)(36840700001)(40470700004)(83380400001)(36860700001)(426003)(336012)(2616005)(47076005)(186003)(26005)(82310400005)(70206006)(316002)(4326008)(70586007)(40460700003)(356005)(81166007)(2906002)(36756003)(478600001)(40480700001)(6666004)(8676002)(8936002)(41300700001)(110136005)(44832011)(5660300002)(16526019)(82740400003)(54906003)(86362001)(36900700001)(2101003);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 13:36:52.1900 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3d654db8-68ae-454a-c0fd-08db4b1249ce X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT107.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4440 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230502_063657_964780_02AFD634 X-CRM114-Status: GOOD ( 13.32 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Srinivas Neeli BTN_MISC looks like the most reasonable option for this button. Button is used by firmware to indicate (after reset, power up) that user wants to do firmware upgrade via firmware update utility. For bootloader or OS is this just user button which is worth to have it mapped. Also button can be used as a wakeup source and pressing it for more time can generate more chars that's why also adding wakeup-source and autorepeat properties. Signed-off-by: Srinivas Neeli Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts index 3862168fa026..340a5c43a8b6 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts @@ -55,6 +55,9 @@ gpio-keys { key-fwuen { label = "fwuen"; gpios = <&gpio 12 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + autorepeat; }; }; From patchwork Tue May 2 13:35:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13228938 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 D14C2C77B73 for ; Tue, 2 May 2023 13:38:19 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KF9aTrkfRdck1+OUayvvrQOnx2/PFS7eBCJbYZoBpJs=; b=pCqDUtU2RaIX2q PdmuKKbR4/DqQuP2qDySYYcRlf2x3ePzad4k6uMIsl0DLVKpIxNTPhnny7YgbZmoEe/504BD34WQF mX/Fr3vsCDelqEljOxoHYEnMrd4gi+9vUazk7iZ3x0Zqp47svufTR+0N9y0LA8+kxwE8FWB8WZIUx bodJXmtEHqkDeDm2al4h3tVcKBRYXO9B89ksKPi4Yzjj04PIWbhXFbSxbFRQM11kQTwwgk/FJkNUq SFCA18XyYn8WzsWvbzaBuliIsXA2ydzIYMEHfH70AHb+5nC1xtt1D1r5Zj0OoT0aPYUuH6Q4lhk6b mTopUc7FMD78kCepplOg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptqCA-001dtF-09; Tue, 02 May 2023 13:37:30 +0000 Received: from mail-mw2nam04on2061c.outbound.protection.outlook.com ([2a01:111:f400:7e8c::61c] helo=NAM04-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptqC5-001do0-0L for linux-arm-kernel@lists.infradead.org; Tue, 02 May 2023 13:37:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V0ozlpgmFjVggfKAli/ZF2L85pXCk4rviFZ9fiNc6CNnHk8g3FO3MTimzipgyLlY4Fos/H0qfgkPhH2YopW7nuWOkWG0MvcclbJ+eWyLh6zOQRD8CD4GxTcmk/LMVx9/UqDxf7tHBxeZOZ43/IUPIoG867R7zdE8dNshboDdSqxpCYd194pARKCIM4PmGARgq4Fi4eq9LtAuMOLnguYrnm0tCc8zlJK11/z4TseayHeHF00OMZZr3WDC33Ayldmr10eMkkZag/zXKSzfELt02ODhRMDmG6nW2rDyt8mOVPgk8SCQKTvmR5OjzXhOM3rXehTFJoYqV82DVJvUzDiFeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=2fofahKMjfO5rrYTTxVK0trn6gvPhnCOU0fr+xlH0Pg=; b=ayLuHCjAlpgqPoyl46bnNTL9Zrbtzxkaj9U0E2+uZbwJgAuiX/qZdSl+NL4ybPcuyjKz8kbmgWoJZNjXhQ2+BiaH1GBrlkKgJ3Yl8QyodqxZtTVxP/PZpkQq2RIcNNDDgT78aiTWsvw+rQcXvgPR2HbM95USQ81PD+MtyywMpvKZg5vhCkpQDPNNdtHcZkzS5D5zjjhE6uzL1Z5sKlfeLokT5YB6XkDeOBmtUiR53+9mNXjWUzugP0x18CK99oASx6X1V9ZWqAK5KS+vmiUBoEGP+zib0pPkHcE/kdA+pewaQx5fRzfVlMQ6gbiHyxpsfBAPIND/3GaxzgZgyfxEqA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2fofahKMjfO5rrYTTxVK0trn6gvPhnCOU0fr+xlH0Pg=; b=OPUHdnQQ8rcP5VmvT9kA/dvooNahy4HumG1qPLL18ORMvT3SfJbjupP9hYtmvK32zzV73Q259ocNCyYiDrO/7pUi2wrKsnE3s1oqQKtXmwzs8BR7rXDMH1NRVscKlnmigFReM5USSUk/SU+jyIRrdg+zlb5RNKoU4BfFAITWUb8= Received: from DS7PR05CA0038.namprd05.prod.outlook.com (2603:10b6:8:2f::23) by DS0PR12MB6606.namprd12.prod.outlook.com (2603:10b6:8:d2::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.30; Tue, 2 May 2023 13:37:18 +0000 Received: from DM6NAM11FT115.eop-nam11.prod.protection.outlook.com (2603:10b6:8:2f:cafe::24) by DS7PR05CA0038.outlook.office365.com (2603:10b6:8:2f::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.20 via Frontend Transport; Tue, 2 May 2023 13:37:18 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DM6NAM11FT115.mail.protection.outlook.com (10.13.173.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.21 via Frontend Transport; Tue, 2 May 2023 13:37:18 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 2 May 2023 08:36:54 -0500 From: Michal Simek To: , , , CC: Amit Kumar Mahapatra , Andrew Davis , Ashok Reddy Soma , "Geert Uytterhoeven" , Krzysztof Kozlowski , Michael Tretter , Parth Gajjar , Rob Herring , Robert Hancock , "Srinivas Neeli" , Vishal Sagar , , Subject: [PATCH 11/23] arm64: zynqmp: Use assigned-clock-rates for setting up SD clock in SOM Date: Tue, 2 May 2023 15:35:39 +0200 Message-ID: X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT115:EE_|DS0PR12MB6606:EE_ X-MS-Office365-Filtering-Correlation-Id: bda28322-b85c-478b-ee1f-08db4b12595c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: V1NMfNIs43JjILmw333IWdBWlwd3WLymJ4CReK6zBq3c33T9snjM76i/2FJzVo/Ochbhu5IaqFBJie+HVSEcPmu8ob/mcA+FuMqgYGVnSw7rhgJ1gn3FMWn6QriifcXcdQj4wIzRHjWVo6bIA9wzuf3f6xAzUg2HsJVqiGGuW2503IGUrK6sps+lMbohwOGR7DhZm4RCV/awkWGKWQMn745U6bNtpHyLgjlySXe8AKrWTIIs5epSYUEHohNBXUvglbKh5YzZkHHQBOFjagNpzktahkLB2jMl45sKwvH9CJu6R/Evgw4zJv7/5eQWDHxNNKc+cP14ibZLGzukE+bQOEIFkN76SPnxHPIrkKDGaGe+h7/8Enj1wjiwxRg6PdYXsslyrqix7YUM7tQWOavi1tK8DtsQ/GbXOak/YaTOyl2/25Uw3kWZTR6EA3KvdjeaPWPGm+jaeXpzmrsCGR6xFDj1eLk87ndcEKzk8iGq4ohQxxeMdgbzYKEjouNxoZuEe0maBXhITmSX/LAaGPPmwqQNuSxnzL5/SoquPvZn0OqHNQLunWwzVNM0V2aZeaNLVe+KN5AGFrdWiwGkZiZfcWdh0qpUe/B3gkq9xT5XMsUOZafTCF8x10vKiABP90aWZrphi44cAY1HQDds+rOAzWl1qMcQVVNDuQUdnyKyQEMuYl0TumnRkA9jFsml4kaGqOMrIQhfCA15pc89VuZsDpUzWVEHkNtAHIV2auaRYpj2YzkFK5ZX9W2K0PbcF1iW X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(346002)(376002)(396003)(39860400002)(136003)(451199021)(36840700001)(40470700004)(46966006)(4326008)(82740400003)(70206006)(70586007)(81166007)(356005)(316002)(2906002)(40480700001)(40460700003)(41300700001)(7416002)(44832011)(8936002)(8676002)(5660300002)(16526019)(26005)(186003)(6666004)(82310400005)(36860700001)(83380400001)(47076005)(336012)(426003)(36756003)(2616005)(478600001)(54906003)(110136005)(86362001)(2101003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 13:37:18.3032 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bda28322-b85c-478b-ee1f-08db4b12595c X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT115.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB6606 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230502_063725_180196_3BD948BF X-CRM114-Status: GOOD ( 14.62 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org With limited low level configuration done via psu-init only IPs connected on SOM are initialized and configured. All IPs connected to carrier card are not initialized. There is a need to do proper reset, pin configuration and also clock setting. The patch targets the last part which is setting up proper clock for EMMC on production SOMs and SD on kv260-revB. Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi | 5 ++++- arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso | 1 + arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso | 1 + arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi index 5e7e1bf5b811..681885c9bcbb 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi @@ -2,7 +2,8 @@ /* * Clock specification for Xilinx ZynqMP * - * (C) Copyright 2017 - 2021, Xilinx, Inc. + * (C) Copyright 2017 - 2022, Xilinx, Inc. + * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc. * * Michal Simek */ @@ -185,10 +186,12 @@ &sata { &sdhci0 { clocks = <&zynqmp_clk SDIO0_REF>, <&zynqmp_clk LPD_LSBUS>; + assigned-clocks = <&zynqmp_clk SDIO0_REF>; }; &sdhci1 { clocks = <&zynqmp_clk SDIO1_REF>, <&zynqmp_clk LPD_LSBUS>; + assigned-clocks = <&zynqmp_clk SDIO1_REF>; }; &spi0 { diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso index 2f7a17ec58b4..cb4a5126c4ec 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso @@ -133,6 +133,7 @@ &sdhci1 { /* on CC with tuned parameters */ no-1-8-v; disable-wp; xlnx,mio-bank = <1>; + assigned-clock-rates = <187498123>; }; &gem3 { /* required by spec */ diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso index 4695e0e3714f..31bc120dee49 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso @@ -116,6 +116,7 @@ &sdhci1 { /* on CC with tuned parameters */ clk-phase-sd-hs = <126>, <60>; clk-phase-uhs-sdr25 = <120>, <60>; clk-phase-uhs-ddr50 = <126>, <48>; + assigned-clock-rates = <187498123>; }; &gem3 { /* required by spec */ diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts index 340a5c43a8b6..d3c6a9feb114 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts @@ -178,6 +178,7 @@ &sdhci0 { /* MIO13-23 - 16GB emmc MTFC16GAPALBH-IT - U133A */ disable-wp; bus-width = <8>; xlnx,mio-bank = <0>; + assigned-clock-rates = <187498123>; }; &spi1 { /* MIO6, 9-11 */ From patchwork Tue May 2 13:35:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13228939 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 A390CC7EE21 for ; Tue, 2 May 2023 13:38:22 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BNtYBFIZovVccL6PJCG02IP80spFFy1PfaKnvvVvVaI=; b=SEhfjf2mDjDWUc tVbN5EdwJy7n3PxSTlxd3XCHF06PsBq4wscjqRijpLcRlOEOzFRPjJJ4mSFtYYZpGagfuO0szhwhx yT4WTMhgZ/tzVkgOFCQzG50jylIVfAHLECEX0x/otqrARaEGJ7w/3u/78q3XNOswK6SJ/YyHsB69P yZWCNu7nmuJjmqS8u24ooKCo3ms4mgTZrP4mJMWzy+uAh6DzeI8vndK3MGQ2vE8VJu2o7T2zR2O+X /1sjhNksbAdwc+UkRdzclYDtloyMH3Lis9x09aLBy597yRKt/34cV1g1aLcRggHTbH/dKsrIxcvsD YfRuwz++hmBzX/aoY3Ew==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptqCC-001dvr-37; Tue, 02 May 2023 13:37:32 +0000 Received: from mail-dm3nam02on20614.outbound.protection.outlook.com ([2a01:111:f400:7e83::614] helo=NAM02-DM3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptqC6-001dpC-2X for linux-arm-kernel@lists.infradead.org; Tue, 02 May 2023 13:37:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NAniDlIsvSROindNHrBubh4xtuUTbaWeVXSCqYi5pJRuTRQ529Z3RFDsTNy7v+kHGYL/sm7RlBQ8JMx3zk2IpzJwRFyxSR9kOOvXXQdtM+FB5eKW4/ZNgMfgGwRzbBhHQdpbZkiZ3rJv/bGkTnACT24trIPOUwMl69qGgTarrw4TjmBDHpyxvV9+jgfakKfHyyH9NpSVFfHh013zwujo8BKs7BwfX8fRyW/r+8eo+10YpWTxXw8ugSzynOjDqsPzePaHTJ1avqS4BOz4Zdp6LPD8a3WwvPwYr2kRk2iaCWmgdh1P64HWHXrIyCKmuYkCZIIJBedykXt11fwB28rYpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=BC8/1UIWUCzF2+AMagPXK2xExd5k/3krlbzdrE323bg=; b=YPWQV2oN+tT1NvqL7CHS1BYBfhbDsD0jw7XSgzuWoHS6Hjs2/B4iMBYW6CRmlztVa34sMaZBy+T4zRsrYgqIdGatdpy/AJ7+jA7RUbXbp6pmHzeKwRMQ9tJ+18xNNdvIYMJ4TCpzWPy3AonfCJegYX8jKiaoM6LLoYo8Nc2WjQ1UCw8FznLcllP3v49Q/TZpC23ocdGntziVS6/iaAg01bvM0CNqgakXmM3mSFBIam7wDX169CziFF7hmKrCHuD3GwmvnsDFxnPgf6przXvuFgaVEiNt7nQU9qBq3xpxg5TSYz+VVijb0H0Gx8It7Ryy8j3+ihU8zC8IDYpsPHu9Gw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BC8/1UIWUCzF2+AMagPXK2xExd5k/3krlbzdrE323bg=; b=t8b/+DUGbopATHa7g8TNcFCYBZNjGnSUK9oscwjLqWOoZJtOV4XoZg5LAVGmqo9gPfZWcJFRN2hZbjcYU1zC9sKKVAzjxb2hm/AAJJGX/HVv64wAPw3r/hY2FrYoAnDzb5xYSt3Pk2R1ADPLhiws/WNzFro0+Vujl61x9zB8Sp4= Received: from DS7PR05CA0055.namprd05.prod.outlook.com (2603:10b6:8:2f::15) by CY8PR12MB8361.namprd12.prod.outlook.com (2603:10b6:930:7b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31; Tue, 2 May 2023 13:37:22 +0000 Received: from DM6NAM11FT115.eop-nam11.prod.protection.outlook.com (2603:10b6:8:2f:cafe::9b) by DS7PR05CA0055.outlook.office365.com (2603:10b6:8:2f::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.20 via Frontend Transport; Tue, 2 May 2023 13:37:22 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DM6NAM11FT115.mail.protection.outlook.com (10.13.173.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.21 via Frontend Transport; Tue, 2 May 2023 13:37:22 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 2 May 2023 08:37:18 -0500 From: Michal Simek To: , , , CC: Amit Kumar Mahapatra , "Krzysztof Kozlowski" , Parth Gajjar , Rob Herring , Srinivas Neeli , Vishal Sagar , , Subject: [PATCH 12/23] arm64: zynqmp: Add mtd partition for secure OS storage area Date: Tue, 2 May 2023 15:35:40 +0200 Message-ID: <20dd23821118999c6fec2bad52ea446d1a66fefb.1683034376.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT115:EE_|CY8PR12MB8361:EE_ X-MS-Office365-Filtering-Correlation-Id: b42be925-c572-4816-b325-08db4b125bd4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LeqCNtsR3EYNb52opJdLYWxSDIDFVBh6ybFdHbkjp41j23Lh91TNNzFA14agkhWJmfHWh4fAU6sLcS9TWd98aDhLXu9Aw9jbIP3FHC5rQpmy/emvilmn8VwSgAETA7v0fji9/c9bg02QlXZmxPI7JntlClQMTWp1jfQejhvNWt89yS/TYSNOjlaMvCEjLHHFU6xh1mLQs7oT8iecMt7i0+lP/zPGu50BE+QvdKoXNbhA5pfP6pD7qd5QVsOQx0fNsQUkcCkkXygqOcP/KUEejushH0RUr+sRPCWz2+vZLcxW6GB4DUg8x+IVH0roCIpJPMJlMp6cdYexgsbGD5uXk5oURASDwqqPFgkStMgYyn1WNOyxfHz+NslNqPxxRKvtyprufynR83YvyfmTd5GDaEWBEpw5fkwp/qb1mPM2OuIdZyZJMl62of3wHPH4qphO0z9HM1m+ImkWsAvcOGIZurk9zPCRFl7HLPRO81U557Elv1mFeCztnJ28n1Nqo8aUMEpdPeaPVK8yMxuDBB6W3AGXJsNBIJw+UyL87aNGASovRdCr951WG8l4xoYq0Fw+XaYRnKIEUB/Jfj65hdR/sh82Ho+Dx6zJQACee2nv82gX6fex1XPsuhou2QdCOOdG5ENE874nedivwe7JtrArYr/z4ZHLcz64Zik4CpV1MZ0BJtS8OSPLUkztqY1ZC6EQBcbvcseOpa6UBYfWviWjKf1lNjm14vabN3HGnqzAeyXHVHztrU1pMEjyvOcxyAHk X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(39860400002)(376002)(346002)(136003)(396003)(451199021)(36840700001)(40470700004)(46966006)(86362001)(40460700003)(8936002)(8676002)(4326008)(41300700001)(70206006)(70586007)(81166007)(316002)(82740400003)(356005)(5660300002)(44832011)(40480700001)(2906002)(16526019)(186003)(26005)(6666004)(47076005)(36860700001)(83380400001)(426003)(336012)(36756003)(2616005)(82310400005)(54906003)(110136005)(478600001)(2101003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 13:37:22.4436 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b42be925-c572-4816-b325-08db4b125bd4 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT115.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB8361 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230502_063726_829560_FC286CD4 X-CRM114-Status: GOOD ( 12.97 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Amit Kumar Mahapatra Update MTD partitions of Kria device trees to allocate 128KB of QSPI memory for secure OS. Increased "SHA256" partition size & changed starting address of "User" partition to accommodate the new partition "Secure OS Storage" Signed-off-by: Amit Kumar Mahapatra Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts index d3c6a9feb114..5fbc2fbd2638 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts @@ -83,7 +83,7 @@ &uart1 { /* MIO36/MIO37 */ &qspi { /* MIO 0-5 - U143 */ status = "okay"; - flash@0 { /* MT25QU512A */ + spi_flash: flash@0 { /* MT25QU512A */ compatible = "mt25qu512a", "jedec,spi-nor"; /* 64MB */ #address-cells = <1>; #size-cells = <1>; @@ -161,13 +161,17 @@ partition@2220000 { }; partition@2240000 { label = "SHA256"; - reg = <0x2240000 0x10000>; /* 256B but 64KB sector */ + reg = <0x2240000 0x40000>; /* 256B but 256KB sector */ read-only; lock; }; - partition@2250000 { + partition@2280000 { + label = "Secure OS Storage"; + reg = <0x2280000 0x20000>; /* 128KB */ + }; + partition@22A0000 { label = "User"; - reg = <0x2250000 0x1db0000>; /* 29.5 MB */ + reg = <0x22A0000 0x1d60000>; /* 29.375 MB */ }; }; }; From patchwork Tue May 2 13:35:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13228940 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 3B8BAC77B7E for ; Tue, 2 May 2023 13:38:28 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/kgoAuEnImqFDbWf5Hu5w7yNZuAcc26hOVvbCrRAP30=; b=pkSr+0S5YnVE5s F3tK8hy2cXWgLq2eDmlRnbqJrCvbvfCEz1silDK11o4b6kBuX1ViN6vFsSwO9zMCvGgtxIOpF5GUX W/GOw1Z9+BS6kLC++qgx5OtUxlWjNfBu0pG9NtSUDYOjtSoDt0adkXTzk5bftWp5HOffqrVippx6f CQXy/4CvF+ud5f4guPXQBmK+VCYF2iqTeJCFHC+M52yCQYdsaR4K0T5i23anzOX/ldCuQt22SXt9M 9vQvehxLspbYT/Ib7U1rwy66pQRx07D2f3sceu33JIUt8D7etEw7OGuTHraMQs26fPAn084vcB7HR 7jl3TinTC7/2/U2YuWtQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptqCH-001e0K-2R; Tue, 02 May 2023 13:37:37 +0000 Received: from mail-dm6nam12on20631.outbound.protection.outlook.com ([2a01:111:f400:fe59::631] helo=NAM12-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptqCE-001dvk-0w for linux-arm-kernel@lists.infradead.org; Tue, 02 May 2023 13:37:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CwzuoI0wFWd5QKBvms6wFpRunCtYg6Bva7qePcOhN/yV1c05hay1f+VryDjCjHkTZF3fGmWbex+l+GbVtAIWjnsrnrYi6f9w7jEjZ+uK39KIpmCUanvVl4E4oOUlJRTdwAQ3RNeoRf+t06x0XwdF+cYqIDzBqHHExcU1h6ccAIdHYogwTjubL+9oyLao4vDjgFR5lfBnjHlo4KvoMFhgPM10cU0vv658G3HSknXGwssCKVzKK4UCEFeW+GM58aDhfi0Uqc0pLjQDuSrEH7qIVq65MOiTyPirWOvkRuA6Z8ttwdKvXmfo3YA9qjEvREcN9joIDhipepFKjbVvLX8PZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=rQFvyoPSgfYvPEEleHEK5se76uHOKDoGyolMGYoZdD0=; b=c98e+Nj2iKxY6iOqgPr9B92iKYFEe63j53Zq17VOBN8ygeTCDFW3zdMDvAWKvrwizyBorzPyk4R1JB45RPUhAcEIyCj+cQ3TZ9hn12p8w5q7iYYFYMiCLa2tnmf5RmFK1NUtky3Da4YkqZZM5J/oLYlbCOcMZ9U3+XrKoI3k+Lx30IFyZHcWqVZ81Dcsdi8Q2kzangYE9Zcbw0rj6z0ZUDs+FPE1VzSA2LVff6c/f5PQ+FJY3+lL7ox4Tm33Q0KkslKuLNPnZ8jNUiyTjA6AQfua4EQcOy71aYzE+1k6VBIT/WvO0CnNQ+ZLpMnv96xmcVjGCvU5CLWP1CsrRORB0w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rQFvyoPSgfYvPEEleHEK5se76uHOKDoGyolMGYoZdD0=; b=ncW2XnNekOfoK2orkmU9EbN4nw31UxexQ/947xogzaXJORPIDsv8qDrRsBEKfoGSyoovbi0T6B7HGdD987uOxwMXQJyFFdPJFVBphEFMnNIP2SUz+AmSKkd4RDlM2XCRIU7/0lajB0ZJh6y8SLdCXZcj0LHykPs5OReptaxbqb4= Received: from DS7PR05CA0061.namprd05.prod.outlook.com (2603:10b6:8:57::15) by CYYPR12MB8962.namprd12.prod.outlook.com (2603:10b6:930:c4::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31; Tue, 2 May 2023 13:37:30 +0000 Received: from DM6NAM11FT060.eop-nam11.prod.protection.outlook.com (2603:10b6:8:57:cafe::ab) by DS7PR05CA0061.outlook.office365.com (2603:10b6:8:57::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.20 via Frontend Transport; Tue, 2 May 2023 13:37:30 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DM6NAM11FT060.mail.protection.outlook.com (10.13.173.63) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.20 via Frontend Transport; Tue, 2 May 2023 13:37:30 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 2 May 2023 08:37:22 -0500 From: Michal Simek To: , , , CC: Amit Kumar Mahapatra , "Krzysztof Kozlowski" , Parth Gajjar , Rob Herring , Srinivas Neeli , , Subject: [PATCH 13/23] arm64: zynqmp: Used fixed-partitions for QSPI in k26 Date: Tue, 2 May 2023 15:35:41 +0200 Message-ID: X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT060:EE_|CYYPR12MB8962:EE_ X-MS-Office365-Filtering-Correlation-Id: 44dc5de4-6306-4fc4-2eeb-08db4b12608e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: INYOM7hDbW0pa3Q6GC2+/KLY99dhLlcap+Vq3NiUBoXmXlG2PlT492ut3z24jBeu2P6SnUcwwmFSq+G+FrqktGgbMs4T9ejPd2VBkvvlCZdqCZUJso+a9HhmY5ZnV1Bt01bgUQ6p1a4nu7aAs90jrBPNlt/vLK/HqBOnxQOobgVUgS63rT1zCb/wBBdQ/1Ziuegi7ib7vEs8DqinTtvFirVjtrG+GkawntvtOu34txQuDpSoQ66Rv5jFv9jgW2dBQjE0XpBvKetUTQWkMYCo5JRrEgR4PlEsuwYLHyFO8fW7q4M0XUXX0iznyXNeNtNfoOVzWVenzbluVtPik0deqXVQaAdRu7EVdB4CQgSLZa29lJdUFAAA9zIJMR8ZIQkIHRl453Gl0PU/Y2p073M0/iDMY/jxna504qz6wi7/PNFzKX03xcrYA15vAPDGvnBGPBUUe5kj4Id+84NrO6ufx0Z5o2bWyNrSMmmdeCuevgJmzI42Nfenkc97jOT0kyxfTP4LG/9MqJkpGzK7YOveBxeBeqM+T96HMlt/3dfa6QWyaja1E5gADdRnqa9QItErKfSnAXIIafp5h7Un07Fs4NkhiFQpSriKen6xKaFcUYHjAOnTi2PUDZzPUROu7LxGeB0FbmHxJU1uFapdvbd4aC+7O94xZ52t1DNCLmcGbrErwrmuySQMLk7e5yFI6DvLf+6ly8IAxgTbhahfFX5rV4Czyz56nXP4kXlqdknT7In/HHdHe531GTAKOP7nwtAY X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(396003)(39860400002)(136003)(376002)(346002)(451199021)(40470700004)(46966006)(36840700001)(81166007)(356005)(26005)(82740400003)(186003)(83380400001)(426003)(36860700001)(336012)(2616005)(47076005)(16526019)(36756003)(44832011)(2906002)(40460700003)(110136005)(40480700001)(86362001)(6666004)(54906003)(478600001)(70586007)(82310400005)(41300700001)(5660300002)(8936002)(70206006)(4326008)(8676002)(316002)(2101003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 13:37:30.3701 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 44dc5de4-6306-4fc4-2eeb-08db4b12608e X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT060.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CYYPR12MB8962 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230502_063734_354806_9DAD7761 X-CRM114-Status: GOOD ( 13.89 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Using fixed partitions is recommended way how to describe QSPI. Also add label for qspi flash memory to be able to reference it in future. Signed-off-by: Michal Simek --- .../boot/dts/xilinx/zynqmp-sm-k26-revA.dts | 169 +++++++++--------- 1 file changed, 88 insertions(+), 81 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts index 5fbc2fbd2638..cb3e5c06fdc5 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts @@ -91,87 +91,94 @@ spi_flash: flash@0 { /* MT25QU512A */ spi-tx-bus-width = <4>; spi-rx-bus-width = <4>; spi-max-frequency = <40000000>; /* 40MHz */ - partition@0 { - label = "Image Selector"; - reg = <0x0 0x80000>; /* 512KB */ - read-only; - lock; - }; - partition@80000 { - label = "Image Selector Golden"; - reg = <0x80000 0x80000>; /* 512KB */ - read-only; - lock; - }; - partition@100000 { - label = "Persistent Register"; - reg = <0x100000 0x20000>; /* 128KB */ - }; - partition@120000 { - label = "Persistent Register Backup"; - reg = <0x120000 0x20000>; /* 128KB */ - }; - partition@140000 { - label = "Open_1"; - reg = <0x140000 0xC0000>; /* 768KB */ - }; - partition@200000 { - label = "Image A (FSBL, PMU, ATF, U-Boot)"; - reg = <0x200000 0xD00000>; /* 13MB */ - }; - partition@f00000 { - label = "ImgSel Image A Catch"; - reg = <0xF00000 0x80000>; /* 512KB */ - read-only; - lock; - }; - partition@f80000 { - label = "Image B (FSBL, PMU, ATF, U-Boot)"; - reg = <0xF80000 0xD00000>; /* 13MB */ - }; - partition@1c80000 { - label = "ImgSel Image B Catch"; - reg = <0x1C80000 0x80000>; /* 512KB */ - read-only; - lock; - }; - partition@1d00000 { - label = "Open_2"; - reg = <0x1D00000 0x100000>; /* 1MB */ - }; - partition@1e00000 { - label = "Recovery Image"; - reg = <0x1E00000 0x200000>; /* 2MB */ - read-only; - lock; - }; - partition@2000000 { - label = "Recovery Image Backup"; - reg = <0x2000000 0x200000>; /* 2MB */ - read-only; - lock; - }; - partition@2200000 { - label = "U-Boot storage variables"; - reg = <0x2200000 0x20000>; /* 128KB */ - }; - partition@2220000 { - label = "U-Boot storage variables backup"; - reg = <0x2220000 0x20000>; /* 128KB */ - }; - partition@2240000 { - label = "SHA256"; - reg = <0x2240000 0x40000>; /* 256B but 256KB sector */ - read-only; - lock; - }; - partition@2280000 { - label = "Secure OS Storage"; - reg = <0x2280000 0x20000>; /* 128KB */ - }; - partition@22A0000 { - label = "User"; - reg = <0x22A0000 0x1d60000>; /* 29.375 MB */ + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "Image Selector"; + reg = <0x0 0x80000>; /* 512KB */ + read-only; + lock; + }; + partition@80000 { + label = "Image Selector Golden"; + reg = <0x80000 0x80000>; /* 512KB */ + read-only; + lock; + }; + partition@100000 { + label = "Persistent Register"; + reg = <0x100000 0x20000>; /* 128KB */ + }; + partition@120000 { + label = "Persistent Register Backup"; + reg = <0x120000 0x20000>; /* 128KB */ + }; + partition@140000 { + label = "Open_1"; + reg = <0x140000 0xC0000>; /* 768KB */ + }; + partition@200000 { + label = "Image A (FSBL, PMU, ATF, U-Boot)"; + reg = <0x200000 0xD00000>; /* 13MB */ + }; + partition@f00000 { + label = "ImgSel Image A Catch"; + reg = <0xF00000 0x80000>; /* 512KB */ + read-only; + lock; + }; + partition@f80000 { + label = "Image B (FSBL, PMU, ATF, U-Boot)"; + reg = <0xF80000 0xD00000>; /* 13MB */ + }; + partition@1c80000 { + label = "ImgSel Image B Catch"; + reg = <0x1C80000 0x80000>; /* 512KB */ + read-only; + lock; + }; + partition@1d00000 { + label = "Open_2"; + reg = <0x1D00000 0x100000>; /* 1MB */ + }; + partition@1e00000 { + label = "Recovery Image"; + reg = <0x1E00000 0x200000>; /* 2MB */ + read-only; + lock; + }; + partition@2000000 { + label = "Recovery Image Backup"; + reg = <0x2000000 0x200000>; /* 2MB */ + read-only; + lock; + }; + partition@2200000 { + label = "U-Boot storage variables"; + reg = <0x2200000 0x20000>; /* 128KB */ + }; + partition@2220000 { + label = "U-Boot storage variables backup"; + reg = <0x2220000 0x20000>; /* 128KB */ + }; + partition@2240000 { + label = "SHA256"; + reg = <0x2240000 0x40000>; /* 256B but 256KB sector */ + read-only; + lock; + }; + partition@2280000 { + label = "Secure OS Storage"; + reg = <0x2280000 0x20000>; /* 128KB */ + }; + partition@22A0000 { + label = "User"; + reg = <0x22A0000 0x1d60000>; /* 29.375 MB */ + }; }; }; }; From patchwork Tue May 2 13:35:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13228941 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 0F78AC77B73 for ; Tue, 2 May 2023 13:39:36 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=bTKRVTE/x6uuZK7QjQzWygncSuLX+UT71vldqEXSq80=; b=r7F0XkOVdRaTvm M2r84PnK9h0i9FA/xpbRqw2gzosh7/3KXlbRBOT9rF7Ncbnl/vX6QOh0Wt1TefrnIWUFjQ1Gp8Es2 WhHB8sYnkLhely8OMSn51p5yoczk/4LJ9eMuWi8iVmXZEX62rvwwepNwow3ii5VRp++nKo1S09Cxb wUWpO4p1/OnIDyK8DzUQDVP/dDS66AzmKMxcvRwbpU2MGF9LbNemRoWW86qUS9d7tMizAWZQbtQAr uAv/eSyA3Dr51lVdN0FVAx2dehmYGze2ZV6IeeCelIaBC/BkAcSJzUTSijnve1l0ODbOsWAOI8en+ laxYFMgYX3mnCcF8q4KQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptqDH-001efI-21; Tue, 02 May 2023 13:38:39 +0000 Received: from mail-dm3nam02on20600.outbound.protection.outlook.com ([2a01:111:f400:7e83::600] helo=NAM02-DM3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptqDF-001ecp-0o for linux-arm-kernel@lists.infradead.org; Tue, 02 May 2023 13:38:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CnJ8Ojl2nc1zphi9RL6it0rswYGTZFRmZwvandz7cgDyd4fyH62cnkYLkZhQ9jeV94ztWgD1jKEYvAYPmIaJgXdhypsczsIG3WoHmIhAV9JgBGYI2pP3kywsnjLqFtmmw+VJ0O6IiPcjOtJHbAh6xGiDBZUdYhMkKrlU395jBj88ldKtUsn8yRlbzCuu+g0n0dBDcNtnvrSYUesUhkx4YZa0oVGE2PXggafTH3oeKvkvmJFXArRV7+Y2XidbFc4TucVcsObbXwVYqjXr32FNs1fvCkPCAlxS6iXf8F35zbPhrJHoR0qlKnaEBV+dkWf7PIQiNMgc5tnidNNGxRfnNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NO5nCZf9Lf4i7CviExrPaTIb3MQ0zGbYn8U+OMpcmPo=; b=BrNwn9rp14N4wcEQgm4+EepFObyoJGZGGgZOI0WFo7pJ9WBDqPOHRXa+7i4Gsw1qRib7VMmm5su/30QSIGWXIF6eF4RtYHR8qOZmHDTwNsBqHLoHEyhpMRyaecIcmiar/fovDe9eoP6vFa+eChA9A5OvtUVrXxnEzPwEDtBSKAKE1EIxSpHwTzHQwkKA089uC1zM9U0hrOvLc6YWUQR2lkQlhJOGI07Ub4Xxu8F1LNo5+J5lCd29hx98NZTrIedNoTJ8RlwwzmGC/00olqWnIgYCPS4PyyAQSF+KwmoAqxNqMbxiEFovgfHN8d2zr9U+RUZgSTNpTi8avXRDFCFQIQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NO5nCZf9Lf4i7CviExrPaTIb3MQ0zGbYn8U+OMpcmPo=; b=35dL3rzbr3myJtPhP48sipuHFKBDu/NGp25e5eGQs1gqZyfvP+64ys2T5LPE1FP62sqGm7InhSJVpNE2t3IKCNxTi8W6OB6ftCaYdajErph+jyyO6qYs7vC0VvGer175HhiRGOAgo9QAfnGr5DxmCwScSKrm+NLgRtKdBmCRCBs= Received: from DM6PR02CA0119.namprd02.prod.outlook.com (2603:10b6:5:1b4::21) by IA1PR12MB6603.namprd12.prod.outlook.com (2603:10b6:208:3a1::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.30; Tue, 2 May 2023 13:38:31 +0000 Received: from DM6NAM11FT038.eop-nam11.prod.protection.outlook.com (2603:10b6:5:1b4:cafe::6c) by DM6PR02CA0119.outlook.office365.com (2603:10b6:5:1b4::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31 via Frontend Transport; Tue, 2 May 2023 13:38:31 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DM6NAM11FT038.mail.protection.outlook.com (10.13.173.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.20 via Frontend Transport; Tue, 2 May 2023 13:38:30 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 2 May 2023 08:38:29 -0500 From: Michal Simek To: , , , CC: Amit Kumar Mahapatra , "Krzysztof Kozlowski" , Parth Gajjar , Rob Herring , Srinivas Neeli , Vishal Sagar , , Subject: [PATCH 14/23] arm64: zynqmp: Add gpio labels for modepin gpio Date: Tue, 2 May 2023 15:35:42 +0200 Message-ID: <12b2fcd94e528c8ca7117f6741aae36b5942b430.1683034376.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT038:EE_|IA1PR12MB6603:EE_ X-MS-Office365-Filtering-Correlation-Id: 79a39123-dfb5-4b0b-3e40-08db4b128478 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FKyPRZhx4bQ0DjogRLszuQYhklyYft0cKRsjPQQCCZoT4WGtrXcM/4JlUorC/8mG38BV+ZBtKBXbORVPCPDzTb9CAlohNG9rxvV1ZPKNsXJnAYuz/K1ADyV8aqmPM3LxEMwttFKFEE5xHGpgUE2LSmb53EMWNb5XkdmHSP4uHd6uujXctPtzmcxTT9r8KQpzsorCbhGd18ecwpFSE/s64m7eI74d5kUNgPK63fhFMrKtrz/CNkVw2AC96WZHgKGSKQhn5zsaqb076Y7vFeVKVvHGmxvVKi1vKz6F2w+tSKBDBb/t9pBabQ9LW2aZyC2qZlTDwip44tkNqQIWfmUXM23zLuIw+PCQFVpTNTAwLvIoAu5h6IuiqdjfzuuHO0zDlJVs1XyCwtuOOjvjUSu7oM+JJ/+ogIcEtzftbWVbvDehoHfs82+6aSWdkeO9e/azmlzaeeRhuzWN18xH94ykrlZzQBiO39eBSu7RzkNNbF71xrB3TZRKo1NyECQYI6tJAduAgMYCSt2wvW4gh3MwEECpXlMg/g1FzsCJFxf04RODkqf3IpFmabaTHCy2Z00sEEyD8h9Efmpz4SIX2f69KATWvQiwkWlHsy/Kn0kcRZpqDRaVdK55tZ6Tz9MPX+irWsa4UkvkAb5z5SGz0jyBkoNDDXfzypJmb6MynHjB+jKkb7JDX85aUzrWwWqsdH/5ygA3WvL9XkLjv+uQA7/rEx0sTlmNdVUINLz5hERvdEPZpZU6oeitct/jhv485Kkh X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(376002)(136003)(396003)(346002)(39860400002)(451199021)(40470700004)(36840700001)(46966006)(356005)(82740400003)(86362001)(82310400005)(81166007)(40460700003)(16526019)(54906003)(110136005)(4744005)(44832011)(478600001)(2906002)(6666004)(36756003)(40480700001)(186003)(26005)(41300700001)(70206006)(70586007)(316002)(8936002)(8676002)(5660300002)(4326008)(47076005)(2616005)(426003)(336012)(36860700001)(2101003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 13:38:30.6087 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 79a39123-dfb5-4b0b-3e40-08db4b128478 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT038.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB6603 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230502_063837_307068_AB3DF694 X-CRM114-Status: GOOD ( 11.18 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Using label helps with better chip identification. Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts index cb3e5c06fdc5..c206021cccf7 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts @@ -77,6 +77,10 @@ ds36-led { }; }; +&modepin_gpio { + label = "modepin"; +}; + &uart1 { /* MIO36/MIO37 */ status = "okay"; }; From patchwork Tue May 2 13:35:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13228946 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 42604C77B7E for ; Tue, 2 May 2023 13:39:41 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8ebVkZWtDa3H9pXmrd62aE3ORhvIa9pbTzlw1MLFgFE=; b=gJNc9WIq2B6By3 0UASwg1spJzrz/MDYY+Js/vUATGMdSZUpMmHr+sxNPAN3ZpA3oMGa8X36TYBKTccL2icu6sH/xW+F v+p7DyKQmWFKnNJUzKsOYMgnBJS1nbZBRYlMLIGwabJWg2QGglNnPiY25EIpThoW014wCd4xypwww 1EbieaJy+lbsNjLGd8Ew3PPt8OavhfbgsVbR5vmIXwV9ZVj/YIxG1KHLfmh/OiLVfM1B7c2S8B8aN Pud3Kva9OHkPWXDpLPQanIxscgVSPivzcIShLXxc6qjw2ldT2C89hxi8DJUSby8lZX66q0iBg/uww knNmytiDgbJeTwVFsqWg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptqDV-001enf-0s; Tue, 02 May 2023 13:38:53 +0000 Received: from mail-co1nam11on2060f.outbound.protection.outlook.com ([2a01:111:f400:7eab::60f] helo=NAM11-CO1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptqDN-001eie-3A for linux-arm-kernel@lists.infradead.org; Tue, 02 May 2023 13:38:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nBLGsxYqI/cXIk0hn8pRvGOWOxbZwvZOIxW0tYiPrVeVwbNuGn3rMKX6YhRCJwa4/vvfSUm/0oXzGL8fSL7xwld1oxD7snaUILQpzk57DCNsbpFJPHar5TzFhKSBa5LTuCEbb8vU7oQsgE2KXEU5g7GxDVO0vTdoxsfDwbR/iZ1C9Ew760UiPXLroGKxwKf9tCLl5zzOz9e/5EM8yo0xqmDiCc5bI4aQMO2wjB/jDw/RvVvtWC/Rq2HzMaNfmVRb3LAtbouFGDR+Rl7HUbmNum4ksoJ5UROBl2IVIE3ePsAzy9tg375bA27atmTC0bgSBto+BZ8HwDMDpyCfvyd5Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=O9fxuTbh25Bu4TGMyD23EsbHaEiE9AJ9OnAOQ7gcDL0=; b=a4CqRRMLTGU1xCTTkPMRGZ00h/nr5QXdUg4beZKf6jdu5Ar4WPjWavEp1f226epX6sejxYCkCB9kN4m7TAVVm3HR7eZkGDyTLfPk144MH24QRSd8qGyWLfiVYBHhqkZjLRi2aq05mcJzeK6yefsCvf09+Q+g7o1bwnw+SmvSU5RN+T6xjreXDBHqCa7kFQTJGtk3BWDwLwJNNzIpFirUheldT9ass7QA5QU9ulPF5Tm5O2/a/MIQhmhIa0jxRcA6Io9wS0jI5nPj3YTNpQSgKivaVxHd8UoVoakfkRzWTvcaHpFjHjgpnF0Y320Am2yyg6EOMOj/SIQYJZIHBwE9mA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=O9fxuTbh25Bu4TGMyD23EsbHaEiE9AJ9OnAOQ7gcDL0=; b=ZO6N7emjmDASMlNc8WXo6Zh0v5WeL82QqN9D2bjauGl+P/22hOYaI69b/fGTw08CPoC3A89AjRpZtgtZvgZZgwYeG52BTtmeMKGffXoqvf0pQOHGeRdVeurqjZUxPvJFf07jxOhMatRsz2S9kMOD1m36FYgKIA5pxmBJC9OKL+A= Received: from DM6PR03CA0089.namprd03.prod.outlook.com (2603:10b6:5:333::22) by DM4PR12MB5216.namprd12.prod.outlook.com (2603:10b6:5:398::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31; Tue, 2 May 2023 13:38:34 +0000 Received: from DM6NAM11FT079.eop-nam11.prod.protection.outlook.com (2603:10b6:5:333:cafe::b) by DM6PR03CA0089.outlook.office365.com (2603:10b6:5:333::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.20 via Frontend Transport; Tue, 2 May 2023 13:38:34 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DM6NAM11FT079.mail.protection.outlook.com (10.13.173.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.21 via Frontend Transport; Tue, 2 May 2023 13:38:34 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 2 May 2023 08:38:32 -0500 From: Michal Simek To: , , , CC: Amit Kumar Mahapatra , "Krzysztof Kozlowski" , Parth Gajjar , Rob Herring , Srinivas Neeli , Vishal Sagar , , Subject: [PATCH 15/23] arm64: zynqmp: Add pinctrl emmc description to SM-K26 Date: Tue, 2 May 2023 15:35:43 +0200 Message-ID: X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT079:EE_|DM4PR12MB5216:EE_ X-MS-Office365-Filtering-Correlation-Id: 499de1c7-c06d-48e6-6962-08db4b1286c4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UpQUeyYLQ7m3YTvx9e0zh6PK3HUf9bXfJSHmLB5y9NJDToMjPKhBBaodvr2hXlYQ/qEQeyIR7KIcKtBGIR9RLYxbWFNu5xgCgZIrNoKSfDX3ucNagYS9WUYfBAz4mcJVJ4FHvGWOT193ATRMxz+jfnqq0KOefu6Vp+bU4+ZNc7dyhwhCLyGisb9iY1Tiy4BLsR8pCy4A2tXiUkUkAhvcBxFDWyOI6oEkA/7aj6SHVbcJ0YwB6rlIXq1Hm+Gl0/WsWx/YEWXc/ccfZxngGFfZn3Ugjsvc3qv/h1ypGMWG0M15SNMOdSVWqe6VTGwU3e/lWbaS2ljp0yLd88q79jXZs2pI86K3keaaAtrm8cuXZdeUlB6kH6691wM19ARCzcmYMpwuqB+iXLJewPSQ8L2dm0elcVxismyfvnbEZEwEG24WhfxDmdnDvH2hN7mG1kKfScVdw7dYNFBdBtZzU4ENBTyzS2xQScweDgtPBSn1lB09f6cTJLGfmXWUm0JkM37yNPHeRvX1f5ZS2adOD3NNoNFKi5sJKHaXY2vIac3bHj4fVKXNf3wrVoe0l93gtK6cWDDgtMGVoCiYihw558YAI+vOgGXKGWdCrslcmVKosM55Tt6NlPTJO+4vufx5wUrPvrOz4YlX4OB9CkBLsE3BWw0fMaSj3+9ZNVMbQvliMSJmDmFPACI+tEaIe/336Nadd6JuKt8wheMp4PN84b2++43EGuUUgheLeTMCUKQvDIoayrEf2fO05u1oxkZ7lc8O X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(346002)(136003)(376002)(396003)(39860400002)(451199021)(46966006)(36840700001)(40470700004)(70586007)(4326008)(70206006)(82740400003)(82310400005)(41300700001)(2906002)(36756003)(8676002)(8936002)(5660300002)(6666004)(478600001)(44832011)(316002)(40480700001)(110136005)(40460700003)(86362001)(54906003)(186003)(356005)(26005)(81166007)(16526019)(426003)(36860700001)(47076005)(2616005)(336012)(2101003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 13:38:34.4789 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 499de1c7-c06d-48e6-6962-08db4b1286c4 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT079.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5216 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230502_063846_023592_3360FEE7 X-CRM114-Status: GOOD ( 14.55 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Production SOM has emmc on it and make sense to describe pin description to be able use EMMC if it is not configured via psu_init. (Still some regs are not handled but this is one step in that direction) Signed-off-by: Michal Simek --- .../boot/dts/xilinx/zynqmp-sm-k26-revA.dts | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts index c206021cccf7..e284979fd7b1 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts @@ -14,6 +14,7 @@ #include #include #include +#include / { model = "ZynqMP SM-K26 Rev1/B/A"; @@ -85,6 +86,23 @@ &uart1 { /* MIO36/MIO37 */ status = "okay"; }; +&pinctrl0 { + status = "okay"; + pinctrl_sdhci0_default: sdhci0-default { + conf { + groups = "sdio0_0_grp"; + slew-rate = ; + power-source = ; + bias-disable; + }; + + mux { + groups = "sdio0_0_grp"; + function = "sdio0"; + }; + }; +}; + &qspi { /* MIO 0-5 - U143 */ status = "okay"; spi_flash: flash@0 { /* MT25QU512A */ @@ -189,6 +207,8 @@ partition@22A0000 { &sdhci0 { /* MIO13-23 - 16GB emmc MTFC16GAPALBH-IT - U133A */ status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sdhci0_default>; non-removable; disable-wp; bus-width = <8>; From patchwork Tue May 2 13:35:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13228947 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 8B9F5C77B7E for ; Tue, 2 May 2023 13:39:44 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uNn+ObwpvFZCXY29mjxzeP2SD0mV+cB2nbzUJ4ByJlo=; b=Amv3cUzhr1fMQC sh/5wGsdK16MD8ZQURrOO0/EM5zoFN/AJ13zvPA/wDmqz4tTl4rCjPyY5x0muePkWjwz7B+hOe84n UYQmNYU8at7KR1czkWpE6A63I9yHNxJKaVfg9dCkEtQEZJhtYG7A59PSx7E5F6LJnjVrXHkZor/u5 LfWO5ZraV6aeu7Y9Ptdxn0VG+7ZWQBDvMhYFJY6MbZnUlIfHuH6hQYj9vX5aRGaSrIf4zc5wDQRNL ig1KM7E9cxsVqTyUEGxlUKwwRy3ztLmhxZIqWZ8eq7L3j/E6eab5pR5kNtC0zxF8EhYxTkC7ErCkR ASwvUoYP1DgQNAVYOGQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptqDS-001emD-2F; Tue, 02 May 2023 13:38:50 +0000 Received: from mail-co1nam11on2060d.outbound.protection.outlook.com ([2a01:111:f400:7eab::60d] helo=NAM11-CO1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptqDL-001egz-2J for linux-arm-kernel@lists.infradead.org; Tue, 02 May 2023 13:38:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WxKZxVMtsbg2u7521a3NSFzNxt16VpMK9wqQ0lhjK0PIwRjDhmpsbOJtsBlSqUacjWL8yQLKId68k0dMJvTvnlCltcocASxFgD43ZW/gtqNKM04anpjelM5e2njDGiXX5zchPDJcp5huk92REbw1XXDGmPE6Wz2tkf7/t7REPZ98qHCckdhAk+fnvySDj6PzVxYuKMyo4IXuS4wVDydDhidsFoS2sIfxkzKmIKTIGwNa2gBjbBcKtouqSSvBhaHzrcxJYEsBkeYKhVExUIBo5qIGgfuHfGHSOSY9MHNaxqVqtRv6GnqXCIpobl7eBntoNYz8sT83a59vJU96NT+Cpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=3EfsS/5i+Z1WpYHE6AGUyvlsJgPv2m+lL8IKcxVM/Ts=; b=lEzDuJ717GYLNx/iEwLXN7cK2zQcMSabfeyxjB/xDxPRbdaoR05ABWt3z87PLnzaQl5tCM2BXEjsYMN4JMmv4lLECHhanSsyL4lo9JXvrq0dndewc+oVAUdvaS2HS1+VazWrzRcqH3wcHr8wj3ZxSd3FyWEV5Al/5RtnS+LjG59MZ4WuV3wn/voR+DDmfmX1ZKlEK90odA6b4DSswHWuFP6nR2R89NB8U0m/kQ+AapMjDEpAbM2jTOOgcZpPDBLwHuVPgKqPRA4oSWcCw/1enhplf55IMY8yhitVoDN/65V2x237G9pEKPwc0eqXvi5tZ5Jw0hBA44GvbkR3dtQDsA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3EfsS/5i+Z1WpYHE6AGUyvlsJgPv2m+lL8IKcxVM/Ts=; b=yLOxOef0bZN9lxV6fJs9kQQfkmnVIMOtLOdOZVsSjFGT96zGLi9ncGvktv2VOHZP9BFzutfsII0ddIs09KZj1a90rwyxpqC3WUK6OlpOMXUuNwfkT/qLqTzhmKaYJsyoaJCD6TxeWoUFMo1MzIuB6924ZvcCg6wPXxNwZv6n8jk= Received: from DS7PR03CA0277.namprd03.prod.outlook.com (2603:10b6:5:3ad::12) by IA1PR12MB6185.namprd12.prod.outlook.com (2603:10b6:208:3e7::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.30; Tue, 2 May 2023 13:38:38 +0000 Received: from DM6NAM11FT096.eop-nam11.prod.protection.outlook.com (2603:10b6:5:3ad:cafe::9f) by DS7PR03CA0277.outlook.office365.com (2603:10b6:5:3ad::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.20 via Frontend Transport; Tue, 2 May 2023 13:38:38 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DM6NAM11FT096.mail.protection.outlook.com (10.13.173.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.20 via Frontend Transport; Tue, 2 May 2023 13:38:38 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 2 May 2023 08:38:36 -0500 From: Michal Simek To: , , , CC: Piyush Mehta , Ashok Reddy Soma , Krzysztof Kozlowski , Rob Herring , , Subject: [PATCH 16/23] arm64: zynqmp: Disable USB3.0 for zc1751-xm016-dc2 Date: Tue, 2 May 2023 15:35:44 +0200 Message-ID: X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT096:EE_|IA1PR12MB6185:EE_ X-MS-Office365-Filtering-Correlation-Id: 86c59c7a-65b6-419d-7393-08db4b128948 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4CfmdKuvMRcEndZ7qp0C2WxZEOcwhP1xeqbgQEMZ+e6WJN55YXgf3x0B1VAT4+IfG59rk43nf0zK7NCTzSiMaXeBUssZFFpdFTaMFmiV+Ev+SaRL+bqAcXv/ZV3c/nGYVe3YaosP/opRRwHXbZlwqQjnBzMlbwqVPpj1nyDCTPridX1TAm2cjUkRUa3HYb0tz6klWh9dd/7OVsYAGyhUI92fichpAF9X7KSfeK+zSeyc6wZbArL0OQahFUqqb/yYM15mKpAJhC2LhBRuFszx0bYoaV+f8IOi7j/N8VnOwj1Bo6G/qjlxUo7FHzy8aa3qHA0Bg0XgokIM/R4KKGsejALCSHxuxpfBsAtpA2E+xDeHCKKb0QSoBhVHsfTgMMoQ871QNNhPoaYfo3BPheS9u8zHw6gZjEpDuJaJuPhqPeLvC0Xa6BEQi7tb4vYWZqo5nSFHz+wwku4Vz2Bud8+pQ33/DMAGvUZVC6e5Tr7tH5GovmFnjfT9i+p0GoX8OUtHVGA5RunwIMTXga9PZ3jJ31I8dZb42EjFHkqZla4+wF5fZ6x5LuRaKcpg+w0BHYMufWkUjg4zqXSmwhVEBfvFWt7l8D4spX10I+EVLB91csttSA+x7CJbG7iWof3QCcNTyt06SE9kRQQMrRgEkZ6qL5qRDn2o0BHEd6suDirpPjcnPtfmXqR3i0OIUx3X4mj3WniZApDbW7uKTry3LF+PkLQkM2wghZ7KtiogfvfIr68P1lmm1BcSE6iWcIfF5xKv X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(136003)(376002)(39860400002)(346002)(396003)(451199021)(36840700001)(46966006)(40470700004)(36860700001)(82310400005)(83380400001)(47076005)(336012)(426003)(26005)(16526019)(6666004)(186003)(110136005)(86362001)(54906003)(36756003)(478600001)(2616005)(81166007)(70586007)(82740400003)(356005)(70206006)(316002)(41300700001)(4326008)(8676002)(8936002)(5660300002)(44832011)(40460700003)(2906002)(4744005)(40480700001)(36900700001)(2101003);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 13:38:38.6997 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 86c59c7a-65b6-419d-7393-08db4b128948 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT096.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB6185 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230502_063843_784239_75D00B8E X-CRM114-Status: GOOD ( 10.89 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Piyush Mehta The board zynqmp-zc1751-xm016-dc2 support only USB2.0 that's why remove USB3.0 DT configuration. Signed-off-by: Piyush Mehta Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts index a2031187d9b3..9e7564235b69 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts @@ -489,8 +489,6 @@ &usb1 { &dwc3_1 { status = "okay"; dr_mode = "host"; - snps,usb3_lpm_capable; - maximum-speed = "super-speed"; }; &uart0 { From patchwork Tue May 2 13:35:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13228948 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 C7D40C77B73 for ; Tue, 2 May 2023 13:39:46 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fQ5nBBjEGImofcx2Lzfc2TQVQTUv2SdD/ei6msOs5CE=; b=YgwOs1ZlyyUHdQ bWPZdsA7XK9wXTc7u8dZ/2WJ6j3f7p4SN3xCAE+rUfDLrwvExhH3/HVfXtQax7PD2e4DCHAMm2I0N CFmGe+wErguHmbxXtzK7ahi0+0EMJPvQYzb1z92T5d+bfU/MD3fW0N0xw0fudezK9vdGtmYnQZNs2 4ePUl8YuZEvHHR4aM+CSqOMAZ9XmHDCur53clD5dQJUkIv44o0jtwRSCkMacvJe24P0ce24WRDWFq rg8sFJk2wR2UrAQoDZC+w8g6q4vqFd9lDADJBKieCOD36ckZfm1Pd1LAa0NnZXlkgqcMKclIrJDgM /teOqBILIYFhdHTUemkw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptqDa-001eqm-0a; Tue, 02 May 2023 13:38:58 +0000 Received: from mail-co1nam11on20629.outbound.protection.outlook.com ([2a01:111:f400:7eab::629] helo=NAM11-CO1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptqDW-001end-1l for linux-arm-kernel@lists.infradead.org; Tue, 02 May 2023 13:38:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LMApNyOdtSKOdiO1XyPE76j2/yN6IMMHaNvtGlq1+eP5IV0z+5tUDJu5ydSIAPQ4DLL2eXf+PYx97E+p5xah/tawpJtVAEbltO+RKjOeLEEpcgISEI/eOl8oXAKkazIwkUXTX7WgLg2dqYnTRkQ0OSHTYBZGXqBWL4ClXoknD4kXFjsTijx0y83E5ZoD6HmB2AKWblJwlEMpcuiK+uuQLrs30LW4rAifR0DvHxq+5/IoFLkN15kcGT27hqj4wvAZomdEywJ5Yvor8pSc6yFKo40ZTQ1oW05ZyGcXAblMJb7Mr6eOa7IFw8UPNEqybyyYgZ6Mqocg2mJ5RRmGmxP5AQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=aNLGlWrtSEfeDZzc0T9mpV3XrkBdor9YMe01kTZX3Kc=; b=ZtBrO42zZR3zkQIGXXtz3588bLeH0G5u4Cl69jfptG9k0ynx+aoIflXPek7ZZ+XuKPPMBE/F38eO14b5DSBQfJTBSasZSjWiG8jE5flQ8iMM4eR36Cw+vY7DVQGKr9cuV4vcG2chAgBXCnjlrnf1C5tRZuS0vjrbK7k0ohmrxMbl9kSgARR7ocgF1lOfXaqrZgcv7GQ6FJChXadwz8cRYDjNmyZ3ylEyWxhpY8tBgUHW26vFUdSabcMkJ8g0+g207Z/oqOojIcsJheQZ1RZKVZHGFMuwWbKWqgfaIpeu7x5dh8fYuGP3bM3HQZtNqXbLXbNa2bldxSevfQBUOc6aCA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aNLGlWrtSEfeDZzc0T9mpV3XrkBdor9YMe01kTZX3Kc=; b=RXS25biU+JQNxI43PghxG+ProLCKLVTcpBg4qUfJIY82hleijG4T7KiUj2uG/W4KuDShryNDPAPK/XwQOMjWUwVOKwwzgKcnHbGyPq9dsUTLgc/kCXn6ddbjcqRhanf8bkJjgZOJvtgA1EMdLAg6f1uiS8G+xXNeiEI57bDQtYo= Received: from DM6PR18CA0029.namprd18.prod.outlook.com (2603:10b6:5:15b::42) by DM4PR12MB7645.namprd12.prod.outlook.com (2603:10b6:8:107::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.20; Tue, 2 May 2023 13:38:42 +0000 Received: from DM6NAM11FT011.eop-nam11.prod.protection.outlook.com (2603:10b6:5:15b:cafe::ab) by DM6PR18CA0029.outlook.office365.com (2603:10b6:5:15b::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31 via Frontend Transport; Tue, 2 May 2023 13:38:42 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DM6NAM11FT011.mail.protection.outlook.com (10.13.172.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.20 via Frontend Transport; Tue, 2 May 2023 13:38:42 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 2 May 2023 08:38:40 -0500 From: Michal Simek To: , , , CC: Andrew Davis , Ashok Reddy Soma , Geert Uytterhoeven , Krzysztof Kozlowski , Rob Herring , , Subject: [PATCH 17/23] arm64: zynqmp: Switch to ethernet-phy-id in kv260 Date: Tue, 2 May 2023 15:35:45 +0200 Message-ID: <4b139e942c2a808eecbb30226b6ea5303348390a.1683034376.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT011:EE_|DM4PR12MB7645:EE_ X-MS-Office365-Filtering-Correlation-Id: c5128070-48d2-4402-d92f-08db4b128b7b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IQz2M3OVHGgPOHiXTOy+pQaY12UvhKYHGq49Wu5+bVg4nPPRStGyj/0RoxwZA1FXJGaljLIN9UVO9p6856pQm+2gcMFVGljMJBv/1wj521xiZld0AdPTJBD3xHrqDtkEeaaFshMi8xIeb6pIfVRNORUAQRQa/Aihdng+dWLdzOwQWstN3ZGdgA7dcxWnVtu0CDgtDvB2+fPnfAdmGOfS+P9l+y2MzKCjDnfV1bwiIj+hCrLKjk+YiyhRHYDQH1UrlqhC9JdtzbnafEbeYXpM4y+bDqOCgFtH73rz8EW4wXFGSiEobvP5qoUZOTbMON//WgpaJKGSmXumE+YSXqVeAIivQPR2FdIo1S91jxKhI+DdlYexF4N5TUVuW+NqWyw5NWsVZsYhzyT5i+spjrRf4K4R+fIQ0d3FkAjLJfr7OwCh4UdVUXdg0SpCsrTKFyrfUPAcG8ZlZ3briz/7wadOIQAHl5AelSPvggoq4Xzs5gV7BYVOWO64w4LQIY4nWfDsJ2m6sYhtJA6J7vVs3sZvTm8WNL/scfD83FECf8ZKAufCBv2/K47+iNXh6XBToi/XnO72tSIDp4ZDMthaBRmWlfgqZZJrD5Y6cRvIYm2ea9zKWOe7s3Zg7E66z0U27VYmyaEag2QLSw8DrPj4gDhdrY3wGhhBq37FtRJoKp67iRr4GHo6cDWuAnQlpoSmSx1XkTgD+LD80ZpzmDiMaqMU4+jTQiHT4rGLAxAkGjKP4EDGsn68myjLawIJFB7ldHaG X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(346002)(396003)(136003)(376002)(39860400002)(451199021)(46966006)(36840700001)(40470700004)(70206006)(70586007)(2906002)(44832011)(336012)(86362001)(2616005)(426003)(82310400005)(7416002)(5660300002)(8936002)(8676002)(40460700003)(36756003)(41300700001)(316002)(4326008)(54906003)(110136005)(478600001)(40480700001)(186003)(16526019)(82740400003)(356005)(81166007)(26005)(36860700001)(83380400001)(47076005)(36900700001)(2101003);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 13:38:42.3920 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c5128070-48d2-4402-d92f-08db4b128b7b X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT011.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB7645 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230502_063854_592133_3EF9CBB3 X-CRM114-Status: GOOD ( 12.43 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Use ethernet-phy-id compatible string to properly describe phy reset on kv260 boards. Previous description wasn't correct because reset was done for mdio bus to operate and it was in this case used for different purpose which was eth phy reset. With ethernet-phy-id phy reset happens only for the phy via phy framework. Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso | 6 ++++-- arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso index cb4a5126c4ec..817d756142ab 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso @@ -146,16 +146,18 @@ &gem3 { /* required by spec */ mdio: mdio { #address-cells = <1>; #size-cells = <0>; - reset-gpios = <&gpio 38 GPIO_ACTIVE_LOW>; - reset-delay-us = <2>; phy0: ethernet-phy@1 { #phy-cells = <1>; reg = <1>; + compatible = "ethernet-phy-id2000.a231"; ti,rx-internal-delay = ; ti,tx-internal-delay = ; ti,fifo-depth = ; ti,dp83867-rxctrl-strap-quirk; + reset-assert-us = <100>; + reset-deassert-us = <280>; + reset-gpios = <&gpio 38 GPIO_ACTIVE_LOW>; }; }; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso index 31bc120dee49..e07cec231ee0 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso @@ -129,16 +129,18 @@ &gem3 { /* required by spec */ mdio: mdio { #address-cells = <1>; #size-cells = <0>; - reset-gpios = <&gpio 38 GPIO_ACTIVE_LOW>; - reset-delay-us = <2>; phy0: ethernet-phy@1 { #phy-cells = <1>; reg = <1>; + compatible = "ethernet-phy-id2000.a231"; ti,rx-internal-delay = ; ti,tx-internal-delay = ; ti,fifo-depth = ; ti,dp83867-rxctrl-strap-quirk; + reset-assert-us = <100>; + reset-deassert-us = <280>; + reset-gpios = <&gpio 38 GPIO_ACTIVE_LOW>; }; }; }; From patchwork Tue May 2 13:35:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13228949 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 D3023C77B73 for ; Tue, 2 May 2023 13:39:49 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=iz8mzwh2j8bnKEK7LvlJIbPWH2N8Oi/2uLXLCPPCcPo=; b=rulfB05b7Y1uGo 6YOEHtJvfnhvndgEkYIVTs+3DuM15NtsKKDEkY7V28aAKLANpc4ZBmoBWiqul9sd0fD3//HBX/r1F ANExAe9A9v6F8xCZAnvX6+8Z6dPOfRttou5NLNqu27Y0ePTFXgvaio67AkloyhJ4+ZYfmR5Js8wNA GaiakmRuw4Mg/wMilAxy2MSm1ccX7ry/wtxTw5NggEyBteFHpp4EnnCCaRxo6YfXrYGEprkOpOs7k NePJN8iJ5L7jWFY4e6X3h0t94gdKdmGe/5qvE+RZbqWNUrHZ6BnjjjBa/tuEFXXFgoOWXF7tok49c R9X52pZJgrCSS7wGF7sg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptqDd-001et7-0U; Tue, 02 May 2023 13:39:01 +0000 Received: from mail-dm6nam11on2061d.outbound.protection.outlook.com ([2a01:111:f400:7eaa::61d] helo=NAM11-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptqDZ-001epU-1f for linux-arm-kernel@lists.infradead.org; Tue, 02 May 2023 13:38:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Iy3MLjl9HaclLBAO/xWPeru3NGyYShkh7j/ClvnfNa7H997HIPZ1s2dTn/qcx3M5BN9rXJtdAtZNrAvcFYJjWrCU1uUqNblLljAzR043qQfnJFrSlT9FMS825nEAwf5rA3+9YjUhD10Ea/p47XiD5yQ5CIqzyBqtOTXetSTn/8MlWiUiRYDomT3TnPAGE2Hy8HpCmWsl9drlhmRpVSEp6NoCFF/G+OfksID8dvgUuLPD0p0G4u4v9voqz51sP5Q5yTXDq82yIBrKjBL/v1JirYUVjusm8NQWDnvq+Z5KfaEK2jOdwXsLssi0pqOfGxUFKRPl7dqjrMsfNbpKPWxKcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fNiveV60GuuaJ0XYxjjVasyQZ671WbS96Ms8V5ryStE=; b=aAJK9bdVjH2d/vGPXDv1Pl+NpTh8AF952oJkdoggjjommjXl8sLVD+NZQ3dlpLyYD8KfvNpTt6H3e9a3H16MRHTeh3Zt58Jb5viC51ALkAUAKT86QTRmMaS88hp1G/obWmltpYFVS/osUQDdc0SIfkklbVcREmwXNqGRlHPUlFdEjZMWRVmZfGu6oLtqcMSkltRiTnZAD7/aRX1cb3cUn7mE0fBCNhfzGjBjt8WdDTA75jarFZ0y1TGjfZHq9EWkf9cTWEiD22pXSHmKQCF6Z+ZrGAEtxVIkhI6mfvsSu06ivBIQHTOw3U0YAVzjsXIj88l/cLKw36CPyOwHKSYTIA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fNiveV60GuuaJ0XYxjjVasyQZ671WbS96Ms8V5ryStE=; b=r91CXhNXZTYazMC+Ujz40necvXTv+947lP4/JQn1bJsiNAMYYkB0+ZUr0ncIr6oygIbJFAlG1Y8u9V1Zbt59/oCPyOMVrBaZd8LsalKM6AeY0iMrLTkixgaxeDhhzhvFmbfV0zSrPg0i+qK8kQDxrZ16iXqpnY/PtpPCY6N3Poc= Received: from DM5PR07CA0061.namprd07.prod.outlook.com (2603:10b6:4:ad::26) by MN2PR12MB4485.namprd12.prod.outlook.com (2603:10b6:208:269::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31; Tue, 2 May 2023 13:38:52 +0000 Received: from DM6NAM11FT075.eop-nam11.prod.protection.outlook.com (2603:10b6:4:ad:cafe::95) by DM5PR07CA0061.outlook.office365.com (2603:10b6:4:ad::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31 via Frontend Transport; Tue, 2 May 2023 13:38:52 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DM6NAM11FT075.mail.protection.outlook.com (10.13.173.42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.21 via Frontend Transport; Tue, 2 May 2023 13:38:52 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 2 May 2023 08:38:44 -0500 From: Michal Simek To: , , , CC: Andrew Davis , Ashok Reddy Soma , Geert Uytterhoeven , Krzysztof Kozlowski , Michael Tretter , Parth Gajjar , Rob Herring , Robert Hancock , "Vishal Sagar" , , Subject: [PATCH 18/23] arm64: zynqmp: Setup clock for DP and DPDMA Date: Tue, 2 May 2023 15:35:46 +0200 Message-ID: <807e22371394222f728ff7d6b190a96a12145439.1683034376.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT075:EE_|MN2PR12MB4485:EE_ X-MS-Office365-Filtering-Correlation-Id: 77e02d32-4c35-4f63-dba1-08db4b129151 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7O9q3E25MMZp6VdWd8ozuBIFi6r8yTnTYKOYInXj6c8rcyyp/bG9wOZPGmBLnAANh/vptUS4Fdx5SurtXtTYdKWuvjdocRsy1oWsCO6rKDmStjtX3Iq7v9g4A8XcixMOOy4xKltIUByOkGL2PMU8L1dyqlWvrTvT8CydcqWn32tE7LgAur3PkyxElpovv8h79AaiZ8NWSAcNHcxpA71BqiRn9bUosbSpuL5sA5uI2Die3azYlqqOogDWm6LQhFRjmYN0epxHDEmLWDgQWYz1I0ttOWuMd+bMZIrw36tBfUKqhPRni+XGOC6FqJ+PQIW2sUJP+pDbSAnlRaK14XGhF3wyHbZZzSQfU9RQ0skAc9crGT5ZYNcPq+sbs9Ydnu6KbEnfy4jC6ZTilgNVvSX3Qa10Ss4kPMofD8ghxOZjjUP+UvHoBiiXNhh5M+kTvtkL8VJY+w1w37J0rxrxGwDDQ/gOdYkzECRsC6JZf9li/RQMj3mYl3JQdaAM9IzjUld4hOW0LOuh5O/RMO6jPehic5o0m/shhpNHXuTTzeVwb53lCaQL/EzYiPMAO1ZJxm3rghgFecNJ6NeThNCQ1etOUO2RlviJs3vmHjQomXU1Kdp8u4+jMvnhb5C0+ycXp9hO8LjQljit93252eBFww/m9GccbxoKMMWpleCsi5DYcXjlkc4QwZnkRmrTX+RbtT9SD6EqqPCw56zoGNdeTGCpGtAHiSLg/ofDqF2BCpB0mwGces7e0+JNIxCu9U7myo+w X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(396003)(136003)(346002)(39860400002)(376002)(451199021)(46966006)(40470700004)(36840700001)(44832011)(7416002)(2906002)(40460700003)(86362001)(82310400005)(41300700001)(4326008)(70586007)(70206006)(478600001)(316002)(5660300002)(110136005)(40480700001)(8676002)(8936002)(54906003)(82740400003)(36756003)(81166007)(356005)(26005)(16526019)(186003)(2616005)(83380400001)(47076005)(336012)(36860700001)(426003)(36900700001)(2101003);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 13:38:52.1831 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 77e02d32-4c35-4f63-dba1-08db4b129151 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT075.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4485 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230502_063857_559957_6B2D7325 X-CRM114-Status: GOOD ( 11.22 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Clocks are coming from shared HW design where these frequencies should be aligned with PLL setup. Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi | 4 ++++ arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso | 2 ++ arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso | 2 ++ 3 files changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi index 681885c9bcbb..581221fdadf1 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi @@ -248,10 +248,14 @@ &xilinx_ams { &zynqmp_dpdma { clocks = <&zynqmp_clk DPDMA_REF>; + assigned-clocks = <&zynqmp_clk DPDMA_REF>; /* apll */ }; &zynqmp_dpsub { clocks = <&zynqmp_clk TOPSW_LSBUS>, <&zynqmp_clk DP_AUDIO_REF>, <&zynqmp_clk DP_VIDEO_REF>; + assigned-clocks = <&zynqmp_clk DP_STC_REF>, + <&zynqmp_clk DP_AUDIO_REF>, + <&zynqmp_clk DP_VIDEO_REF>; /* rpll, rpll, vpll */ }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso index 817d756142ab..4f18b3efcced 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso @@ -99,10 +99,12 @@ &zynqmp_dpsub { status = "disabled"; phy-names = "dp-phy0", "dp-phy1"; phys = <&psgtr 1 PHY_TYPE_DP 0 0>, <&psgtr 0 PHY_TYPE_DP 1 0>; + assigned-clock-rates = <27000000>, <25000000>, <300000000>; }; &zynqmp_dpdma { status = "okay"; + assigned-clock-rates = <600000000>; }; &usb0 { diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso index e07cec231ee0..77bc806b15a1 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso @@ -80,10 +80,12 @@ &zynqmp_dpsub { status = "disabled"; phy-names = "dp-phy0", "dp-phy1"; phys = <&psgtr 1 PHY_TYPE_DP 0 0>, <&psgtr 0 PHY_TYPE_DP 1 0>; + assigned-clock-rates = <27000000>, <25000000>, <300000000>; }; &zynqmp_dpdma { status = "okay"; + assigned-clock-rates = <600000000>; }; &usb0 { From patchwork Tue May 2 13:35:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13228952 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 4341DC7EE24 for ; Tue, 2 May 2023 13:40:02 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nhed288f0LpAYrEEvPZKggYkjDKwk/Tn20JDg5YKGZM=; b=JK53k3GDzQGmO3 wp7g6KrGVfF0a7vwQQduwSQ0MBMGyDj6OlIySEuhN1Q3/sCiC4pOUpeBavQ0ZeDNPBqV97Z67xlIU qdl9SQ0ghJ+lJfgqLB03UerbWE62GI/nX8mc81ju2pfNUVtZQL6ZXs8pSEaLXdt8La9I6c+Fyu2+k m2lkLt6Wg4yTaaHeNqm3rP77KFNUfOHEBApnE75HKGQTE3YxZtGrPHy+AZXEjcuUJPsim5XET3e41 iSC0OPpeysbeOL10ftcIcSw9L5xQdMk5o8BQ85AmIfoWdPgm8gN3ZoOTS+eUrON8VlZjg83vWXrk/ 4yvLKUOSUR0TIgWVbK/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptqDk-001eyB-1Y; Tue, 02 May 2023 13:39:08 +0000 Received: from mail-bn1nam02on20614.outbound.protection.outlook.com ([2a01:111:f400:7eb2::614] helo=NAM02-BN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptqDc-001eq7-0a for linux-arm-kernel@lists.infradead.org; Tue, 02 May 2023 13:39:02 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YSsrdPlsGWIl/+W6fk20Tt5LYUCOl7frHqyakK459oJmjdZRfimMkCUc2I+l2HFjJgfgVGqyDtp652AtKkkOmgSV+Xjjq9ihmgHNsDAsAtUbSPQHvEsQwOd+3tP9WdJV1dECiYgLb0UbnXpj0y3m4z9pWvn3K2/t3EXcA29jf2BByhca8eSFMQ2cxPxygs6Wk49U4iy79wAfmWqVOpNabGGUa4Ok0aVDYvRnhpWFEpqnitarIgKldhKpUiq3ybD6sfbM6OTohK6g5iOWdSfmCGhP0/SfDAFgz8Ku0YOo2rAqDGRp7P57BQ5v1gLSsbc2/AePTNTgaaW9pTJ/uVswUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=6d7SN8DlIxoIw8h6ZkSGJGoGFY1TvwO1W0w0thzW8eE=; b=Z0q3IPtIlMN6Gn4gkS9qGnShhCI7VQ1Ea4Hot+X5HM5jZ1OoND3E7qeRkvikYI7YBKaf0kFs2C4x7G2jYlxrHtTDuWAE3RCtcDT2fF4lNO4tHNSMtVetDspLGBeDelykCx6vkqvHGhrz2f8TNnPlBQWn/C8t7+CZc/70EK02Un8/QwJLOcaRdCpN44qre5yfKG1KGVOaTJfExvI//V6z0NFLoBLVKGeQljdSvkKHmQbXMIStiCFGUn5kRJpAHmPvw0zzUkG+yC88HCAj6uwWgBzrJeXsgNT+XzqKmkdQT5NLiTKZ0ZPnxE0FaH0N0uGoG3/orebAJiAlp7iwRoWw4g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6d7SN8DlIxoIw8h6ZkSGJGoGFY1TvwO1W0w0thzW8eE=; b=XQlXcFYOUHY08QUHKku/rQ6yuzKoD38pAhp5tXB1fX0rJpLVS6rFv7LQcpQ/Fgx/KviVBNwAgDjmb3m3/5QXx+M4Kca8EDsh2TBkSsyFcFSUc+GMqKF//fo/zHm/Q9XJqG4dHJR3ohVoT7iApcK8/6mCc6B6yuCjZYOJrz4tluE= Received: from DS7PR03CA0228.namprd03.prod.outlook.com (2603:10b6:5:3ba::23) by DM6PR12MB4482.namprd12.prod.outlook.com (2603:10b6:5:2a8::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31; Tue, 2 May 2023 13:38:54 +0000 Received: from DM6NAM11FT091.eop-nam11.prod.protection.outlook.com (2603:10b6:5:3ba:cafe::95) by DS7PR03CA0228.outlook.office365.com (2603:10b6:5:3ba::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31 via Frontend Transport; Tue, 2 May 2023 13:38:54 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DM6NAM11FT091.mail.protection.outlook.com (10.13.173.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.20 via Frontend Transport; Tue, 2 May 2023 13:38:54 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 2 May 2023 08:38:48 -0500 From: Michal Simek To: , , , CC: Andrew Davis , Ashok Reddy Soma , Geert Uytterhoeven , Krzysztof Kozlowski , Rob Herring , , Subject: [PATCH 19/23] arm64: zynqmp: Enable DP driver for SOMs Date: Tue, 2 May 2023 15:35:47 +0200 Message-ID: <15d16b4de933bfae108df6ca368eb2cdf916aa02.1683034376.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT091:EE_|DM6PR12MB4482:EE_ X-MS-Office365-Filtering-Correlation-Id: 26fb8484-1436-41f7-b12c-08db4b129267 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xzMCtRhsCBp+u00CSekKkb9CcLfLerU2ApoFRNv8h0burdWBT/tbODWj5jDoy71qPLJ5c00Ntt5cCEIl2Ai5o90HIxGnkVOjsqjZCeX7zI1fKK+BpQ8OPtF0aQZEalcuTriM7jmU64IQomAO+N2Mcki4rBMFTeUY8vKy8BT/jqlKJL6PFYEjwd6Y5nGclWKDjwggWLfV3vI88RarueKVPbHHT58SNynsObzCvrtVP6dEIRpK3G7Ayyh0WYADhFgCHOOLJ+drp7Tuoszv67u1AryD4OZ7pIPkYw0Nml71IU8sofL4i6jXXBxgSOwLfxqv7c5/3t1j0daNsRAYVVO4g1wLnKWoDjrShd1KB6UrbeiDjQY0uR0TY/XeQ2uNOE4WuNh/0s+KazziOKg6cKMC3mWd9Alkttut0te1sBvhIVkV+KnQssIr3OHl6WrBsvfkyrj+zr5YLhsM16PDQNdbInwvyzu5Uigi/No4u7tnBl/BjK9dG8Qg/6zJo89+MUcIUvQBQwnVXuDyMVTHneOB957C0FH187yIjAb+W3vHSPaFgDHS3Jz4/MuNfKkFJSNcCQUSxxFg73pNgqH3i4mKw1zLR3LHf1vJK8H0DdnxGovyXYIOCiIanyIwlKpafElBa1rhnewkCPfvNhGIVPXQ2JR3ZDu4yoas1rYSIrhaJQxcrbGf4nnvH+tj5N3fiQWpuXMJKQyYQ/TR2HYbz52xwNcG8wGMFElRI2pFFcoySZwkbxPs7Uoh0/3rH2CUnXei X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(39860400002)(376002)(346002)(136003)(396003)(451199021)(40470700004)(46966006)(36840700001)(426003)(336012)(2616005)(26005)(41300700001)(70206006)(70586007)(36860700001)(81166007)(83380400001)(47076005)(16526019)(186003)(40460700003)(478600001)(54906003)(110136005)(82310400005)(44832011)(40480700001)(4326008)(316002)(82740400003)(356005)(2906002)(5660300002)(8676002)(7416002)(36756003)(86362001)(8936002)(36900700001)(2101003);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 13:38:54.0039 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 26fb8484-1436-41f7-b12c-08db4b129267 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT091.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4482 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230502_063900_232361_3D235CD3 X-CRM114-Status: GOOD ( 13.65 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DP DMA is already enabled that's why there is no reason to keep DP disabled. Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso | 2 +- arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso index 4f18b3efcced..776444714fad 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso @@ -96,7 +96,7 @@ &sata { }; &zynqmp_dpsub { - status = "disabled"; + status = "okay"; phy-names = "dp-phy0", "dp-phy1"; phys = <&psgtr 1 PHY_TYPE_DP 0 0>, <&psgtr 0 PHY_TYPE_DP 1 0>; assigned-clock-rates = <27000000>, <25000000>, <300000000>; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso index 77bc806b15a1..78d082a11492 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso @@ -77,7 +77,7 @@ &psgtr { }; &zynqmp_dpsub { - status = "disabled"; + status = "okay"; phy-names = "dp-phy0", "dp-phy1"; phys = <&psgtr 1 PHY_TYPE_DP 0 0>, <&psgtr 0 PHY_TYPE_DP 1 0>; assigned-clock-rates = <27000000>, <25000000>, <300000000>; From patchwork Tue May 2 13:35:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13228950 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 71BD5C77B73 for ; Tue, 2 May 2023 13:40:00 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nMVm1QouxBaIwhYDBwhgNJEotyiTTKzwOhDRBU8oZ3o=; b=18LnASBknl2xQ0 QAuC7eexcnVGyHfID7jXuAJn35B/RmTLWnkwgDoCPrhvI+zpNt5CJcwFjEH9lwLDpK0ghv7MTHKMY +BWfe4S/PhCMDB8C6AbXX669oWFH9XUgRVxp1+cKoJ+CQhXkXUEEwPkQpgLp5/6iUWVycLcHxRsdm NEawgFhaZQbrx8Jtgr9Z+2DbUSX3632JZG0Dd2GqKXMu4oAVRimdJU3MFKj5OAciif0Pue+MkuTGa PpijcksGZYV8yRFzFOSXs4fydg8TCeZHCYR8dPLw0wH0uuVjdANYPvXpQknJtecroJ44z8mkr7WgO wEai+TDeIoZDUQKoCMcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptqDg-001evR-1h; Tue, 02 May 2023 13:39:04 +0000 Received: from mail-dm6nam04on2062c.outbound.protection.outlook.com ([2a01:111:f400:7e8b::62c] helo=NAM04-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptqDb-001eqN-0k for linux-arm-kernel@lists.infradead.org; Tue, 02 May 2023 13:39:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HaOjbM2Lq/BYvHbItMhlPNeXk3070mc1KVAQLjFZwDkFR5DPJAxadB5/bzbema8GMksEtZ7k2b39BM3VJ0O0md6uNmpZA3aR54MHenNPJ+GZz5qeSNTrI7vYCAhAGedyD9gniqry6ZPY7jRCdlZAQLSwrOiVyIjA/tpBwOaB++6fBv228qR4+fdyCCs9oaf4p7nZNWYso+4/nIu5yJFEYtz8u+8k9lE3QSK0kvZ5rhhIJ4EMh+A0DRPGS2EaQjZoNLlV+mNLICAV/dLJtrEAbv25EmoN7v/n2UtqMxMyQUCl77/wYbsggH3NLbIGn2+ghF5ClhqI7cQNuHBPVCNTrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JlKA4lzSHjnUC0y7zo8ZQ6TN9spPSCrk4L2XerL+xI4=; b=lEkrZF+Q+qKvPNrf8M0RBr/RuWkeHZKTVi+u+ysa1/lJUzhg43iLt+yjsGqMX9wwuvyprOLpcqlNPB2E1DguNdiHcCmjaopI1SVXiCOWAi4DW38P2L/T9TUGqsyGPAPfT2Bc885ZrlYPGG6lrsNefN2zsHpJgh6VfslIXrw6B7dgHpvJT7RKAIRlP1YQLoYt07FwoNNdk1UM4zSYM2m+YvSnXV9DCp/KbrVabmol2xuETXISaNvso/cipwPhlZZYVAdG2XYH2HVgMhakV/jOKa7DFyZuymQ1eJc6bD8lg/Mcg7DF1zzAvtxJk1HujF2D1E/9myz1VrtNxNHkXDB/zA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JlKA4lzSHjnUC0y7zo8ZQ6TN9spPSCrk4L2XerL+xI4=; b=O4e2gmGO9E5QWUD43YiQBMthXQ3qTyLEmq2ZYGFG5jBQ7u+TeWrHULj50/j8vq7UxMcQakQPkJL6Ogcko+zEhU1gYcrQh2gHAYyMCRj3rYb/c3rUyLIjlKyeA10lDiRV3MZYVY1m4ydS0ZpKGdoeHwndfMIyu0O5GF4+az527pg= Received: from DS7PR03CA0214.namprd03.prod.outlook.com (2603:10b6:5:3ba::9) by MN2PR12MB4359.namprd12.prod.outlook.com (2603:10b6:208:265::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31; Tue, 2 May 2023 13:38:54 +0000 Received: from DM6NAM11FT091.eop-nam11.prod.protection.outlook.com (2603:10b6:5:3ba:cafe::32) by DS7PR03CA0214.outlook.office365.com (2603:10b6:5:3ba::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31 via Frontend Transport; Tue, 2 May 2023 13:38:54 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DM6NAM11FT091.mail.protection.outlook.com (10.13.173.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.20 via Frontend Transport; Tue, 2 May 2023 13:38:54 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 2 May 2023 08:38:52 -0500 From: Michal Simek To: , , , CC: Harini Katakam , Krzysztof Kozlowski , Laurent Pinchart , Mathieu Poirier , Michael Grzeschik , Piyush Mehta , Radhey Shyam Pandey , Rob Herring , "Robert Hancock" , Sai Krishna Potthuri , Tanmay Shah , , Subject: [PATCH 20/23] arm64: zynqmp: Rename ams_ps/pl node names Date: Tue, 2 May 2023 15:35:48 +0200 Message-ID: <373136eccf8d22cdfb499adbc8d5f5510d6c1035.1683034376.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT091:EE_|MN2PR12MB4359:EE_ X-MS-Office365-Filtering-Correlation-Id: d57394b1-48fe-40e7-201b-08db4b1292da X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BIiqdZEpGf2hKdLN7qBy0jYE/hZ/rkLRGEADoBK97W3x3zsdlwsM4B3pstioM2aTK2QQRhrRdGXjUu+iAb4HBzulon7K9xXXzzHX7nxW3miCabMmyjiaKiJ9KrXsFV/PTNEUMVw738YoMBHPsdZRjSS0CM8J7gJ3PL2z8RU95G51zdom58sdIuuAP19G9be+4UReBZBCi2Mh8HVTpflgPVo0sPTUaHOwEBX5kRFTWTvJzJV+MvnHH4oyjuZX6ldoSa0fvcd+qtRUUy5sCNcQ9LahkjWFVcxe9qmyoC0Kg5dzEGhvxf8ogMEnBm8rp0ooEB2wTbhwJAGryUywZPyO/F/ZPoq2ZUVqaC6iVGuMSdb3c9bGOk85V2qENgY2nmRGseARHu1teYlR6dg95nKd2quFWSr0922Hlad3hozumI5v2NrYjDkebH5KK+jHZntqV3QC2yFaAau9Qyjsvhr1902o5TxME2qC6j6C9wMT3vxbHeUYpekivNcmP66Oga/Gup2UetkTJ7w5Eu1NH79A+00UDOf6Rwx89ntOD2hSTSkE/G+Z1+Rf3YCyw82xLucm/Y0AcKWb2ScChaexDPhm4aFWMF/1XQqQdrnbd8786+qW5yMHmKhf27LptO2cpgYwi6gd6e6Deq+Ru+2ZOceXdqqJ58yiI40QQKRGUkDaoqeZm4KHDAZnj/sfFNTOKSItW0tXfeg79/po7rAom+eGSRPOTMLdh24j+RAJ8moIs5idOe2esp0pWlUDt2/CoNNB X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(396003)(136003)(346002)(376002)(39860400002)(451199021)(46966006)(36840700001)(40470700004)(6666004)(47076005)(83380400001)(426003)(336012)(36860700001)(4744005)(2906002)(26005)(16526019)(186003)(110136005)(478600001)(2616005)(82310400005)(36756003)(54906003)(40480700001)(81166007)(41300700001)(70586007)(70206006)(82740400003)(356005)(316002)(8676002)(8936002)(5660300002)(7416002)(86362001)(40460700003)(4326008)(44832011)(36900700001)(2101003);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 13:38:54.7539 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d57394b1-48fe-40e7-201b-08db4b1292da X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT091.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4359 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230502_063859_291512_A83AABF4 X-CRM114-Status: GOOD ( 11.95 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fix child node names to be aligned with commit 39dd2d1e251d ("dt-bindings: iio: adc: Add Xilinx AMS binding documentation") which requires names as ams-ps@ and ams-pl@. Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index 7bd3e816226a..d01d4334c95f 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -955,13 +955,13 @@ xilinx_ams: ams@ffa50000 { #io-channel-cells = <1>; ranges = <0 0 0xffa50800 0x800>; - ams_ps: ams_ps@0 { + ams_ps: ams-ps@0 { compatible = "xlnx,zynqmp-ams-ps"; status = "disabled"; reg = <0x0 0x400>; }; - ams_pl: ams_pl@400 { + ams_pl: ams-pl@400 { compatible = "xlnx,zynqmp-ams-pl"; status = "disabled"; reg = <0x400 0x400>; From patchwork Tue May 2 13:35:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13228951 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 50FFBC7EE21 for ; Tue, 2 May 2023 13:40:01 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RsLKhe/FVWOYCJqI1dz6pfUb1TlkNo0Oyg4QA8qO6NQ=; b=DzkTicTlWwcYOv gYq02m/MUQa2iq/UtL/IBJTavH3zvyT5eAGk6syE1m97tO58yWRFg+V289xfGgyb4cwWPWzkXU/LA H6Y03Qcd8DamWW1nmPgKiAXKbDeEE35/t5uNSarBcWTZdCHSBpFkeBEMVUa/1bimWtozBE7osGXQh bHRwNqmWQS5yYtgZiRWVsyWJohAkXCIW8ByKw5tMSUHmDHWf8GhQXloEwcEqYESVJoeZpB68FOOCm fZ4FUyZcZyZIvfKbQPOiNObast7wpUP5b9DGk1OKEb6YHwQY8T3BU+Xj0++U2pYyMs0bLS55ZoZLF kTfeXc2crkvg7mi4uH8Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptqDn-001f0V-04; Tue, 02 May 2023 13:39:11 +0000 Received: from mail-bn1nam02on20620.outbound.protection.outlook.com ([2a01:111:f400:7eb2::620] helo=NAM02-BN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptqDf-001etm-1t for linux-arm-kernel@lists.infradead.org; Tue, 02 May 2023 13:39:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F1X0kT5wEPlv5mCgvYNdVzoTf8fEP+DdfIw09AZ6JYOLKgaGpoYTHJOAQHzCzyaE/Ab3c+WpCazOoqJRj9E39em4x/LsE2Wu67eikZqCJ6PQTBjGicRzaREVBp+k6bBxPXg0BMY0o7tnTfiLTAPdHAWkIF0q+8o1AFcFrIERYWpA3gseu/DL2u2uhOPdTrN0RwyORafL7ZlXKXd4OqzV9fLVBp4en6LhpBbPV5amHIBE7NMbG0XL2CvrMylL3mlMEO6oV/2LEleNu0c3OkOAu36sW7gkh67oTDWL2cIo1WN4dB8XUeXC9fbkwvD7mG4Bq38Y9AO3dHJZ+Y1S/d4kfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=I66oDhtjnBAbpFeLWcmzAVm3wHlrwZ9f/pG3f+xCC0o=; b=DBDYnL8cGfyutqjA+UyYFjTWOZT0DQ+WOjOy+SULIUpMX24MmSoxWL8nf43FAbsf8rZQKzqxkkwvIyTx2nDieFCyzfdAAIsYS8HcM80M/WqlIuPvcuACa/WXCtBxHh2Qx8gEqOkbqap4lanVrngRazcuyQZLzTtTrjlbLRfQCv7cFFAmXH/ezy3jM5CQ6da3uaVcYUa4OvW/Uz41In0lBpUcwWB0RWABwdyeG6f9XCM169JRA3hBv8kcFhSWcNoEiI8Te7lG7K2ysfa70QGhQMdw6jB1T87S38HQAxhPWu2bL9gq1DZ+oMSmU0U8nYuZOpsZwneuP5jvMGgze58A6Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=I66oDhtjnBAbpFeLWcmzAVm3wHlrwZ9f/pG3f+xCC0o=; b=1nKDoTQWUU/zuXm1Z5HQHaIETNPcDm1RK+uw4uAlchhEtP0Ukg4+K9eagpN8QKhAGt/2YAQ9qr8RcxSKG32OvhHHrxXFnNutGSI6hKw4guZB3itImJhKBmD02yn2wjXp2txD6gxJZ3U9UkBAvBrjSQb3mGx+jXbaeEHItsN2Y/g= Received: from DS7PR03CA0185.namprd03.prod.outlook.com (2603:10b6:5:3b6::10) by SN7PR12MB8146.namprd12.prod.outlook.com (2603:10b6:806:323::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.30; Tue, 2 May 2023 13:38:59 +0000 Received: from DM6NAM11FT048.eop-nam11.prod.protection.outlook.com (2603:10b6:5:3b6:cafe::c) by DS7PR03CA0185.outlook.office365.com (2603:10b6:5:3b6::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31 via Frontend Transport; Tue, 2 May 2023 13:38:58 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DM6NAM11FT048.mail.protection.outlook.com (10.13.173.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.20 via Frontend Transport; Tue, 2 May 2023 13:38:58 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 2 May 2023 08:38:56 -0500 From: Michal Simek To: , , , CC: Amit Kumar Mahapatra , Ashok Reddy Soma , Krzysztof Kozlowski , Parth Gajjar , "Rob Herring" , Srinivas Neeli , Vishal Sagar , , Subject: [PATCH 21/23] arm64: zynqmp: Enable AMS on SOM and other zcu10x boards Date: Tue, 2 May 2023 15:35:49 +0200 Message-ID: X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT048:EE_|SN7PR12MB8146:EE_ X-MS-Office365-Filtering-Correlation-Id: badf0151-5cf8-4b1a-dca0-08db4b12954d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lPfruRJVvruFMztUsJpP4KOBYZ+pzgM84+gyjTgFossI/jUXXNnVLHPQ+FhmKtehxwy1s2ux6fHnJvXwdDtHe5bOHYDwnUX3X5ShQsvga2P0JJjwXi7ujXwkNMKn7RvUAXIgBM05Sn7BNVFwtoW0ppR3wc6KAihISSdUFAxfc9FHrideGVJgFMdjyQAiyZ+L0NusxuAYmTL/WGj6+8uIezByEVlcTQ6LH9jnKvyOCyv+jG0A+5jdBeagKJbL3m+3JmgE3fRRFJV71Dw8SVLrA7ZATEzDpFeTW1VICc9cy0OjQyVEfI7bZwVxWhxpqqMv/hoR+Sl9jIX3chPQnweClvcV17+K3kOH3WmyQA0kYi3JfLU/vEaM2MmKT12Tx353+XuimNQMm+S5DDq96aWfajP8jKIdQF5BJluAKbEZhkhE9aIcdUsFQ43rUDujMmIv1nocgE539lWiHNRlqSzSlmmow4JLYn9UdiqywR5G3TE4kztgtOuCX7M3BKRhoa/dmTllKFLRYzmMD8ZvRMpBDcMiYCLOmTSPcwj9DfSolLuIfeZid8KM2Z6XCnmuYvsw9XXuLzlOK45JtwNOJpKsU4SWesFkQcOYaaEDBrXgOuSLNXBKS4cL+PZTy3kcvNdwkA7p2oMUMoKGA6HdbrbKfvy9ntUw6QEUeQpJnbGuL5IpSwMAlRCIQCOEQ9RQ/AvRc2Uc/GJanF9MWuyUAPrpCJUsHuWxl02PkWzfxPcxCIB/IRgIzkkZWg+356rLfg5M X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(346002)(39860400002)(136003)(396003)(376002)(451199021)(40470700004)(36840700001)(46966006)(36756003)(110136005)(336012)(478600001)(40480700001)(70206006)(70586007)(54906003)(4326008)(6666004)(426003)(316002)(40460700003)(2616005)(26005)(186003)(16526019)(82310400005)(2906002)(8676002)(8936002)(44832011)(41300700001)(5660300002)(7416002)(81166007)(82740400003)(356005)(86362001)(36860700001)(47076005)(2101003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 13:38:58.8834 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: badf0151-5cf8-4b1a-dca0-08db4b12954d X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT048.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB8146 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230502_063903_653886_8513089E X-CRM114-Status: GOOD ( 11.61 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org AMS is used for monitoring system. Used for measuring voltages and especially temperatures. Origin interface is IIO but via iio-hwmon it can be moved to hwmon framework too (done for SOM and zcu100). Signed-off-by: Michal Simek --- .../boot/dts/xilinx/zynqmp-sm-k26-revA.dts | 26 +++++++++++++++++++ .../boot/dts/xilinx/zynqmp-zcu100-revC.dts | 17 ++++++++++++ .../boot/dts/xilinx/zynqmp-zcu102-revA.dts | 12 +++++++++ .../boot/dts/xilinx/zynqmp-zcu104-revA.dts | 12 +++++++++ .../boot/dts/xilinx/zynqmp-zcu104-revC.dts | 12 +++++++++ 5 files changed, 79 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts index e284979fd7b1..78ff6a9b3144 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts @@ -76,6 +76,20 @@ ds36-led { default-state = "on"; }; }; + + ams { + compatible = "iio-hwmon"; + io-channels = <&xilinx_ams 0>, <&xilinx_ams 1>, <&xilinx_ams 2>, + <&xilinx_ams 3>, <&xilinx_ams 4>, <&xilinx_ams 5>, + <&xilinx_ams 6>, <&xilinx_ams 7>, <&xilinx_ams 8>, + <&xilinx_ams 9>, <&xilinx_ams 10>, <&xilinx_ams 11>, + <&xilinx_ams 12>, <&xilinx_ams 13>, <&xilinx_ams 14>, + <&xilinx_ams 15>, <&xilinx_ams 16>, <&xilinx_ams 17>, + <&xilinx_ams 18>, <&xilinx_ams 19>, <&xilinx_ams 20>, + <&xilinx_ams 21>, <&xilinx_ams 22>, <&xilinx_ams 23>, + <&xilinx_ams 24>, <&xilinx_ams 25>, <&xilinx_ams 26>, + <&xilinx_ams 27>, <&xilinx_ams 28>, <&xilinx_ams 29>; + }; }; &modepin_gpio { @@ -327,6 +341,18 @@ &gpio { "", "", "", ""; /* 170 - 173 */ }; +&xilinx_ams { + status = "okay"; +}; + +&ams_ps { + status = "okay"; +}; + +&ams_pl { + status = "okay"; +}; + &zynqmp_dpsub { status = "okay"; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts index c99abb99efcb..c8be41d77cb9 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts @@ -59,6 +59,15 @@ switch-4 { }; }; + iio-hwmon { + compatible = "iio-hwmon"; + io-channels = <&xilinx_ams 0>, <&xilinx_ams 1>, <&xilinx_ams 2>, + <&xilinx_ams 3>, <&xilinx_ams 4>, <&xilinx_ams 5>, + <&xilinx_ams 6>, <&xilinx_ams 7>, <&xilinx_ams 8>, + <&xilinx_ams 9>, <&xilinx_ams 10>, + <&xilinx_ams 11>, <&xilinx_ams 12>; + }; + leds { compatible = "gpio-leds"; led-ds2 { @@ -581,6 +590,14 @@ &watchdog0 { status = "okay"; }; +&xilinx_ams { + status = "okay"; +}; + +&ams_ps { + status = "okay"; +}; + &zynqmp_dpdma { status = "okay"; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts index 5b6403865541..b2e1f3581f6b 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts @@ -1027,6 +1027,18 @@ &watchdog0 { status = "okay"; }; +&xilinx_ams { + status = "okay"; +}; + +&ams_ps { + status = "okay"; +}; + +&ams_pl { + status = "okay"; +}; + &zynqmp_dpdma { status = "okay"; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts index a74a2061431a..1f30c37c2e03 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts @@ -511,6 +511,18 @@ &watchdog0 { status = "okay"; }; +&xilinx_ams { + status = "okay"; +}; + +&ams_ps { + status = "okay"; +}; + +&ams_pl { + status = "okay"; +}; + &zynqmp_dpdma { status = "okay"; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts index 73972d83ed4d..474744278b97 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts @@ -523,6 +523,18 @@ &watchdog0 { status = "okay"; }; +&xilinx_ams { + status = "okay"; +}; + +&ams_ps { + status = "okay"; +}; + +&ams_pl { + status = "okay"; +}; + &zynqmp_dpdma { status = "okay"; }; From patchwork Tue May 2 13:35:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13228953 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 E7515C77B73 for ; Tue, 2 May 2023 13:40:12 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KDXXVynK9aO4oa6mKcfaS5W3PfwGaeaW0EgiBgfFlHw=; b=HM2LmqhBD7car8 LrqcIIfm4FZumUL50o0qsHBbQlKH2D4WFz3eTcT1ZjzdObboY7yGs/drhv67Kv/5DDcNJ9JJ/KYNc Q8j/GZQJnJyxtcqZhL8/FOyvkAS1oY3g1GzcmjlueaW2xBK7O6qwXxvjnWlXzK02s7ozTIGmdLio3 yaRrJZQsb16AsbZjKnboHJrJ3pZOWCVfXWQhIqtwLiYvQmOmEayvu0PL1LlCIXa55jzBQrAY9RkdV hk1fOYkR+z4DVhYZERWSrzaPUPwMgrh8t4i2Mzf0f9luLQGm9N7l2RSUQbn/ICTlarR0cWT47gIKX DFWjOt0hM/rbDH1SAsGQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptqDx-001f93-1N; Tue, 02 May 2023 13:39:21 +0000 Received: from mail-dm6nam12on2061a.outbound.protection.outlook.com ([2a01:111:f400:fe59::61a] helo=NAM12-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptqDo-001f0Y-1F for linux-arm-kernel@lists.infradead.org; Tue, 02 May 2023 13:39:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oC08Zj+/eFK7NN39l5hZYNgPPsjgX3CcykBekbygikm0poonok3+KDiC9gHIv+LagDxrkCyDi5mQ/B5cgzBUGy5t/erHbXfuaWGw3mkCypb8D/qBnt4uWobi1/0QK+CoHPBsCadQ8+Cs5k4PXhgnrI6Ax0vYZY+QIVpTvZjn9h5xmvFIgQlpfkS48HISW1svX4+prFz/dpb5y04Z0e9xyKj/XHl86zP1ud3XHThpE5gVW+6OAwq3KBStXPDuqgWD/2nEl+PhxjYpaPLz0Cc7eepVYtHiDhhYbIHWu52WchYZM94aASf/NmPBELLvkCQ3VFdEAp+73kVvFPgWc+PTBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zEBBgq9dQeroAE2NinHi+0ZW+/9vUF2WrcoHvOzm3Uc=; b=WgH+YSLiXIhLOwAaIhEPhktRTfgwDhEEA0rg5azJJWDHqXToBH96haMETtV9wHbN+XGIYtnUtmMFQYOp4GjIwsmXJUXtVV8XrmEHR8cbeJpBF86ivQZ+12WDmxcj4zPLkk//Ej+EXZoB7p11StPWF47aUBRwV5gutG4XmB1FEwMabEl+Re2rfmwsq7WnEfaPVPmf93yKZOthfdHdIQOXXbIu+BRrxKAizuAksgBW0KtoEDlAJTq5l9uCjMYltw0XoIGi+X9nGe8oUNhBhbJksVEZ5jCGKpfDIrgIBYZloofCfoo+GE5tRaxMToLu/cN9KezFkCjtDsrLiZ/W2FCc2A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zEBBgq9dQeroAE2NinHi+0ZW+/9vUF2WrcoHvOzm3Uc=; b=eKnq+OFDwrV0jzxvm2+7AUcNJsl/XUPpgooQfVKbylCSFxx4dILGUIxI0b4nOdTMGdOSdcJ65xzmPZpdNVsxHjkUfgnEbccGHhLxgOitfVd7ydn+tsdNUvNCvUDNEqvep6naVgyrFoXhpWSEBOALI9zKP1KGmdH2HB2AzJFK87o= Received: from DS7PR03CA0196.namprd03.prod.outlook.com (2603:10b6:5:3b6::21) by CY5PR12MB6430.namprd12.prod.outlook.com (2603:10b6:930:3a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31; Tue, 2 May 2023 13:39:02 +0000 Received: from DM6NAM11FT048.eop-nam11.prod.protection.outlook.com (2603:10b6:5:3b6:cafe::4a) by DS7PR03CA0196.outlook.office365.com (2603:10b6:5:3b6::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31 via Frontend Transport; Tue, 2 May 2023 13:39:02 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DM6NAM11FT048.mail.protection.outlook.com (10.13.173.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.20 via Frontend Transport; Tue, 2 May 2023 13:39:02 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 2 May 2023 08:39:00 -0500 From: Michal Simek To: , , , CC: Andrew Davis , Ashok Reddy Soma , Geert Uytterhoeven , Krzysztof Kozlowski , Rob Herring , , Subject: [PATCH 22/23] arm64: zynqmp: Describe bus-width for SD card on KV260 Date: Tue, 2 May 2023 15:35:50 +0200 Message-ID: X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT048:EE_|CY5PR12MB6430:EE_ X-MS-Office365-Filtering-Correlation-Id: f31552f5-9c93-4aba-fec2-08db4b129738 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3Ev3/i0UwMCA4O0zhyJXV0S3CrPF7A3OikKzahV+qAM8jS29ATo2FdHXbp+TczxGxdkq9xDdLJWyq9fSoiOZpv2w8FhNHD83Lh2oCikJitQfYtFLcTfJGN4VnMbFNM+SDkkHuRqN9JD106cpZwBarSlXzXDxAX8+dS+bhr8ZamSgJcA9H4vMyVOLQ2mHIWms58grISLlt2TDHyFm9DpuUd3IEbJbBgghI7pijhfDUz3vBT8ZkUiPq41zEHnUnXoEZn7aKsyYIUvgp58V7QOriLjp0PjmxuN5WpxEVxlw8cs2bTlICX+J9i2v4E/yPQWwlAjlqdawIM+ASIr0YhVDNm1MK8XlLOjlo+t0QoyhcslVnSVoU5JAyw9kR+xScRMroe8v/nGe9XCFjBtgkVetAoFkqXeaVJhCgldC+7aEv342kU89I/ZVSjeKIXjH4uKfX6SgLhGKYXiF6xFohrQytlMNHisctum4W2Ucy6SuKcXua02kTmQnK8sjlbQJxza6aJIFsyldml6g9pqlvFkP524WUybzWkjQr0n9IZRldY+l6jeLmZU36CE4akFAEIBWnvTLVAjinWADrP4VhG5RPkyEjayENMlJLl39NZkcgW/WBQT8vUs0YVfvQVK7UStN8XUDIpBEZy5WU53Rf6SP/hcmh10uVAQdULOkV1T1pYM/cwSNRT79T203b9/chDre7JKhiLALU+2Y/jug6MOwmyhjQb1temIT7C7CTHXOz+ZDi6yrH+E1xsYGo+dCN95I X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(136003)(39860400002)(346002)(396003)(376002)(451199021)(40470700004)(46966006)(36840700001)(2616005)(41300700001)(8676002)(81166007)(356005)(8936002)(36860700001)(478600001)(26005)(7416002)(83380400001)(44832011)(4326008)(2906002)(5660300002)(70206006)(426003)(70586007)(316002)(82740400003)(336012)(47076005)(110136005)(16526019)(40460700003)(54906003)(40480700001)(6666004)(86362001)(186003)(36756003)(82310400005)(36900700001)(2101003);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 13:39:02.0865 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f31552f5-9c93-4aba-fec2-08db4b129738 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT048.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR12MB6430 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230502_063912_451943_C1D90703 X-CRM114-Status: GOOD ( 11.90 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org SD card is connected with 4 data lines which should be described properly. Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso | 1 + arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso index 776444714fad..dcc51b3adab0 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso @@ -136,6 +136,7 @@ &sdhci1 { /* on CC with tuned parameters */ disable-wp; xlnx,mio-bank = <1>; assigned-clock-rates = <187498123>; + bus-width = <4>; }; &gem3 { /* required by spec */ diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso index 78d082a11492..3384df3d5920 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso @@ -119,6 +119,7 @@ &sdhci1 { /* on CC with tuned parameters */ clk-phase-uhs-sdr25 = <120>, <60>; clk-phase-uhs-ddr50 = <126>, <48>; assigned-clock-rates = <187498123>; + bus-width = <4>; }; &gem3 { /* required by spec */ From patchwork Tue May 2 13:35:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13228954 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 F0067C77B73 for ; Tue, 2 May 2023 13:40:54 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jLx4wdK+vmFpZDN+gJcyBjwYSE38lRxdir1pavFkMHE=; b=Uig8dbXgg9B7Da 665YklNJq+9siDJqa6xUvipmwRHkNeWNbqEJZvj4wepeg2+h/REoqxwBUCALahYKgxsOCaesapBTY +vOLytE50znhwis6GKr9CGdqZo//N/CA928bFmiOr2UrXC9lBF46f+x5Zw9Hgw3ZtwgCcxGQ6ANFK +zHDHiv7PrggLsPzir50n0wmV763aSScXdcuNiSl+4YyVXKHaQj8q9fHzffTiEH7zolaQYhm5E3qP lZXdx5f8i3z2Z+VfLvz80Rq3hJTRUCz8KvbWXNf4bZnqvDr8vVM9Pn3DB5F+mQ7uYa9QjDdW9+iqm pzfHcgmu8BPnW9eFdJaA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptqEW-001fa6-2s; Tue, 02 May 2023 13:39:56 +0000 Received: from mail-dm6nam10on20627.outbound.protection.outlook.com ([2a01:111:f400:7e88::627] helo=NAM10-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptqEH-001fHh-2k for linux-arm-kernel@lists.infradead.org; Tue, 02 May 2023 13:39:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EyxrmO3kHTP/gVp3RbmVnfTvyLv9iwG3oCqC98dwb5I6ufQffaII9SitK1zgvgcshIm6LRmzyelTqKF9xmiCvFTBUYHvuYd+svxienfZUVFBvajAz0MuaqpshOWb51kcoBIkoN9ofwqLFrzA1enUrJUfFkg0nc49cVhd+rngc1UIR4mRXhQgPeULyH0fwvuHI4G7eiGd55dAVcdDzv5XGqk1EI+h7yzvlohj3ennTnnzXcOIPw7MVLba2ZUfgh98zuBjYXyYxHRm2xQ3NCmSchvfWhdtfg6iAt+Si8fvWrEAt/smspnzgdmS/+vIJQd+EjC1F7whw4zDGssOu4XI6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nDyOsaEKWMexbMyEOdfZ3fg075U0MSF6yVl5CtldHHY=; b=ANkVvs6ddqaGd+fg6EBUcz8n+go5hFD9PqHVOgR9d1asN2nXSeJVwEWrkXx0nqFE0rSwjGmuiwUM2fPY6xffljXloSYTcW8K+g29MdNF+sq4e7HloQe3kH7K6IK9ZfINFQvmp8j/X0UKu0SPbQLA17VL6KRGyhWAIa/3jbkJ7439r5SLYztYHKNK2qR9hfkfhzcWoag+CpAY+khVcB4NkKCffGnnKWHbfmlM6JuXJnjEbKTaJnca0bHhS9BXJswNv13BbR2G0yQK1vgpuhcB/lFgAMtMOLW8FPR59UoFs6TAuQjZundsKPNkwKYSM93qy09Wh8bE9Re7TEAYzRa4qg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nDyOsaEKWMexbMyEOdfZ3fg075U0MSF6yVl5CtldHHY=; b=cmDGxzIAm+MUignqRAVcKuonjmJPIOBaKRgeMZ8CQ8q6JfH+axg2rHB4ZoMSkpdv+rcHMR/QTvqB/5AUhrBp9JSfqCvxCn/Ho132PMIEeUxH4+xF3XPJlUDpEFiE5fryzlax4L1tlmtQNA6NHBOSfM+ocKm4sQn3MMTLIthiArQ= Received: from DM6PR10CA0001.namprd10.prod.outlook.com (2603:10b6:5:60::14) by PH8PR12MB6697.namprd12.prod.outlook.com (2603:10b6:510:1cc::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.30; Tue, 2 May 2023 13:39:29 +0000 Received: from DM6NAM11FT014.eop-nam11.prod.protection.outlook.com (2603:10b6:5:60:cafe::f0) by DM6PR10CA0001.outlook.office365.com (2603:10b6:5:60::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.20 via Frontend Transport; Tue, 2 May 2023 13:39:28 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DM6NAM11FT014.mail.protection.outlook.com (10.13.173.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.20 via Frontend Transport; Tue, 2 May 2023 13:39:28 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 2 May 2023 08:39:04 -0500 From: Michal Simek To: , , , CC: Amit Kumar Mahapatra , Harini Katakam , Krzysztof Kozlowski , Laurent Pinchart , Michael Grzeschik , Michael Tretter , Parth Gajjar , Piyush Mehta , Radhey Shyam Pandey , Rob Herring , Robert Hancock , "Sai Krishna Potthuri" , Srinivas Neeli , Tanmay Shah , Vishal Sagar , , Subject: [PATCH 23/23] arm64: zynqmp: Add phase tags marking Date: Tue, 2 May 2023 15:35:51 +0200 Message-ID: <48b554aef75d11e6ad2ef7d21f22accb35432112.1683034376.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT014:EE_|PH8PR12MB6697:EE_ X-MS-Office365-Filtering-Correlation-Id: 25618646-c487-4d76-9338-08db4b12a724 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: x/WBX0n7k6ZIkTuWJ+PMYDN0CCerGhsH7EQVteFfinFdrqx/4pc5tseNJFsVAV+nF8qxWWd1tFHWf2Dl6JIqAVXihQkYW58E1c8lNKucCBjgfepISwD0LRVS6wT7UhMXLqdBNJH3Xt9dU4hKZbRJlMS7/Y54HDvJcZVLvQKTbkz3BC6U+3k1Hdh19ZaWVPaJ2iRX6zW57MZ3DJwo5e2V75OxQBOA6mjSqI8R/B2KWah3PEDDSl12Hte4yZYfYshF1PiRJZo7DwDtcGbamJKkkuA2Pg9PGs/ghWvuFysfCtN51z7LF5aMSZk908S0rikBNkOgRfWJVyfJmqkA3cO5KjFbVrh6x6RF0lPcerRieVVYXv7JT9UDqtubu1tiPyFh9NRLRJoe6pE0yT7KS6ystBfvNAdccns/btAvOBoxIHMfTFLn2uKDqDNLTkBP25m44vL5GF/BTVtDe246CV96lj2x37XgGwgIMU8G5wQZGFHYPkWz+MxlBhfcpII+CPyh5/dwLWZeF3LcmdI997B1VGeLnXw5m7K4jpXBsCizYlozge5dfMEWedwlslKRAkgA5XoWVQXzsXPR4x/1k2hkm3cTOyCFyfpHWB4L/io6pBUDG0QOd7Rj1GySkHCwOC6X5Mrs0qEEOZw1nAO39r91R5rq82dNcVJ+GdhN/hbADLqxKOZLiMJfZU7Uxd5dtq1cmgKOJoWIuINWSNZJO64HPj/kzEIfxFzi7SoPbhXiwQNFuKXUWMHg3W4r5Mog7Tba X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(346002)(39860400002)(376002)(396003)(136003)(451199021)(46966006)(40470700004)(36840700001)(40460700003)(86362001)(5660300002)(7416002)(4326008)(8676002)(82740400003)(8936002)(70206006)(70586007)(81166007)(44832011)(356005)(316002)(41300700001)(40480700001)(2906002)(336012)(186003)(16526019)(26005)(6666004)(36860700001)(47076005)(426003)(83380400001)(36756003)(2616005)(82310400005)(110136005)(54906003)(478600001)(2101003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 13:39:28.7962 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 25618646-c487-4d76-9338-08db4b12a724 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT014.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB6697 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230502_063941_922473_696DE445 X-CRM114-Status: GOOD ( 13.52 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org bootph-all as phase tag was added to dt-schema (dtschema/schemas/bootph.yaml) to cover U-Boot challenges with DT. That's why add it also to Linux to be aligned with bootloader requirement. Signed-off-by: Michal Simek --- --- arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi | 6 ++++++ arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts | 3 +++ arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 12 ++++++++++++ 3 files changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi index 581221fdadf1..719ea5d5ae88 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi @@ -11,30 +11,35 @@ #include / { pss_ref_clk: pss_ref_clk { + bootph-all; compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <33333333>; }; video_clk: video_clk { + bootph-all; compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <27000000>; }; pss_alt_ref_clk: pss_alt_ref_clk { + bootph-all; compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <0>; }; gt_crx_ref_clk: gt_crx_ref_clk { + bootph-all; compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <108000000>; }; aux_ref_clk: aux_ref_clk { + bootph-all; compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <27000000>; @@ -43,6 +48,7 @@ aux_ref_clk: aux_ref_clk { &zynqmp_firmware { zynqmp_clk: clock-controller { + bootph-all; #clock-cells = <1>; compatible = "xlnx,zynqmp-clk"; clocks = <&pss_ref_clk>, <&video_clk>, <&pss_alt_ref_clk>, diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts index 78ff6a9b3144..8afdf4408a78 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts @@ -243,17 +243,20 @@ tpm@0 { /* slm9670 - U144 */ &i2c1 { status = "okay"; + bootph-all; clock-frequency = <400000>; scl-gpios = <&gpio 24 GPIO_ACTIVE_HIGH>; sda-gpios = <&gpio 25 GPIO_ACTIVE_HIGH>; eeprom: eeprom@50 { /* u46 - also at address 0x58 */ + bootph-all; compatible = "st,24c64", "atmel,24c64"; /* st m24c64 */ reg = <0x50>; /* WP pin EE_WP_EN connected to slg7x644092@68 */ }; eeprom_cc: eeprom@51 { /* required by spec - also at address 0x59 */ + bootph-all; compatible = "st,24c64", "atmel,24c64"; /* st m24c64 */ reg = <0x51>; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index d01d4334c95f..51b8349dcacd 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -127,6 +127,7 @@ rproc_1_fw_image: memory@3ef00000 { }; zynqmp_ipi: zynqmp_ipi { + bootph-all; compatible = "xlnx,zynqmp-ipi-mailbox"; interrupt-parent = <&gic>; interrupts = <0 35 4>; @@ -136,6 +137,7 @@ zynqmp_ipi: zynqmp_ipi { ranges; ipi_mailbox_pmu1: mailbox@ff9905c0 { + bootph-all; reg = <0x0 0xff9905c0 0x0 0x20>, <0x0 0xff9905e0 0x0 0x20>, <0x0 0xff990e80 0x0 0x20>, @@ -152,6 +154,7 @@ ipi_mailbox_pmu1: mailbox@ff9905c0 { dcc: dcc { compatible = "arm,dcc"; status = "disabled"; + bootph-all; }; pmu { @@ -177,8 +180,10 @@ zynqmp_firmware: zynqmp-firmware { compatible = "xlnx,zynqmp-firmware"; #power-domain-cells = <1>; method = "smc"; + bootph-all; zynqmp_power: zynqmp-power { + bootph-all; compatible = "xlnx,zynqmp-power"; interrupt-parent = <&gic>; interrupts = <0 35 4>; @@ -258,6 +263,7 @@ r5f-1 { amba: axi { compatible = "simple-bus"; + bootph-all; #address-cells = <2>; #size-cells = <2>; ranges; @@ -699,6 +705,7 @@ pcie_intc: legacy-interrupt-controller { }; qspi: spi@ff0f0000 { + bootph-all; compatible = "xlnx,zynqmp-qspi-1.0"; status = "disabled"; clock-names = "ref_clk", "pclk"; @@ -745,6 +752,7 @@ sata: ahci@fd0c0000 { }; sdhci0: mmc@ff160000 { + bootph-all; compatible = "xlnx,zynqmp-8.9a", "arasan,sdhci-8.9a"; status = "disabled"; interrupt-parent = <&gic>; @@ -759,6 +767,7 @@ sdhci0: mmc@ff160000 { }; sdhci1: mmc@ff170000 { + bootph-all; compatible = "xlnx,zynqmp-8.9a", "arasan,sdhci-8.9a"; status = "disabled"; interrupt-parent = <&gic>; @@ -851,6 +860,7 @@ ttc3: timer@ff140000 { }; uart0: serial@ff000000 { + bootph-all; compatible = "xlnx,zynqmp-uart", "cdns,uart-r1p12"; status = "disabled"; interrupt-parent = <&gic>; @@ -861,6 +871,7 @@ uart0: serial@ff000000 { }; uart1: serial@ff010000 { + bootph-all; compatible = "xlnx,zynqmp-uart", "cdns,uart-r1p12"; status = "disabled"; interrupt-parent = <&gic>; @@ -982,6 +993,7 @@ zynqmp_dpdma: dma-controller@fd4c0000 { }; zynqmp_dpsub: display@fd4a0000 { + bootph-all; compatible = "xlnx,zynqmp-dpsub-1.7"; status = "disabled"; reg = <0x0 0xfd4a0000 0x0 0x1000>,