From patchwork Sat Jun 13 08:21:36 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: 11602651 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 57FFD912 for ; Sat, 13 Jun 2020 08:23:28 +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 242882081A for ; Sat, 13 Jun 2020 08:23:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ShVruW1X"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="KfZDBbAZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 242882081A 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=e29bq4l9x5TionzWvsNGqnApedA8PMQ8CXXpTnwqPrA=; b=ShVruW1X9iWUhp JkeTMBUInzNjDUis08VfzO1YqCEHot5Z2PC+6UDgCI8BtJbRFqrpNxD3nscD5WZ3bmkWJmlJIqqHO +bu7l8vVUUd9risC1HXd2jcrjhFcZ98u0IL/vfjGbgnzX4gOfRADJfKLszHKXlNRObeY4b2rUaIor nW/I339f00Xw8YJW/t5oKXm6r+f1jzkiX8LtOudrbLJVRFUWqpDwO31eO31nxvzaMFxus+wEuMnMx M5eCtKDv7uLbXZuK7gP8mOUq41FdEcwApwm57aVE3W/8c2jtdDW1Oe7Uxd9wZi/xVfyVIzg2p/Uxs d7SIHoTD1BTUcynq5NHg==; 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 1jk1Rl-0006xq-UJ; Sat, 13 Jun 2020 08:23:25 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jk1QE-0005es-OQ for linux-arm-kernel@lists.infradead.org; Sat, 13 Jun 2020 08:21:52 +0000 Received: by mail-wm1-x331.google.com with SMTP id f185so10017390wmf.3 for ; Sat, 13 Jun 2020 01:21:50 -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=eFELRKlgi51zXRTgZvULoamMhty3QhBmoZ29VwRZiTs=; b=KfZDBbAZFKRdgc3DrMOy5US+r/xs5xOcPlRZNDrPt3zst6Mz8gOiU6Rut8NHj85onA MhwJdL9h4kaK6wIiNxsDrBXEIxJobpdH8i0xKrlybi43dAz8fu6DXeNzkyAGMCdIX8kg 4getyyN3+eTxA/1b2U2w5ArrVJckk0CcKk4Tx6icB4vaIteEUFh6kPkWlKJiREpEX7Zs zBnZHt17GbW2UvRzUYzPYmXQfmxcenyVnp4i4lyQvRw8Z8WKuGT4FTXY4c0ErPZ+vnhn Wah7oGPjejzz6ULSk1yZ0faFlXyUySt5BxuMuO3GqSUv+IR9aBh5C3mVhOd3bQ2DZQ8o Iviw== 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=eFELRKlgi51zXRTgZvULoamMhty3QhBmoZ29VwRZiTs=; b=Zg3BawZbvaUQ8ReVvOltAFTJ5vxbfzJF1nqpKXZjHbqXFzR0yFbevqb7I4zX0kXktD FBiq1g5dlq7PtU+hxLY2QC7yUnb+Cps/HZP+kXZZ+N3lHhoBkgDwx6glRxyTtro8QNJi hTHFB2iUwQKRoDNEm+Hs70tYXhS0jN4Jpo1qcI0Xsm9eaGMmZ+32Yp/Fwn+hjLbA/kZ9 6oQu9VSm6okX2fwNwDoyWuzPDMcEhCEA2/ZyUnf0EoS2gOf2D0xzMjjVnqCBDjolPJi0 HwwSTLwPyKZZgxc2UcUF2SEZc7zJsKoWl7S1GkRvIL5xKNUUgBV9dyYM4IL9V092WwWB gMDQ== X-Gm-Message-State: AOAM5331Y6S7zWBZjinuA4mP1XNCRXC7UAaTEK8Atk2Kuz5iIkz8gFbc 4L7TvfBBFJn/rwAEfTbfTrs= X-Google-Smtp-Source: ABdhPJz9nU/D/VRRxp4n9kuI1XmXf+ipBXnCNKdlvJCgjqyVUG/Xb4Et2dJ3dt+soSRKl9cIvdRJdw== X-Received: by 2002:a1c:c904:: with SMTP id f4mr2901906wmb.69.1592036509020; Sat, 13 Jun 2020 01:21:49 -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.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Jun 2020 01:21:48 -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 5/9] mips: bmips: add BCM6318 power domain definitions Date: Sat, 13 Jun 2020 10:21:36 +0200 Message-Id: <20200613082140.2009461-6-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_012150_827554_CDBB03BD X-CRM114-Status: UNSURE ( 9.10 ) 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:331 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 BCM6318 SoCs have a power domain controller to enable/disable certain components in order to save power. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Florian Fainelli Reviewed-by: Rob Herring --- v4: no changes. v3: no changes (patch reordered). v2: Add BCM6318 dt-bindings header file. include/dt-bindings/soc/bcm6318-pm.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 include/dt-bindings/soc/bcm6318-pm.h diff --git a/include/dt-bindings/soc/bcm6318-pm.h b/include/dt-bindings/soc/bcm6318-pm.h new file mode 100644 index 000000000000..05931dce8333 --- /dev/null +++ b/include/dt-bindings/soc/bcm6318-pm.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ + +#ifndef __DT_BINDINGS_BMIPS_BCM6318_PM_H +#define __DT_BINDINGS_BMIPS_BCM6318_PM_H + +#define BCM6318_POWER_DOMAIN_PCIE 0 +#define BCM6318_POWER_DOMAIN_USB 1 +#define BCM6318_POWER_DOMAIN_EPHY0 2 +#define BCM6318_POWER_DOMAIN_EPHY1 3 +#define BCM6318_POWER_DOMAIN_EPHY2 4 +#define BCM6318_POWER_DOMAIN_EPHY3 5 +#define BCM6318_POWER_DOMAIN_LDO2P5 6 +#define BCM6318_POWER_DOMAIN_LDO2P9 7 +#define BCM6318_POWER_DOMAIN_SW1P0 8 +#define BCM6318_POWER_DOMAIN_PAD 9 + +#endif /* __DT_BINDINGS_BMIPS_BCM6318_PM_H */