From mboxrd@z Thu Jan 1 00:00:00 1970 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=-6.7 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,UNWANTED_LANGUAGE_BODY,URIBL_BLOCKED,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 A6550C433DF for ; Sat, 20 Jun 2020 16:10:49 +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 7BAB722B37 for ; Sat, 20 Jun 2020 16:10:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Oqk7UhhG"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=googlemail.com header.i=@googlemail.com header.b="nhsvE+A3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7BAB722B37 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=googlemail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.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=BRswZDZI1KMmWuzFbYlWY1DxXXDXM/0FjuWfYO1PZ+Y=; b=Oqk7UhhG5mzrw/ DrALQMfjNxMh6CCRm7jP8hukTN2enQQRTBj5GjIk1E0zD197xVJaBxuI2vrWq3tLO49GDW3EXzu2m dB8PjHwJLjOvv9AN9gtKQyIhDiD4wL9qrTcGwxQvGv/1h51uZoI0VwB6L0RoxaR+X4BAIhg9fhxzx dmhlFqviTzU50eJc9he8soFcP+XvMDbEwtWne43Z8k38JI1DoNEZiTM+Wq/nQTaZ9xpnne5rAgx96 YUj7PvRY2DmtzF6KtmQ+3Bo80jsX2Nh3eU3kRMu5u4+xBVMaCZjowjZFWNSw2v94DXW38kgjxl3th 0f58VPBnE6rAVrNrg+/g==; 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 1jmg4j-0007xy-AH; Sat, 20 Jun 2020 16:10:37 +0000 Received: from mail-ej1-x643.google.com ([2a00:1450:4864:20::643]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jmg4U-0007j3-F4; Sat, 20 Jun 2020 16:10:23 +0000 Received: by mail-ej1-x643.google.com with SMTP id l12so13539006ejn.10; Sat, 20 Jun 2020 09:10:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=q5uydCkX5XMg6Vg2kQWobypgbsZstWsBiCC6Cgbk3+Q=; b=nhsvE+A3vifL+fnfwmTAJC8VIevzUqbZu6HqFjlME6kxed/Iun3chdMWSjKgmdfHmD YaVWeVYmQEHxkWTtD50a5JbmMKrhOf7SD9XuXi/0pswqSIzxbVwwWfOZGHpuryIAiI5x vgnuMO2okuU1aJaQ/dNKzTznQHtypz2QJOAppTJ2I0FRkMjzsv7v1xQcxnovdfxyIy0P 1qRUGHZUHSYcTpBO1BU16WdrMlDxEOJs4hAqUaonlzP7CVwON+I/vbJOTRzYdW2are0L 8pp7R/26C+hYCujzTTf5Ke0If01xhYYL057VUgmrA26vlhuUlnritGLVnMAItXZAyT3F wfMw== 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=q5uydCkX5XMg6Vg2kQWobypgbsZstWsBiCC6Cgbk3+Q=; b=g1cl4khncttTn/syA7j8RkrGkErNld+ivZxao5EkdgGGu7N1/I04sPNihZ9dwrx1ky WOKkUS0fOJd7eDgh4qxTjCjHbk4LEgxCxeYTi237A7VnV/psVWTIGKx62X6yctKl+VvP P4xddudctjo1jKMIjaW48zkCIyFv+6QjibzRqkAz+QNvH5WdowVzxbOYmdE4lXZr1mUa iPNwbqYx1/fC2FV82sbMiRJaoz88ablLiOc2YPT+MIHJa4+yLAVyOPmxdbHEgV2mYPIp vc8fBEZVHfGn1g3+7/RTcyKCJEJ4bx+MurSQtYwAIZnaO9ihvY5xG6KKniPkNhlXQui5 LzPw== X-Gm-Message-State: AOAM533rTcBBqEDd0vEd4sBAFbbG2gDiQkS4mrzJv731+BVUvkNhznvU Ef4D4f89i/8iVpNh4bwK+vsPAfvn X-Google-Smtp-Source: ABdhPJw2c5P/OzzIL4pa9igoKMX0/q7FSISR355h6IRga3M61m7Z2yv00+t+VDMnuTdffGkN1LigFg== X-Received: by 2002:a17:906:1d5b:: with SMTP id o27mr8371956ejh.344.1592669420020; Sat, 20 Jun 2020 09:10:20 -0700 (PDT) Received: from localhost.localdomain (p200300f1371df700428d5cfffeb99db8.dip0.t-ipconnect.de. [2003:f1:371d:f700:428d:5cff:feb9:9db8]) by smtp.googlemail.com with ESMTPSA id a62sm8033207edf.38.2020.06.20.09.10.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jun 2020 09:10:19 -0700 (PDT) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, khilman@baylibre.com Subject: [PATCH 1/3] ARM: dts: meson8: add power domain controller Date: Sat, 20 Jun 2020 18:10:08 +0200 Message-Id: <20200620161010.23171-2-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200620161010.23171-1-martin.blumenstingl@googlemail.com> References: <20200620161010.23171-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200620_091022_503261_15FFF6D8 X-CRM114-Status: UNSURE ( 9.11 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Blumenstingl , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org The Meson8 SoCs have a power domain controller which can turn on/off various register areas (such as: Ethernet, VPU, etc.). Add the main "pwrc" controller and configure the Ethernet power domain. Signed-off-by: Martin Blumenstingl --- arch/arm/boot/dts/meson8.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/meson8.dtsi b/arch/arm/boot/dts/meson8.dtsi index a4ab8b96d0eb..3d0ab2ac5332 100644 --- a/arch/arm/boot/dts/meson8.dtsi +++ b/arch/arm/boot/dts/meson8.dtsi @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include "meson.dtsi" @@ -452,6 +453,8 @@ temperature_calib: calib@1f4 { ðmac { clocks = <&clkc CLKID_ETH>; clock-names = "stmmaceth"; + + power-domains = <&pwrc PWRC_MESON8_ETHERNET_MEM_ID>; }; &gpio_intc { @@ -467,6 +470,16 @@ clkc: clock-controller { #clock-cells = <1>; #reset-cells = <1>; }; + + pwrc: power-controller { + compatible = "amlogic,meson8-pwrc"; + #power-domain-cells = <1>; + amlogic,ao-sysctrl = <&pmu>; + clocks = <&clkc CLKID_VPU>; + clock-names = "vpu"; + assigned-clocks = <&clkc CLKID_VPU>; + assigned-clock-rates = <364285714>; + }; }; &hwrng { -- 2.27.0 _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic