From patchwork Wed Jun 9 11:44:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 457054 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C129C48BDF for ; Wed, 9 Jun 2021 11:47:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 324CC61108 for ; Wed, 9 Jun 2021 11:47:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239553AbhFILsw (ORCPT ); Wed, 9 Jun 2021 07:48:52 -0400 Received: from mail-wm1-f45.google.com ([209.85.128.45]:33577 "EHLO mail-wm1-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234602AbhFILsc (ORCPT ); Wed, 9 Jun 2021 07:48:32 -0400 Received: by mail-wm1-f45.google.com with SMTP id s70-20020a1ca9490000b02901a589651424so3073906wme.0 for ; Wed, 09 Jun 2021 04:46:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kEDmcXw1Vb0a19AjvwRij7MjXqXCoObE8zeLieziyHk=; b=kKGqttYupE3iAnWWcj2Z/5S/M9a++Vowp7tLhYCysZ5ycoUMSJhJ5pj5brD1sUEmyi Ozr4OFfsbSV8EqJz/U/YRe5NVT/WvePyC4/4vVIdtjh0O0XhRi6Ny3gvWNsKCmGrkd5Q kMIlbz3cPWF6QcpHq5Rj1Q+azERtcIi9E0hzTxD4vavVlgjj2M9vxQ8dCcuNJR0ZBu4s JbvNh8qyZVq5M6VknyuYHsUwuRH4ep2ylfheCD1On3cHp6hJ7enWSYLbneWMYvIXYVYv aGZv64qRAhI2oavIwckktxBwo/ZW4ruXDHpHlEKx8gKLRTf38fMGy0MU5S67+I+Uy40G K/tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=kEDmcXw1Vb0a19AjvwRij7MjXqXCoObE8zeLieziyHk=; b=K+wKaaWPReruIFsh8FfL1DQe+BaN+djKXmcyJ8T5lV6eIBa+O255UUSAGMevfdBM4c zpkbLwrM/odFXYePeII0jlEhQuDutsQFo237tEQuKcdGxsQlFjvO8B/EaCscaW+kg/Kv WgkplE6hNkf3nXv3wF0b8Dd335bCB/pDkRmaLTQWaAhvjatYtLa/78Wu3M9AJP1QpT7T 4zYObogcnZOfCfh38g+wGDefPmRBGfmdiOZhc3qipT6TXyXeqDzN5fwNcFxJUgn5bxoB FJsGokfchEtxozB/3DGeDQBFsrsrto7jlOAnMfjxrodiZBSHgd+/za7wUSpgzdHcO806 iHMQ== X-Gm-Message-State: AOAM531of9wCFYoAHPAIYo1IxnGb3s4Lg0d+HIG1CZ+4RQubnpN83p6j bot/YTRQzAbdJOJbNW6k3LsaBw== X-Google-Smtp-Source: ABdhPJx/gF/i/+f3rHQ5uRMfSpqn975b21+2ucb/F8nsogWOh6nBJ3ghohhqCBek0mAcbMtAQQqwrg== X-Received: by 2002:a1c:2015:: with SMTP id g21mr9400708wmg.87.1623239124315; Wed, 09 Jun 2021 04:45:24 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id o18sm13601475wrx.59.2021.06.09.04.45.23 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Jun 2021 04:45:24 -0700 (PDT) Sender: Michal Simek From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Viresh Kumar Cc: Amit Kumar Mahapatra , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 02/31] arm64: zynqmp: Do not duplicate flash partition label property Date: Wed, 9 Jun 2021 13:44:38 +0200 Message-Id: <6c4b9b9232b93d9e316a63c086540fd5bf6b8687.1623239033.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Amit Kumar Mahapatra In kernel 5.4, support has been added for reading MTD devices via the nvmem API. For this the mtd devices are registered as read-only NVMEM providers under sysfs with the same name as the flash partition label property. So if flash partition label property of multiple flash devices are identical then the second mtd device fails to get registered as a NVMEM provider. This patch fixes the issue by having different label property for different flashes. Signed-off-by: Amit Kumar Mahapatra Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts | 4 ++-- 1 file changed, 2 insertions(+), 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 4a86efa32d68..f7124e15f0ff 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts @@ -131,7 +131,7 @@ spi0_flash0: flash@0 { reg = <0>; partition@0 { - label = "data"; + label = "spi0-data"; reg = <0x0 0x100000>; }; }; @@ -149,7 +149,7 @@ spi1_flash0: flash@0 { reg = <0>; partition@0 { - label = "data"; + label = "spi1-data"; reg = <0x0 0x84000>; }; }; From patchwork Wed Jun 9 11:44:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 457056 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0EA4C48BCD for ; Wed, 9 Jun 2021 11:46:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 97C9C61249 for ; Wed, 9 Jun 2021 11:46:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239492AbhFILsd (ORCPT ); Wed, 9 Jun 2021 07:48:33 -0400 Received: from mail-wr1-f48.google.com ([209.85.221.48]:36831 "EHLO mail-wr1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239404AbhFILsV (ORCPT ); Wed, 9 Jun 2021 07:48:21 -0400 Received: by mail-wr1-f48.google.com with SMTP id e11so14938443wrg.3 for ; Wed, 09 Jun 2021 04:46:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YYuLc1LqPr72hqNJJCXhm/SbKZfu9G6M9dH7AziyJJw=; b=UyMMRjDC6VShzzWvIHSx7+UqtXqhNcJz3bercrMmRU9+n4hkqIHrNgAu7py1aOyACO teT5BWAlmV/lIf2SOqKSyVQqBG02wQARco9V6K94mAvmbYUbnJzMwDrmOia4K8iGOLBP Ddu65qYKKguvQmqp+wPbPM/lGh7JLZGK4QFaxNwgw/uQVbsz4VrcEIsNIsH1Zd2cpXLN ApwwVRW26PCFAj94y2jGVEb8T3qMZbTFNnrhmeTkO5q94irEs8KXfo9ydEHWofjnFcsd vRtvFavKU1JYguyN5/RYjOatnWyJGIoolTIkWHW79U+R2NAmtFgVtxemafWQjO0Oj2BO SVdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=YYuLc1LqPr72hqNJJCXhm/SbKZfu9G6M9dH7AziyJJw=; b=Ms3TMnRs/qiVz7I87u2euy8bOA17cvargA+Ls+oM+d+VmJeIZE6hAvSmT+SfKQ+v5M EVO2//C1bcqBE2nUplQvOrBs04yM4wCbgJtnwM3m0bt8F4JCBB4du4V2CoJhrOyCESgb dw/OgMYHERJPELxpmeWvQrQuPel1Moht0h0rlLFRGgkCQBlcTS0VoHJCMbeMUq+WvkFu 0i9qu6WPje3BXE7YtyCTitFTD2zn85/WctCVA/3lWyJNU5RJ+5Co8crGYpvKJj1egWHB dYBR7s/tx/jQfDIJVk+4Ae5GdiK0PFCj3Bq3CJzk7X+qqkEzrNbi6Cdtn/NFejhWj9vd //BA== X-Gm-Message-State: AOAM533luu6Ih6KToQNjMTYo/fqZgs6h650gjp4g7kO8iqrJaQpkiR5d 9papmRGaJPzCxzZ5+ag1XHfJg5jrf7ZfWWfd X-Google-Smtp-Source: ABdhPJyU6yQuHiCitOyJeixBKTWQW2Y9gsA2mP2i0gBJ8JDz1WitfCJcrgBeVWoOqeEb344fRg6aOA== X-Received: by 2002:adf:a45a:: with SMTP id e26mr23012035wra.222.1623239126066; Wed, 09 Jun 2021 04:45:26 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id r4sm23760075wre.84.2021.06.09.04.45.25 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Jun 2021 04:45:25 -0700 (PDT) Sender: Michal Simek From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Viresh Kumar Cc: Laurent Pinchart , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 03/31] arm64: zynqmp: Enable fpd_dma for zcu104 platforms Date: Wed, 9 Jun 2021 13:44:39 +0200 Message-Id: <76d330bf2b2414efa2e98965a3ca7f7c43e3645f.1623239033.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Enable fpd_dma for this board. Signed-off-by: Michal Simek --- .../boot/dts/xilinx/zynqmp-zcu104-revA.dts | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts index 5637e1c17fdf..99896db6b8ca 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts @@ -65,6 +65,38 @@ &dcc { 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"; +}; + &gem3 { status = "okay"; phy-handle = <&phy0>; From patchwork Wed Jun 9 11:44:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 457062 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CBC2CC48BD1 for ; Wed, 9 Jun 2021 11:45:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AF825613B9 for ; Wed, 9 Jun 2021 11:45:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234494AbhFILrd (ORCPT ); Wed, 9 Jun 2021 07:47:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234267AbhFILrc (ORCPT ); Wed, 9 Jun 2021 07:47:32 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C79BC06175F for ; Wed, 9 Jun 2021 04:45:29 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id f16-20020a05600c1550b02901b00c1be4abso4080501wmg.2 for ; Wed, 09 Jun 2021 04:45:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=R/3HZeObvFzaodz0f51dPqwRxwzWlJkXtgOWwyFJYTE=; b=Jh1ZfgwevTKVlcRoffLLON05ol0p1wNKWclXF76B9EE9LwKMs+A8lNSPwR6E50vbxV WDUb/gM6c8Gg42Nv65TKHBYr0bTV7UrLSQhw7n76itx+9nfRrTVt67mNTlct3e/8vwKt 2OqxtICfk7R6+Hno/mSuTLyFQqKtmhBou+0JS+YSvx7CLEUlRXdcJm14vxe3IY0Xy9n7 g49oZOhBhjh8gtZzIG3E8OT+uFDmehmYmS88m8N2Ju0dYkuA3kuVSEC5i5TIK9BvxNOK 0dyGqIh8PSo8OGh2xlJaceFfNKVYwUXQiNICCS8dW+RXwbs9h361duUsOliDlwyn2hWx SwIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=R/3HZeObvFzaodz0f51dPqwRxwzWlJkXtgOWwyFJYTE=; b=VEjp31pG4VGLplmWI+1Iy12SSgMATXnTluaXaid6xhKK9yQzhg9Nep/D3kw5VQFx4J lY5YFm80r2/DQHeYRAvgIyj8P0IQ9ZbaNrz9tc74Sq51znHMc7ElLi5SKw9WY9q4oBWn ejPKw9q4CpIzXCee7kHpfMi3l8M94UmTMb3zH12M+YRMRvSNQSHUpo3CPrcoWm5ovK51 zOt9IzEf8Zi+cYTdiYYpl3cm3WrDItp6op68FL538tIXHSfPaILkx2QNcHbdtvXzjiC3 CSsLVKvDg0t+jCeIBvVgZPchJrda16GOGny8aW1Xh1o8Lrv/jYKGyEiGcUNauXNXtUoI AAyQ== X-Gm-Message-State: AOAM533xq2czriPfAlYBPHee/dJZvwU5D5UmVFi4zRYdDhwWyu5jw8OJ qcLDlsv9i6gbWYgPlthH8CY83n3uWiwaE0H5 X-Google-Smtp-Source: ABdhPJwobdDEXRoGGhM2Kp9aITq138OtfIvhQ2lRd36EZs79rSc6YTuaKJVMRqf9WRWUPFQAjrVbKA== X-Received: by 2002:a1c:7c13:: with SMTP id x19mr9399617wmc.96.1623239127802; Wed, 09 Jun 2021 04:45:27 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id o22sm5810994wmc.17.2021.06.09.04.45.27 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Jun 2021 04:45:27 -0700 (PDT) Sender: Michal Simek From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Viresh Kumar Cc: Laurent Pinchart , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 04/31] arm64: zynqmp: Fix irps5401 device nodes Date: Wed, 9 Jun 2021 13:44:40 +0200 Message-Id: <10bf5f9e7a18579626fb1850e3a8a7476ba6f2ed.1623239033.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org - Add compatible string for irps5401 chip. - Do not use irps54012 as device node which is not correct. - Fix addresses of irps5401/u180 on zcu104 revisions. Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts | 10 ++++++---- arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts | 9 ++++++--- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts index 99896db6b8ca..5c35edd736aa 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts @@ -157,11 +157,13 @@ i2c@2 { #address-cells = <1>; #size-cells = <0>; reg = <2>; - irps5401_43: irps54012@43 { /* IRPS5401 - u175 */ - reg = <0x43>; + irps5401_43: irps5401@43 { /* IRPS5401 - u175 */ + compatible = "infineon,irps5401"; + reg = <0x43>; /* pmbus / i2c 0x13 */ }; - irps5401_4d: irps54012@4d { /* IRPS5401 - u180 */ - reg = <0x4d>; + irps5401_44: irps5401@44 { /* IRPS5401 - u180 */ + compatible = "infineon,irps5401"; + reg = <0x44>; /* pmbus / i2c 0x14 */ }; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts index d4b68f0d0098..68b758e40f80 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts @@ -326,13 +326,16 @@ i2c@2 { #address-cells = <1>; #size-cells = <0>; reg = <2>; - irps5401_43: irps54012@43 { /* IRPS5401 - u53 check these */ + irps5401_43: irps5401@43 { /* IRPS5401 - u53 check these */ + compatible = "infineon,irps5401"; reg = <0x43>; }; - irps5401_44: irps54012@44 { /* IRPS5401 - u55 */ + irps5401_44: irps5401@44 { /* IRPS5401 - u55 */ + compatible = "infineon,irps5401"; reg = <0x44>; }; - irps5401_45: irps54012@45 { /* IRPS5401 - u57 */ + irps5401_45: irps5401@45 { /* IRPS5401 - u57 */ + compatible = "infineon,irps5401"; reg = <0x45>; }; /* u68 IR38064 +0 */ From patchwork Wed Jun 9 11:44:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 457055 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4CBF1C48BCD for ; Wed, 9 Jun 2021 11:46:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2F7DE613AE for ; Wed, 9 Jun 2021 11:46:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239469AbhFILsp (ORCPT ); Wed, 9 Jun 2021 07:48:45 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:42988 "EHLO mail-wm1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239475AbhFILs2 (ORCPT ); Wed, 9 Jun 2021 07:48:28 -0400 Received: by mail-wm1-f50.google.com with SMTP id l7-20020a05600c1d07b02901b0e2ebd6deso3990104wms.1 for ; Wed, 09 Jun 2021 04:46:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Fz6PtoBNrXggGvHCv/ERGGBDM9Ib0qTjZiZAcbm2N6Q=; b=TRpqXxR32bEJkTNwU6AOJ2rVb69udkIyrqqK5qj+CUnlZzcyW77zBc90L6cLc+JCKp ipe5Tiwctjsf2IBozXvHQ2m/ZvZR/QrcaQJCMyYZdxOSIO1VT9PZ2szi+HpGlUhfQZ+I 0t67PVEnNf9gAtPgFlaehUofawfToYmk2Tbp63WwtJgqRPdYlhIMJU0iHM9jyKT16bhP Y4vL6fFi4M0xdPqNic5BiNY17QvEdWZpGip7BNHYL7XSCMJF1uBHJOuWxfhKBKaAmfxO hn/I5SnJoXLBokQho0hKfK0YHWCg4cSfb61MEt70P5an1bQhs4hLGiq9qKSynB4R4o6B 0H6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=Fz6PtoBNrXggGvHCv/ERGGBDM9Ib0qTjZiZAcbm2N6Q=; b=XHsNRdCUYxNTLz+DP6+uGpCCpOPvyjDYgmX9F/81LXKi26C4yvpa8JEEZSjKcd+OIt uXT4+RikgJhA49lX40NVwvwvI3FUv6BAR28SoxHanLwo6AimIEHauV+JlYVZCGlf1ocf G3sW7zHLL9EUuktUPHJr2kwQb+0fzL/v7+PkhV6WjJ/lcKPDNlwUmRoOz3QAaJW/5czX i8Q35kCM2j5WB8ws+SbqDGZ7qWUHQ6hk+AfZFqrXGuvRWtkZ5MDBCPahF2CDL72QJE6a aAqJcBiz2UzwNyK2fXhYDoRsuDy8mEg9cH2ROgeWIAMZdF2HDYELrmYOm5V6TEOh5JxY aFTg== X-Gm-Message-State: AOAM532+JwTjQJ5jolwYXm4vIhBHBcCvwaFVlUIPccBN0G/h/kcVW9Or eXuPxZ8FM3RdsmxWhi+YOWkkZ46x012sMYZT X-Google-Smtp-Source: ABdhPJziy6biO08+CwH8Iuxinnm2yLnRF21q5hf9BgUMrEGrS9g/z3Pb/wClgPiioTo1etfJUC7sYQ== X-Received: by 2002:a7b:cbd2:: with SMTP id n18mr3391962wmi.112.1623239133007; Wed, 09 Jun 2021 04:45:33 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id r4sm23760486wre.84.2021.06.09.04.45.32 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Jun 2021 04:45:32 -0700 (PDT) Sender: Michal Simek From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Viresh Kumar Cc: Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 07/31] arm64: zynqmp: Wire psgtr for zc1751-xm015 Date: Wed, 9 Jun 2021 13:44:43 +0200 Message-Id: <3fb11fdb9ade828fa174379515e45ba02bc17247.1623239033.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add psgtr description for SATA and USB. Display Port could be also added but it wasn't tested yet. Signed-off-by: Michal Simek --- .../dts/xilinx/zynqmp-zc1751-xm015-dc1.dts | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) 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 5b258129c7ef..f57cb5356cef 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts @@ -11,6 +11,7 @@ #include "zynqmp.dtsi" #include "zynqmp-clk-ccf.dtsi" +#include #include #include @@ -36,6 +37,31 @@ memory@0 { device_type = "memory"; reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>; }; + + clock_si5338_0: clk27 { /* u55 SI5338-GM */ + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <27000000>; + }; + + clock_si5338_2: clk26 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <26000000>; + }; + + clock_si5338_3: clk150 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <150000000>; + }; +}; + +&psgtr { + status = "okay"; + /* dp, usb3, sata */ + clocks = <&clock_si5338_0>, <&clock_si5338_2>, <&clock_si5338_3>; + clock-names = "ref1", "ref2", "ref3"; }; &fpd_dma_chan1 { @@ -328,6 +354,8 @@ &sata { ceva,p1-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>; ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>; + phy-names = "sata-phy"; + phys = <&psgtr 3 PHY_TYPE_SATA 1 3>; }; /* eMMC */ @@ -357,4 +385,7 @@ &usb0 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usb0_default>; dr_mode = "host"; + phy-names = "usb3-phy"; + phys = <&psgtr 2 PHY_TYPE_USB3 0 2>; + maximum-speed = "super-speed"; }; From patchwork Wed Jun 9 11:44:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 457061 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5CC0DC48BD1 for ; Wed, 9 Jun 2021 11:45:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3FBC2613B1 for ; Wed, 9 Jun 2021 11:45:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234472AbhFILri (ORCPT ); Wed, 9 Jun 2021 07:47:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234625AbhFILri (ORCPT ); Wed, 9 Jun 2021 07:47:38 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71EFEC06175F for ; Wed, 9 Jun 2021 04:45:43 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id l11-20020a05600c4f0bb029017a7cd488f5so4025064wmq.0 for ; Wed, 09 Jun 2021 04:45:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dv5TZU6Wfb8j+K9/W/AYEnaVxLhCu1/evPURiwPUiMo=; b=Z85OLRbx3GH2ei/4xqhwY+3XR6I9n1h1s5VwXt9lvOq6dJ5i0Y7PQv9gzw83iNl3Rx xICN/iysMo7NlB1cSOlJROS3V2UXyBmkb1o6ntlPBTqSQ2KO/WCgGbyII+8hQPjR/2t7 tcFuo6jBdp0JL9hlS5ckKfFUONWfpdkrNuUqdTjxtbspt2eptlxCyl+QHZKK8egaJKXT DsBFklGnyK7GIOHV/peFDp/MccwgOaIBEoUHTJZWR6CD7ipFEcvYE+RDrpOGcL4/18aI A9JNiV1CXsy1As6bxNgoRy41njUKJ82Fe4ExZNzRrayN0P08Ao52aIdYyzp9/sgj9ai2 W/AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=dv5TZU6Wfb8j+K9/W/AYEnaVxLhCu1/evPURiwPUiMo=; b=VfC+iWZ8zNQ2usTC42laVxg7eV00KsFtjbR83GuziR8aREjSxg73FzLHTCB0MaAxsD tRLb8O/x77esnVA9D1MXyq0X+Ja+BoAImR2j4VRSebiGWIH2yQE0ndaSpZeCAnrt/nXz RnrAReEwIfa8qjeknBYlO3wdV9+FTJOlDcijWqqRthyHQCWmLwteU4W8dbYa+oYd6Z++ IEQp2Y8vYpJVyPnkKakzQLyiRUdGLWlhX1D7Hdpy3mqgdQSPWl5M0+lapilS1jBroqGg bpbmJ52s/t9rPqWg9hTS2DhPJ68gEKoAOb4nfmNhVkdL9wAMhApR3K7pD7qUpC9sGjKC nQ7A== X-Gm-Message-State: AOAM532Zuo9Ry+52WioZAx2fU8hglC6CgQadqmBE4CXygczjnimuAZpo d4uzNvB0vXhtfNv/g1uD2IeUDQ== X-Google-Smtp-Source: ABdhPJxZ4rF6XjqTvg0g48EKxnPE4/hfAi3vObLFC5G1cq2/FzO1UwWMM1SbT6R2lwIc1kdlcfr/pg== X-Received: by 2002:a7b:c20b:: with SMTP id x11mr9596495wmi.9.1623239142053; Wed, 09 Jun 2021 04:45:42 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id n8sm20171026wmi.16.2021.06.09.04.45.41 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Jun 2021 04:45:41 -0700 (PDT) Sender: Michal Simek From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Viresh Kumar Cc: Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 12/31] arm64: zynqmp: Add missing mio-bank properties to dc1 and dc5 Date: Wed, 9 Jun 2021 13:44:48 +0200 Message-Id: <2b2ab31639c706651dfd319f5b6bc59e68f111b6.1623239033.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add missing mio-bank properties to zc1751 dc1 and dc5 boards. The same change was done by commit 63481699d6e3 ("arm64: dts: zynqmp: Add missing mio-bank properties to sdhcis"). Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts | 2 ++ arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm019-dc5.dts | 1 + 2 files changed, 3 insertions(+) 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 f57cb5356cef..dd129347174a 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts @@ -364,6 +364,7 @@ &sdhci0 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdhci0_default>; bus-width = <8>; + xlnx,mio-bank = <0>; }; /* SD1 with level shifter */ @@ -371,6 +372,7 @@ &sdhci1 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdhci1_default>; + xlnx,mio-bank = <1>; }; &uart0 { diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm019-dc5.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm019-dc5.dts index 6c9460a0707c..ae2d03d98322 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm019-dc5.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm019-dc5.dts @@ -407,6 +407,7 @@ &sdhci0 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdhci0_default>; no-1-8-v; + xlnx,mio-bank = <0>; }; &ttc0 { From patchwork Wed Jun 9 11:44:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 457053 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 59763C48BCF for ; Wed, 9 Jun 2021 11:47:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4495B61108 for ; Wed, 9 Jun 2021 11:47:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235466AbhFILsy (ORCPT ); Wed, 9 Jun 2021 07:48:54 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:33609 "EHLO mail-wm1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239449AbhFILsm (ORCPT ); Wed, 9 Jun 2021 07:48:42 -0400 Received: by mail-wm1-f50.google.com with SMTP id s70-20020a1ca9490000b02901a589651424so3074413wme.0 for ; Wed, 09 Jun 2021 04:46:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=958Czn2DLB+o/NZtXonc7bnisFWGNfDVO9VxvQ+P81g=; b=JPp+4hs+e1lRRVOlXTYSKUNgES7Yspkb4tBX4RSwbXg5kWE2KIkq3HGXzAR6gCVQ0s Ww3Vx3zwXajcMMpM1odY5aa27oIs0Wv3RBM3boxOh+zKOGS3Tv7BPH9IrPZMUHSlzsL0 ousS0VsdfKsg9DCX9SO9EweV85gTIBSybH1CZq/z2LU77FGkhYHBFP0qK9qCzjwtEyIK BCo2DJuM4PwWKgBxs3auHmYcW3miz21ac1RTIuwqrU/r4s06+cSOmtDRIxp1nX7VBukY TOz+x5yRq9e0SBzcogdny1zahZ9j/1cvCBV1bxUU5hQyMjMdfCMZy340Rb1fFY08tunN vwcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=958Czn2DLB+o/NZtXonc7bnisFWGNfDVO9VxvQ+P81g=; b=hbC0LPMVB/1KZJs9IhzjFI5jPooCgRD8VZCp6crjwXFK9Di0jDRnyelQXnG9rsqmzW 8OkLHoypwGKmOhuux/HrWX9ClDPSnK37LI5MN6Jz4zc+CCqchTkqG+fr1LzzOtGrxE/5 bUvfD+sytWddjRPFEaQSw9ASHMMks8iJMkL+GFBSZKFFQfvbkL8LWkraB6yzlgza9pOK 7crKq3EENObmMuEOJcFwnqwqIi2eU6ZM92s6cxNzzdC3yUxcP/1W9imING3LiRrXiP/K XLD/Xj5sR/TqfSh/hGNX6HiVfABZ3hY6BcKvJEH3B/4JCWkNE/FCzvIg6qCMKSjn29lA ZMOg== X-Gm-Message-State: AOAM531YcuqHCryHW5nlrSf119B3Ti0eCBFJeIAoBSyCOPBQcjMMMPut JPsKK5HHXzAemYEPxaaN01HH9w== X-Google-Smtp-Source: ABdhPJxWWYa3eVsbzmR8sPamyReW3RB7KhmZEZSUIEmZ+yyq4NYQyOeC4FZSkJ5ONT0Z5UCxzr4UVg== X-Received: by 2002:a05:600c:4f4e:: with SMTP id m14mr9333276wmq.157.1623239146885; Wed, 09 Jun 2021 04:45:46 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id j7sm21467822wrm.93.2021.06.09.04.45.46 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Jun 2021 04:45:46 -0700 (PDT) Sender: Michal Simek From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Viresh Kumar Cc: Krzysztof Kozlowski , Laurent Pinchart , Quanyang Wang , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 15/31] arm64: zynqmp: Remove additional newline Date: Wed, 9 Jun 2021 13:44:51 +0200 Message-Id: <16f6f41c8d748d3c7cd4f49b2839e63a5b41c944.1623239033.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This is sync between Linux and U-Boot. Trivial change. Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts index 719a9e5e1b01..1a45e4946dd4 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts @@ -463,7 +463,6 @@ max15303@20 { /* u8 */ status = "disabled"; /* unreachable */ reg = <0x20>; }; - max20751@72 { /* u95 */ compatible = "maxim,max20751"; reg = <0x72>; From patchwork Wed Jun 9 11:44:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 457052 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07E75C48BCF for ; Wed, 9 Jun 2021 11:47:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E3406613B6 for ; Wed, 9 Jun 2021 11:47:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239510AbhFILs4 (ORCPT ); Wed, 9 Jun 2021 07:48:56 -0400 Received: from mail-wr1-f48.google.com ([209.85.221.48]:38611 "EHLO mail-wr1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239466AbhFILsp (ORCPT ); Wed, 9 Jun 2021 07:48:45 -0400 Received: by mail-wr1-f48.google.com with SMTP id c9so16444153wrt.5 for ; Wed, 09 Jun 2021 04:46:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2oJBCb/IEp6HCT0Khc41E+ZKW3BEVh2wQ7Q+Btm9aLE=; b=u33UTezcqWw3EwAL8es1PrN9BNk7b9P6aXfTUXOzGWKzRU6LGDhufMDBOfMYaBaYT4 j+iPZkh2PBwNtEMxwiJpskl5YbN7timv2lOCyKcRx77nrM176NuN5g+yB7ccIjUe71wo /ml5VXI12qXCAVDRpt3XDYylJsVS9SWUGGnBT9Zka4lUB2zTJ7cERD4MYes/g9WcBGLT YSuPRi1FN0kRIEAtMFSuMVB33yYz3IdtyNe30kSAuuzOGiiSFT63DL4msLO0oW9hPNN4 UjltDjinK7zo/jy+pfcl1DTHlLUfEeuQt9BpWdPeWHuOJv0pOsbe8ukg1eibPAy8BLnf tx7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=2oJBCb/IEp6HCT0Khc41E+ZKW3BEVh2wQ7Q+Btm9aLE=; b=NQNKxBKYT04NfEW32Bx+r2rtBhyuKmWwgXZck/ekRaA+u2Jbo+X68TGvDbyRFUfYiP UoiDHM0BfPwHuwa6MhQtxtewevDsBMU4bw36pCI0iTPxsvII1uRv/ckr1xT4WGGOd7oR GDzXLaolqlRoa0do3g119XwqIlliKMtkhkhwUcA1GW/6xhtxixT2AtyVc6wI2SB0dw+a oKbRRscDVXYaLIeS6cNM/byWCrNzcE/GBu4fQugtR1q9Qh63D0uKTcZ3EHIQs1YIJwJk dRv+Rc5katfC4+FPcp1cubXDsww/z+h7XzLlrGmTx8ChEqaUYEg5UkV3z2RhB9+/cXrF uiFw== X-Gm-Message-State: AOAM532z8W4IAGq9pFGSYaO/Kh3FmyjX+jfm8Qk6oiNYBTfPOpMRfCh/ 2R/OT4vhwDylL8D8iLeTLV6g3g== X-Google-Smtp-Source: ABdhPJwu3dPsiYPGloJtXLHsOdDjrEjSlsgc0e2EjWGqoM/VtNdqkJ4OceOVsDvXUIFHi1wPvQEQHA== X-Received: by 2002:a5d:6a41:: with SMTP id t1mr21296407wrw.113.1623239150445; Wed, 09 Jun 2021 04:45:50 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id l2sm23037103wrp.21.2021.06.09.04.45.49 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Jun 2021 04:45:50 -0700 (PDT) Sender: Michal Simek From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Viresh Kumar Cc: Krzysztof Kozlowski , Laurent Pinchart , Quanyang Wang , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 17/31] arm64: zynqmp: Add nvmem alises for eeproms Date: Wed, 9 Jun 2021 13:44:53 +0200 Message-Id: <9b860b47ec3ca64340b4d29317e92b667236d7d1.1623239033.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Use nvmem alias to point to eeprom memory which contains information about board. The change is done based on discussion in the link below. Link: https://lore.kernel.org/r/CAL_JsqLMDqpkyg-Q7mUfw-XH67-v068Q6e9wTq2UOoN=0-_coQ@mail.gmail.com Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts | 1 + arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts | 3 ++- arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts | 1 + arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts | 1 + arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts | 1 + 5 files changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts index 1a45e4946dd4..339a12b255c1 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts @@ -25,6 +25,7 @@ aliases { i2c0 = &i2c0; i2c1 = &i2c1; mmc0 = &sdhci1; + nvmem0 = &eeprom; rtc0 = &rtc; serial0 = &uart0; serial1 = &uart1; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts index d7ecfcadd08b..4c328569c3ac 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts @@ -23,6 +23,7 @@ aliases { ethernet0 = &gem3; i2c0 = &i2c1; mmc0 = &sdhci1; + nvmem0 = &eeprom; rtc0 = &rtc; serial0 = &uart0; serial1 = &uart1; @@ -146,7 +147,7 @@ i2c@0 { * 512B - 768B address 0x56 * 768B - 1024B address 0x57 */ - eeprom@54 { /* u23 */ + eeprom: eeprom@54 { /* u23 */ compatible = "atmel,24c08"; reg = <0x54>; #address-cells = <1>; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts index 403a8ea6a36f..99d172867f6a 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts @@ -23,6 +23,7 @@ aliases { ethernet0 = &gem3; i2c0 = &i2c1; mmc0 = &sdhci1; + nvmem0 = &eeprom; rtc0 = &rtc; serial0 = &uart0; serial1 = &uart1; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts index 186d2e00d4a0..dbb8bfbb5c7f 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts @@ -25,6 +25,7 @@ aliases { i2c0 = &i2c0; i2c1 = &i2c1; mmc0 = &sdhci1; + nvmem0 = &eeprom; rtc0 = &rtc; serial0 = &uart0; serial1 = &uart1; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts index e646246a3b14..85e9d0e2f9bd 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts @@ -25,6 +25,7 @@ aliases { i2c0 = &i2c0; i2c1 = &i2c1; mmc0 = &sdhci1; + nvmem0 = &eeprom; rtc0 = &rtc; serial0 = &uart0; serial1 = &dcc; From patchwork Wed Jun 9 11:44:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 457060 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 229A6C48BCF for ; Wed, 9 Jun 2021 11:45:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0B63A613BC for ; Wed, 9 Jun 2021 11:45:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235385AbhFILru (ORCPT ); Wed, 9 Jun 2021 07:47:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235021AbhFILru (ORCPT ); Wed, 9 Jun 2021 07:47:50 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46701C061574 for ; Wed, 9 Jun 2021 04:45:55 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id g204so3805336wmf.5 for ; Wed, 09 Jun 2021 04:45:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Ws5KFSDcy0/GzNRUs6Wg3uxHuwHpItMQoMPWkBxL9Uc=; b=Oy7U7Zvp7YmAmR4vLC9d/ys3RwZvv/RGbSF7AJ/n+fU+tHr1rccDo0NggpbFnk82S3 fzd8od6yNFwyTOnRi6jqi6zT1GfoT/3n566Urmlx6vC8QZWwbdTcBDsLHHyd9qKzL8YQ /XkvkChf3gFJiTojhqYvyRr3lxSqMUf8r+wrqxs9I33f/cFb+CZwo2gwxP0U1XTI4tCi AXe03oUieAPB00K/N8i3Vx7Am8OURJYPPfX2BscuF7F/sV1JMXLwgFVqtDmTXSs0peDF 9qPuTJs/xPOD1NG+VqgpOgUooC/oNaBgweGbVyUcIy1X6QPRKnf6q3bQJWElOOVyeotn n7Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=Ws5KFSDcy0/GzNRUs6Wg3uxHuwHpItMQoMPWkBxL9Uc=; b=DlN6lcJv6FwNM6/P7Sld0g89BlCnrkJNWUvJWcn4xqW9hL64/v0lUN6vskxHeQru7d A0jQ4g9fOaoCOOuQl5Xx47HOVKXU5MnI2Mz0a1/kbhF+qC4hHu0qY7WW3tY2U/N54EO9 6cFdFutgWMMJS1i3viEXyR8bhJZ2jclwEwlocxpcDcqUaUfyNoELEXg/SfNkHEXhJldN ZQjkTnUMdA+e3tMti5nogNNfrw3bhe0qePwYMRu+BF6CQUP/r/KI3DRBc+ZdcSGpW99R ZXHBWYc1WkRk29iIjA+psH71fXzak3D2X3wom591/8AYAKFsDznpR4oB0mxk1tj02FDu /3/w== X-Gm-Message-State: AOAM530O//1XY8u73qtB3cqqb8otkbb7r2EFJmaNMvL6SoYRpr4vFcvI i04+Yj9TTJ1DNV7UACyW5l+jvw== X-Google-Smtp-Source: ABdhPJwPkVRd86Kf3QXTQ/Dm+lvBT829pSO/dYETHf6tfBEI/MgZlRu78M/MbhBQvFS3yhJpIAnJAQ== X-Received: by 2002:a05:600c:4ec8:: with SMTP id g8mr9257644wmq.62.1623239153922; Wed, 09 Jun 2021 04:45:53 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id p16sm24172961wrs.52.2021.06.09.04.45.53 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Jun 2021 04:45:53 -0700 (PDT) Sender: Michal Simek From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Viresh Kumar Cc: Mounika Grace Akula , Krzysztof Kozlowski , Laurent Pinchart , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 19/31] arm64: zynqmp: Add reset-on-timeout to all boards and modify default timeout value Date: Wed, 9 Jun 2021 13:44:55 +0200 Message-Id: <5848a81447921240fddfe2f5749ae0746fcbbdbd.1623239033.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Mounika Grace Akula This patch adds reset-on-timeout to FPD WDT which will trigger an interrupt to PMU when watchdog expiry happens and PMU takes the necessary action. If this property is not enabled, reason will not be known when watchdog expiry happens. This patch also modifies the default timeout to 60 seconds. Reason is that if u-boot enables WDT, it will set the timeout to 10 seconds and this is not enough to boot till Linux and start the WDT application in Linux. 60 seconds is the maximum safest value to boot till Linux and start the WDT application. Users need to change this timeout value to fit their needs. Signed-off-by: Mounika Grace Akula Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index bd3f0d456ca4..80332e3b4d6a 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -830,7 +830,8 @@ watchdog0: watchdog@fd4d0000 { interrupt-parent = <&gic>; interrupts = <0 113 1>; reg = <0x0 0xfd4d0000 0x0 0x1000>; - timeout-sec = <10>; + timeout-sec = <60>; + reset-on-timeout; }; lpd_watchdog: watchdog@ff150000 { From patchwork Wed Jun 9 11:44:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 457048 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 33E9CC48BCF for ; Wed, 9 Jun 2021 11:48:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 174BC613B1 for ; Wed, 9 Jun 2021 11:48:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239528AbhFILt6 (ORCPT ); Wed, 9 Jun 2021 07:49:58 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]:46943 "EHLO mail-wr1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239593AbhFILtJ (ORCPT ); Wed, 9 Jun 2021 07:49:09 -0400 Received: by mail-wr1-f46.google.com with SMTP id a11so23261069wrt.13 for ; Wed, 09 Jun 2021 04:46:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=z0cFsHWQuOk9G5jkREqSCN4u8xY+Z74kdKMqaqt4F9c=; b=GvmwQD/kVLwJG8MdRtkEKzfGwg4M/mxylb+khtTOyeA3+SLGx2OUbQFFTTt9wyBwkD Mi7bmH/2zVcvBMNBHjfMtoKpayYcLp+HU920cKoCMxygc2eatLFmyHEPd7Lhl4y95qMT eiSIqRE2H+CH4nGNFNJqZiJ9t2XCm/H4EJhGu9/shfFYYvwoM2gHLPXJa1baZmcqqbw+ cMb66j98hZklxUcZftjivNEJxwfZLt5iSDH6GpXW+F8/N8WxGEvA4FUaqMo6VOWQy7UY pyA88f4dqOg08wA4ewBLliDAuWlnA1rg/PZ7WMlxLcMZqM2IHTwrMn/Z3Jy/MDfxlrbE ovNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=z0cFsHWQuOk9G5jkREqSCN4u8xY+Z74kdKMqaqt4F9c=; b=l4eB/BG7wwXzeAJDVJn+kjx1AViybxbkwTXIgKqTm6O0FT75lUWjxGkVbaqgYeerBK 7Sarg94G1C4UcI+MtQ5T0O08wiqZHxYbJPYRGTSDGnMwL6yVJG8aSrnpCphFm917uRly t1bnD47Jy5sVXAMWjQGmIM/jzH2J5r6HLGk78/pAHsdcAyhoR/HwL67Rnn8o9aOcqLvz X82zeUYLDPrciXWuMe2nP+CiKI7PbzjF/07SnGjtiRec1dnYETV0S9rNvk7LkVuseB4V PiMhUeAXv2HTfeZWUnNVMQvK7xqOHMfwO9Hd3QOJp+O5CS0QY8TQYQugfqcns0FFOOU9 uw0A== X-Gm-Message-State: AOAM530BaxOP9pERg3DzpSq4kTODoyT2180ciMvN37ZkEq63pIPkapg7 sLuHf8Y38fUlm4hyB4C8+TCXEg== X-Google-Smtp-Source: ABdhPJzamxlVbLxHizavnn9Xv6irhxfglkP3D6Bxq6qyeu1A2aPWPNdor17d4qPb3u0HWsmS+HU1BA== X-Received: by 2002:a05:6000:18f:: with SMTP id p15mr22537019wrx.102.1623239157104; Wed, 09 Jun 2021 04:45:57 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id k36sm11937395wms.30.2021.06.09.04.45.56 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Jun 2021 04:45:56 -0700 (PDT) Sender: Michal Simek From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Viresh Kumar Cc: Laurent Pinchart , Quanyang Wang , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 21/31] arm64: zynqmp: Move DP nodes to the end of file on zcu106 Date: Wed, 9 Jun 2021 13:44:57 +0200 Message-Id: <4d1c79f6f184367687f61608bb8e0f18d9121802.1623239033.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This location is used by others DTs files that's why this move. Signed-off-by: Michal Simek Reviewed-by: Laurent Pinchart --- .../boot/dts/xilinx/zynqmp-zcu106-revA.dts | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts index dbb8bfbb5c7f..4a0f3370bf7f 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts @@ -160,17 +160,6 @@ &dcc { status = "okay"; }; -&zynqmp_dpdma { - status = "okay"; -}; - -&zynqmp_dpsub { - status = "okay"; - phy-names = "dp-phy0", "dp-phy1"; - phys = <&psgtr 1 PHY_TYPE_DP 0 3>, - <&psgtr 0 PHY_TYPE_DP 1 3>; -}; - /* fpd_dma clk 667MHz, lpd_dma 500MHz */ &fpd_dma_chan1 { status = "okay"; @@ -994,3 +983,14 @@ &usb0 { &watchdog0 { status = "okay"; }; + +&zynqmp_dpdma { + status = "okay"; +}; + +&zynqmp_dpsub { + status = "okay"; + phy-names = "dp-phy0", "dp-phy1"; + phys = <&psgtr 1 PHY_TYPE_DP 0 3>, + <&psgtr 0 PHY_TYPE_DP 1 3>; +}; From patchwork Wed Jun 9 11:44:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 457051 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNWANTED_LANGUAGE_BODY, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 00ED2C48BDF for ; Wed, 9 Jun 2021 11:48:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DCB7561108 for ; Wed, 9 Jun 2021 11:47:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239481AbhFILtw (ORCPT ); Wed, 9 Jun 2021 07:49:52 -0400 Received: from mail-wm1-f41.google.com ([209.85.128.41]:40677 "EHLO mail-wm1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234602AbhFILsy (ORCPT ); Wed, 9 Jun 2021 07:48:54 -0400 Received: by mail-wm1-f41.google.com with SMTP id b145-20020a1c80970000b029019c8c824054so4064547wmd.5 for ; Wed, 09 Jun 2021 04:46:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nrZElwT9y3W18Lbft5uOXhWR0ueAWy9kjrpr8/SaaVM=; b=MGJwUTU3ouxTrRBx54L0Y6kIMPTVVjeIZYE3AWfYF0mIToRFlUq+j2r4xInXqkSulV 0RypE2euRdG6Z5W+Q7q+gtQNZaKgW9bLj+aUuWzGZQTNUjH5ePKxxepJ6OssY/y+JHyF cP7QULlnNfvQNYhCcf6OYTS11mXKblu8QwbKKHHTdJlnNs8NjdG2vu5tleRoHt3WfUxd YhwQW5egSiEly3y8h2gObFaJsK7G7oL/ko96qLqsTYgy3hNWfWowIM+Xrc4W95HaLSeY cLGhxNcMLOPJYpltFnfr4CdbHmJIs3CRYnAks8qIOo56KUEybGG+ggbrkC2BDyArUL7n bAxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=nrZElwT9y3W18Lbft5uOXhWR0ueAWy9kjrpr8/SaaVM=; b=IEMpa+9mQWQsbV7GsHvYQc+EGp+zySrxNCJaNnzndsTE4PaeStkGA9Oq7q7jK0Yxp/ PPohAY6weZgREuEQV9eIW6kOF036wSwHpFrmVSR6hl58KT4fncMAYrCTA09BTnG/UK0a xkSWguCkg3zjm6T5Y1qQBUGAjuECavIDr6LdEwbnUFeogGVj2SPJQu3oIOFw/x70yKOG 0HoEfthHrNmZVOI0BvDrqGYaC3ChIB9MN3C9otYdNqRtXQ0VerKC7RSJcvaw1WcwVHS4 3MBBDIUshyH4p7fVKtGWJDI9BQSRWOVePLKnADStDwvCaKVG2nGEP8nYKlKBjK90dvGf 5i+A== X-Gm-Message-State: AOAM531LPfEyKtZZ110ys9G97uk482S68Q8oUUkwRof/NTYHevPD3UIK LcqRdAx7PwLqXUABwO6Ziwa3gg== X-Google-Smtp-Source: ABdhPJz/Klyqy8Y+luI/yuy0IgYB1SCvJlkMPYkQe0DhLcM9V6pZ1BGe43mytDAP3OWX+IGqnqrpMQ== X-Received: by 2002:a1c:bad6:: with SMTP id k205mr9594035wmf.171.1623239158850; Wed, 09 Jun 2021 04:45:58 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id l31sm6047615wms.16.2021.06.09.04.45.58 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Jun 2021 04:45:58 -0700 (PDT) Sender: Michal Simek From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Viresh Kumar Cc: Krzysztof Kozlowski , Laurent Pinchart , Quanyang Wang , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 22/31] arm64: zynqmp: Add note about UHS mode on some boards Date: Wed, 9 Jun 2021 13:44:58 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add note about UHS mode and add no-1-8-v property to zc1751-dc1 board. Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts | 4 ++++ arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts | 4 ++++ arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts | 3 +++ arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts | 5 ++++- 4 files changed, 15 insertions(+), 1 deletion(-) 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 460aba6e7990..cd406947ec34 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts @@ -370,6 +370,10 @@ &sdhci0 { /* SD1 with level shifter */ &sdhci1 { status = "okay"; + /* + * This property should be removed for supporting UHS mode + */ + no-1-8-v; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdhci1_default>; xlnx,mio-bank = <1>; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts index 5ddcfdf48626..3cbc51b4587d 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts @@ -956,6 +956,10 @@ &sata { /* SD1 with level shifter */ &sdhci1 { status = "okay"; + /* + * 1.0 revision has level shifter and this property should be + * removed for supporting UHS mode + */ no-1-8-v; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdhci1_default>; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts index 4a0f3370bf7f..2c1c4d96fb21 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts @@ -951,6 +951,9 @@ &sata { /* SD1 with level shifter */ &sdhci1 { status = "okay"; + /* + * This property should be removed for supporting UHS mode + */ no-1-8-v; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdhci1_default>; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts index 85e9d0e2f9bd..c9d41d16c3f0 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts @@ -796,8 +796,11 @@ &sdhci1 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdhci1_default>; - no-1-8-v; disable-wp; + /* + * This property should be removed for supporting UHS mode + */ + no-1-8-v; xlnx,mio-bank = <1>; }; From patchwork Wed Jun 9 11:45:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 457059 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 61A33C48BCF for ; Wed, 9 Jun 2021 11:46:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4AD72613B1 for ; Wed, 9 Jun 2021 11:46:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239265AbhFILsD (ORCPT ); Wed, 9 Jun 2021 07:48:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235021AbhFILsC (ORCPT ); Wed, 9 Jun 2021 07:48:02 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25BECC061760 for ; Wed, 9 Jun 2021 04:46:07 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id i94so20089418wri.4 for ; Wed, 09 Jun 2021 04:46:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nJFcESfNmuqpnzQeAxiF3OgzwQNYMvErOvMnIEXFWso=; b=0m6BMX+hvJl2iXhnYa7iPaGeS4es8Kt3pe3NumpAq4uCFqrPsVn2LwkKHM/PAI9VeD YA9zpilalIW2iMXDCtef3p1JwJV5uEduadwiVm4SBpQAIpjIf9rwobQxgWl706DLrpgK ZUptGOuem+gWhNI9aT4LRxbDVh8fv7LhnO1ImwZmYy25lzMssvgAMTUbdCO3t8vWaPXP he+uuEhW8dyBneqZ4FmyLujwSP81VbN1S0e5FvX3z17XhTjJrSC2IXXwK+2uy49oZicL qMe1lMAXvADLTU+9/TOk1H1qlkrffKM9er/Du0QzKmPUWNfDWeHJ+vr7/GRkQDS4dLXX E+4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=nJFcESfNmuqpnzQeAxiF3OgzwQNYMvErOvMnIEXFWso=; b=LRjnQMAOpRfcu5ubruFdXremSNo0kCWyg3UWTIZbA4ToI0MavzwZkpCr7wF/8dZGNR mBGqapnkH6quv0MpEE85m9Cl/losWOs9lnBZ38e6dznn+CkS5G2K27mKACnI8HXwUkh+ 8hUuKkv2ziJKYo6tdGwrex8/n8w9Kpyw5h9/qDrw29mJ6Q7We6CbTIm+WRgvTa9QHRsG r0R00xVDRgzImtY1B7p/WiMQG11FGs0E+EeHT8AiAE2p/icjEHy/LL+R23X35vQmElbY bR18OuGfOjDwQdj6XOjwyBBdwVBzq/YHwNgxHy4MvVCb9+Et9RCU90I6tT9F3lz8MCqB 7mhA== X-Gm-Message-State: AOAM533j+36FcR7p6enXj4wiO+FAFkTn02oprlR41lDoUrMTcpM8ihCo GNoFw+TGnh2csX2u32KT5W8+Sw== X-Google-Smtp-Source: ABdhPJwCyL97mdno19WFYlv8tJ9mnEcNXdfLVtVESfF8bMDKokS9YwVTG4/6DySDpifCcxHhsRG2ug== X-Received: by 2002:a5d:4fce:: with SMTP id h14mr27755410wrw.57.1623239165804; Wed, 09 Jun 2021 04:46:05 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id m22sm5659459wmq.21.2021.06.09.04.46.05 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Jun 2021 04:46:05 -0700 (PDT) Sender: Michal Simek From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Viresh Kumar Cc: Laurent Pinchart , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 26/31] arm64: zynqmp: Move rtc to different location on zcu104-revA Date: Wed, 9 Jun 2021 13:45:02 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Move it the same location as is on zcu104-revC for easier comparison. Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts index 84c4a9003e2e..048df043b45c 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts @@ -417,10 +417,6 @@ conf-tx { }; }; -&rtc { - status = "okay"; -}; - &psgtr { status = "okay"; /* nc, sata, usb3, dp */ @@ -441,6 +437,10 @@ flash@0 { }; }; +&rtc { + status = "okay"; +}; + &sata { status = "okay"; /* SATA OOB timing settings */ From patchwork Wed Jun 9 11:45:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 457050 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B59F6C48BE0 for ; Wed, 9 Jun 2021 11:48:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A07C261249 for ; Wed, 9 Jun 2021 11:48:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239425AbhFILty (ORCPT ); Wed, 9 Jun 2021 07:49:54 -0400 Received: from mail-wm1-f51.google.com ([209.85.128.51]:41710 "EHLO mail-wm1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239575AbhFILtE (ORCPT ); Wed, 9 Jun 2021 07:49:04 -0400 Received: by mail-wm1-f51.google.com with SMTP id l11-20020a05600c4f0bb029017a7cd488f5so4026016wmq.0 for ; Wed, 09 Jun 2021 04:47:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=faDJwJkZnio3K1+D2/qEPWG8piye6Bb4xmyIkwVtbsM=; b=UmrttrlpGT6MTSmxtyJNOBUbmgFtWxEkrhN37QpZ+rjaocPopM9jfvdyufpxSLlm3G DdiTLtUDRpfqttGSfpsIllmhbJ3yPScaZZRUaRyJBZnNXj6wCa8gAabrGfeTZI1gYv8B iWLYVRax67K6VijlPRVRzhtdTgkuxDM8hXOCH+VVNa3OjM6deZP0eUuAGBbjkJ8vRiuL zu+VMO8ydFC+lQDEtpVBfrbRwMRXOe6wuzYmvRUBNhn6EDgRRTgpL1qFdSVUAnXjwYtC ZHZzvTOJNmF8AwrInbW5Kro32m3fh9DIeaXdNYkIyeLLcWbLrBPSgWUdKK3oT7IBb2N4 AdPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=faDJwJkZnio3K1+D2/qEPWG8piye6Bb4xmyIkwVtbsM=; b=Qgd0qq/KxQrP7t4fIoLLDggQ7LIhmA5MiB1kgmo7Wvr1iodKLh7FvzL8ux2Hn2y5YQ vzkYhNBb87viXGI/8jmd6hZaEDoQXBpZJj4yNtsh2ZhWfB4Dxfl9KRh9O8Ew3j/w2wyi tfWeSWKN9ZHvqHv4WFyEbm3cBzgJaAnVaKKJznOdQ/JcuxmPjehBpt1K2zH6PpqJcTnT tNqZ4rzk94LerSegDuyI+HzG8NyQeHN7lWMF9lQB039lGmaN+TAWpZ5AqckVc0RhYiMx ft8LcfvNEXrsjJjKLMkhceoAnY/AGz0CSQ8IKnb/tGECqJr1n2SeFG8RZv5yIxVqwCvf UXhQ== X-Gm-Message-State: AOAM5336PVBfev/771RgGH+WldVesfZCSnvP+Dg2JNL9VRj5eEkewD/T wp9eb47u+zlhS73OnwXKwxid5Q== X-Google-Smtp-Source: ABdhPJwyvaRJV27WEeZvyOtiMcZITiOPSb+nkAyiLSj8gjv4MqWxJI0U3RW05ioxpVts1hS0s+ciiw== X-Received: by 2002:a05:600c:4f8f:: with SMTP id n15mr11461111wmq.116.1623239169240; Wed, 09 Jun 2021 04:46:09 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id x18sm2153689wrw.19.2021.06.09.04.46.08 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Jun 2021 04:46:08 -0700 (PDT) Sender: Michal Simek From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Viresh Kumar Cc: Laurent Pinchart , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 28/31] arm64: zynqmp: Sync psgtr node location with zcu104-revA Date: Wed, 9 Jun 2021 13:45:04 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org zcu104-revA has node below pinctrl which is not the same on revC. Sync location for easier comparison. Also zc1751-dc1 is not using this position. Signed-off-by: Michal Simek --- .../boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts | 14 +++++++------- arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) 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 9f176307b62a..d78439e891b9 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts @@ -58,13 +58,6 @@ clock_si5338_3: clk150 { }; }; -&psgtr { - status = "okay"; - /* dp, usb3, sata */ - clocks = <&clock_si5338_0>, <&clock_si5338_2>, <&clock_si5338_3>; - clock-names = "ref1", "ref2", "ref3"; -}; - &fpd_dma_chan1 { status = "okay"; }; @@ -340,6 +333,13 @@ conf { }; }; +&psgtr { + status = "okay"; + /* dp, usb3, sata */ + clocks = <&clock_si5338_0>, <&clock_si5338_2>, <&clock_si5338_3>; + clock-names = "ref1", "ref2", "ref3"; +}; + &qspi { status = "okay"; flash@0 { diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts index fb8d76b5c27f..c21d9612ce04 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts @@ -429,6 +429,13 @@ conf-tx { }; }; +&psgtr { + status = "okay"; + /* nc, sata, usb3, dp */ + clocks = <&clock_8t49n287_5>, <&clock_8t49n287_2>, <&clock_8t49n287_3>; + clock-names = "ref1", "ref2", "ref3"; +}; + &qspi { status = "okay"; flash@0 { @@ -446,13 +453,6 @@ &rtc { status = "okay"; }; -&psgtr { - status = "okay"; - /* nc, sata, usb3, dp */ - clocks = <&clock_8t49n287_5>, <&clock_8t49n287_2>, <&clock_8t49n287_3>; - clock-names = "ref1", "ref2", "ref3"; -}; - &sata { status = "okay"; /* SATA OOB timing settings */ From patchwork Wed Jun 9 11:45:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 457049 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC49BC48BCD for ; Wed, 9 Jun 2021 11:48:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CDB68613BD for ; Wed, 9 Jun 2021 11:48:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239375AbhFILtz (ORCPT ); Wed, 9 Jun 2021 07:49:55 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:53857 "EHLO mail-wm1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239445AbhFILtF (ORCPT ); Wed, 9 Jun 2021 07:49:05 -0400 Received: by mail-wm1-f50.google.com with SMTP id h3so3811690wmq.3 for ; Wed, 09 Jun 2021 04:47:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GrRo1AeZoDDEDA6M/EqmswKct0DqVxPXdJgVJq+2YZA=; b=GY1qLpbWuYmVm5FKBkxdLJUYsQPIfp10KhFKTtabDOkCaV1zDUJgQrtK7jqo2nLWP4 hjGtKmO3E4E/NVtw+e4F+ErynuqwTXZon7DW2gjWN37rp5VyopASRC8Y3wrOoYBtc2J2 PyyaP8z1hkHOMWn5i1DinqIzKkhM8R7fqVve3XhhaT7q2WNybF5TuSYQhw+Owa5Gs2VF o2t/orxFwEw5whdS+to0NJU2fpgrE9SZrELgcawgdnoI6Ty+uEsyWGjSJV0Kj0yVnEXS VR+QgEbLYa6ZlLaz3T9tqQG3hEyh8X8Cy2DADxtlEKdPKEjyhKo6DxYnXnFwv7A6KU7s Z/YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=GrRo1AeZoDDEDA6M/EqmswKct0DqVxPXdJgVJq+2YZA=; b=HvYeZMPu5Hhorkgnjtgc7Qk7Vx1usizc7fKcE3z8uGfz/83097e3RGMtAiFTIB3ZxU /6z2ZCEGd3fqP30CfuoqahAa9hY+7m3gB0U2ZsVtQozgdNZP1kT6urYH10DZZXBG12Cz I5nOveID3wxF/cMTZTAO3xuXzuH7ojdcklKYdfO5daRp+YSyekmr5Kt6RJ6aq2KY7uR4 pKxaMpJRRld3HmuljT8lIle6BefSBYKP/Plaz4lsNV34mhcBkXyCdt/5YewR6LCe6SzJ gZ0AnfcEsbqAtkCYBlYdYqXObppy1JLKbB9JPG6pWK10WgOQLmicBjIsFhEinNX2yk0D oW4w== X-Gm-Message-State: AOAM533lBmOxSTQX/uCN77P9wImZK9BwF7HgbMLvtja6SMMKYWDzizmw SxsiAMZYL123dBq83CyGWcd67A== X-Google-Smtp-Source: ABdhPJzzRtdjN5kgvGMcASKTrOWnR3p3hRAf6VvL5a3Smakef4Dv1FTRQLIMC6Y3h8ZSd1Juy0kiow== X-Received: by 2002:a05:600c:ada:: with SMTP id c26mr8515903wmr.189.1623239170763; Wed, 09 Jun 2021 04:46:10 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id r2sm23913166wrv.39.2021.06.09.04.46.10 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Jun 2021 04:46:10 -0700 (PDT) Sender: Michal Simek From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Viresh Kumar Cc: Laurent Pinchart , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 29/31] arm64: zynqmp: Remove description for 8T49N287 and si5382 chips Date: Wed, 9 Jun 2021 13:45:05 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Based on commit 73d677e9f379 ("arm64: dts: zynqmp: Remove si5328 device nodes") also remove description for clock chips which don't have Linux driver yet. Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts | 4 +--- arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts | 4 +--- arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts index 048df043b45c..86fff3632c7d 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts @@ -160,9 +160,7 @@ i2c@1 { #address-cells = <1>; #size-cells = <0>; reg = <1>; - clock_8t49n287: clock-generator@6c { /* 8T49N287 - u182 */ - reg = <0x6c>; - }; + /* 8T49N287 - u182 */ }; i2c@2 { diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts index c21d9612ce04..2a872d439804 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts @@ -184,9 +184,7 @@ i2c@1 { #address-cells = <1>; #size-cells = <0>; reg = <1>; - clock_8t49n287: clock-generator@6c { /* 8T49N287 - u182 */ - reg = <0x6c>; - }; + /* 8T49N287 - u182 */ }; i2c@2 { diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts index 4dc315ee91b7..dac5ba67a160 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts @@ -475,9 +475,7 @@ i2c@4 { #address-cells = <1>; #size-cells = <0>; reg = <4>; - si5382: clock-generator@69 { /* SI5382 - u48 */ - reg = <0x69>; - }; + /* SI5382 - u48 */ }; i2c@5 { #address-cells = <1>; From patchwork Wed Jun 9 11:45:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 457058 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D6C91C48BCD for ; Wed, 9 Jun 2021 11:46:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C2D7D613B6 for ; Wed, 9 Jun 2021 11:46:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239371AbhFILsQ (ORCPT ); Wed, 9 Jun 2021 07:48:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239386AbhFILsJ (ORCPT ); Wed, 9 Jun 2021 07:48:09 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6769C061760 for ; Wed, 9 Jun 2021 04:46:13 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id c9so16445247wrt.5 for ; Wed, 09 Jun 2021 04:46:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=E1EohIqdC72FM7oJ+0Bb3pu1J7HtZfQcXJxneapHVDs=; b=jMK7SSL544Pz9+ssHsN6XkEi2VnlQzCqygce0If2ZnI8wOPgTi1HJHDFbB50FTazsw Thr370vDNGAPJmXNJaEWdioAge/6fadRTmKKzaVHcbdK1lC9KpQo6J/lFCtcQjtT6iBd WTJo6cw61gU3QzuTD+WB/sO5MZM8FAVUOjOV3UoVkkS5KOconBmonM0ImyJogh7DM3OX qGWsFSJ8Bg9Qm/zph6Uf54cTiD33HrywmWh9LyYPTMso7Eojbdajj5FLM2cRvZd9i2Rf zwEgPcPhSnhCBtxU15H1kP80tuzGnNRVPb2uSG+9JtmT7Bs3zpAOFZEO9IDJpqvBFF+k B3WQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=E1EohIqdC72FM7oJ+0Bb3pu1J7HtZfQcXJxneapHVDs=; b=r44f6bJlgvzTDv0We67qCyY5CaXtnUHmAj4ViYKr7c0d7MgUnf4aLW3Ei65kmyHGe4 w4F0HlHP2MSERARz2Von9KKUlzk7n3N+SPO3HzUaMVzZdx3J5fTosqO80Zr/oBZo7CEP iRX4fukdPFbEYLtJEN10xwWY2lXdDLQU/U7LXMx6w+qyojw5H9IqlkrJiGj0UyCbFgit 8BmTrhqzWG5935y0sirN+lNbDpKqMHG07IZI0FbEXolGACn7qJJRkq11y584iJ5GEWdh +4QNkwQmHLq0VMRU94ohOw+mZFc/uLcAODfjcWmZjd9swTXHwVb/h+ko9yj6MD0UnsTA d40w== X-Gm-Message-State: AOAM53333FsMBabBtiDpyOcLAgXzXPDir+vlIEsxHnOaRzvk0InKuWF6 sEDT/rbHblawxcl5e9yypcSRuA== X-Google-Smtp-Source: ABdhPJxDbSSDrwL+y/nTPpabJWwtAyckk6kbuvqrbQvjOn28JPbrANIQ2yieRxF9SCJf84YUyz1Wlw== X-Received: by 2002:adf:d1cd:: with SMTP id b13mr8628554wrd.317.1623239172430; Wed, 09 Jun 2021 04:46:12 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id t1sm23025810wrx.28.2021.06.09.04.46.11 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Jun 2021 04:46:12 -0700 (PDT) Sender: Michal Simek From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Viresh Kumar Cc: Krzysztof Kozlowski , Michael Walle , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 30/31] arm64: zynqmp: Add support for zcu102-rev1.1 board Date: Wed, 9 Jun 2021 13:45:06 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org zcu102 rev1.1 compare to rev1.0 is using by default different DDR memory which requires different configuration. The reason for adding this file to Linux kernel is that U-Boot fdtfile variable is composed based on board revision (in eeprom) and dtb file should exist in standard distibutions for passing it to Linux kernel. Signed-off-by: Michal Simek --- Documentation/devicetree/bindings/arm/xilinx.yaml | 1 + arch/arm64/boot/dts/xilinx/Makefile | 1 + .../boot/dts/xilinx/zynqmp-zcu102-rev1.1.dts | 15 +++++++++++++++ 3 files changed, 17 insertions(+) create mode 100644 arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.1.dts diff --git a/Documentation/devicetree/bindings/arm/xilinx.yaml b/Documentation/devicetree/bindings/arm/xilinx.yaml index f52c7e8ce654..a0b1ae6e3e71 100644 --- a/Documentation/devicetree/bindings/arm/xilinx.yaml +++ b/Documentation/devicetree/bindings/arm/xilinx.yaml @@ -87,6 +87,7 @@ properties: - xlnx,zynqmp-zcu102-revA - xlnx,zynqmp-zcu102-revB - xlnx,zynqmp-zcu102-rev1.0 + - xlnx,zynqmp-zcu102-rev1.1 - const: xlnx,zynqmp-zcu102 - const: xlnx,zynqmp diff --git a/arch/arm64/boot/dts/xilinx/Makefile b/arch/arm64/boot/dts/xilinx/Makefile index 11fb4fd3ebd4..083ed52337fd 100644 --- a/arch/arm64/boot/dts/xilinx/Makefile +++ b/arch/arm64/boot/dts/xilinx/Makefile @@ -12,6 +12,7 @@ dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu100-revC.dtb dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu102-revA.dtb dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu102-revB.dtb dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu102-rev1.0.dtb +dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu102-rev1.1.dtb dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu104-revA.dtb dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu104-revC.dtb dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu106-revA.dtb diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.1.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.1.dts new file mode 100644 index 000000000000..b6798394fcf4 --- /dev/null +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.1.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * dts file for Xilinx ZynqMP ZCU102 Rev1.1 + * + * (C) Copyright 2016 - 2020, Xilinx, Inc. + * + * Michal Simek + */ + +#include "zynqmp-zcu102-rev1.0.dts" + +/ { + model = "ZynqMP ZCU102 Rev1.1"; + compatible = "xlnx,zynqmp-zcu102-rev1.1", "xlnx,zynqmp-zcu102", "xlnx,zynqmp"; +};