From patchwork Mon Jun 15 09:02:25 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: 11604375 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 64BEE1744 for ; Mon, 15 Jun 2020 09:06:06 +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 4226B20707 for ; Mon, 15 Jun 2020 09:06:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="IE5/VFDy"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="V9GLQDL3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4226B20707 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=YruPaAL82+DC25Sq5UmUfcSbSYwn2TPg4RoxOqmUfeE=; b=IE5/VFDyJntoUH MKMFqIkATVmEwqWt6+11rRGmFsiXN6H/jZ6UX0A2+j6XOXpAYu4yQHSVTdcN9Pk9vSevUpgPYH1p7 3iDN1k2meaqfw7Q8rwjrQBKdiziDGz16E5/chJPV6S9JRtlBj2dTxqPSW37eWX8HjkFXIUayyWKlb 6LG/VxLYHFd2w5C7G7vlxO6U+JCNangDet6ls8/Sd+QlgIMp5Tbi+z1omeYPYlmhN1KDjmQ0HqEma XUjjeXx4ttV0uMNkbVt1L/FLiCCyoaXDihYZl5atpQJTAHC6epAr8lCEFcvAhEQPhUHGTwG9lsZM7 XV0Tq9V9o6KDtjgusmBw==; 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 1jkl41-0003aq-Lv; Mon, 15 Jun 2020 09:05:57 +0000 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jkl0o-0007cn-NY for linux-arm-kernel@lists.infradead.org; Mon, 15 Jun 2020 09:02:42 +0000 Received: by mail-wm1-x32c.google.com with SMTP id y20so13980495wmi.2 for ; Mon, 15 Jun 2020 02:02:38 -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=BfSpJilVz5MBdXnFVVixX+VqMK8O5L3P9Oe2sInGfUM=; b=V9GLQDL3wjU9TOCgzcvu6TCUM+VKlkblaqX4gJ7pP7t2m+Sm0nPsply5hEji1jR934 NUhC7XMASudvtIebY8xfTrpCa2xpBRX5+t8rcc3RxWhQDIE2/rNLs4FgKmpcy3fWJNVn XVavyZVGbTQH90sZCreABuwre50CSDStxcvC+keG4gG6Nitc1X1MTxgVNaXU7FHBGly+ Qh0PNOC9//LzzLdQKnZyRsyhdlOoUUwIwBRfCpEZcj/lWfJtL8mtYQ7HPQ8F8XOVuGI8 W3NXoFKEYk0ei9O2l4cR9st7Cz6V6GCeLm3ALcwI7mfJc37BpYvNgSdbr6Yx82yo5BJI pxnw== 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=BfSpJilVz5MBdXnFVVixX+VqMK8O5L3P9Oe2sInGfUM=; b=LbwAkvKYnOVRiPso4puc5DQGDHScrepOu66zVMcs0hsa3s1JQttjTmbHh+hasYCquC Nbo6i2KolqyTvhSSiQQDuoSFmdS+n8BFhOToIn3ZkILkn74ym/6+/mu1W04nNr/qeCdq RglT7a8sjtA4hx2jHqExT0DLfuzpKUgxTOxHuIf8e5fCGxbM67nzYxlb305kX5Z5WIPA wQVq6BjOa/GzuhOD0mkRTcs7yjcI3mu2a2ZqaWdt7GlZQFSatFXz+D7DVUh28QwA/lk2 vgfLgjfhz0tO5BOKHQaPc0K3ogoEIcLSdvr4oc7u7446pAkwXYwMYKKIbnSzkta91GCn /gGw== X-Gm-Message-State: AOAM533U3UCMwttewj2hlCaeulUoYgOYglGkqGXX+JB2zhKd4aiXz8k1 +/drhkadCkex2KobE4mZcDM= X-Google-Smtp-Source: ABdhPJw+jc3rlKaMwpSlxfMFAU48Fr+Ju6bjKOG9sAgPzoyaLt5Rasi5J4H9aIUviEWunmnThUtH9Q== X-Received: by 2002:a7b:cf06:: with SMTP id l6mr11958504wmg.63.1592211756856; Mon, 15 Jun 2020 02:02:36 -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 o15sm24089516wrv.48.2020.06.15.02.02.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jun 2020 02:02:36 -0700 (PDT) From: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= To: mturquette@baylibre.com, sboyd@kernel.org, f.fainelli@gmail.com, bcm-kernel-feedback-list@broadcom.com, robh+dt@kernel.org, julia.lawall@lip6.fr, jonas.gorski@gmail.com, lkp@intel.com, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH 2/8] mips: bmips: add BCM6318 clock definitions Date: Mon, 15 Jun 2020 11:02:25 +0200 Message-Id: <20200615090231.2932696-3-noltari@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200615090231.2932696-1-noltari@gmail.com> References: <20200615090231.2932696-1-noltari@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200615_020238_794971_7314DE60 X-CRM114-Status: GOOD ( 11.09 ) 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:32c listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [noltari[at]gmail.com] -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_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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 Add header with BCM6318 definitions in order to be able to include it from device tree files. Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli --- include/dt-bindings/clock/bcm6318-clock.h | 42 +++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 include/dt-bindings/clock/bcm6318-clock.h diff --git a/include/dt-bindings/clock/bcm6318-clock.h b/include/dt-bindings/clock/bcm6318-clock.h new file mode 100644 index 000000000000..c4417f8983ab --- /dev/null +++ b/include/dt-bindings/clock/bcm6318-clock.h @@ -0,0 +1,42 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ + +#ifndef __DT_BINDINGS_CLOCK_BCM6318_H +#define __DT_BINDINGS_CLOCK_BCM6318_H + +#define BCM6318_CLK_ADSL_ASB 0 +#define BCM6318_CLK_USB_ASB 1 +#define BCM6318_CLK_MIPS_ASB 2 +#define BCM6318_CLK_PCIE_ASB 3 +#define BCM6318_CLK_PHYMIPS_ASB 4 +#define BCM6318_CLK_ROBOSW_ASB 5 +#define BCM6318_CLK_SAR_ASB 6 +#define BCM6318_CLK_SDR_ASB 7 +#define BCM6318_CLK_SWREG_ASB 8 +#define BCM6318_CLK_PERIPH_ASB 9 +#define BCM6318_CLK_CPUBUS160 10 +#define BCM6318_CLK_ADSL 11 +#define BCM6318_CLK_SAR125 12 +#define BCM6318_CLK_MIPS 13 +#define BCM6318_CLK_PCIE 14 +#define BCM6318_CLK_ROBOSW250 16 +#define BCM6318_CLK_ROBOSW025 17 +#define BCM6318_CLK_SDR 19 +#define BCM6318_CLK_USBD 20 +#define BCM6318_CLK_HSSPI 25 +#define BCM6318_CLK_PCIE25 27 +#define BCM6318_CLK_PHYMIPS 28 +#define BCM6318_CLK_AFE 29 +#define BCM6318_CLK_QPROC 30 + +#define BCM6318_UCLK_ADSL 0 +#define BCM6318_UCLK_ARB 1 +#define BCM6318_UCLK_MIPS 2 +#define BCM6318_UCLK_PCIE 3 +#define BCM6318_UCLK_PERIPH 4 +#define BCM6318_UCLK_PHYMIPS 5 +#define BCM6318_UCLK_ROBOSW 6 +#define BCM6318_UCLK_SAR 7 +#define BCM6318_UCLK_SDR 8 +#define BCM6318_UCLK_USB 9 + +#endif /* __DT_BINDINGS_CLOCK_BCM6318_H */