From patchwork Sun Apr 5 17:35:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 11474779 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E24F1912 for ; Sun, 5 Apr 2020 17:36:23 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id C087B20678 for ; Sun, 5 Apr 2020 17:36:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="C6TCpmR4"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="INC92HEz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C087B20678 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=aI9+dsFv8kQnKytFM+7r2o5t38BA8TuEZLsy4WK1A68=; b=C6TCpmR4Ca3Plw ETFoXHBGa9JzO55H0dYIFeRDIQ+0cXpeGaok1XJgUy5UxOTZWIkyCsyxr4IHdOoI5Zadx2WgAMjPL nWXqKW6/5WJaisKsQoK3BYIA0WZOdzcWcTEE87Zf6nHxFcTao4hpPsXUnfmwVy3HnwdVO707C8ud0 1Ik/0l74LWBNnnPllj+G2X+MPXJxZZP426qyVAfR7RXefloKmz0sAmAG7RKpYeWlAWP9w8Bichu8J /GMnWTNo4AtTgX0AkKRA5Jr2h5JFZrXZfb4lVc/0FbHe3uDM9ZLfipG1aM3STGTKNGJl41uaL4j32 5tLbxiUEF7mS4WNAzVEg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jL9C0-0001lK-Np; Sun, 05 Apr 2020 17:36:20 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jL9Bq-0001Xp-8H for linux-arm-kernel@lists.infradead.org; Sun, 05 Apr 2020 17:36:11 +0000 Received: by mail-wm1-x342.google.com with SMTP id x25so1280087wmc.0 for ; Sun, 05 Apr 2020 10:36:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=953t16PaqsK6LcXl7SedQvIrbO2yGs6c/tDrXm7TIhc=; b=INC92HEziM9mI7F9DsK0oDiYSAUcj61mUM8QOERk6Pzc3RsAR9n5EvgY19wVTuuVJW KUdW4Pw9qQTehhyANrM6Y/7tIrdr8IQ5puN+/SYfboKxMPTycx7/JIWUsvHG94Zi1UjD QgMC22w8FBqy6/D+Ce0SZWlY3xfQBuPljKmyS+JPy41U4iTSnjExPt/csQDBypU8rkll tT3X54jPxnPZ25hlCDArG/0Z5iJ/yqhBQp52wlYlZ+EQVviDPToZINJUgwSvCfP75cOj IBEL9uCueNVqRvrRq62rHGwtbfK9Wc5poVN2YNDZtXQhjl7gwjn4ZvFaXz69l5mrz6Y7 4PiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=953t16PaqsK6LcXl7SedQvIrbO2yGs6c/tDrXm7TIhc=; b=hOTLB8WNnQyKeItwyAgAxDsnYlS6RUuxuT7VMYK6baqPDuoiBRSJQyMG0mZLfZKEon pt830o3w/ZJoq8+UIW34t2l3cXrYViQ+rEcDDiWFjKKYRUKnuKwHiFqF3Y6Rejfz7GaC H+XbAsF+ZEE/ec7DD/uPGhfQDpEGCKBL4ySF3GghMzoeZ1+dHh0mJ48veTLdMU7Hs8Tz EnvYy5jNeijTJdwBeKz+wS4fnlbKIucByPNdLwp+TSEtnAb8qAC0iLbMy4tpx4blcYWV g5vw+y5R7e4ZLUxuApuQpuL1B5SHEqA+IDRo0JxmxJ0sNUe2gCu1sUv/ZbJmPr2i3CVM S3iQ== X-Gm-Message-State: AGi0PuY1deKShZ2wxPcuuWx53be75NUGEe+8E+ihafa3KNfQGkmH+OQ7 Ikx7jUtlCfcLGi7TB+BNQiw= X-Google-Smtp-Source: APiQypJrXfDDMcyPXVi9s8+wzP9CVxUi8k0MrgpcBSdXs0lTPfVzTDwTJhHxIg22NnyET3Xt6c/8yQ== X-Received: by 2002:a1c:4409:: with SMTP id r9mr4398898wma.165.1586108166066; Sun, 05 Apr 2020 10:36:06 -0700 (PDT) Received: from localhost.localdomain (91-167-199-67.subs.proxad.net. [91.167.199.67]) by smtp.gmail.com with ESMTPSA id s13sm6031669wrw.20.2020.04.05.10.36.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Apr 2020 10:36:05 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Maxime Ripard , Chen-Yu Tsai , Rob Herring Subject: [PATCH v2 1/7] arm64: dts: allwinner: h6: Add clock to CPU cores Date: Sun, 5 Apr 2020 19:35:55 +0200 Message-Id: <20200405173601.24331-2-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200405173601.24331-1-peron.clem@gmail.com> References: <20200405173601.24331-1-peron.clem@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200405_103610_293627_196C2154 X-CRM114-Status: GOOD ( 11.46 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:342 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [peron.clem[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Yangtao Li , linux-kernel@vger.kernel.org, linux-sunxi , =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Yangtao Li The ARM CPU cores are fed by the CPU clock from the CCU. Add a reference to the clock for each CPU core, along with the clock transition latency. Signed-off-by: Yangtao Li Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index 3329283e38ab..aef4ae760d5e 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi @@ -25,6 +25,8 @@ device_type = "cpu"; reg = <0>; enable-method = "psci"; + clocks = <&ccu CLK_CPUX>; + clock-latency-ns = <244144>; /* 8 32k periods */ }; cpu1: cpu@1 { @@ -32,6 +34,8 @@ device_type = "cpu"; reg = <1>; enable-method = "psci"; + clocks = <&ccu CLK_CPUX>; + clock-latency-ns = <244144>; /* 8 32k periods */ }; cpu2: cpu@2 { @@ -39,6 +43,8 @@ device_type = "cpu"; reg = <2>; enable-method = "psci"; + clocks = <&ccu CLK_CPUX>; + clock-latency-ns = <244144>; /* 8 32k periods */ }; cpu3: cpu@3 { @@ -46,6 +52,8 @@ device_type = "cpu"; reg = <3>; enable-method = "psci"; + clocks = <&ccu CLK_CPUX>; + clock-latency-ns = <244144>; /* 8 32k periods */ }; };