From patchwork Sat Jun 13 08:21:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= X-Patchwork-Id: 11602653 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 85F55913 for ; Sat, 13 Jun 2020 08:23:45 +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 4FA4F207DD for ; Sat, 13 Jun 2020 08:23:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="opZ/ceF1"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="u8Qbtpx7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4FA4F207DD 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=PIhxw1gIdXqCN5NpXI7/o+wz98Ac1Su46SXsTC6vh4k=; b=opZ/ceF1SksdZ5 vsW201k4w9g4YsotXklqnnApVoxBAc2o9eGHX3jJhmGJ9jP+gY8NoHB3jOeBya6TG3oWwc2fATmvz OXqRjTEEc3WjfSgdF6uLK8Ol7oqbwCdI/M9q1flBIrxSxtbopOiodF3mUkRrqtZvj1xCk0LE2Eanm nfDzteCgNQ77kZYCElZ+gsgkyR7jxzq0+vKMcYZ743rlr7Yl8zKRe8VqfgaKtuZy9MUYVf68z8Xml YxjnKkZjqXiD47MZZyrGUXHs1UpMb3trRCb2kbdllzTW+yUU9T5V2YCtrGgZsGUjcUNMy2OWQX+Sf 2p8wTS+QmzUjN54aOpUg==; 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 1jk1S1-0007An-IT; Sat, 13 Jun 2020 08:23:41 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jk1QG-0005gs-DM for linux-arm-kernel@lists.infradead.org; Sat, 13 Jun 2020 08:21:53 +0000 Received: by mail-wm1-x341.google.com with SMTP id g10so9890638wmh.4 for ; Sat, 13 Jun 2020 01:21:52 -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=3R3IcX5VRxh6jZ4lyLZsasKIXBEDH8AgtJHvT67+p7Y=; b=u8Qbtpx7nKpCKSFfL0DenqTmg2sXyyXo7pD8VRz1Qswm06HAp6kA2YB8qMZH2SSZSx LiaG3eZzsSPSYkpvBFvlEr5Xk55ejPV2OBP3sfFJ7rbgwVVdPupfeygveY9pBC6v0yuR T2HsQD1jBDF6mlpF9WTbDsr8q1+lia7WYKmEt9r1URFynKd72UPvlzRvhRmwml/yLehJ OFdj+Zv+btWJDl/Xp2gOdNA3ec/JP+2htmz16KXMUhcej4IvXxHLhvCL6SFHtpMPuLJN vvCR5dil1zq43OtbqtbjyUbDukRXgQfRtIEELRJbrw2U+z3+ixSAMNGzBjZZSqa+6GI1 gYxA== 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=3R3IcX5VRxh6jZ4lyLZsasKIXBEDH8AgtJHvT67+p7Y=; b=f4LsN93YC7+vo7o8pzbLpxzFmDETj2dDd0xBOZG5vfF0QODj2lS8MhH9tn3cWtL8CU 2+Muts8Xrf0eRrDinxzhyscQv8EDZ86oy94eLf2WutvBKn/koguMGDS8dQhO8HxlL+SE 19/IhkUckvGkWcI2qBxYuhC1LT1ThO4zXzfxQJ1lmsCOg2goNkyfbBVDXmyK8glk47RP kQk5sQi6eKkBtndOgmOY5NvXY9vKkd3l8w5V0N9sEdhmqJYgXfmFEgqgj2xhFEJJDLMW Qo3ZgcOFfzkI6+miPidPTyhQO0EsDtQoyebZpdcj+6y+AjNfWvpGrWuRodw/paSg7+4h /JbQ== X-Gm-Message-State: AOAM531nsjU3OVzEcCjVaJeoFXU7nzUYVrgKneJNAkGcTK1kJmoQUPs1 2jEnbSxAyxnfsF6H0Vo2HGk= X-Google-Smtp-Source: ABdhPJwfZEl2kJ8mxVWxwjqag+ttdrRGfjRXx/LSWOtwclninU40g8Lk1Qp1z66b78fpbFQElCMDDg== X-Received: by 2002:a1c:2d54:: with SMTP id t81mr3111530wmt.154.1592036511036; Sat, 13 Jun 2020 01:21:51 -0700 (PDT) Received: from skynet.lan (168.red-88-20-188.staticip.rima-tde.net. [88.20.188.168]) by smtp.gmail.com with ESMTPSA id n189sm12243603wmb.43.2020.06.13.01.21.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Jun 2020 01:21:50 -0700 (PDT) From: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= To: hauke@hauke-m.de, zajec5@gmail.com, tsbogend@alpha.franken.de, robh+dt@kernel.org, f.fainelli@gmail.com, jonas.gorski@gmail.com, bcm-kernel-feedback-list@broadcom.com, linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 7/9] mips: bmips: dts: add BCM6328 power domain support Date: Sat, 13 Jun 2020 10:21:38 +0200 Message-Id: <20200613082140.2009461-8-noltari@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200613082140.2009461-1-noltari@gmail.com> References: <20200610171630.465579-1-noltari@gmail.com> <20200613082140.2009461-1-noltari@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200613_012152_460004_355F87ED X-CRM114-Status: UNSURE ( 8.15 ) X-CRM114-Notice: Please train this message. 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:341 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [noltari[at]gmail.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -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 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: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org BCM6328 SoCs have a power domain controller to enable/disable certain components in order to save power. Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli Acked-by: Thomas Bogendoerfer --- v4: no changes. v3: Separate dt-bindings definitions from power domain .dtsi support. v2: Add dt-bindings header files. arch/mips/boot/dts/brcm/bcm6328.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/mips/boot/dts/brcm/bcm6328.dtsi b/arch/mips/boot/dts/brcm/bcm6328.dtsi index af860d06def6..1f9edd710392 100644 --- a/arch/mips/boot/dts/brcm/bcm6328.dtsi +++ b/arch/mips/boot/dts/brcm/bcm6328.dtsi @@ -110,6 +110,12 @@ leds0: led-controller@10000800 { status = "disabled"; }; + periph_pwr: power-controller@10001848 { + compatible = "brcm,bcm6328-power-controller"; + reg = <0x10001848 0x4>; + #power-domain-cells = <1>; + }; + ehci: usb@10002500 { compatible = "brcm,bcm6328-ehci", "generic-ehci"; reg = <0x10002500 0x100>;