From patchwork Thu Nov 30 09:59:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13474194 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 20D5BC4167B for ; Thu, 30 Nov 2023 10:00:11 +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=MhsYvkmkui2NPu+keKwZQq0gNyLy30y2jBjAOEVhLQw=; b=jZu9oR0x5Hz0tl rNhxHY9lJqAQ8LOrBPL2xPQ/U7oM8EdCRjT6pAXgx9ycM3jMIA9lqdbsohdqYALQr1qOT71a0RnKZ QwLnYGkil0eVdAVXr1yd96Tq+48vxoDoSPjUi9S0hXCrzvYtbJplJiN6lx4KOI7NSvUj4J2joCusz j//n4DVmRD1n4NwR/Xy9+NX65wGso4wc3I2wjXcV/Pge5vXIbRhTl9Bm+rLDheTLek3/Gf+xkwGG7 +M71qjk3t2QQs+LGiFOIOsb2wA7b0xxFw5oifIzpikpR2tOsGvPnMgEw3NmKLrXxTcK+N0F8uOxG5 nU3DztCBBaKhkJmDnyeg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r8dpi-00ANix-2b; Thu, 30 Nov 2023 09:59:46 +0000 Received: from mail-mw2nam10on20623.outbound.protection.outlook.com ([2a01:111:f400:7e89::623] helo=NAM10-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r8dpd-00ANfF-0O for linux-arm-kernel@lists.infradead.org; Thu, 30 Nov 2023 09:59:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jgec/mTD6B5ldK+u/LWkM4Re3ewSZwCHZjE8FASLjqrRn8yXaeCX8uMKXg0nJv3RJGoqNVexcesxd40+JFORt+sy8avAbU21+TAEEWK49ogLAY9I8+HUvZg8kDTbUuOrOK3ijqGR4rd48zIXFuDeLd/IBf59Buu+WGhVe/65Tt7szjHSoNGN6SKnpb+mspNRFkw97nvsIVWzXY6QQiOnphY5A5yjyb6Os0WGpWJdFxyX7UW6ZKoYzXu7tLIKqnqiuog+aBwSe8CQFq1jqd90gR2ZvxeO9dgZKuAih/KsD3M6azrDQIB/PdILaOD6wR9PQlXu9sMZ8j8vF25Z20HBjg== 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=R7r7sexIk/V9GGyP+D00wv2FcZ6ezJLBcaeqcAN7nCA=; b=hkmxXu5GZfibRQKgdiIB6HQYR8ytoHgloPEtVP16sIzlsT9XP6VA4BwH7a5zowvmisvwuhA0SS+TkaRcxKdYdvve8OV+T7MOFVthjpXoQ6+OpF1AOQIwV+GXBwTO2J0eHsvYNdgR7Vum6ayA8TADWVdSx+58F94Clicml9N5y+9ILo56U29zvCniwulAxCyIjuK5iW7K1rwDXsgzddoCjyGt3d9snxbIeF0WYH9C3USYfMh2rw9gdMhsyO2CwnYPnPfT6s0jPwRf4dKxI0hzl2D0YHthpKG+ZSKQOxu1MUFMb18MWCBrHBGgd0iChCMAkIOHD+ALEBZCWrYCPo9LdA== 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 (0) 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=R7r7sexIk/V9GGyP+D00wv2FcZ6ezJLBcaeqcAN7nCA=; b=Zq1tEmX3LCtgDLipVoIVp1em0WQ8lwM3DcFBKMj63JC9aWMvWEylMSXfjIsLxCC7bnFZYj8h12jd/tHMwCloInAdZwpS9aLbaDRB427dGlyvzpKp5UKPb5hxyHVb3eNx3nI+ffe7Swwpfj+pOaz/Z1xjNRnR2bI9rIElMwWvRyQ= Received: from CY5PR13CA0018.namprd13.prod.outlook.com (2603:10b6:930::17) by PH7PR12MB5619.namprd12.prod.outlook.com (2603:10b6:510:136::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.23; Thu, 30 Nov 2023 09:59:33 +0000 Received: from CY4PEPF0000E9CE.namprd03.prod.outlook.com (2603:10b6:930:0:cafe::af) by CY5PR13CA0018.outlook.office365.com (2603:10b6:930::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.13 via Frontend Transport; Thu, 30 Nov 2023 09:59:32 +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 CY4PEPF0000E9CE.mail.protection.outlook.com (10.167.241.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7046.17 via Frontend Transport; Thu, 30 Nov 2023 09:59:32 +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.2507.34; Thu, 30 Nov 2023 03:59:30 -0600 From: Michal Simek To: , , , CC: Andrew Davis , Ashok Reddy Soma , Conor Dooley , Geert Uytterhoeven , Harini Katakam , "Krzysztof Kozlowski" , Laurent Pinchart , Manikanta Guntupalli , Rob Herring , , Subject: [PATCH 1/2] arm64: zynqmp: Move fixed clock to / for kv260 Date: Thu, 30 Nov 2023 10:59:15 +0100 Message-ID: <09060cf0a38f0fc75c14e6d51b2d06c116c3ecef.1701338352.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3334; i=michal.simek@amd.com; h=from:subject:message-id; bh=Kk6Lf9ceFRIi28VCuu5v35OuYOd1sumLA32KxWNAOyg=; b=owGbwMvMwCR4yjP1tKYXjyLjabUkhtSMmE9PZl1PMb7g+pE3RvJuQcjkFyqP1vZ3dE4yE9cM/ dvbJTejI5aFQZCJQVZMkUXa5sqZvZUzpghfPCwHM4eVCWQIAxenAEykN5FhwfTA5WFTfE1mhL76 /f/hooav6yQkshjmKSd/urSN8XbE0on733H83KavEHhUHwA= X-Developer-Key: i=michal.simek@amd.com; a=openpgp; fpr=67350C9BF5CCEE9B5364356A377C7F21FE3D1F91 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: CY4PEPF0000E9CE:EE_|PH7PR12MB5619:EE_ X-MS-Office365-Filtering-Correlation-Id: 9ca1f346-20ce-4c54-ac47-08dbf18b0d2c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tnSQ1EqysHO+rJRHSDrEvnIfEz9bgL+thr6i/GEoQAtmyrBApMHZPoyZn0cswyK81xjwpUDmxJ/st+M9in4Z2r9AmSq0BnlH9y+OOKz71lQAcaXqcqW0XXXWJSUoevn2I8BYDQSnzbuoKpULtb8WVsdbE3FTdmuB4biyijkY+XG4bPbBmpc6iwkGEcw0VjC5MmJxbG4LKKUlOM5OGfIBCkFAHsBj79N99CznP5U9tTxoerQFjtRpx8zyjwQPCH0/HDNResfsAVQ9TmaGPtxYJvo3wYcp5WOl33hJX48bmYkbmoQ51gGRtYBi17sY3hM0PKndeVNY4bjA/VgetpvTlpCzxzdaNtNgw0NgGZ6/8IBLea6hP4JDHqcF9GOW9cqqRuxA4SG5ki+FKMx4Q5gllmf7cOKn9v7PCrX0k7AZbkjXng7KZ5N9WZRPmuAVSF7I+E7FvDdLkHV0/2y7Gm1QdJbx3umtgfk4o2jZODhGp5NsdSRTru4Zx+WPiZbBNo1XWZaUhZVYuRt4BR/p/13nJTxO2GVsY3DFhLWPR3AZWhBhuHkwJqx7/TD8mz5EggZAuR9UPiP/CKfG9g1v175LjZXksYvWLr8xlqwUktQ9q4Fq4iVPC/8a//FQpzSdOOAm6bEJIYLgCJyZktQ23Lv+eT6RKiZmSYX6rXo9eozgS3RtWDDinbMK0d6SVlB5FTe4WvME0f+0X1nVD+Gkr+G/UjaaUHRi2XtTZN57KIB9KgBFtvxHTe4okmGm+GBiCmFejXRPSH2QgukOjr38mcHGyWB7DPx8ND46ASiRdD6Kfgq0aJPCPqggtERL1RFz1QhHHMurshQWVSi/1OA9KxrxLA== 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:(13230031)(4636009)(346002)(39860400002)(136003)(376002)(396003)(230922051799003)(186009)(451199024)(82310400011)(1800799012)(64100799003)(40470700004)(36840700001)(46966006)(81166007)(316002)(356005)(40460700003)(110136005)(2616005)(16526019)(26005)(36756003)(54906003)(426003)(336012)(70586007)(82740400003)(6666004)(70206006)(202311291699003)(478600001)(40480700001)(5660300002)(7416002)(47076005)(44832011)(86362001)(36860700001)(41300700001)(2906002)(83380400001)(8676002)(8936002)(4326008)(2101003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2023 09:59:32.5743 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9ca1f346-20ce-4c54-ac47-08dbf18b0d2c 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: CY4PEPF0000E9CE.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB5619 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231130_015941_188048_28F1ACEF X-CRM114-Status: GOOD ( 13.84 ) 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 fixed clock nodes can't be on the bus because they are missing reg property. That's why move them to root. And because it is root it is good to have it as the first node in a file. Signed-off-by: Michal Simek --- .../boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso | 28 ++++++++--------- .../boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso | 30 +++++++++---------- 2 files changed, 29 insertions(+), 29 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 ae1b9b2bdbee..dee238739290 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 @@ -21,20 +21,7 @@ /dts-v1/; /plugin/; -&i2c1 { /* I2C_SCK C23/C24 - MIO from SOM */ - #address-cells = <1>; - #size-cells = <0>; - pinctrl-names = "default", "gpio"; - pinctrl-0 = <&pinctrl_i2c1_default>; - pinctrl-1 = <&pinctrl_i2c1_gpio>; - scl-gpios = <&gpio 24 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; - sda-gpios = <&gpio 25 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; - - /* u14 - 0x40 - ina260 */ - /* u27 - 0xe0 - STDP4320 DP/HDMI splitter */ -}; - -&amba { +&{/} { si5332_0: si5332_0 { /* u17 */ compatible = "fixed-clock"; #clock-cells = <0>; @@ -72,6 +59,19 @@ si5332_5: si5332_5 { /* u17 */ }; }; +&i2c1 { /* I2C_SCK C23/C24 - MIO from SOM */ + #address-cells = <1>; + #size-cells = <0>; + pinctrl-names = "default", "gpio"; + pinctrl-0 = <&pinctrl_i2c1_default>; + pinctrl-1 = <&pinctrl_i2c1_gpio>; + scl-gpios = <&gpio 24 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + sda-gpios = <&gpio 25 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + + /* u14 - 0x40 - ina260 */ + /* u27 - 0xe0 - STDP4320 DP/HDMI splitter */ +}; + /* DP/USB 3.0 and SATA */ &psgtr { status = "okay"; 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 b59e48be6465..73c5cb156caf 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 @@ -16,21 +16,7 @@ /dts-v1/; /plugin/; -&i2c1 { /* I2C_SCK C23/C24 - MIO from SOM */ - #address-cells = <1>; - #size-cells = <0>; - pinctrl-names = "default", "gpio"; - pinctrl-0 = <&pinctrl_i2c1_default>; - pinctrl-1 = <&pinctrl_i2c1_gpio>; - scl-gpios = <&gpio 24 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; - sda-gpios = <&gpio 25 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; - - /* u14 - 0x40 - ina260 */ - /* u43 - 0x2d - usb5744 */ - /* u27 - 0xe0 - STDP4320 DP/HDMI splitter */ -}; - -&amba { +&{/} { si5332_0: si5332_0 { /* u17 */ compatible = "fixed-clock"; #clock-cells = <0>; @@ -68,6 +54,20 @@ si5332_5: si5332_5 { /* u17 */ }; }; +&i2c1 { /* I2C_SCK C23/C24 - MIO from SOM */ + #address-cells = <1>; + #size-cells = <0>; + pinctrl-names = "default", "gpio"; + pinctrl-0 = <&pinctrl_i2c1_default>; + pinctrl-1 = <&pinctrl_i2c1_gpio>; + scl-gpios = <&gpio 24 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + sda-gpios = <&gpio 25 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + + /* u14 - 0x40 - ina260 */ + /* u43 - 0x2d - usb5744 */ + /* u27 - 0xe0 - STDP4320 DP/HDMI splitter */ +}; + /* DP/USB 3.0 */ &psgtr { status = "okay";